Hello,
just to confirm - the role of the text after \start*:
\startsetups thumbs
- on http://wiki.contextgarden.net/Thumb_index
and
\startJSpreamble MyStuff used later
- in the last mails between Vedran and Hans.
Do I understand well that thumbs and MyStuff used later in both cases
Am 10.03.2011 um 15:13 schrieb Procházka Lukáš Ing. - Pontex s. r. o.:
I fell a bit confused as normally such names are enclosed in brackets; thus
I'd rather expect syntax like:
\startsetups[thumbs]
...
\stopsetups
You can write
\startsetups[long name with spaces]
...
\stopsetups
... Thanks for the explanation.
You can write
\startsetups[long name with spaces]
...
\stopsetups
or
\startsetups shortname
...
\stopsetups
Wolfgang
I guess the same approach in general, so also:
\startJSpreamble[MyStuff used later]
Best regards,
Lukas
--
Ing. Lukáš Procházka
Am 10.03.2011 um 15:32 schrieb Procházka Lukáš Ing. - Pontex s. r. o.:
I guess the same approach in general, so also:
\startJSpreamble[MyStuff used later]
No, you need braces here, e.g.
\startJSpreamble {Mystuff used later} ...
Wolfgang
]
\usetypescript[palatino]
\switchtobodyfont[palatino,20pt]
\setupcolors[state=start]
\definelayer[myLayer]
[width=\paperwidth, height=\paperheight]
\startsetups layer
\setlayer[myLayer][preset=lefttop,x=0.9\paperwidth,y=0.96\paperheight]
{\switchtobodyfont[10pt
Am 18.02.2011 um 18:59 schrieb Vnpenguin:
\usetypescript[palatino]
\switchtobodyfont[palatino,20pt]
Replace this (both lines) with
\setupbodyfont[palatino,20pt]
Wolfgang
___
If your question is of interest to
On Fri, Feb 18, 2011 at 19:03, Wolfgang Schuster
schuster.wolfg...@googlemail.com wrote:
Am 18.02.2011 um 18:59 schrieb Vnpenguin:
\usetypescript[palatino]
\switchtobodyfont[palatino,20pt]
Replace this (both lines) with
\setupbodyfont[palatino,20pt]
Wolfgang
Wow, it works now.
Thank
Am 18.02.2011 um 19:08 schrieb Vnpenguin:
Wow, it works now.
You can also separate the style and content of a layer with \setlayerframed,
e.g.
\setlayerframed
[mylayer]
[x=...,
y=...,
frame=off,
style={\switchtobodyfont[10pt]}]
{text}
Wolfgang
On Fri, Feb 18, 2011 at 20:11, Wolfgang Schuster
schuster.wolfg...@googlemail.com wrote:
Am 18.02.2011 um 19:08 schrieb Vnpenguin:
Wow, it works now.
You can also separate the style and content of a layer with \setlayerframed,
e.g.
\setlayerframed
[mylayer]
[x=...,
y=...,
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
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
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-th page
Thanks you, Hans, -
On Tue, 25 Jan 2011 09:33:04 +0100, Hans Hagen pra...@wxs.nl 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
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
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
15 matches
Mail list logo