37,259 reputation
169154
bio website randomdeterminism.wordpress.c…
location
age
visits member for 4 years, 6 months
seen 4 hours ago

Oct
21
comment How to make written text within math mode appear using the font of the surrounding text in ConTeXt?
I agree with @egreg. This is a bug in ConTeXt's implementation of \text. But why are you using math mode for aligning text? What exactly do you want to do? There are better solutions than resorting to math mode for alignment.
Oct
20
comment Percent signs - “comment” and “active” both at once?
@egreg: Yes, \asciimode works correctly inside macros as well. See the edited answer. In fact, \asciimode even works correctly if it is called inside a macro, provided there is a line break before %% is used (\asciimode changes the line-reader, so if the current line has already been read, it will not change it).
Oct
20
revised Percent signs - “comment” and “active” both at once?
A better example
Oct
20
revised Percent signs - “comment” and “active” both at once?
Wrong example :(
Oct
20
comment Percent signs - “comment” and “active” both at once?
FWIW, \asciimode does two things: sets an appropriate catcode table, and hooks into the line reader to set %% as comment. The first is doable in pdftex but the second requires luatex. If you want to implement %% acting as comment in pdftex, you need to set % to be an active character, and check the next token to see if it is % or not. If you are using lualatex, then porting the definition should be simple (but I don't know what interface lualatex provides for hooking into the line reader).
Oct
20
answered Percent signs - “comment” and “active” both at once?
Oct
20
answered Table rowspan and colspan
Oct
20
answered Why are my tables running off the edge of the page in ConTeXt?
Oct
20
comment Why are my tables running off the edge of the page in ConTeXt?
That is because you are missing an \NC. The table syntax is \NC ... \NC ... \NC \NR (note the \NC\NR in the end). So, you need to end with \NC\AR to get automatic row height. There is also \SR (for single row), \FR (for first row after a \HL and \LR (for last row before \HL).
Oct
20
comment Why are my tables running off the edge of the page in ConTeXt?
You do not need to manually add the struts. Rather use \AR to end the rows instead of \NR.
Oct
17
answered Font setup in header (ConTeXt)
Oct
12
answered Automation: static array for the sieve of Eratosthenes
Oct
11
comment What is the correct syntax for subfootnote?
Since this question has not been answered here for a while, the best option is to ask it on the ConTeXt mailing list.
Oct
9
comment ConTeXt enumerate in margin
@kitz: That is part of the reason that the implementation in MkIV uses numbers (which honor continue and conversion tags) rather than counters.
Oct
9
awarded  Pundit
Oct
8
comment ConTeXt enumerate in margin
BTW, why do you use \item\ansblank rather than the interface that Macro proposed? If you only need the margin text for some itemizations, you can use \defineitemgroup[answeritemize], then set \setupitemgroup[answeritemize][...] instead of \setupitemize[...], and then use \startansweritemize ... \stopansweritemize etc.
Oct
8
revised ConTeXt enumerate in margin
Tags
Oct
8
revised ConTeXt enumerate in margin
Added output image
Oct
8
answered ConTeXt enumerate in margin
Oct
7
comment ConTeXt enumerate in margin
Can you show how the output is supposed to look like? I have a hard time understanding the visual description. Regarding Euler, in MkIV you should use the NeoEuler font (search github).