3,262 reputation
21128
bio website example.com
location Canada
age 36
visits member for 4 years, 1 month
seen Dec 16 at 19:22

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

XƎTEX:

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

Dec
16
comment ConTeXt: Prevent page break between heading and image
Thanks Aditya -- that'll definitely help get me started, which is hopefully all I need! :) Cheers
Dec
16
comment ConTeXt: Prevent page break between heading and image
Thanks John. There's no minipage in ConTeXt, but there are rough equivalents.
Dec
16
comment ConTeXt: Prevent page break between heading and image
Thanks John- got it. Let me try it out - will report back.
Dec
16
comment ConTeXt: Prevent page break between heading and image
Hi @JohnKormylo - I want to prevent a page break, not force one. :)
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
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.
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
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.