5,364 reputation
22134
bio website
location
age
visits member for 2 years, 7 months
seen 12 hours ago
stats profile views 285

Oct
17
revised Is there a BNF grammar of the TeX language?
Made the argument slightly simpler and more rigorous in the first paragraph and sectionized the whole thing.
Oct
17
revised Is there a BNF grammar of the TeX language?
Escaped some #s in `\weird`.
Oct
17
comment Is there a BNF grammar of the TeX language?
That did not occur to me. Programming in TeX: there's never a dull moment! (I didn't miss any this time, did I? :-) )
Oct
17
revised Is there a BNF grammar of the TeX language?
Fixed end-of-line comments.
Oct
17
comment Is there a BNF grammar of the TeX language?
Thanks for the tip! I always obsessively comment out my line endings (I'm annoyed I missed one :-/), even though I could remove the comments; I'll do that now.
Oct
16
answered Is there a BNF grammar of the TeX language?
Oct
15
comment How to use \newcommand for \href?
@qbi: You can actually take care of underscores automatically with the xstring package; see my edit. And most other special characters aren't problematic: if you specify e.g. \wiki{Boyle's law}, then you'll get linked to en.wikipedia.org/wiki/Boyle's_law, which is a perfectly valid URL.
Oct
15
revised How to use \newcommand for \href?
Added underscore-introduction functionality.
Oct
15
answered How to use \newcommand for \href?
Oct
15
comment Changing the style of the first *typeset* line of a paragraph
Well, that was faster than it had any right to be, and easier too—magaz and pdfsync don't play nice together. Removing pdfsync made everything work. The hyphenation is slightly different than manual-small-capitalization, but it's only off by something like half a word. It looks like the only remaining problem is integrating it with dropcaps, which should be doable.
Oct
15
comment Changing the style of the first *typeset* line of a paragraph
Sorry, I should have been clearer; I mean the literal text \FirstLine{Lorem ipsum dolor sit amet, … mollit anim id est laborum.} (except with the full text instead of the …, but I don't think that's quite necessary in this comment :-) ). It's odd behavior, that's for sure—I'm going to see if I can isolate it to a weird package interaction.
Oct
14
awarded  Editor
Oct
14
revised Changing the style of the first *typeset* line of a paragraph
added 155 characters in body
Oct
14
comment Changing the style of the first *typeset* line of a paragraph
This seems really nice—it parses the entire paragraph, which should let it do more optimal line-break detection—but it doesn't work. If I feed it the lorem ipsum paragraph, I get a "Bad text for \FirstLine" error; if I feed it just a fragment (less than a line) of it, said fragment gets deleted and the rest is typeset. Have you ever had any luck using magaz?
Oct
14
comment Changing the style of the first *typeset* line of a paragraph
Thanks for this! I just plugged this into my document, and it mostly works, except for a couple of things. First: running it with lorem ipsum text yields suboptimal results for the first line. Since this just grabs words and sets them, it can't do any reflowing; thus, the first line is awkwardly widely spaced compared to a hand-tuned solution (which can fit an extra word). I don't know if there's a way around this, though Second: this chokes on math text, and while I can read your code, I don't know if I could modify it :-) Do you know if it'd be possible to support that? Again, thanks.
Oct
14
awarded  Student
Oct
14
asked Changing the style of the first *typeset* line of a paragraph
Oct
13
comment ‘Bundle’ TeX output in a directory
On OS X, at least, pdflatex (and the other tex commands I tested) supports the --output-directory=DIR options as the directory to write all files to: .aux, .log, .pdfsync, etc., as well as the final output itself.
Oct
12
awarded  Critic
Oct
10
awarded  Supporter