Re: [NTG-context] [***Spam/VIR***] Re: Layer vs. overlay

2013-01-16 Thread Procházka Lukáš Ing . - Pontex s . r . o .
Hello, @Aditya: Thanks for the tip - maybe some inspiration for me. Anyway, I keep on trying to create my previously described function with Lua. Now, I have a code which does much expected, but I'm not able to pass the desired content to setups/layer: \setupbodyfont[30pt] \starttext

Re: [NTG-context] [***Spam/VIR***] Re: Layer vs. overlay

2013-01-16 Thread Philipp Gesang
···date: 2013-01-16, Wednesday···from: Procházka Lukáš Ing. - Pontex s. r. o.··· Now, I have a code which does much expected, but I'm not able to pass the desired content to setups/layer: \setupbodyfont[30pt] \starttext A \definelayer

Re: [NTG-context] [***Spam/VIR***] Re: Layer vs. overlay

2013-01-16 Thread Procházka Lukáš Ing . - Pontex s . r . o .
Hello, On Wed, 16 Jan 2013 12:47:21 +0100, Philipp Gesang philipp.ges...@alumni.uni-heidelberg.de wrote: Lookup the correct string from a table? thanks for the idea - - in other words, we have to keep running results somewhere; the algorithm fills a table with texts for each page, and

Re: [NTG-context] [***Spam/VIR***] Re: Layer vs. overlay

2013-01-16 Thread Philipp Gesang
···date: 2013-01-16, Wednesday···from: Procházka Lukáš Ing. - Pontex s. r. o.··· Hello, On Wed, 16 Jan 2013 12:47:21 +0100, Philipp Gesang philipp.ges...@alumni.uni-heidelberg.de wrote: Lookup the correct string from a table? thanks for the idea - - in other words, we have to keep

Re: [NTG-context] Deactivating Grid-Setting for titles

2013-01-16 Thread H. Özoguz
Am 15.01.2013 14:41, schrieb ntg-context-requ...@ntg.nl: \setuphead[section,subsection,?][grid=no] or \setuphead[grid=no] Seems that context ignores grid=no, and the global grid=yes in setuplayout dominates all. Is there another way to deactivate grid-setting or force an definite number of

[NTG-context] Vim module - different settings for inline and block code

2013-01-16 Thread Marco Patzer
Hi, I need different settings for code in inline and block mode. See the following example: \usemodule [vim] \definetextbackground [C] [location=text] \definevimtyping [C] [syntax=c, before={\starttextbackground[C]}, after=\stoptextbackground, margin=2em] \starttext This is C:

Re: [NTG-context] Vim module - different settings for inline and block code

2013-01-16 Thread Wolfgang Schuster
Am 16.01.2013 um 15:51 schrieb Marco Patzer home...@lavabit.com: Hi, I need different settings for code in inline and block mode. See the following example: \usemodule [vim] \definetextbackground [C] [location=text] \definevimtyping [C] [syntax=c, before={\starttextbackground[C]},

Re: [NTG-context] Vim module - different settings for inline and block code

2013-01-16 Thread Marco Patzer
On 2013–01–16 Wolfgang Schuster wrote: \definevimytping [C] […, before={\ifhmode\startInlineBackground\else\startDisplayBackground\fi}, after={\ifhmode\stopInlineBackground\else\stopDisplayBackground\fi}, …] That's a good idea and it seems to work. You could also ask Aditya

Re: [NTG-context] Vim module - different settings for inline and block code

2013-01-16 Thread Aditya Mahajan
On Wed, 16 Jan 2013, Wolfgang Schuster wrote: You could also ask Aditya to use different keys for display (e.g. before/aftter) and inline (e.g. left/right) code blocks. That's a nice suggestion. I have implemented it in the dev version of the filter module:

Re: [NTG-context] Vim module - different settings for inline and block code

2013-01-16 Thread Wolfgang Schuster
Am 16.01.2013 um 16:39 schrieb Marco Patzer home...@lavabit.com: On 2013–01–16 Wolfgang Schuster wrote: \definevimytping [C] […, before={\ifhmode\startInlineBackground\else\startDisplayBackground\fi}, after={\ifhmode\stopInlineBackground\else\stopDisplayBackground\fi}, …]

[NTG-context] Error: Missing number, treated as zero?

2013-01-16 Thread H. Özoguz
Hi there, I am working on a book, and today compiling fails with the following error: ++ ! Missing number, treated as zero. system tex error on line 52 in file kap03.tex: Missing number, treated as zero ... (paragraph from the book) to be read again n

Re: [NTG-context] Error: Missing number, treated as zero?

2013-01-16 Thread Wolfgang Schuster
Am 16.01.2013 um 17:24 schrieb H. Özoguz h.oezo...@mmnetz.de: Hi there, I am working on a book, and today compiling fails with the following error: ++ ! Missing number, treated as zero. system tex error on line 52 in file kap03.tex: Missing number, treated as