[NTG-context] More spurious problems in exports

2018-07-17 Thread Rik Kabel
List, Another oddity with elements in XML / xhtml / html export: With a defined highlight, a break is inserted if the highlight is the first item in an environment. If it is not the first item in the environment, no break is inserted. Most of the other odd breaks can be dealt with in css.

Re: [NTG-context] Issues with vertical spacing in simple case

2018-07-17 Thread Hans Hagen
On 7/17/2018 11:35 PM, Joseph Canedo wrote: Dear list, Trying to build a MWE for a problem with unexpected page break (near a \blank[line, samepage]) I could not yet reproduce yet, I came up with strange output. weird indeed (i know where / why it happens so i'll look into it) With latest

[NTG-context] Issues with vertical spacing in simple case

2018-07-17 Thread Joseph Canedo
Dear list, Trying to build a MWE for a problem with unexpected page break (near a \blank[line, samepage]) I could not yet reproduce yet, I came up with strange output. With latest beta mtx-context | current version: 2018.07.17 17:25 MWE : \starttext \dorecurse{5}{ \input knuth

Re: [NTG-context] Compilation problem with the latest version of standalone context(Metafun)

2018-07-17 Thread Hans Hagen
On 7/17/2018 11:00 PM, Alan Braslau wrote: \setuppagenumbering[location=footer] \startusableMPgraphic{NumberHead} draw outlinetext.f ("\bf\namedheadnumber{chapter}") (withcolor "lightgray") ysized 50pt ; \stopusableMPgraphic

Re: [NTG-context] Compilation problem with the latest version of standalone context(Metafun)

2018-07-17 Thread Alan Braslau
\startusableMPgraphic ? > On 17 Jul 2018, at 14:46, Rik Kabel wrote: > > On 7/17/2018 16:40, Hans Hagen wrote: >> On 7/17/2018 10:30 PM, Rik wrote: >>> On 7/16/2018 10:24, Fabrice Couvreur wrote: % macros=mkvi \setuppagenumbering[location=footer]

Re: [NTG-context] Compilation problem with the latest version of standalone context(Metafun)

2018-07-17 Thread Rik Kabel
On 7/17/2018 16:40, Hans Hagen wrote: On 7/17/2018 10:30 PM, Rik wrote: On 7/16/2018 10:24, Fabrice Couvreur wrote: % macros=mkvi \setuppagenumbering[location=footer] \startusableMPgraphic{NumberHead} draw outlinetext.f ("\bf\namedheadnumber{chapter}") (withcolor

Re: [NTG-context] Compilation problem with the latest version of standalone context(Metafun)

2018-07-17 Thread Hans Hagen
On 7/17/2018 10:30 PM, Rik wrote: On 7/16/2018 10:24, Fabrice Couvreur wrote: % macros=mkvi \setuppagenumbering[location=footer] \startusableMPgraphic{NumberHead} draw outlinetext.f ("\bf\namedheadnumber{chapter}") (withcolor "lightgray") ysized 50pt ;

Re: [NTG-context] Compilation problem with the latest version of standalone context(Metafun)

2018-07-17 Thread Fabrice Couvreur
Hi Pablo, I do not have win64, sorry ! I installed texlive 2018 and the file compiles without problem but in a console other than that of Emacs. I also get the expected result with the latest version of context standalone but still in a console other than that of Emacs. Should we conclude that the

Re: [NTG-context] Compilation problem with the latest version of standalone context(Metafun)

2018-07-17 Thread Rik
On 7/16/2018 10:24, Fabrice Couvreur wrote: % macros=mkvi \setuppagenumbering[location=footer] \startusableMPgraphic{NumberHead} draw outlinetext.f ("\bf\namedheadnumber{chapter}") (withcolor "lightgray") ysized 50pt ; \stopusableMPgraphic

Re: [NTG-context] Compilation problem with the latest version of standalone context(Metafun)

2018-07-17 Thread Pablo Rodriguez
On 07/17/2018 12:36 PM, Fabrice Couvreur wrote: > Hi Hans, > In fact, the file compiles well with the beta version but only from a > terminal by running the > /home/aragorn/context/tex/texmf-linux-64/bin/context Test.tex && evince > Test.pdf command. > On the other hand, if I compile with Emacs,

Re: [NTG-context] Storing Lua values between Ctx "*first* and next runs

2018-07-17 Thread Hans Hagen
On 7/14/2018 1:24 PM, Procházka Lukáš Ing. wrote: Hello, is there a Lua variable/namespace which is stored automatically between Ctx "*first" and following runs? I thought 'userdata' is intended for this, but it seems it's not; I'd like to achieve something like: \startluacode   if

Re: [NTG-context] Compilation problem with the latest version of standalone context(Metafun)

2018-07-17 Thread Hans Hagen
On 7/17/2018 12:36 PM, Fabrice Couvreur wrote: Hi Hans, In fact, the file compiles well with the beta version but only from a terminal by running the /home/aragorn/context/tex/texmf-linux-64/bin/context Test.tex && evince Test.pdf command. On the other hand, if I compile with Emacs, the

Re: [NTG-context] btex ... etex within MP with 1 letter ignored?

2018-07-17 Thread Hans Hagen
On 7/17/2018 3:40 PM, Procházka Lukáš Ing. wrote: Hello, I encountered a weird thing - words of 1 letter inside btex ... etex within MP are not shown - check: \setuplayout[page] \startluacode   context.setMPtext("Pare", "1")   context.setMPtext("Pare2", "22")  

[NTG-context] btex ... etex within MP with 1 letter ignored?

2018-07-17 Thread Procházka Lukáš Ing .
Hello, I encountered a weird thing - words of 1 letter inside btex ... etex within MP are not shown - check: \setuplayout[page] \startluacode context.setMPtext("Pare", "1") context.setMPtext("Pare2", "22") context.setMPtext("Pare3", "333") \stopluacode % \startuseMPgraphic{Pare}

Re: [NTG-context] Compilation problem with the latest version of standalone context(Metafun)

2018-07-17 Thread Fabrice Couvreur
Hi Hans, In fact, the file compiles well with the beta version but only from a terminal by running the /home/aragorn/context/tex/texmf-linux-64/bin/context Test.tex && evince Test.pdf command. On the other hand, if I compile with Emacs, the chapter number does not appear. I configured Emacs so