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

Sep
5
comment Does a zero-length line with an arrow make sense? Is it a bug?
Add an epsilon perturbation so that direction is properly defined.
Sep
4
awarded  Enlightened
Sep
4
awarded  Nice Answer
Sep
4
comment Ways to grab and store larger amount of text
Indeed, in MkII data was written to temp files. The implementation was similar to data grabbing macro from fancyverb package: data was parsed line by line and the grabbed string was compared with \stopbuffer. (That was the reason that \stopbuffer had to be on a line of its own). In MkIV, the implementation is Lua based, but it is relatively simple (effectively same as plain TeX answer of egreg, but ConTeXt first changes the catcode table to vrbcatcodes and uses a configurable stopper; I really don't understand why nested buffers work).
Sep
4
answered Ways to grab and store larger amount of text
Sep
2
comment Providing data series for sparkline environment
Another alternative is to not include the space in SparkMacro but use \SparkMacro{} /
Sep
2
revised Providing data series for sparkline environment
Formatting
Sep
2
comment Errors Mpgraph in ConTeXt
BTW, ConTeXt does not come with a typescript for droid font. type-win is for MkII typescripts. MkIV typescripts are in type-otf.mkiv. You can also use simplefont module for setting fonts.
Sep
2
comment Errors Mpgraph in ConTeXt
mpgraph uses a math font because the labels can have things like 3 \times 10^6. You have two options, either add a matching math font to your typescript, or change the metapost.format_n function from m-graph.mkiv.
Sep
2
answered Multirow tabular: un-indent the first line
Sep
2
comment Multirow tabular: un-indent the first line
What happens if you add % after the { in all your newcommands: for example, \newcommand{ith}{%, etc.
Sep
2
comment Why are my Images not correctly centered?
I am not exactly sure what you mean. I have added a few more examples to explain what happens with different settings and different line lengths.
Sep
2
revised Why are my Images not correctly centered?
Added more details
Sep
2
comment Errors Mpgraph in ConTeXt
Can you create a minimal example? If I add \setupbodyfont[times] in the above example, only TeXGyre Theremes is used.
Sep
2
comment Errors Mpgraph in ConTeXt
If you are using MkIV, just change the main doucment font and the change will be reflected in metapost as well.
Sep
2
comment Errors Mpgraph in ConTeXt
BTW, you should also check the pgfplots package (which is supposed to work with ConTeXt as well). Metapost provides only a limited plotting capabilities.
Sep
2
answered Why are my Images not correctly centered?
Sep
2
answered Errors Mpgraph in ConTeXt
Sep
1
awarded  Nice Answer
Aug
31
awarded  Nice Answer