Re: [NTG-context] new beta

2013-07-13 Thread Pablo Rodríguez
On 13/07/13 03:57, Otared Kavian wrote: On 12 juil. 2013, at 20:06, Aditya Mahajan adit...@umich.edu wrote: On Fri, 12 Jul 2013, Pablo Rodríguez wrote: On 12/07/13 19:21, Hans Hagen wrote: Hi, I uploaded a beta. There are not that many changes. Currently I develop in a separate branch but

[NTG-context] From XeLaTeX's Unicode-math to ConTeXt's typescript

2013-07-13 Thread Joas Kinouani
Hello everyone, I search a way to translate the following XeLaTeX's declarations (based on the unicode-math package): \setmainfont{Linux Libertine G} \setsansfont[Scale=MatchLowercase]{Liberation Sans} \setmonofont[Scale=MatchLowercase, ItalicFont=lmmono10-italic.otf,

Re: [NTG-context] From XeLaTeX's Unicode-math to ConTeXt's typescript

2013-07-13 Thread Wolfgang Schuster
Am 12.07.2013 um 08:48 schrieb Joas Kinouani joasyann...@gmail.com: PS: Does someone know what is the equivalent of Scale=MatchLowercase? You can use “rscale=auto” in the last argument of \definetypeface. Wolfgang

[NTG-context] keeping headings with following texts

2013-07-13 Thread Pablo Rodríguez
Dear list, writing an article on ConTeXt, I have found what I think is a surprising feature (at least, a surprising default): headings don’t always keep with next paragraph, so they can end up in being widowed (heading + page break + first paragraph on next page). Sorry, but I’m afraid that I

Re: [NTG-context] keeping headings with following texts

2013-07-13 Thread Wolfgang Schuster
Am 13.07.2013 um 14:07 schrieb Pablo Rodríguez oi...@web.de: Dear list, writing an article on ConTeXt, I have found what I think is a surprising feature (at least, a surprising default): headings don’t always keep with next paragraph, so they can end up in being widowed (heading + page

Re: [NTG-context] keeping headings with following texts

2013-07-13 Thread Pablo Rodríguez
On 13/07/13 14:23, Wolfgang Schuster wrote: Am 13.07.2013 um 14:07 schrieb Pablo Rodríguez oi...@web.de: [...] Is there a way to enable the “keep with next” option for all headings? Do you have a example where this happens because context tries to prevent a page break after a heading which

Re: [NTG-context] keeping headings with following texts

2013-07-13 Thread Wolfgang Schuster
Am 13.07.2013 um 15:09 schrieb Pablo Rodríguez oi...@web.de: On 13/07/13 14:23, Wolfgang Schuster wrote: Am 13.07.2013 um 14:07 schrieb Pablo Rodríguez oi...@web.de: [...] Is there a way to enable the “keep with next” option for all headings? Do you have a example where this happens

Re: [NTG-context] keeping headings with following texts

2013-07-13 Thread Pablo Rodríguez
On 13/07/13 15:19, Wolfgang Schuster wrote: [...] Can you make a minimal tex document out of this. It would be also interesting to see your definition for the problematic heading which seems to use your own code. Here you have it: \usemodule[simplefonts] \setmainfont[TeX Gyre

Re: [NTG-context] keeping headings with following texts

2013-07-13 Thread Pablo Rodríguez
On 13/07/13 16:08, Pablo Rodríguez wrote: On 13/07/13 15:19, Wolfgang Schuster wrote: [...] Can you make a minimal tex document out of this. It would be also interesting to see your definition for the problematic heading which seems to use your own code. Here you have it:

Re: [NTG-context] keeping headings with following texts

2013-07-13 Thread Peter Münster
On Sat, Jul 13 2013, Pablo Rodríguez wrote: \usemodule[simplefonts] \setmainfont[TeX Gyre Pagella] If I replace those lines with \setupbodyfont[pagella,12pt], nothing changes, but if I remove the first two lines quoted above, everything works. No. You don't need those lines for a

Re: [NTG-context] keeping headings with following texts

2013-07-13 Thread Wolfgang Schuster
Am 13.07.2013 um 16:39 schrieb Peter Münster pmli...@free.fr: On Sat, Jul 13 2013, Pablo Rodríguez wrote: \usemodule[simplefonts] \setmainfont[TeX Gyre Pagella] If I replace those lines with \setupbodyfont[pagella,12pt], nothing changes, but if I remove the first two lines quoted

Re: [NTG-context] keeping headings with following texts

2013-07-13 Thread Pablo Rodríguez
On 13/07/13 17:22, Wolfgang Schuster wrote: Am 13.07.2013 um 16:39 schrieb Peter Münster pmli...@free.fr: On Sat, Jul 13 2013, Pablo Rodríguez wrote: If I replace those lines with \setupbodyfont[pagella,12pt], nothing changes, but if I remove the first two lines quoted above, everything

Re: [NTG-context] keeping headings with following texts

2013-07-13 Thread Wolfgang Schuster
Am 13.07.2013 um 16:08 schrieb Pablo Rodríguez oi...@web.de: \setuplayout[setups=*lessstrict] \startsetups[*lessstrict] \setup[reset] \widowpenalty=1 \clubpenalty=1 \brokenpenalty=1 \stopsetups \startsetups[lessstrict] \setups[*reset]

[NTG-context] hyphenation not working inside macro

2013-07-13 Thread Pablo Rodríguez
Dear list, I have the following sample: \setuppapersize[A6] \setuppagenumbering[location=,] \definelinenote[Critico] \setupnote[Critico][paragraph=yes] \newcounter\Contadorvar \def\apcritico#1#2{\increment\Contadorvar% \startCritico[Varia:\Contadorvar]{#2}#1%