Reputation
3,547
Top tag
Next privilege 5,000 Rep.
Approve tag wiki edits
Badges
2 12 29
Newest
 Inquisitive
Impact
~573k people reached

  • 0 posts edited
  • 1 helpful flag
  • 836 votes cast
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
Jul
25
revised Escape a string printed from Lua using ConTeXt
note verbatim
Jul
24
accepted Get or change ConTeXt path for components/projects/environment
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
23
asked Escape a string printed from Lua using ConTeXt
Jul
23
revised Get or change ConTeXt path for components/projects/environment
add note re --path
Jul
21
answered Get or change ConTeXt path for components/projects/environment
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
21
revised Get or change ConTeXt path for components/projects/environment
more info,