Re: [NTG-context] paper dimensions for TEXpage

2021-08-18 Thread Hans Hagen via ntg-context
box. BTW, is there a way to have TEXpages numbered? "pagestate=start" seems not to work here. for the wiki ... \starttext \definelayer[hi] \startTEXpage[background=hi] \setbox\scratchbox\hbox\framed [frame=off,offset=none,align=middle] {\input{tufte}}% \

[NTG-context] page counter problem

2020-09-30 Thread Alan Bowen
he page counter does not increase in the first iteration an PDf inclusion but seems to work properly after that. Have attached a sample file (69K) that will serve to show the problem—at least, on my machine. \starttext \setupexternalfigures[location=default] \setuplayer[preset=middlebottom

Re: [NTG-context] numbering pages included by \copypages

2020-09-28 Thread Alan Bowen
After further testing guided by Hans’ suggestion, I now have \setupexternalfigures[location=default] \setuplayer[preset=rightbottom, method=overlay]{} \setuppagenumbering[color=darkmagenta] \starttext \getfiguredimensions[HannahBW.pdf] \dorecurse{\noffigurepages}{ \startTEXpage[pagestate=start

Re: [NTG-context] Moving horizontally a whole ensemble of layers in the same run?

2019-12-18 Thread Rudolf Bahr
foregroundstyle={\definedfont[Serif at 82pt]}] >   {JOURNEY} > > \setlayerframed >   [LAY] >   [x=360pt, >    y=50pt] >   [frame=off, >    width=200pt, >    align={normal,tolerant}] >   {\input ward >    \blank[line] >    \externalfigure[hacker][he

Re: [NTG-context] Moving horizontally a whole ensemble of layers in the same run?

2019-12-18 Thread Wolfgang Schuster
[hacker][height=.4\textheight]} \flushlayer[LAY] \stopbuffer \getbuffer \page \setuplayer[LAY][hoffset=4cm,voffset=-2cm] \getbuffer \stoptext Wolfgang ___ If your question is of interest to others as well, please

Re: [NTG-context] horizontal list of sections/topics?

2016-02-14 Thread Marco Patzer
n bar is at the top. You can easily move the layer to the bottom with \setuplayer [layer:toc:section] [y=\dimexpr\paperheight-6\exheight\relax] Marco ___ If your question is of interest to others as well, please ad

Re: [NTG-context] duplicate booklet arrangement

2015-02-24 Thread Willi Egger
\Myfilename{quotes-1} \def\Mypages{22} \setuplayout [topspace=0mm, backspace=0mm, margin=0pt, header=0pt, footer=0pt, height=middle, width=middle,] \definelayer[Draw][width=\paperwidth,height=\paperheight] \setuplayer[Draw][preset=lefttop] \setupmakeup[standard][top=,bottom

Re: [NTG-context] wrong positioning of MP graphic in layer

2013-10-08 Thread Pablo Rodríguez
On 10/07/2013 10:48 PM, Hans Hagen wrote: On 10/7/2013 10:04 PM, Pablo Rodríguez wrote: [...] I need to insist on this sample, because the layer doesn’t behave as such: \definelayer[wrongpositioned][x=5000cm, y=5000cm, state=start] \setuplayer[wrongpositioned]{\startMPcode draw (0mm,0mm

Re: [NTG-context] wrong positioning of MP graphic in layer

2013-10-08 Thread Pablo Rodríguez
On 10/07/2013 11:01 PM, luigi scarso wrote: On Mon, Oct 7, 2013 at 10:04 PM, Pablo Rodríguez wrote: I need to insist on this sample, because the layer doesn’t behave as such: \definelayer[wrongpositioned][x=5000cm, y=5000cm, state=start] \setuplayer[wrongpositioned

[NTG-context] wrong positioning of MP graphic in layer

2013-10-07 Thread Pablo Rodríguez
Dear list, I have the following sample: \definelayer[wrongpositioned][x=0mm, y=0mm, hoffset=0mm, voffset=48mm, state=start] \setuplayer[wrongpositioned]{\startMPcode draw (0mm,0mm)--(8mm,0mm)--(8mm,38mm)--(14mm,38mm) ; \stopMPcode} \setupbackgrounds[page][background

Re: [NTG-context] wrong positioning of MP graphic in layer

2013-10-07 Thread luigi scarso
On Mon, Oct 7, 2013 at 5:56 PM, Pablo Rodríguez oi...@gmx.es wrote: Dear list, I have the following sample: \definelayer[wrongpositioned][x=0mm, y=0mm, hoffset=0mm, voffset=48mm, state=start] \setuplayer[wrongpositioned]{\startMPcode draw (0mm,0mm)--(8mm,0mm)--(8mm,38mm

Re: [NTG-context] wrong positioning of MP graphic in layer

2013-10-07 Thread Pablo Rodríguez
=5000cm, y=5000cm, state=start] \setuplayer[wrongpositioned]{\startMPcode draw (0mm,0mm)--(8mm,0mm)--(8mm,38mm)--(14mm,38mm) ; \stopMPcode} \setupbackgrounds[page][background={wrongpositioned}] \starttext \input knuth \stoptext x and y are outside the page in the layer definition (50 meters

Re: [NTG-context] wrong positioning of MP graphic in layer

2013-10-07 Thread Hans Hagen
behave as such: \definelayer[wrongpositioned][x=5000cm, y=5000cm, state=start] \setuplayer[wrongpositioned]{\startMPcode draw (0mm,0mm)--(8mm,0mm)--(8mm,38mm)--(14mm,38mm) ; \stopMPcode} \setupbackgrounds[page][background={wrongpositioned}] \starttext \input knuth \stoptext x and y are outside

Re: [NTG-context] wrong positioning of MP graphic in layer

2013-10-07 Thread luigi scarso
on this sample, because the layer doesn’t behave as such: \definelayer[wrongpositioned][x=5000cm, y=5000cm, state=start] \setuplayer[wrongpositioned]{\startMPcode draw (0mm,0mm)--(8mm,0mm)--(8mm,38mm)--(14mm,38mm) ; \stopMPcode} \setupbackgrounds[page][background={wrongpositioned}] \starttext \input knuth

Re: [NTG-context] Some questions about the letter module

2013-07-17 Thread Wolfgang Schuster
. What is the meaning of alternative=example; With the alternative key you select one of the predefined or used defined styles for the reference, footer etc. blocks. what is the option preset= in \setuplayer[foot] ? When you want to change the origin for a layer from the top left margin

Re: [NTG-context] Some questions about the letter module

2013-07-17 Thread Michael Ash
understand. What is the meaning of alternative=example; With the alternative key you select one of the predefined or used defined styles for the reference, footer etc. blocks. what is the option preset= in \setuplayer[foot] ? When you want to change the origin for a layer from the top left

Re: [NTG-context] PDF-Toc text is wrong for new \start? commands

2013-07-16 Thread Andres Conrado
. 6. to control the foldmarks (for US-letter-size paper, omit, etc.) I have consulted http://wiki.contextgarden.net/Letter but there are many things I don't understand. What is the meaning of alternative=example; what is the option preset= in \setuplayer[foot] ? Also is there a better way

[NTG-context] Some questions about the letter module

2013-07-15 Thread Michael Ash
is the option preset= in \setuplayer[foot] ? Also is there a better way to manage color? I \definecolor, \startcolor, \stopcolor, but maybe there is a better way to indicate that certain sections of the letter should be in a color. Thanks. Thank you very much for your guidance. Yours, Michael

[NTG-context] Some questions about the letter module

2013-07-12 Thread Michael Ash
consulted http://wiki.contextgarden.net/Letter but there are many things I don't understand. What is the meaning of alternative=example; what is the option preset= in \setuplayer[foot] ? Also is there a better way to manage color? I \definecolor, \startcolor, \stopcolor, but maybe

Re: [NTG-context] Some questions about the letter module

2013-07-12 Thread Michael Ash
of alternative=example; what is the option preset= in \setuplayer[foot] ? Also is there a better way to manage color? I \definecolor, \startcolor, \stopcolor, but maybe there is a better way to indicate that certain sections of the letter should be in a color. Thanks. Thank you very much for your

[NTG-context] Is it possible to define a custom imposition schema? (sure it is, but how?)

2012-05-29 Thread Marco Pessotto
=] \setuprotate[location=depth,rotation=180] % \showframe \starttext % page one \definelayer[PageLayer1][position=no] \setuplayer [PageLayer] [preset=topleft, height=\paperheight,width=\paperwidth] \setlayer[PageLayer1][x=0mm,y=0mm]{ \rotate{ \externalfigure[libretto.pdf][page=13

Re: [NTG-context] Is it possible to define a custom imposition schema? (sure it is, but how?)

2012-05-29 Thread Willi Egger
, footer=0pt, margin=0pt, marking=on, width=320mm, height=440mm, location=middle] \setuppagenumbering[alternative=doublesided,location=] \setuprotate[location=depth,rotation=180] % \showframe \starttext % page one \definelayer[PageLayer1][position=no] \setuplayer

Re: [NTG-context] Fw: A question about layers

2011-07-17 Thread Willi Egger
it should/could/might work, and probably these ideas are different than Hans'. So I'm going to briefly describe my idea (already modified by the answers) and please tell me what's wrong with it. So I imagine that \definelayer / \setuplayer defines a rectangular shape on the page, possibly

Re: [NTG-context] Fw: A question about layers

2011-07-16 Thread Marcin Borkowski
work, and probably these ideas are different than Hans'. So I'm going to briefly describe my idea (already modified by the answers) and please tell me what's wrong with it. So I imagine that \definelayer / \setuplayer defines a rectangular shape on the page, possibly framed/colored/etc

Re: [NTG-context] Fw: A question about layers

2011-07-16 Thread Willi Egger
what's wrong with it. So I imagine that \definelayer / \setuplayer defines a rectangular shape on the page, possibly framed/colored/etc., which is going to appear on all pages (default) or on selected ones. The contents of layers are set with \setlayer, (with some - mysterious for me

[NTG-context] Fw: A question about layers

2011-07-14 Thread Marcin Borkowski
/might work, and probably these ideas are different than Hans'. So I'm going to briefly describe my idea (already modified by the answers) and please tell me what's wrong with it. So I imagine that \definelayer / \setuplayer defines a rectangular shape on the page, possibly framed/colored/etc., which

Re: [NTG-context] including pdf

2011-02-21 Thread Wolfgang Schuster
Am 21.02.2011 um 11:47 schrieb Andrea Valle: Hi Aditya, thanks for your reply and sorry for my late reply, I've been kidnapped by another work... I'd go with the layer solution. But I don't know to insert a layer for each pdf page. Could you please provide some hints? \setuplayer

Re: [NTG-context] beta/problem with layers

2011-02-02 Thread Aditya Mahajan
of a font. I hope that there is a more robust solution so that \setuplayer[...]{...} \starttext ... \stoptext just works. The bodymatter enviroment isn’t necessary here because it’s always enabled when you other sectionblockenvironment is used but it’s useful to have something which separates

[NTG-context] Layer(s)

2011-01-24 Thread Ian Lawrence
one time. If this is true then I can also see that there ought to a parameter that sets the stacking order of the layer... So I think I need to know about \setuplayer (just guessing) But: http://wiki.contextgarden.net/Command_Syntax/Missing#layer_commands So if any one of you kind people can

Re: [NTG-context] Layer(s)

2011-01-24 Thread luigi scarso
. However I can only find examples and documentation for single layers in use at any one time. If this is true then I can also see that there ought to a parameter that sets the stacking order of the layer... So I think I need to know about \setuplayer (just guessing) But: http

Re: [NTG-context] Module t-letter: Headers, Footers And Back Address

2010-09-05 Thread benedikt k
, but there is no way to activate and configure this layer. I've tried it with \setupletter[backaddress][...] and \setuplayer[backaddress][...]. Enable it with \setupletterstyle[backaddress=yes], it's disabled by default. Wolfgang letter.tex Description: TeX document

[NTG-context] Module t-letter: Headers, Footers And Back Address

2010-09-03 Thread benedikt k
which should be typeset above the addressee. Page 44 of the documentation illustrates amongst other layers the back address layer, but there is no way to activate and configure this layer. I've tried it with \setupletter[backaddress][...] and \setuplayer[backaddress][...]. Maybe someone have

Re: [NTG-context] Module t-letter: Headers, Footers And Back Address

2010-09-03 Thread Wolfgang Schuster
the back address layer, but there is no way to activate and configure this layer. I've tried it with \setupletter[backaddress][...] and \setuplayer[backaddress][...]. Enable it with \setupletterstyle[backaddress=yes], it's disabled by default. Wolfgang

[NTG-context] Page number not updating in layer

2009-02-02 Thread Michael Bynum
[dvipsone] \starttext \definelayer[pagenumber] \setuplayer [pagenumber] [width=\paperwidth, height=\paperheight, state=repeat] \setlayer[pagenumber][preset=lefttop,x=4in,y=5.5in]% {\framed[width=1.25in,align=middle,offset=none]{\tfx Page

Re: [NTG-context] definepagebreak: problem at the end of front, body backmatter

2008-12-03 Thread Wolfgang Schuster
margins on every page but you can use the left and right keys for \page, \setuplayer etc. Wolfgang ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl

Re: [NTG-context] definepagebreak: problem at the end of front, body backmatter

2008-12-03 Thread Bart C. Wise
the left and right keys for \page, \setuplayer etc. So I did the following with the above code: % \setuplayout[location=doublesided] \setuppagenumbering[ location={footer,middle}, alternative=doublesided, option=doublesided, style=\em\tfx, way=bytext, ] What does the option

Re: [NTG-context] definepagebreak: problem at the end of front, body backmatter

2008-12-03 Thread Wolfgang Schuster
alternative={singlesided,doublesided}, this this a normal single sided document with the same margins on every page but you can use the left and right keys for \page, \setuplayer etc. So I did the following with the above code: % \setuplayout[location=doublesided] \setuppagenumbering

Re: [NTG-context] definepagebreak: problem at the end of front, body backmatter

2008-12-03 Thread Bart C. Wise
with \setuppagenumbering[alternative=doublesided], ConTeXt has also a special settings alternative={singlesided,doublesided}, this this a normal single sided document with the same margins on every page but you can use the left and right keys for \page, \setuplayer etc. So I did the following

Re: [NTG-context] ConTeXt-ifying Kile

2008-01-02 Thread Matija Šuklje
[language code][settings] # \setuplayer \setuplayout[options] \setuplegend[options] \setuplinenumbering[options] \setuplines[options] \setuplinewidth[dimension] \setuplist[names][options] \setupmakeup[name][options] \setupmarginblocks[options] \setupmarginrules[level=number|rulethickness=dimension

Re: [NTG-context] Symmetrical layer positioning?

2007-07-17 Thread Wolfgang Schuster
, state=repeat, doublesided=true, ] \setuplayer[lefttitle][ x=\backspace, ] \definelayer[desc][ x=\backspace, y=\topspace, width=\wddesc, height=\htdesc, state=repeat, doublesided=true, ] \setuplayer[leftdesc][ x=\dimexpr\backspace+\wdall-\wddesc

Re: [NTG-context] Symmetrical layer positioning?

2007-07-16 Thread Giuseppe Bilotta
to override the left/right settings of a layer, so I tried \definelayer[title][ x=\dimexpr\backspace+\wdall-\wdtit, y=\topspace, width=\wdtit, height=\httit, state=repeat, doublesided=true, ] \setuplayer[lefttitle][ x=\backspace, ] \definelayer[desc][ x=\backspace, y=\topspace

Re: [NTG-context] Symmetrical layer positioning?

2007-07-16 Thread Giuseppe Bilotta
have a doublesided option. This apparently allows you to override the left/right settings of a layer, so I tried \definelayer[title][ x=\dimexpr\backspace+\wdall-\wdtit, y=\topspace, width=\wdtit, height=\httit, state=repeat, doublesided=true, ] \setuplayer[lefttitle][ x

Re: [NTG-context] Context and CD labels

2006-10-20 Thread Renaud AUBIN
\starttext \setupframed[offset=overlay,align=normal,frame=off,width=\parwidth,height=\parheight] \startproperty[hidden] I need some text to get the page... but also need to hide this text ! \stopproperty \definelayer[PageLayer][position=yes] \setupbackgrounds[page][background=PageLayer] \setuplayer

Re: [NTG-context] Context and CD labels

2006-10-18 Thread Renaud AUBIN
! \stopproperty \definelayer[PageLayer][position=yes] \setupbackgrounds[page][background=PageLayer] \setuplayer[PageLayer][position=no,corner=bottom,height=\paperheight] % sample geometry \setlayer[PageLayer][x=.5\paperwidth,y=.25\paperheight,location=c]{\useMPgraphic{CDShape}} \setlayer[PageLayer][x=.5

Re: [NTG-context] Fielstack and Layers for Presentation

2006-10-13 Thread Peter Rolf
withcolor .85white ; draw b ; draw p withcolor black; setbounds currentpicture to a ; \stopuseMPgraphic \definelayer[bglayer][position=yes] \setupbackgrounds[text][background=bglayer] \setuplayer[bglayer][position=no,corner=bottom,height=\paperheight] \starttext \startbuffer[first

[NTG-context] Fielstack and Layers for Presentation

2006-10-12 Thread Renaud AUBIN
yer][position=yes] \setupbackgrounds[text][background=""> \setuplayer[bglayer][position=no,corner=bottom,height=\paperheight] \starttext \startbuffer[first] \setlayer[bglayer][x=.55\textwidth,y=.9\textheight,location=b]{ \FrameTitle{Knuth} \StartFrame[width=.75\textwidth]

Re: [NTG-context] afterpage

2006-08-28 Thread Peter Rolf
Hi Paul, Paul Jones wrote: Hello, I have used Latex in the past and have the following code that inserts information on certain pages using afterpage. Is there some way to do a similar thing in context? \setupoutput[pdf] \definelayer[info] \setuplayer[info] [height=\paperheight,width

Re: [NTG-context] afterpage

2006-08-28 Thread Hans Hagen
Peter Rolf wrote: Hi Paul, Paul Jones wrote: Hello, I have used Latex in the past and have the following code that inserts information on certain pages using afterpage. Is there some way to do a similar thing in context? \setupoutput[pdf] \definelayer[info] \setuplayer

Re: [NTG-context] afterpage

2006-08-28 Thread Peter Rolf
] \setuplayer[info] [height=\paperheight,width=\paperwidth] \setupbackgrounds[page] [background={text,info}]% info layer is above normal text layer \def\WhichPage#1{% \def\docommand##1{\ifnum\pageno=##1\relax \setlayerframed[info][x=20mm,y=\dimexpr\paperheight-15mm,location=r

Re: [NTG-context] How to make this section header in ConTeXt?

2006-06-16 Thread Hans Hagen
} \fi \definelayer[chapter] \setuplayer[chapter][width=\textwidth,height=\ChapterHeight,offset=.5ex] \setlayer[chapter][preset=righttop] {\box0} \setlayer[chapter][preset=lefttop] {\box2} \setlayer[chapter][preset=leftbottom]{\box4} \framed[offset=overlay]{\tightlayer

[NTG-context] distance with \godown

2005-10-20 Thread Jessica Holle
{grund} path p ; p := (0cm,0cm)--(24cm,0cm)--(24cm,18cm)--(0cm,18cm)--cycle ; drawoptions(withpen pencircle scaled 0.1mm withcolor \MPcolor{hegr}) ; fill p ; \stopuseMPgraphic \definelayer[grund] \setuplayer[grund][state=repeat] \setlayer[grund][present=righttop,width=\textwidth,height =\textheight

Re: [NTG-context] distance with \godown

2005-10-20 Thread Willi Egger
0.1mm withcolor \MPcolor{migr}) ; fill p ; \stopuseMPgraphic \startuseMPgraphic{grund} path p ; p := (0cm,0cm)--(24cm,0cm)--(24cm,18cm)--(0cm,18cm)--cycle ; drawoptions(withpen pencircle scaled 0.1mm withcolor \MPcolor{hegr}) ; fill p ; \stopuseMPgraphic \definelayer[grund] \setuplayer[grund][state

Re: [NTG-context] Anchoring layer

2005-10-05 Thread Peter Rolf
be on the first page, not repeated; \setuplayer[LAYERNAME][repeat=yes] \setlayer[LAYERNAME][x=??, y=20mm, location=c]{your status line} x should be (CROPLeftX+CROPrightX)/2 not tested Greetings, Peter \framed - I can give the frame a height like 1.3\textheight, but then the position

Re: [NTG-context] Anchoring layer

2005-10-05 Thread Thomas A. Schmitz
:12 PM, Peter Rolf wrote: \setuplayer[LAYERNAME][repeat=yes] \setlayer[LAYERNAME][x=??, y=20mm, location=c]{your status line} x should be (CROPLeftX+CROPrightX)/2 not tested ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl

Re: [NTG-context] Anchoring layer

2005-10-05 Thread Peter Rolf
, at 1:12 PM, Peter Rolf wrote: \setuplayer[LAYERNAME][repeat=yes] \setlayer[LAYERNAME][x=??, y=20mm, location=c]{your status line} x should be (CROPLeftX+CROPrightX)/2 not tested ___ ntg-context mailing list ntg-context@ntg.nl http

Re: [NTG-context] A question on drawing functions in MetaFun

2005-08-15 Thread Hans Hagen
Jin-Hwan Cho wrote: On Aug 13, 2005, at 1:10 AM, Hans Hagen wrote: \defineframed[Shaped][background=Shape,frame=off,location=low] Thanks. Still I could not get the right figure with \setuplayer[BackLayer][direction=reverse] Even though direction=reverse option was given, I got only

Re: [NTG-context] A question on drawing functions in MetaFun

2005-08-12 Thread Jin-Hwan Cho
On Aug 13, 2005, at 1:10 AM, Hans Hagen wrote: \defineframed[Shaped][background=Shape,frame=off,location=low] Thanks. Still I could not get the right figure with \setuplayer[BackLayer][direction=reverse] Even though direction=reverse option was given, I got only the first figure. Means

Re: [NTG-context] A question on drawing functions in MetaFun

2005-08-12 Thread Vit Zyka
Jin-Hwan Cho wrote: On Aug 13, 2005, at 1:10 AM, Hans Hagen wrote: \defineframed[Shaped][background=Shape,frame=off,location=low] Thanks. Still I could not get the right figure with \setuplayer[BackLayer][direction=reverse] Even though direction=reverse option was given, I got only

Re: [NTG-context] A question on drawing functions in MetaFun

2005-08-12 Thread Hans Hagen
Vit Zyka wrote: Jin-Hwan Cho wrote: On Aug 13, 2005, at 1:10 AM, Hans Hagen wrote: \defineframed[Shaped][background=Shape,frame=off,location=low] Thanks. Still I could not get the right figure with \setuplayer[BackLayer][direction=reverse] Even though direction=reverse option

[NTG-context] layer in texshow

2005-05-01 Thread Vít Zýka
Hallo, commands for layers (\setuplayer, ...) are missing in the texshow. What is the mechanism to add them? vit ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context

[NTG-context] Re: mag-0008

2004-12-15 Thread Hans Hagen
][\theXMLarguments{fox}]}} \def\foxaction #1{\expanded{#1[\theXMLarguments{fox}]}} % layers \defineXMLcommand [fx:definelayer] [fox] [label=default] {\initializefox \expanded{\definelayer[\foxlabel]}% \expanded{\setuplayer[\foxlabel][\foxarguments]}} \defineXMLcommand [fx:setuplayer] [fox] [label

Re: [NTG-context] Layout definitions ..

2004-09-23 Thread Hans Hagen
margins within the default layout ? Is this in relation with margin and opposite blocks ? depends on what you want to do; an option is to make A6 pages and to impose the pages; another option is to use layers: \setuplayout [page] \definelayer[lt] \setuplayer[lt][width=.5\textwidth,height=.5

Re: [NTG-context] baseline alignment

2004-08-10 Thread Hans Hagen
\baselinerightbox#1% {\normalhbox {\setbox0\placedbox{#1}% \global\boxhdisplacement\boxoffset \global\boxvdisplacement-\boxoffset \boxcursor\hskip\boxhdisplacement\raise-\boxvdisplacement\box0}} \protect \definelayer[text] \setupbackgrounds[text][background=text] \setuplayer[text][width