Re: [NTG-context] (again) issues with typing

2017-08-16 Thread Alan Braslau
On Wed, 16 Aug 2017 23:45:30 +0200 Pablo Rodriguez wrote: > I have to explain to newcomers (in my Spanish introduction to ConTeXt) > what comments are and multiple lines don’t affect the final PDF > document. For such a document, it can be very useful to put code snippets into

Re: [NTG-context] (again) issues with typing

2017-08-16 Thread Aditya Mahajan
On Wed, 16 Aug 2017, Pablo Rodriguez wrote: sorry for insisting, but I need to solve this. I don't know how to answer your questions with the default syntax highlighting in ConTeXt, but are you willing to consider t-vim module for typesetting code. The output for your example is attached.

[NTG-context] (again) issues with typing

2017-08-16 Thread Pablo Rodriguez
Dear list, sorry for insisting, but I need to solve this. I have to explain to newcomers (in my Spanish introduction to ConTeXt) what comments are and multiple lines don’t affect the final PDF document. I have the following sample: \setuptyping[lines=yes] \starttext

Re: [NTG-context] avoid space after title

2017-08-16 Thread Wolfgang Schuster
Play with the grid key for \setuphead. \setuphead[section][page=no,before=,after=,grid=box] Wolfgang Henning Hraban Ramm 15. August 2017 um 18:18 I’d like to get rid of the blank line after section titles in grid mode. How? \setuplayout[grid=yes,]

Re: [NTG-context] avoid space after title

2017-08-16 Thread Peter Münster
On Wed, Aug 16 2017, Henning Hraban Ramm wrote: >> I’d like to get rid of the blank line after section titles in grid mode. How? >> >> \setuplayout[grid=yes,] >> \setuphead[section][page=no,before={},after={}] Sorry, no real solution, just a workaround:

Re: [NTG-context] avoid space after title

2017-08-16 Thread Rik Kabel
On 2017-08-16 12:20, Pablo Rodriguez wrote: On 08/16/2017 05:48 PM, Henning Hraban Ramm wrote: Please, this is quite urgent. No hints? Am 2017-08-15 um 18:18 schrieb Henning Hraban Ramm: I’d like to get rid of the blank line after section titles in grid mode. How? Hi Hraban, I checked it

Re: [NTG-context] avoid space after title

2017-08-16 Thread Pablo Rodriguez
On 08/16/2017 05:48 PM, Henning Hraban Ramm wrote: > Please, this is quite urgent. No hints? > > Am 2017-08-15 um 18:18 schrieb Henning Hraban Ramm: >> I’d like to get rid of the blank line after section titles in grid >> mode. How? Hi Hraban, I checked it yesterday, but I didn’t found a

Re: [NTG-context] context sensitive highlight styles

2017-08-16 Thread 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 > SansBoldItalic in titles and SerifItalic in body text and ToC?

Re: [NTG-context] avoid space after title

2017-08-16 Thread Henning Hraban Ramm
Please, this is quite urgent. No hints? Am 2017-08-15 um 18:18 schrieb Henning Hraban Ramm : > I’d like to get rid of the blank line after section titles in grid mode. How? > > \setuplayout[grid=yes,] > \setuphead[section][page=no,before={},after={}] > > \starttext > >

[NTG-context] context sensitive highlight styles

2017-08-16 Thread Henning Hraban Ramm
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 and ToC? (Body text is not a problem.) MNWE:

Re: [NTG-context] Pdf info with Lua/Ctx API

2017-08-16 Thread Wolfgang Schuster
Procházka Lukáš Ing. 16. August 2017 um 12:11 Hello Hans, thank you for implementation 'figures.getinfo()'; two points: 1. Code: \startluacode local n = "x:/Users/MMi/Akce/I-6_Krusovice.DSP-ZDS/Admin/Jednani/2017-07-07-SU-Rakovnik/ZJ.pdf" local d =

Re: [NTG-context] Pdf info with Lua/Ctx API

2017-08-16 Thread Procházka Lukáš Ing .
Hello Hans, thank you for implementation 'figures.getinfo()'; two points: 1. Code: \startluacode local n = "x:/Users/MMi/Akce/I-6_Krusovice.DSP-ZDS/Admin/Jednani/2017-07-07-SU-Rakovnik/ZJ.pdf" local d = figures.getinfo(n) ... prints (probably to-string converted) resulting table:

Re: [NTG-context] About formatting the "Fonts out of ConTEXT" manual

2017-08-16 Thread Fabrice Couvreur
Hi Henri, Thanks for the information. Fabrice 2017-08-16 2:16 GMT+02:00 Henri : > On Tue, 2017-08-15 at 12:35 +0200, Fabrice Couvreur wrote: > > Hi Hans, > > I love the style used for this manual. I tried to do the same thing, but > it's a long way off ! > > I tried to