Thanks you, Hans, -
On Tue, 25 Jan 2011 09:33:04 +0100, Hans Hagen wrote:
On 25-1-2011 8:44, Wolfgang Schuster wrote:
\startsetups layer
% In my real code (= not in this example)
% the value of 'n' is used here to set the appropriate background,
% = n-th page of a PDF, and also to draw
Am 25.01.2011 um 09:00 schrieb Procházka Lukáš Ing. - Pontex s. r. o.:
> Thank you, Wolfgang, this works better.
>
> Actually I need to use '%' in the condition and that fails:
>
> ---
> ...
> \startrawsetups layer
> % The value of 'n' is used here to set the appropriate background,
> % = n-t
On 25-1-2011 8:44, Wolfgang Schuster wrote:
\startsetups layer
% In my real code (= not in this example)
% the value of 'n' is used here to set the appropriate background,
% = n-th page of a PDF, and also to draw a filled rectangle on
% the left or right side (depending on whether n is e
Thank you, Wolfgang, this works better.
Actually I need to use '%' in the condition and that fails:
---
...
\startrawsetups layer
% The value of 'n' is used here to set the appropriate background,
% = n-th page of a PDF, and also to draw a filled rectangle on
% the left or right side (depe
Am 25.01.2011 um 08:33 schrieb Procházka Lukáš Ing. - Pontex s. r. o.:
> Hello,
>
> I encountered a bit weird thing when I used Lua in \startsetup:
>
> ---
> \definelayer[T][x=0mm,y=0mm,width=\paperwidth,height=\paperheight]
>
> \directlua{n, m = 1, 11} % Initialization
>
> \startsetups layer
Hello,
I encountered a bit weird thing when I used Lua in \startsetup:
---
\definelayer[T][x=0mm,y=0mm,width=\paperwidth,height=\paperheight]
\directlua{n, m = 1, 11} % Initialization
\startsetups layer
% In my real code (= not in this example)
% the value of 'n' is used here to set the ap