3,212 reputation
21127
bio website example.com
location Canada
age 36
visits member for 4 years
seen Nov 7 at 17:30

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

XƎTEX:

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

Nov
20
awarded  Popular Question
Nov
8
awarded  Yearling
Nov
3
comment ConTeXt: How to display last page number (Page # of #) in header/footer?
Unfortunately, this doesn't seem to respect \definestructureconversionset[]
Aug
26
comment How to generate PDF/A and PDF/X?
In addition to the PDFX page linked, there is also the PDF/A page on Context Garden.
Aug
22
accepted Write unit tests for Lua in ConTeXt
Aug
22
revised Write unit tests for Lua in ConTeXt
added note re. break-out for lua-only runner
Aug
22
revised Write unit tests for Lua in ConTeXt
add --once flag
Aug
22
answered Write unit tests for Lua in ConTeXt
Aug
20
comment Write unit tests for Lua in ConTeXt
@phg: Thanks; Got it re. mtxrun. The test suite is awesome - I did not know about that. (I saw it mentioned but the link from ContextGarden was broken).
Aug
20
comment Write unit tests for Lua in ConTeXt
@Aditya: It's a good suggestion that you make. The unit tests are part of a larger collection, which is run through Python. I'd like to avoid subprocesses and reconciling the results with the Python test runner. Calling the tests via the interpreter seems more granular and integrated -- though what you suggest might be the best answer.
Aug
20
comment Greek typewriter font
@cfr It's a good point, I should have mentioned: Some of the Typekit fonts support Greek (e.g. Source Sans Pro) but for some reason do not list it. I thought to suggest Typekit, at any rate - just in case.
Aug
19
answered Greek typewriter font
Aug
19
asked Write unit tests for Lua in ConTeXt
Jul
29
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.
Jul
29
accepted Escape a string printed from Lua using ConTeXt
Jul
29
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
revised Escape a string printed from Lua using ConTeXt
added 49 characters in body
Jul
25
answered Escape a string printed from Lua using ConTeXt
Jul
25
comment Escape a string printed from Lua using ConTeXt
It looks like the proper catcode might be \notcatcodes from catc-def.mkiv