[NTG-context] language mode with XML

2015-05-16 Thread Pablo Rodriguez
Dear list, I have the following sample: \startbuffer[demo] doc lang=es h1Document Title/h1 pText from paragraph./p h1Document Title/h1 pText from paragraph./p /doc \stopbuffer \startxmlsetups xml:initialize

[NTG-context] Changing font for math function

2015-05-16 Thread Maggyero
Aditya Mahajan: By default, in all three formats the font for \log is mathupright rather than textrm. There needs to be a rationale for ConTeXt default to be different from other formats. Do you have any reference to a math book or journal that uses text fonts for \log-like operators? Thanks

Re: [NTG-context] Changing font for math function

2015-05-16 Thread Hans Hagen
On 5/16/2015 4:23 PM, Maggyero wrote: Aditya Mahajan: By default, in all three formats the font for \log is mathupright rather than textrm. There needs to be a rationale for ConTeXt default to be different from other formats. Do you have any reference to a math book or journal that

Re: [NTG-context] Weird position of equation numbers for long equations

2015-05-16 Thread Mojca Miklavec
On Fri, May 15, 2015 at 7:07 PM, luigi scarso wrote: a patch is available in trunk, rev. 5244 (not in TeXLive 2015) . Thank you, but something seems wrong. \starttext \hsize=2cm \dorecurse{10}{hi } $$a\eqno(a)$$ \placeformula \startformula a \stopformula $$a^2+b^2=c^2\eqno(b)$$

[NTG-context] horizontal spacing

2015-05-16 Thread henman
In the below example, used with the latest standalone ConTeXt version, I can only get \hskip to work when the parameter is 1 dimension unit. e.g. 1em or 1cm for example. How can I get a larger horizontal space say 3em , rather that having to write \hskip 1em \hskip 1em \hskip 1em

Re: [NTG-context] 2 issues in phys-dim.mkiv

2015-05-16 Thread Hans Hagen
On 5/15/2015 9:43 PM, Maggyero wrote: I've tried the unit interface today, and I've noticed two issues with the following example: \setupunits[alternative=text] \starttext $\unit{-4.6e-3 km s^-1}$ \stoptext 1. Minus superscripts for UNITS (so 's^-1' here—not 'e-3', which is fine) are converted

Re: [NTG-context] horizontal spacing

2015-05-16 Thread Wolfgang Schuster
Am 16.05.2015 um 11:09 schrieb henman dhen...@gmail.com: In the below example, used with the latest standalone ConTeXt version, I can only get \hskip to work when the parameter is 1 dimension unit. e.g. 1em or 1cm for example. How can I get a larger horizontal space say 3em , rather

Re: [NTG-context] Changing font for math function

2015-05-16 Thread Hans Hagen
On 5/16/2015 2:24 AM, Aditya Mahajan wrote: On Sat, 16 May 2015, Maggyero wrote: Aditya Mahajan: The default should be \mathupright (as is the case in amstex and latex, and probably also plaintex). Hans Hagen: next beta: when one of the stylealternatives text mode else mathmode (default

Re: [NTG-context] Weird position of equation numbers for long equations

2015-05-16 Thread Hans Hagen
On 5/16/2015 6:58 PM, Mojca Miklavec wrote: \hsize=2cm $$a^2+b^2=c^2\eqno(b)$$ It's what happens with a too wide formula + number (in context you see an extra shift as we also have some distance between the formula and number). It's sort of a side effect of lack of control over what

[NTG-context] parenthesis in Arabic text

2015-05-16 Thread Sam Ḥilluc
Greetings, I'm trying to typeset an Arabic text, but I have a problem with parenthesis in footnotes. The following example: \usemodule[simplefonts] \setmainfont[amiri][features=arabic,range=arabic] \setupdirections[bidi=global] \setupalign[righttoleft] \def\text{(ب)}