Re: [NTG-context] Spurious blank line inside paragraph

2018-07-18 Thread Henri Menke
On 19/07/18 15:52, Marcus Vinicius Mesquita wrote: Dear list, In the MWE below, ConTeXt generates a spurious blank line inside the paragraph in the pdf output. Accented characters like Á are too high for the line, so the gridding algorithm will insert vertical space. Just make the line a

[NTG-context] Spurious blank line inside paragraph

2018-07-18 Thread Marcus Vinicius Mesquita
Dear list, In the MWE below, ConTeXt generates a spurious blank line inside the paragraph in the pdf output. \setuplayout[grid=yes] \mainlanguage[pt] \starttext Poderíamos perguntar-nos: O mundo que percebemos é uma ilusão? A percepção que tenho do mundo parece objetiva, pois sou consciente

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

2018-07-18 Thread Hans Hagen
On 7/18/2018 10:33 PM, Joseph Canedo wrote: Thanks Hans. Picked up today beta and some code I have relying on value of tex.prevgraf starts breaking. This is lettrine related code that sets hangafter for 1st paragraph and eventually subsequent if lettrine is larger than 1st par. I see the

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

2018-07-18 Thread Joseph Canedo
Thanks Hans. Picked up today beta and some code I have relying on value of tex.prevgraf starts breaking. This is lettrine related code that sets hangafter for 1st paragraph and eventually subsequent if lettrine is larger than 1st par. I see the function vspacing.synchronizepage() sets prevgraf

Re: [NTG-context] Finding lua file for module using \registerctxluafile

2018-07-18 Thread Hans Hagen
On 7/18/2018 7:07 PM, Stanislav Sokolenko wrote: Dear list, I've recently written a small module p-mymod.tex which uses lua code in p-mymod.lua. In order to load this lua code, I use \registerctxluafile{p-mymod}{1.001} (copying the example of m-database.mkiv). However, it seems like the

Re: [NTG-context] page ranges in \markpage

2018-07-18 Thread Pablo Rodriguez
On 07/18/2018 09:08 PM, Wolfgang Schuster wrote: >> Sorry, but how do I apply that with to imposed pages with \insertpages? >> >> I know that \filterpages is there, but I need to have the complete >> document to print only some of the pages. > > You can get the number of pages of the included

Re: [NTG-context] page ranges in \markpage

2018-07-18 Thread Wolfgang Schuster
Pablo Rodriguez 18. Juli 2018 um 18:19 Hans, would it be possible that \markpage could have page ranges as in the following sample? \setuplayout [backspace=0pt, topspace=0pt, width=middle, height=middle, location=middle, header=0pt, footer=0pt]

Re: [NTG-context] page ranges in \markpage

2018-07-18 Thread Pablo Rodriguez
On 07/18/2018 07:40 PM, Wolfgang Schuster wrote: > >> Pablo Rodriguez 18. Juli 2018 um 18:19 >> Hans, >> >> would it be possible that \markpage could have page ranges as in the >> following sample? >> >> \setuplayout >> [backspace=0pt, >> topspace=0pt, >> width=middle, >> height=middle, >>

Re: [NTG-context] page ranges in \markpage

2018-07-18 Thread Wolfgang Schuster
Pablo Rodriguez 18. Juli 2018 um 18:19 Hans, would it be possible that \markpage could have page ranges as in the following sample? \setuplayout [backspace=0pt, topspace=0pt, width=middle, height=middle, location=middle, header=0pt, footer=0pt] \setuplayout[page]

[NTG-context] Finding lua file for module using \registerctxluafile

2018-07-18 Thread Stanislav Sokolenko
Dear list, I've recently written a small module p-mymod.tex which uses lua code in p-mymod.lua. In order to load this lua code, I use \registerctxluafile{p-mymod}{1.001} (copying the example of m-database.mkiv). However, it seems like the search path for lua files isn't the same as for

[NTG-context] page ranges in \markpage

2018-07-18 Thread Pablo Rodriguez
Hans, would it be possible that \markpage could have page ranges as in the following sample? \setuplayout [backspace=0pt, topspace=0pt, width=middle, height=middle, location=middle, header=0pt, footer=0pt]

Re: [NTG-context] More spurious problems in exports

2018-07-18 Thread Rik Kabel
On 7/18/2018 10:56, Hans Hagen wrote: On 7/18/2018 4:59 AM, Rik Kabel wrote: 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,

Re: [NTG-context] More spurious problems in exports

2018-07-18 Thread Hans Hagen
On 7/18/2018 4:59 AM, Rik Kabel wrote: 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

Re: [NTG-context] More spurious problems in exports

2018-07-18 Thread Hans Hagen
On 7/18/2018 4:59 AM, Rik Kabel wrote: 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

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

2018-07-18 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. With latest beta mtx-context | current version: 2018.07.17 17:25 MWE :

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

2018-07-18 Thread Fabrice Couvreur
Hello, I just compiled the file with gvim and the expected result is the right one ; the problem is Emacs or my ~/.emacs file. Fabrice 2018-07-17 23:00 GMT+02:00 Alan Braslau : > \startusableMPgraphic ? > > > On 17 Jul 2018, at 14:46, Rik Kabel wrote: > > > > On 7/17/2018 16:40, Hans Hagen