Re: [NTG-context] Setupheadertexts with if-condition

2019-04-10 Thread Huseyin Özoguz
\doifelsemarking or \doifelsetext Thanks, that worked. My final solution (just for the archive, it seems to be more suitable than the solution in the wiki): \define\CustomHeader{%    \cap{     \doifelsetext{\getmarking[chapter]}%         {Kapitel \getmarking[chapternumber]:

Re: [NTG-context] gnuplot-module broken under lmtx

2019-04-10 Thread Hans Hagen
On 4/10/2019 4:34 PM, Christian Prim wrote: Hi It's little off-topic as there are officially no modules included in lmtx. But when I used the modules from a mkiv-installation, there was little to no problem. But with the gnuplot-module I can't fix the error myself. not off-topic .. as

Re: [NTG-context] Text in the margin

2019-04-10 Thread Wolfgang Schuster
Fabrice Couvreur schrieb am 10.04.2019 um 11:58: Hi, Wolfgang suggested this to put text in the margin but since some updates it does not work anymore : \setuplayout [width=12cm,    rightmargin=5cm] \defineuserdata [margintext] [alternative=margintext] \defineuserdataalternative

Re: [NTG-context] Strange behavior in math mode: < and minus sign give leftarrow

2019-04-10 Thread Hans Hagen
On 4/10/2019 2:19 PM, Aditya Mahajan wrote: On Wed, 10 Apr 2019, Hans Hagen wrote: On 4/10/2019 9:40 AM, Mikael P. Sundqvist wrote: On Wed, Apr 10, 2019 at 9:21 AM Otared Kavian wrote: Hi Hans, While testing old documents with lmtx, I noticed that with recent versions of mkiv, as well as

[NTG-context] Request for xml.filter explanation!

2019-04-10 Thread Geert Verhaag
Hi, I've the following xml file: *     a paragraph of text   40.2       another paragraph of text   10.7       still another paragraph!   20.5   * And want to calculate the total value of all the objects: like so: *\startxmlsetups xml:example:base  

Re: [NTG-context] DIN lang folder with crop marks

2019-04-10 Thread Wolfgang Schuster
Benjamin Koppe schrieb am 10.04.2019 um 20:33: Hallo, I'm new to ConTeXt and am crazy enough to start with something nonstandard. Of course I got stuck pretty fast. I started out with this: https://wiki.contextgarden.net/DIN_lang_folder and then found some info on crop marks here:

[NTG-context] DIN lang folder with crop marks

2019-04-10 Thread Benjamin Koppe
Hallo, I'm new to ConTeXt and am crazy enough to start with something nonstandard. Of course I got stuck pretty fast. I started out with this: https://wiki.contextgarden.net/DIN_lang_folder and then found some info on crop marks here: https://wiki.contextgarden.net/PaperSetup#Crop_marks I

Re: [NTG-context] Strange behavior in math mode: < and minus sign give leftarrow

2019-04-10 Thread Alan Braslau
On Wed, 10 Apr 2019 10:09:31 +0200 Otared Kavian wrote: > The problem of such an usual default is also with newcomers who would not > know about this feature in ConTeXt: when one writes maths one would not guess > that typing an inequality like $n < -1$ would end up in $n \leftarrow 1$. And >

[NTG-context] gnuplot-module broken under lmtx

2019-04-10 Thread Christian Prim
Hi It's little off-topic as there are officially no modules included in lmtx. But when I used the modules from a mkiv-installation, there was little to no problem. But with the gnuplot-module I can't fix the error myself. MWE: \usemodule[gnuplot] \startGNUPLOTscript[sin] plot sin(x)

Re: [NTG-context] Strange behavior in math mode: < and minus sign give leftarrow

2019-04-10 Thread Aditya Mahajan
On Wed, 10 Apr 2019, Hans Hagen wrote: On 4/10/2019 9:40 AM, Mikael P. Sundqvist wrote: On Wed, Apr 10, 2019 at 9:21 AM Otared Kavian wrote: Hi Hans, While testing old documents with lmtx, I noticed that with recent versions of mkiv, as well as LuaMetaTeX, there is a strange behavior in

Re: [NTG-context] Setupheadertexts with if-condition

2019-04-10 Thread Hans Hagen
On 4/10/2019 12:29 PM, Huseyin Özoguz wrote: Hello mailing list, I want to use an simple if-condition for this code: \setupheadertexts [][][][{\tfx\bf\getmarking[chapternumber] – \getmarking[chapter]}] My problem: In my case the document dont begin with a chapter but with a section. So at

Re: [NTG-context] Referencing the page on which an endnote was generated

2019-04-10 Thread Huseyin Özoguz
Hi, you can always set *\pagereference[bla] *into the text and reference to the pagenumber of the reference with *\at[bla]*. Is that what you wanted? Huseyin Özoguz -- Huseyin Özoguz E-Mail: h.oezo...@mmnetz.de

[NTG-context] Setupheadertexts with if-condition

2019-04-10 Thread Huseyin Özoguz
Hello mailing list, I want to use an simple if-condition for this code: \setupheadertexts [][][][{\tfx\bf\getmarking[chapternumber] – \getmarking[chapter]}] My problem: In my case the document dont begin with a chapter but with a section. So at the first pages there is not chapter and

[NTG-context] Text in the margin

2019-04-10 Thread Fabrice Couvreur
Hi, Wolfgang suggested this to put text in the margin but since some updates it does not work anymore : \setuplayout [width=12cm, rightmargin=5cm] \defineuserdata [margintext] [alternative=margintext] \defineuserdataalternative [margintext] [renderingsetup=userdata:margintext]

Re: [NTG-context] Difference in right justification in LMTX

2019-04-10 Thread Hans Hagen
On 4/10/2019 12:07 AM, Joseph Canedo wrote: Dear list. Given the following MWE (could not reproduce with smaller example). \setuppapersize[A5][A5] \definefontfeature[base][mode=node, protrusion=quality, expansion=quality] \definefontfamily[mainfont][serif][EBGaramond][features=base]

Re: [NTG-context] Strange behavior in math mode: < and minus sign give leftarrow

2019-04-10 Thread Otared Kavian
Thanks Hans for your attention! The problem of such an usual default is also with newcomers who would not know about this feature in ConTeXt: when one writes maths one would not guess that typing an inequality like $n < -1$ would end up in $n \leftarrow 1$. And writing such inequalities is

Re: [NTG-context] Strange behavior in math mode: < and minus sign give leftarrow

2019-04-10 Thread Otared Kavian
Hi Mikael, Thanks for your quick reply. Indeed I did not know about this feature, and setting collapsing=1 solves my problem… Best regards: OK > On 10 Apr 2019, at 09:40, Mikael P. Sundqvist wrote: > > On Wed, Apr 10, 2019 at 9:21 AM Otared Kavian wrote: >> […] > > Hi! > > I asked about

Re: [NTG-context] Strange behavior in math mode: < and minus sign give leftarrow

2019-04-10 Thread Hans Hagen
On 4/10/2019 9:40 AM, Mikael P. Sundqvist wrote: On Wed, Apr 10, 2019 at 9:21 AM Otared Kavian wrote: Hi Hans, While testing old documents with lmtx, I noticed that with recent versions of mkiv, as well as LuaMetaTeX, there is a strange behavior in math mode: when the characters < and -

Re: [NTG-context] SyncTeX and Skim/TeXShop

2019-04-10 Thread Otared Kavian
Hi Nicola, I do use ConTeXt with TeXShop on MacOS, and I use extensively synctex. Indeed there has been a big change in synctex a few years ago, since the « classic » synctex code by Jérôme Laurens was changed, and more or less at the same time Hans introduced independently a new synctex

Re: [NTG-context] Strange behavior in math mode: < and minus sign give leftarrow

2019-04-10 Thread Mikael P. Sundqvist
On Wed, Apr 10, 2019 at 9:21 AM Otared Kavian wrote: > > Hi Hans, > > While testing old documents with lmtx, I noticed that with recent versions of > mkiv, as well as LuaMetaTeX, there is a strange behavior in math mode: when > the characters < and - follow each other one gets \leftarrow… This

[NTG-context] Strange behavior in math mode: < and minus sign give leftarrow

2019-04-10 Thread Otared Kavian
Hi Hans, While testing old documents with lmtx, I noticed that with recent versions of mkiv, as well as LuaMetaTeX, there is a strange behavior in math mode: when the characters < and - follow each other one gets \leftarrow… This is embarrassing when one writes inequalities for negative

Re: [NTG-context] Missing modules crossref and pararef

2019-04-10 Thread Henning Hraban Ramm
Am 2019-04-08 um 19:15 schrieb Zenlima : >> Interesting, I never heard of these modules. But they were for MkII anyway >> and long gone; their wiki pages are from 2012, and I don’t know the user >> Zenlima. >> What do you want to achieve? It’s probably possible without those modules. > > In

Re: [NTG-context] SyncTeX and Skim/TeXShop

2019-04-10 Thread Hans Hagen
On 4/9/2019 7:23 PM, Nicola Vitacolonna wrote: Hi, is anyone using ConTeXt with Skim, or TeXShop, on macOS? SyncTeX used to work fine with ConTeXt in both apps. Now, it seems that ConTeXt has started to generate a .synctex file rather than a .synctex.gz, and the format seems to have changed

Re: [NTG-context] serial letters

2019-04-10 Thread Henning Hraban Ramm
Am 2019-04-09 um 21:38 schrieb Wolfgang Schuster : > Henning Hraban Ramm schrieb am 08.04.2019 um 15:26: >> How would you approach serial letters, e.g. to all members of a club? >> (Actually I need to send out donation receipts.) >> >> I’d like to use the letter module, since my usual letter

[NTG-context] SyncTeX and Skim/TeXShop

2019-04-10 Thread Nicola Vitacolonna
Hi, is anyone using ConTeXt with Skim, or TeXShop, on macOS? SyncTeX used to work fine with ConTeXt in both apps. Now, it seems that ConTeXt has started to generate a .synctex file rather than a .synctex.gz, and the format seems to have changed (?). As I haven’t followed recent (or perhaps not