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

2015-05-10 Thread Aditya Mahajan
On Sun, 10 May 2015, Otared Kavian wrote: Everything works fine, except that when one tries to modify, for instance the definition of \liminf (in order to have it as an underlined lim), ConTeXt reports an error. %\definemathcommand [liminf] [limop] {\underline\mfunctionlabeltext{lim}} \u

Re: [NTG-context] \big\lfloor and \big\lceil do not work

2015-05-10 Thread Aditya Mahajan
On Sun, 10 May 2015, Hans Hagen wrote: On 5/10/2015 4:06 PM, Aditya Mahajan wrote: $\left\langle x \right\rfloor$ they were not defined as pair (yet) ... done in next beta As I said in the previous email, \langle ... \rfloot are not typically used together, so there is no need to add them

[NTG-context] optional lpaths to merge \xmlsetsetup?

2015-05-10 Thread Pablo Rodriguez
Hans, many thanks for the explanation with \xmlsetup. I have one more question for today concerning lpaths. I have the following commands: \xmlsetsetup{\xmldocument} {span[@label]} {xml:logo} \xmlsetsetup{\xmldocument} {span[contains(@class,'tex\letterpercent-lo

Re: [NTG-context] understanding \xmlsetup

2015-05-10 Thread Hans Hagen
On 5/10/2015 6:45 PM, Pablo Rodriguez wrote: Dear list, to setup the language attribute in and elements from HTML, Hans kindly provided me with the following setup: \startxmlsetups xml:lang \begingroup \language[\xmlatt{#1}{lang}] \xmlsetup{#1}{xml:\

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

2015-05-10 Thread Hans Hagen
On 5/10/2015 2:19 PM, Aditya Mahajan wrote: On Sun, 10 May 2015, Hans Hagen wrote: On 5/9/2015 4:16 PM, Aditya Mahajan wrote: On Sat, 9 May 2015, Aditya Mahajan wrote: On Sat, 9 May 2015, Hans Hagen wrote: i've added (uploading beta now) \setupmathematics [functionstyle=\ss, function

[NTG-context] understanding \xmlsetup

2015-05-10 Thread Pablo Rodriguez
Dear list, to setup the language attribute in and elements from HTML, Hans kindly provided me with the following setup: \startxmlsetups xml:lang \begingroup \language[\xmlatt{#1}{lang}] \xmlsetup{#1}{xml:\xmltag{#1}} \endgroup \stopxmlsetups

Re: [NTG-context] question about \xmlconcat

2015-05-10 Thread Pablo Rodriguez
On 05/10/2015 05:43 PM, Hans Hagen wrote: > On 5/10/2015 5:36 PM, Pablo Rodriguez wrote: >> [...] >> What I think I understand now is that it is impossible (it doesn’t make >> sense) to concatenate elements (pardon my inaccuracy) inside one of >> these elements. > > indeed, in that case you need t

Re: [NTG-context] \big\lfloor and \big\lceil do not work

2015-05-10 Thread Hans Hagen
On 5/10/2015 4:06 PM, Aditya Mahajan wrote: $\left\langle x \right\rfloor$ they were not defined as pair (yet) ... done in next beta (there is a special fences subsystem, also with some checking for mismatch and so, needed for unattended processing as in mathml) Hans --

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

2015-05-10 Thread Otared Kavian
Hi Hans, Thanks for the new feature in \setupmathematics. I did some testing of the feature on a several documents, , and followed the discussions you had with Aditya and Wolfgang. Everything works fine, except that when one tries to modify, for instance the definition of \liminf (in order to h

Re: [NTG-context] question about \xmlconcat

2015-05-10 Thread Hans Hagen
On 5/10/2015 5:36 PM, Pablo Rodriguez wrote: On 05/10/2015 01:24 PM, Hans Hagen wrote: [...] \startbuffer[demo] Document Title John Doe James Doe Jane Doe whatever \stopbuffer \startxmlsetups xml:initialize \xmlsetsetup{#1}{doc|h1}{xml:*} \stopxmlsetups \

Re: [NTG-context] question about \xmlconcat

2015-05-10 Thread Pablo Rodriguez
On 05/10/2015 01:24 PM, Hans Hagen wrote: > [...] > \startbuffer[demo] > > Document Title > John Doe > James Doe > Jane Doe > whatever > > \stopbuffer > > \startxmlsetups xml:initialize > \xmlsetsetup{#1}{doc|h1}{xml:*} > \stopxmlsetups > > \xmlregistersetup{xml:i

[NTG-context] \big\lfloor and \big\lceil do not work

2015-05-10 Thread Aditya Mahajan
Hi, This is based on another question on TeX.SX http://tex.stackexchange.com/q/242256/323 Minimal example: \starttext \startlines $\big\lfloor x \big\rfloor$ % No delimiters $\Big\lfloor x \Big\rfloor$ % No delimiters $\left\lfloor x \right\rfloor$ % Works \stoplines \stoptext Any idea what

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

2015-05-10 Thread Aditya Mahajan
On Sun, 10 May 2015, Hans Hagen wrote: On 5/9/2015 4:16 PM, Aditya Mahajan wrote: On Sat, 9 May 2015, Aditya Mahajan wrote: On Sat, 9 May 2015, Hans Hagen wrote: i've added (uploading beta now) \setupmathematics [functionstyle=\ss, functioncolor=red] \starttext \startformula f = \s

Re: [NTG-context] question about \xmlconcat

2015-05-10 Thread Hans Hagen
On 5/10/2015 1:12 PM, Pablo Rodriguez wrote: Dear list, I have the following sample: \startbuffer[demo] Document Title John Doe James Doe Jane Doe \stopbuffer \startxmlsetups xml:initialize \xmlsetsetup{#1}{doc|h1}{xml:*}

[NTG-context] question about \xmlconcat

2015-05-10 Thread Pablo Rodriguez
Dear list, I have the following sample: \startbuffer[demo] Document Title John Doe James Doe Jane Doe \stopbuffer \startxmlsetups xml:initialize \xmlsetsetup{#1}{doc|h1}{xml:*} \xmlsetsetup{#1} {h2[contains(@clas