18,406 reputation
14096
bio website
location
age
visits member for 3 years, 8 months
seen 8 hours ago

Oct
21
comment Processing Plain Text
@SeanAllred: Done
Oct
20
comment Processing Plain Text
Hm... I would probably use sed or perl or something like that: perl -0777 -i.bak -pe 's/\n\n\n(.*)\n\n/\n\n\\section{\1}\n/' plain.txt would reformat plain.txt as desired, but keep a plain.bak backup file in case something goes wrong. If you are using Windows line endings, the RegEx may have to be adapted, though.
Oct
15
comment tikz: mathematical expressions in variable names without pgf macros
Quick shot: (a\the\numexpr\i+1\relax\j). Well, for playing around it would certainly help if you provide a complete and compilable minimal working example (MWE).
Oct
11
comment Beamer: including items only some slides using a relative syntax
Just write \item<+-.(3)> my item. The topic is intensely covered by the great answer of Joseph to Relative overlay specifications in beamer, which appears to be a duplicate of this question. Please take a look at it, if you agree we could close this question.
Oct
10
comment big pdf size due to many small colored boxes
Have you tried compressing of the resulting PDF? tex.stackexchange.com/questions/18987/…
Oct
9
comment Showcase TeX Typography for TUG's Calendar
Awesome piece of work! Not my style, but definitely well carried out :-)
Oct
6
comment PDFs want to scale down
Intuitively, I would expect that at least one of the boxes should not start at '0.00 0.00', because of the margin.
Oct
6
comment PDFs want to scale down
Nice investigations, but behind all that I kind of lost the point of your answer. What exactly are these boxes and what does the output of pdfinfo tell us? Why do you compare to a PDF from TextEdit? Does it not show the weird behavior in AR?
Oct
5
comment Converting LyX to LaTeX
No. LyX should not be considered as an IDE for LaTeX
Sep
24
comment website for easy creating biblatex code?
Nice, but like so many of these services it "kills" accented characters (e.g. ö becomes o, which is quite a difference). Hence, one has to manually validate each and every entry!
Sep
18
comment How can I automatically replace subscripts and highlight GoTo labels?
@Jubobs: Well, I certainly would prefer you learning Lua and extending listings for Lua-based lexers.
Sep
18
comment How can I automatically replace subscripts and highlight GoTo labels?
Well, @Jubobs listings hacks are just amazing :-)
Sep
14
comment How can I use Beamer's \includeonlylecture{} to modify frame title content?
@MikeTaylor: Sure, see updated answer.
Sep
12
comment Is there a good reason for lstlistings code to look so ugly by default?
Thanks, almost perfect :-) I would just add the "official solution", as suggested by @marczellm, somewhere below the joke, so that users just looking for a simple fix to the problem can find it.
Sep
12
comment Is there a good reason for lstlistings code to look so ugly by default?
"That was a joke, obviously... " sorry, but I did not find that too obvious, despite the following "More seriously..." line. Given that this is a long-term Q&A site and your answer is the accepted answer, I foresee new listings users adopting your solution.
Sep
12
comment Public database of bibtex entires of LaTeX packages
One more small suggestion: Add a shebang line, that is #!texlua as the first line. Then, on UNIX-flavored systems, it is possible to make the script directly executable with a chmod +x ctanbib.lua command.
Sep
12
comment Public database of bibtex entires of LaTeX packages
One caveat: The output of accented characters is UTF8. This of course is fine with biblatex and bibtex8, but many scientific venue require .bbl-files produced by archaic 7-bit bibtex.
Sep
12
comment Public database of bibtex entires of LaTeX packages
After adding the line mentioned by @egreg it works for me. Great work, I particularly like the attempt to use the lua interpreter provided by the the TeX distribution anyway :-)
Sep
11
comment How can I automatically replace subscripts and highlight GoTo labels?
While it might be a good training to implement this in TeX: With respect to time-to-results I would also consider a pearl/python/sed script that does the "tediously formatting each listing" for you.
Sep
10
comment stack multiple PDF pages
@Lars: There are a dozen possibilities to overprint to images, but your solution is pretty clever! Please move it from the question into a dedicated answer, so that the question remains not unanswered.