[NTG-context] Controlling Appearance of \inoutermargin

2013-01-12 Thread Malte Stien
Hi, I have just changed one of my documents from single-page to double-page to be printed as a book. I have some margin remarks, that used to be on the left which I am now trying to move to the outer margin on odd and even pages (that is, left on even, right on odd pages). In doing so, I had to

Re: [NTG-context] Page Numbers on Outer Edge of Outer Margin

2013-01-12 Thread Malte Stien
gt; of a left-hand page. Is that doable? > > You can use the `command` key to hook in a custom macro which does > the placement. > > \setuppagenumbering > [alternative=doublesided, > location={header, margin}, > style=bold, > command=\PageNumberCommand] > > \

[NTG-context] big vertical distance

2013-01-12 Thread Wolfgang Werners-Lucchini
Hallo, the following was ok with mkII: % coding: utf-8 \def\B{\vphantom{\bigg)}} \setupbodyfont[11pt,sans] \starttext \startitemize[a,columns,three,joinedup][grid=no,width=8mm,right=)] \item $\B 5b\cdot (3a+4b-5c)$ \item $\B 3xy\cdot (2x-6y-xy)$ \item $\B (-0{,}5x)\cdot (3y-5x)$ \item $\B (2z-3x+

Re: [NTG-context] Layer vs. overlay

2013-01-12 Thread Wolfgang Schuster
Am 12.01.2013 um 18:54 schrieb 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

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}] \setlayer[beforetext]

Re: [NTG-context] getnameinfo (Hans Hagen)

2013-01-12 Thread Wolfgang Werners-Lucchini
> > I have to update LuaTex on a win2k machine. But I get > > two errors while running mtxrun.exe and texlua.exe resp. via first- > > setup.bat. > > > > There is a call to getnameinfo in WS2_32.dll which is available in > > winxp and above. > > > > Here is an info from ms how to deal with this: > >

Re: [NTG-context] Page Numbers on Outer Edge of Outer Margin

2013-01-12 Thread Marco Patzer
On 2013–01–12 Wolfgang Schuster wrote: > When you’re in the header you can just use \doifoddpageelse to set different > values for left/right pages, \signalrightpage is only necessary for text *in* > the document. Thanks for the correction. I updated the wiki. Marco signature.asc Description:

Re: [NTG-context] Node for startbuffer.

2013-01-12 Thread Andre Caldas
> I've added the markers code to the beta so that we have an > abstract way to deal with such matters. > [...] > Node lists are processed \hbox \boxmarker{mymarker}{1} {nested from > [...] Does it have to be an "hbox"? > > It's somewhat experimental. Up to you to update the wiki. I've never upd

Re: [NTG-context] Page Numbers on Outer Edge of Outer Margin

2013-01-12 Thread Wolfgang Schuster
Am 12.01.2013 um 15:23 schrieb Marco Patzer : > On 2013–01–13 Malte Stien wrote: > >> The trouble is that the page number is only a few millimetres wide >> and gets positioned on the inside edge of my outside margin. >> Hence, it does not end up close enough to the edge of the page. I >> guess,

Re: [NTG-context] Page Numbers on Outer Edge of Outer Margin

2013-01-12 Thread Marco Patzer
On 2013–01–13 Malte Stien wrote: > The trouble is that the page number is only a few millimetres wide > and gets positioned on the inside edge of my outside margin. > Hence, it does not end up close enough to the edge of the page. I > guess, I would like to right-align it 4mm from the edge of a >

Re: [NTG-context] Page Numbers on Outer Edge of Outer Margin

2013-01-12 Thread Wolfgang Schuster
Am 12.01.2013 um 14:49 schrieb Malte Stien : > Hi, > > I have a rather wide, 41mm, outer margin in a manual and I am trying to put > the page number into the margin like so: > > \setuppagenumbering[ > alternative=doublesided, > location={header, margin}, > style=bold, > ] >

[NTG-context] Page Numbers on Outer Edge of Outer Margin

2013-01-12 Thread Malte Stien
Hi, I have a rather wide, 41mm, outer margin in a manual and I am trying to put the page number into the margin like so: \setuppagenumbering[ alternative=doublesided, location={header, margin}, style=bold, ] The trouble is that the page number is only a few millimetres

Re: [NTG-context] Layer vs. overlay

2013-01-12 Thread Hans Hagen
On 1/12/2013 8:44 AM, Wolfgang Schuster wrote: Overlays and Layers are to different mechanism which are powerful when you combine both but first you have to know what each of them does. > ... perfect explanation Hans -

Re: [NTG-context] Layer vs. overlay

2013-01-12 Thread Procházka Lukáš
Hello Wolfgang, thank you for your very detailed answer. I'll - try to understand how it works, try your examples what they'll produce... Best regards, Lukas On Sat, 12 Jan 2013 08:44:21 +0100, Wolfgang Schuster wrote: Am 11.01.2013 um 16:32 schrieb Procházka Lukáš Ing. - Pontex s. r. o