Re: [NTG-context] About \setupheadertexts : simplify a code

2017-08-17 Thread Aditya Mahajan
On Fri, 18 Aug 2017, Henri wrote: On Thu, 2017-08-17 at 15:25 +0200, Fabrice Couvreur wrote: Hello, To get the alignment, I had to create three \vbox. Can we simplify this code a bit ? Thank you Fabrice Use the optional argument of the new framed you defined. In addition to that, you can a

Re: [NTG-context] About \setupheadertexts : simplify a code

2017-08-17 Thread Henri
On Thu, 2017-08-17 at 15:25 +0200, Fabrice Couvreur wrote: > Hello, > To get the alignment, I had to create three \vbox. Can we simplify this code > a bit ? > Thank you > Fabrice Use the optional argument of the new framed you defined. \setuplayout   [header=3\lineheight,    headerdistance=\line

Re: [NTG-context] Strange behavior with the Garamond font

2017-08-17 Thread Fabrice Couvreur
Hi Pablo, When I speak of non-readable, I mean it looks like "hieroglyphics". fab@debian:~$ mtxrun --script fonts --list --pattern=garamond --all resolvers | trees | analyzing 'home:texmf' identifierfamilyname fontname filename subfont in

Re: [NTG-context] Strange behavior with the Garamond font

2017-08-17 Thread Pablo Rodriguez
On 08/17/2017 08:28 PM, Fabrice Couvreur wrote: > Hello, > I compiled the following document with Context Standalone and viewed the > file with Evince, it is not readable ! Hi Fabrice, I copied the fonts from http://wiki.contextgarden.net/URW_Garamond to tex/texmf-fonts/ and I got a PDF document

[NTG-context] Strange behavior with the Garamond font

2017-08-17 Thread Fabrice Couvreur
Hello, I compiled the following document with Context Standalone and viewed the file with Evince, it is not readable ! Thanks Fabrice \loadtypescriptfile[mathdesign] \setupbodyfont[garamond] \starttext \input knuth \stoptext

[NTG-context] Strange behavior with enumeration

2017-08-17 Thread Fabrice Couvreur
Hi, Level two items are not on the same baseline. Thank you Fabrice \starttext \startitemize[n] \item 15\,\% d'un stock de 12\,000 jouets sont des jouets \quotation{1\high{\tfxx er} âge}. Le nombre de jouets \quotation{1\high{\tfxx er} âge} est : \startitemize[columns,a,three] \item \math{\

[NTG-context] About \setupheadertexts : simplify a code

2017-08-17 Thread Fabrice Couvreur
Hello, To get the alignment, I had to create three \vbox. Can we simplify this code a bit ? Thank you Fabrice % macros=mkvi \setuplayout [header=3\lineheight, headerdistance=\lineheight] \setupbackgrounds[header][text] [frame=off, bottomframe=on,

Re: [NTG-context] context sensitive highlight styles

2017-08-17 Thread Wolfgang Schuster
Henning Hraban Ramm 16. August 2017 um 17:47 In my current project, section titles are typeset in SansBold while the body text (and that of the ToC) is roman. How can I define \definehighlight[emph], so that I get SansBoldItalic in titles and SerifItalic in body text

Re: [NTG-context] context sensitive highlight styles

2017-08-17 Thread Henning Hraban Ramm
Am 2017-08-16 um 18:09 schrieb Pablo Rodriguez : > On 08/16/2017 05:47 PM, Henning Hraban Ramm wrote: >> In my current project, section titles are typeset in SansBold while >> the body text (and that of the ToC) is roman. >> >> How can I define \definehighlight[emph], so that I get >> SansBoldIta

Re: [NTG-context] avoid space after title

2017-08-17 Thread Henning Hraban Ramm
Am 2017-08-16 um 18:50 schrieb Wolfgang Schuster : > Play with the grid key for \setuphead. > > \setuphead[section][page=no,before=,after=,grid=box] That does the trick for me. Thank you very much! (It doesn’t kill all the space, but the result is what I actually needed.) Thanks for the other