Re: [NTG-context] Replacing a piece of a paper

2011-01-12 Thread Procházka Lukáš Ing . - Pontex s . r . o .
Hello, thanks to all for the answers, Peter's solution is closest to that I need. My code now is: --- \setuppapersize[A1,landscape] \setuplayout[page] \setuppositioning [state=overlay, yoffset=-12pt % Why? ] \starttext \startpositioning \position(0,0){\rotate[rotation=90

Re: [NTG-context] Replacing a piece of a paper

2011-01-12 Thread Wolfgang Schuster
Am 12.01.2011 um 09:39 schrieb Procházka Lukáš Ing. - Pontex s. r. o.: Hello, thanks to all for the answers, Peter's solution is closest to that I need. My code now is: --- \setuppapersize[A1,landscape] \setuplayout[page] \setuppositioning [state=overlay, yoffset=-12pt % Why

[NTG-context] undesired offset with \position (was: Re: Replacing a piece of a paper)

2011-01-11 Thread Peter Münster
the job: \setuppapersize[A2] \setuplayout[page] \setuppositioning[state=overlay, yoffset=-12pt%%% Why is this offset needed??? ] \starttext \startpositioning \position(0,0){\externalfigure[a2-page]} \position(0,0){\framed[frame=off, offset=overlay, background=color

Re: [NTG-context] Placing boxes anywhere on the page

2010-11-16 Thread Peter Münster
, rather than just position relative to the current baseline. Layers or overlays are certainly the right method. But there is also the \position macro: \setupframed[foregroundstyle=\bfc] \setuppositioning[state=overlay, unit=cm, xoffset=0.5\textwidth, yoffset=0.5\textheight] \starttext

Re: [NTG-context] Placing boxes anywhere on the page

2010-11-16 Thread Hans Hagen
, but with the ability to specify absolute coordinates, rather than just position relative to the current baseline. Layers or overlays are certainly the right method. But there is also the \position macro: \setupframed[foregroundstyle=\bfc] \setuppositioning[state=overlay, unit=cm, xoffset=0.5\textwidth

[NTG-context] \useURL not working with '#' and '_' in URL in newest beta

2009-04-21 Thread Drazen Baic
] [{http://wiki.contextgarden.net/ConTeXt_Minimals}] [] [\ConTeXt\ Minimals] \useURL [setposition] [{http://source.contextgarden.net/core-pos.tex#setpositions}] [] [\tex{setposition}] \useURL [setuppositioning] [http://texshow.contextgarden.net] [{cmd/en/setuppositioning}] [\tex

Re: [NTG-context] Customizing layer stepping

2008-06-18 Thread Wolfgang Schuster
){#3}% \StopLocalStep \ignorespaces} \starttext \framed [width=3cm, height=3cm, background=invoke, offset=overlay] {\setuppositioning[unit=mm,factor=5,xoffset=-2.5cm,yoffset=-2.5cm] \startpositioning \addstone12X% show layer 1 \addstone42O% show layer 2

Re: [NTG-context] ConTeXt-ifying Kile

2008-01-02 Thread Matija Šuklje
papersize][printing papersize] \setupparagraphnumbering[options] \setupparagraphs[name][number|each][options] \setuppositioning[options] \setupprofiles[options] \setupprograms[directory=text] \setuppublications[options] \setupquote[options] \setupreferencelist[names][options] \setupreferencing

Re: [NTG-context] need help with creating a grid with context

2007-10-11 Thread Wolfgang Schuster
, leftmargindistance=0pt, backspace=0pt, rightmargin=0pt, rightmargindistance=0pt, cutspace=0pt, width=middle, topspace=0pt, header=0pt, headerdistance=0pt, footer=0pt, footerdistance=0pt, bottomspace=0pt, height=middle] %\showlayout \starttext \setuppositioning[unit=cm] \startpositioning

Re: [NTG-context] need help with creating a grid with context

2007-10-10 Thread Peter Rolf
, rightmargindistance=0pt, cutspace=0pt, width=middle, topspace=0pt, header=0pt, headerdistance=0pt, footer=0pt, footerdistance=0pt, bottomspace=0pt, height=middle] %\showlayout \starttext \setuppositioning[unit=cm] \startpositioning \newcount\Row \Row= 0 \loop

[NTG-context] need help with creating a grid with context

2007-10-09 Thread MASON Peter J
=middle, topspace=0pt, header=0pt, headerdistance=0pt, footer=0pt, footerdistance=0pt, bottomspace=0pt, height=middle] %\showlayout \starttext \setuppositioning[unit=cm] \startpositioning \newcount\Row \Row= 0 \loop { \newcount

[NTG-context] Putting things over a figure

2006-04-23 Thread nico
\setbox\scratchbox\hbox{\externalfigure[#1][#2]}% \overfigwd=\wd\scratchbox \overfight=\ht\scratchbox \setuppositioning[unit=pt, xfactor=\withoutpt\the\dimexpr(\overfigwd/100), yfactor=\withoutpt\the\dimexpr(\overfight/100)]% \startpositioning

Re: [NTG-context] Putting things over a figure

2006-04-23 Thread Hans Hagen
} \def\dostartoverfig[#1][#2]% {\bgroup \setbox\scratchbox\hbox{\externalfigure[#1][#2]}% \overfigwd=\wd\scratchbox \overfight=\ht\scratchbox \setuppositioning[unit=pt, xfactor=\withoutpt\the\dimexpr(\overfigwd/100), yfactor

Re: [NTG-context] What is the third parameter in \useURL for?

2006-03-24 Thread Henning Hraban Ramm
/ts.rb?what=descif=encmd=useURL says attached file URL The one sample using it is: \useURL [setuppositioning] [http://texshow.contextgarden.net] [cmd=setuppositioning] [\tex{setuppositioning}] I didn't test anything. Greetlings from Lake Constance! Hraban --- http://www.fiee.net

RE: [NTG-context] Absolute positioning of graphics on the page

2004-09-07 Thread Martin Kolarik
Hi Giuseppe, try: \setuppositioning[unit=cm,factor=0.5] \starpositioning \position(1,1){top left text} \position(40,1){top right text} \stoppositioning Of course, the unit can be almost all of well known TeX units (pt, mm, em, in, ...) Have a nice day, Martin -Original Message

Re[2]: [NTG-context] Absolute positioning of graphics on the page

2004-09-07 Thread Giuseppe Bilotta
Tuesday, September 7, 2004 Martin Kolarik wrote: Hi Giuseppe, try: \setuppositioning[unit=cm,factor=0.5] \starpositioning \position(1,1){top left text} \position(40,1){top right text} \stoppositioning Of course, the unit can be almost all of well known TeX units (pt, mm, em