[NTG-context] Background on the 1st page only, page numbering from the 2nd page

2012-05-02 Thread Procházka Lukáš Ing . - Pontex s . r . o .
Hello, how to specify the page background for the first page only and how to start page numbering from the second page? Here's my trial: \defineoverlay[Bkg][{\externalfigure[cow]}] \setupbackgrounds[paper][background=Bkg] %\setuppagenumbering[state=2] \starttext \dorecurse{5}{\input

Re: [NTG-context] Problem with \inmargin on \item lines

2012-05-02 Thread Hans Hagen
On 2-5-2012 06:33, Malte Stien wrote: Hi everyone, I am experiencing a problem with \inmargin{some text} in \itemized lists. I am using them a lot in my documents, and it is kind of annoying. It appears that if one uses the \inmargin macro just prior to the \item macro, the in-margin text is

Re: [NTG-context] Bug with linenumbering

2012-05-02 Thread Hans Hagen
On 1-5-2012 21:43, Aditya Mahajan wrote: Hi, Line numbering does not respect the parameters given with \startlinenumbering. For example: Line numbering is a delayed operation. As they are handled when the page is constructed the settings of that moment apply. In practice only the start key

Re: [NTG-context] Background on the 1st page only, page numbering from the 2nd page

2012-05-02 Thread Marco
On 2012-05-02 Procházka Lukáš Ing. - Pontex s. r. o. l...@pontex.cz wrote: how to specify the page background for the first page only and how to start \definelayer [Bkg] \setlayer [Bkg] {\externalfigure [cow]} \setupbackgrounds [paper] [background=Bkg] \starttext

Re: [NTG-context] Problem with \inmargin on \item lines

2012-05-02 Thread Rogers, Michael K
Hi, It is not a bug. It is standard TeX: a space counts after } and is ignored immediately after a control sequence such as \item. To override either, you have to be explicit, \ignorespaces as Hans suggested in your case and \ (backslash-space) in the other to put a space in. My preferred,

[NTG-context] [***SPAM***] Indentation for beginner

2012-05-02 Thread hwitloc
I am putting together a needed resume and learning context at the same time. What I want is or should be simple, but I am not familiar with which options to set. I am using the following, because I don't want to use any margin for some forgotten reason, just text area. I am currently using

Re: [NTG-context] Background on the 1st page only, page numbering from the 2nd page

2012-05-02 Thread Wolfgang Schuster
Am 02.05.2012 um 09:45 schrieb Procházka Lukáš Ing. - Pontex s. r. o.: Hello, how to specify the page background for the first page only and how to start page numbering from the second page? Here's my trial: \defineoverlay[Bkg][{\externalfigure[cow]}]

Re: [NTG-context] Background on the 1st page only, page numbering from the 2nd page

2012-05-02 Thread Alan BRASLAU
On Wed, 2 May 2012 14:24:24 +0200 Wolfgang Schuster schuster.wolfg...@googlemail.com wrote: Am 02.05.2012 um 09:45 schrieb Procházka Lukáš Ing. - Pontex s. r. o.: how to specify the page background for the first page only and how to start page numbering from the second page?

Re: [NTG-context] Background on the 1st page only, page numbering from the 2nd page

2012-05-02 Thread Procházka Lukáš Ing . - Pontex s . r . o .
... One more question. Let's have three cases - some of them hide the page number on the first page, some of them don't. The question is - why: 1 - OK, no page number on page 1 \def\MyPageNumber#1{\doifelse{\pagenumber}{1}{}{\pagenumber}} % Testing \pagenumber

Re: [NTG-context] Background on the 1st page only, page numbering from the 2nd page

2012-05-02 Thread Procházka Lukáš Ing . - Pontex s . r . o .
Thanks for the code - - actually, I'm not trying to create a typical book title page but just a kind of cover page. But I'll keep your suggestion in mind, I may use it in the future. Thanks anyway. Best regards, Lukas On Wed, 02 May 2012 15:22:01 +0200, Alan BRASLAU alan.bras...@cea.fr

Re: [NTG-context] Background on the 1st page only, page numbering from the 2nd page

2012-05-02 Thread Aditya Mahajan
On Wed, 2 May 2012, Procházka Lukáš Ing. - Pontex s. r. o. wrote: Hello, how to specify the page background for the first page only Also see my replies in http://archive.contextgarden.net/thread/20120419.180814.c604f461.en.html#20120419.180814.c604f461 on how to achieve this using layers.

