35,554 reputation
166142
bio website randomdeterminism.wordpress.c…
location
age
visits member for 4 years
seen 6 mins ago

13h
awarded  Necromancer
1d
awarded  Good Answer
Jul
29
comment Escape a string printed from Lua using ConTeXt
It converts \ to \\ , which I guess is mapped to \crlf.
Jul
29
comment Grid system for slides
To resize images use: \externalfigure[name][width=\layoutcolumnwidth, height=6\lineheight] etc. But keep in mind that this will change the aspect ratio of the image. It is better to specify only the width or the height, and let ConTeXt automatically scale the other dimension to maintain the aspect ratio.
Jul
29
comment Grid system for slides
I placed the "top-left" corner of the slide title is at the line. Placing the baseline of the title to the grid is more tricky. If you want to do that, it is easier to place the content using the section heads. See the details manual for different options on aligning section heads to the grid.
Jul
29
answered Grid system for slides
Jul
29
comment Escape a string printed from Lua using ConTeXt
@phg: Clearly, I was mistaken. See my answer for a "proper" solution.
Jul
29
answered Escape a string printed from Lua using ConTeXt
Jul
24
comment Escape a string printed from Lua using ConTeXt
(Untested) context(catcodes.numbers.vrbcatcodes, i_can_be_anything) should also work.
Jul
23
revised Which is the best editor for LuaTeX?
Simplified the LaTeX expressions
Jul
22
comment Grid system for slides
Do you want text to automatically reflow from one column to the next?
Jul
22
comment How to set maxheight of a combination in ConTeXt?
The reason for height=0.8\textheight messing things up was because one cannot mix options (like 1*4) with assignments (like height=0.8\textheight) in ConTeXt. Using \startcombination[nx=1, ny=4, height=0.8\textheight] should work.
Jul
21
comment Get or change ConTeXt path for components/projects/environment
While compiling from products, another option is to run context --path=.. X. (Depending on your setup, changing the command line call may be preferable to editing a file).
Jul
21
comment Get or change ConTeXt path for components/projects/environment
Another option is to compile the files from the garden directory using context products/X. Note that this will create the auxiliary files in the garden directory.
Jul
19
comment Is there a spell check package for LaTeX?
@Nasser or look at the example on context wiki (linked in the question). Any misspelled word is colored red.
Jul
19
comment ConTeXt: How to align a delimitedtext?
\startmiddleanligned...\stopmiddlealigned is equivalent to \midaligned{...}, so it typesets the content inside a \hbox, that does not split lines.
Jul
18
comment ConTeXt: How to align a delimitedtext?
delimitedtext does not provide the align key. (Even if it did, you need a comma after align=middle to get it to work). If you need a specific feature of delimitedtext, please send a feature request to the context mailing list to add align key to delimitedtext? If you just need middle alignment, then the following works: \definestartstop[blockquote][before={\blank[medium]\startmiddlealigned},after={‌​\stopmiddlealigned\blank[medium]}].
Jul
18
awarded  Good Answer
Jul
2
awarded  Curious
Jun
29
comment ConTeXt vs LaTeX compilation time
To do a realistic timing comparison, you need a relatively big document (50-100 pages), so that startup time etc. don't skew the results. Also keep in mind that by default Context uses LuaTeX and does multiple runs to get cross references right. To get the best speed from context use luatexjit (by compiling the document using contextjit filename)