2,972 reputation
21026
bio website example.com
location Canada
age 35
visits member for 3 years, 8 months
seen yesterday

Happy user of Django, Python, Perl, C++, Tex, Javascript, PostgreSQL.

XƎTEX:

X<sub>&#x18e;</sub>T<sub>E</sub>X

2d
comment Escape a string printed from Lua using ConTeXt
One note, context("%!tex!", text) seems to handle "\" in an unintuitive way. For example, the string "\escape" results in "<LINEBREAK>escape". This may not be the desired behaviour. The catcodes solution does not have this particular caveat.
2d
comment Escape a string printed from Lua using ConTeXt
Thanks Aditya - why do you think one would prefer these over the discussed catcodes? other than Hans saying so, which ought to be compelling enough :-) —just curious.
Jul
26
comment What is a simple example of something you can do with LuaTeX?
I believe, in mkiv at least, one might prefer \ctxlua to \directlua and \startlua for blocks.
Jul
25
comment Escape a string printed from Lua using ConTeXt
It looks like the proper catcode might be \notcatcodes from catc-def.mkiv
Jul
23
comment Escape a string printed from Lua using ConTeXt
Thanks @phg. I am afraid it is not apparent from the link how one employs said catcodes. Incidentally, and aside, if there is no such thing as a TeX compiler, what is the mechanism by which the TeX source is converted to machine instructions?
Jul
21
comment Get or change ConTeXt path for components/projects/environment
Thanks @Metafox - it is probably also worth noting that using \usepath[.., ../..] enables discrimination by subpath i.e. \component components/X will not retrieve products/X. Whereas \usepath[..] \usesubpath[components,products] with \component X is ambiguous —— TeX might end up using either the products/X or components/X.
Jul
21
comment Get or change ConTeXt path for components/projects/environment
@Metafox: That seems to work. Could you be so kind as to document the arguments to those? That would be a good answer.
Jul
18
comment ragged2e breaks soul package \textbf{} spacing
@MartinSchröder: Good to know. :o)
Jul
18
comment ragged2e breaks soul package \textbf{} spacing
@MartinSchröder: Thanks for the comments. Is there a less-horrible alternative to soul to achieve underlining (esp. that spans multiple lines)?
Jul
5
comment Variable persist outside environment
Thanks both for the comments. I'll try etoolbox.
Jul
5
comment Golden ratio typography in TeX
@morbusg - Incidentally, I re-read Bringhurst's text (4th ed.), and while he does advocate 66 cpl for paper text (though without explanation other than noting that it is "broadly accepted"), he also states that for computer screens the proper number of characters per line is "more like 36". Just thought I'd mention that since it's relevant, and an unintuitive deviation from the norm of 66.
Jul
4
comment Do the online LaTeX compilers use a TeX daemon to speed up their compilation?
Excellent answer, thanks for posting, and welcome to Tex.SE. :) I would love to know your experience with XeLaTeX; my limited experience is that it's somewhat more memory intensive than pdflatex, but otherwise they share performance characteristics.
Jun
25
comment Set custom page text/line width in memoir for sidepars
sorry, you are right — I meant the newgeometry command of the geometry package.
Jun
24
comment Set custom page text/line width in memoir for sidepars
It may be worth noting for any passer-by that part of the problem I had was that I am using the newgeometry package (which, although compatible with memoir, it does not seem to happily deliver the functionality of \newgeometry as one might hope). One has to specify the width as e.g. \newgeometry{width=10cm}.
Jun
24
comment Set custom page text/line width in memoir for sidepars
Yes - that's almost exactly what I had come up with while fiddling, based on your comments. Many thanks.
Jun
13
comment Oversize table with nested tabularx->minipage->tabular* has columns that are too narrow (Memoir)
Thank you David - that's exactly what I was looking for - a little illumination into how one might go about this sort of thing! Very much appreciated.
Jun
12
comment Oversize table with nested tabularx->minipage->tabular* has columns that are too narrow (Memoir)
@daleif Great tip; updating.
Jun
12
comment Oversize table with nested tabularx->minipage->tabular* has columns that are too narrow (Memoir)
@daleif The memoir package has defined its own tabular{,*,x} commands and other peculiarities that may affect the outcome, so it seemed necessary to mention it.
May
21
comment Golden ratio typography in TeX
Well that's hardly a ringing endorsement ...
May
20
comment Golden ratio typography in TeX
For what it's worth, using the x-height seems to yield better results i.e. \baselineskip=1.618\fontdimen5\font