Re: [NTG-context] Background on the 1st page only, page numbering from the 2nd page

2012-05-02 Thread Wolfgang Schuster
Am 02.05.2012 um 15:49 schrieb Procházka Lukáš Ing. - Pontex s. r. o.: ... One more question. Let's have three cases - some of them hide the page number on the first page, some of them don't. The question is - why: 1 - OK, no page number on page 1

Re: [NTG-context] Background on the 1st page only, page numbering from the 2nd page

2012-05-02 Thread Procházka Lukáš Ing . - Pontex s . r . o .
... OK, thanks for the explanation. Best regards, Lukas 1) What exactly does \noheaderandfooterlines do? It disables the header/footer on the page where \noheaderandfooterlines was inserted. 2) Why testing the #1 argument in the case 2 doesn't work? When you use “\pagenumber” you

Re: [NTG-context] Background on the 1st page only, page numbering from the 2nd page

2012-05-02 Thread Wolfgang Schuster
Am 02.05.2012 um 16:22 schrieb Procházka Lukáš Ing. - Pontex s. r. o.: ... OK, thanks for the explanation. You can look if this is useful for you (there is a example at the end of t-title.mkvi): https://bitbucket.org/wolfs/title Wolfgang

[NTG-context] drawarrow and transparency

2012-05-02 Thread Alan BRASLAU
I have a MetaPost question concerning drawarrow withtransparency (or any other compound object). Is there some clever way to achieve uniform transparency for a compound object? For example, in the minimal example below, how can one obtain a transparent arrow without getting an X-ray vision of the

Re: [NTG-context] [***SPAM***] Indentation for beginner

2012-05-02 Thread Marco
On 2012-05-02 hwit...@gmail.com wrote: %Whereas I want it to be like this: EDUCATION* bozo the clown * is here today WORK * UCLA BoA EXPERIENCE * LMU BSCS In other words I want the first item of an itemization to line up with the resume

Re: [NTG-context] drawarrow and transparency

2012-05-02 Thread Marco
On 2012-05-02 Alan BRASLAU alan.bras...@cea.fr wrote: For example, in the minimal example below, how can one obtain a transparent arrow without getting an X-ray vision of the arrowhead? Maybe I'm reinventing the wheel here, but you can write a small macro that only draws the

[NTG-context] MetaPost circular_shade Command

2012-05-02 Thread Troy Henderson
The command circular_shade(fullcircle scaled 4in,0,white,red); in MetaPost does not act as I think it should. It performs a gradient fill starting at the center of the circle by filling this center in white (which is expected), and changing the color as the radius/diameter changes (which is

[NTG-context] Font for MetaPost graphics

2012-05-02 Thread Marco
The wiki claims setting up an MPenvironment is enough to change the font in MetaPost graphics: \startMPenvironment%[global] \switchtobodyfont [sans] \stopMPenvironment \starttext This should be serif. \startMPcode draw textext(This should be in sans.);

Re: [NTG-context] Font for MetaPost graphics

2012-05-02 Thread Aditya Mahajan
On Thu, 3 May 2012, Marco wrote: The wiki claims setting up an MPenvironment is enough to change the font in MetaPost graphics: \startMPenvironment%[global] \switchtobodyfont [sans] \stopMPenvironment \starttext This should be serif. \startMPcode draw

Re: [NTG-context] MetaPost circular_shade Command

2012-05-02 Thread Troy Henderson
It seems that I should do something like fill fullcircle scaled 4in withshade define_circular_shade(origin,origin,0 ,2in,white,red); Sorry for the premature question. Troy ___ If your question is of interest to

Re: [NTG-context] Font for MetaPost graphics

2012-05-02 Thread Marco
On 2012-05-02 Aditya Mahajan adit...@umich.edu wrote: Metapost now runs as a library. All the text is first typeset by ConTeXt and metapost only knows the bounding box of the labels. You can try (untested): \starttext This is serif \switchtobodyfont[sans] \startMPcode draw

Re: [NTG-context] Bug with linenumbering

2012-05-02 Thread Aditya Mahajan
On Wed, 2 May 2012, Hans Hagen wrote: On 1-5-2012 21:43, Aditya Mahajan wrote: Hi, Line numbering does not respect the parameters given with \startlinenumbering. For example: Line numbering is a delayed operation. As they are handled when the page is constructed the settings of that moment