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] [***Spam/VIR***] Re: Layer vs. overlay

2013-01-15 Thread Procházka Lukáš Ing . - Pontex s . r . o .
... Thanks again. On Tue, 15 Jan 2013 11:09:48 +0100, Wolfgang Schuster wolfgang.schus...@gmail.com wrote: \setupbodyfont[30pt] \starttext A \definelayer [beforetext][width=\overlaywidth,height=\overlayheight] \defineoverlay[beforetext][{\setups[beforetext]\tightlayer[beforetext]}]

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

2013-01-15 Thread Aditya Mahajan
On Tue, 15 Jan 2013, Procházka Lukáš Ing. - Pontex s. r. o. wrote: (Finally: I'd like to achieve a Lua function which will copy all pages of a .pdf file, keeping size of each page, and adding a customizable string with page-in-the-pdf number (with default value page-i/n-pages), being placed

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

2013-01-15 Thread Philipp Gesang
···date: 2013-01-15, Tuesday···from: Aditya Mahajan··· On Tue, 15 Jan 2013, Procházka Lukáš Ing. - Pontex s. r. o. wrote: (Finally: I'd like to achieve a Lua function which will copy all pages of a .pdf file, keeping size of each page, and adding a customizable string with page-in-the-pdf

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

2013-01-12 Thread Procházka Lukáš
Hello Wolfgang, some more attempts: The sample Lay3 is simple enough and brings some text to the top of the page: \setupbodyfont[30pt] \setuplayout[page] \starttext \definelayer[beforetext] \setupbackgrounds [page] [background={foreground,beforetext}]