34,284 reputation
160135
bio website randomdeterminism.wordpress.c…
location
age
visits member for 3 years, 8 months
seen 2 mins ago

Apr
3
comment How can a macro know how many times a value has appeared and will appear?
@TacoHoekwater: I think so, it is not expandable. In any case the macro will fail miserably when placed where expandable text is desirable (section headers and such)
Apr
3
answered Does ConTeXt have any limits to how many items can be used in a document?
Apr
3
comment How can a macro know how many times a value has appeared and will appear?
(Untested) \rawstructurecounter is defined as an unexpanded macro, so it will not be expanded inside \startlua. However, all the counters are stored in the counters.data table, and you should be able to access a counter using counters.value("macro::#1"). See strc-num.lua for details (look at the latest beta, because some of the old commands were dropped last week).
Apr
2
answered How can a macro know how many times a value has appeared and will appear?
Apr
2
answered Creating simple frames
Apr
2
revised How to display special symbols in ConTeXt which are processed by Lua?
Note about robustness
Apr
2
answered How to display special symbols in ConTeXt which are processed by Lua?
Apr
1
comment Creating a table which spans verso and recto pages in ConTeXt?
Isn't this just a mutipage table spread over teo pages? Have you looked into linetables?
Mar
28
comment How to install third-party modules for ConTeXt (MacTex distribution)?
Most context packages are named context-<modulename>. The easiest way to search is to look at the TeX Catalogue entry for ConTeXt or look at the third party module page on ConTeXt garden.
Mar
27
awarded  Excavator
Mar
27
revised Floating a sidebar into the margin with ConTeXt
Formatting
Mar
27
comment How do I install context modules in the ubuntu distribution of ConTeXt
I was trying to answer your original question was "How to install third party modules in ConTeXt in ubuntu". If what you want is to install an older version of ConTeXt, please appropriately modify your question.
Mar
27
comment How to install third-party modules for ConTeXt (MacTex distribution)?
tlmgr should be able to install ConTeXt packages as well. For example tlmgr context-simplefonts will install the simplefonts module.
Mar
26
comment How can I tell ConTeXt to automatically rotate images to fit their dimensions most accurately?
Are you talking about inline figures or about floating figures?
Mar
26
comment How do I install context modules in the ubuntu distribution of ConTeXt
Aren't Ubuntu packages based on Texlive? If so, does ubuntu provide some means of calling tlmgr? Otherwise, you can consider installing ConTeXt standalone in a parallel tree. See ConTeXt wiki for details.
Mar
25
answered Managing hundreds of separate components in a large document
Mar
24
comment How do I activate hanging punctuation with XeteX under ConTeXt?
Have you tried enabling protrusion using the method for MkII? And ConTeXt MkIV (luatex backend), does support system fonts. So, I will recommend using ConTeXt MkIV.
Mar
23
reviewed Approve suggested edit on Horizontal character width scaling
Mar
23
comment Which symbols need to be escaped in ConTeXt?
Minor additions: You can use \startasciimode ... \stopasciimode if you don't want ascii mode to be active for the whole document. \mathematics{...} may be abbreviated to \math{...} or \m{...}.
Mar
21
comment Read command with varying input arguments
@PauloCereda: The reason is that the internal code is modular. For example, this feature is needed when you use symbols to denote footnotes (\star, \daggar, \ddaggar, etc). Both LaTeX and ConTeXt have internal mechanisms for that; the difference is that in LaTeX it is hidden from the user, while ConTeXt provides a user API for it.