Re: [NTG-context] Absolute positioning of \startcombination... \stopcombination

2023-03-17 Thread Keith McKay via ntg-context
Thanks for your reply Pablo. I didn't see it till just now because for some reason it ended up in my junk folder, along with a number of other ConTeXt messages. You will probably have seen my reply to the list with the three solutions, now we have four! Yep, I know that A4 is the default page

Re: [NTG-context] Absolute positioning of \startcombination... \stopcombination

2023-03-17 Thread Keith McKay via ntg-context
Hi, I've experimented this morning with the solutions suggested by Wolfgang and Alan in reply to my post. The solution is really quite simple as suggested by Wolfgang i.e. \centerbox{..}.  I have applied this to the code and I now have three different solutions to my initial problem. The Joy

Re: [NTG-context] Absolute positioning of \startcombination... \stopcombination

2023-03-16 Thread Keith McKay via ntg-context
gt; > > thinking that this would be the easiest way to position it where I > > > wanted. However to position in the centre of the page I would need > > > to know the size of the combination and use this to calculate the x > > > and y values for positioning o

Re: [NTG-context] Absolute positioning of \startcombination... \stopcombination

2023-03-16 Thread Alan Braslau via ntg-context
the combination and use this to calculate the x > > and y values for positioning of the layer. I have looked at the > > Wiki page on image size of combinations but still cant figure out > > how to do it. Any suggestions on how to go about this or is their a > > better way? > >

Re: [NTG-context] Absolute positioning of \startcombination... \stopcombination

2023-03-16 Thread Pablo Rodriguez via ntg-context
On 3/16/23 17:59, Keith McKay via ntg-context wrote: > Hi, > > I would like to position a combination of images where the centre of the > combination coincides with the centre of the text area of a page. Hi Keith, I think the following sample might achieve what you want: \showframe \setupex

Re: [NTG-context] Absolute positioning of \startcombination... \stopcombination

2023-03-16 Thread Wolfgang Schuster via ntg-context
be the easiest way to position it where I wanted. However to position in the centre of the page I would need to know the size of the combination and use this to calculate the x and y values for positioning of the layer. I have looked at the Wiki page on image size of combinations but still cant

[NTG-context] Absolute positioning of \startcombination... \stopcombination

2023-03-16 Thread Keith McKay via ntg-context
position in the centre of the page I would need to know the size of the combination and use this to calculate the x and y values for positioning of the layer. I have looked at the Wiki page on image size of combinations but still cant figure out how to do it. Any suggestions on how to go about

Re: [NTG-context] positioning of metapost figure

2021-09-12 Thread Sylvain Hubert via ntg-context
Thanks Hans! On Sun, 12 Sept 2021 at 19:02, Hans Hagen wrote: > On 9/12/2021 6:54 PM, Sylvain Hubert via ntg-context wrote: > > Dear List, > > > > The following code draws a circle at the center of the page, ignoring > > the "shifted" part. > > > > \startuniqueMPgraphic{concept} > > draw fullcir

Re: [NTG-context] positioning of metapost figure

2021-09-12 Thread Hans Hagen via ntg-context
On 9/12/2021 6:54 PM, Sylvain Hubert via ntg-context wrote: Dear List, The following code draws a circle at the center of the page, ignoring the "shifted" part. \startuniqueMPgraphic{concept} draw fullcircle scaled 1cm shifted (10cm,10cm); \stopuniqueMPgraphic \defineoverlay[concept][\uniqueM

[NTG-context] positioning of metapost figure

2021-09-12 Thread Sylvain Hubert via ntg-context
Dear List, The following code draws a circle at the center of the page, ignoring the "shifted" part. \startuniqueMPgraphic{concept} draw fullcircle scaled 1cm shifted (10cm,10cm); \stopuniqueMPgraphic \defineoverlay[concept][\uniqueMPgraphic{concept}] \setupbackgrounds[page][background=concept] \

[NTG-context] LMTX, PGF/TikZ absolute positioning

2020-12-22 Thread Jean-Philippe Rey
Dear list, I have a problem with LMTX when I try to place a tikz drawing at an absolute location on the page. Here is a minimal failing example. === \usemodule[tikz] \starttext \starttikzpicture[remember picture, overlay] \draw (current page.center) circle [radius=20mm]; \sto

Re: [NTG-context] Float positioning

2020-04-09 Thread Alexey Kryukov
On Thu, 9 Apr 2020 20:44:16 +0200 Geert Dobbels wrote: > Hello, > > Maybe I did not understand the problem, but doesn't the code below > give you the expected result?: Hmm, unfortunately no. Using [top,force] just causes context to break the text flow at the place where the image is specified.

Re: [NTG-context] Float positioning

2020-04-09 Thread Geert Dobbels
Hello, Maybe I did not understand the problem, but doesn't the code below give you the expected result?: \setupexternalfigures[location={local,default}] \starttext \dorecurse{3}{\input{knuth}} \placefigure[force]{cow}{\externalfigure[cow][width=150mm]} \input{knuth} \placefigure[force,page]{

Re: [NTG-context] Float positioning

2020-04-08 Thread Alexey Kryukov
On Mon, 6 Apr 2020 16:53:33 +0200 Tomas Hala wrote: > You can try the work around below, it is based on computation of > additional measures for special instance of figure. Thank you, this is helpful indeed, at least as a workaround. -- Regards, Alexey Kryukov Moscow State University Faculty

Re: [NTG-context] Float positioning

2020-04-06 Thread Tomas Hala
Hi Alexey, # Yes, I tried leftpage/rightpage: this removes the blank page, but may # cause images to be reordered (so that e. g. 3 goes before 2), which is # completely unacceptable IMO. Yes, you are right. But -- I do not know why -- your code you attached gives on my computer (TL2019) the 1-3-

Re: [NTG-context] Float positioning

2020-04-06 Thread Alexey Kryukov
Hi Tomas, thank you for your answer. Yes, I tried leftpage/rightpage: this removes the blank page, but may cause images to be reordered (so that e. g. 3 goes before 2), which is completely unacceptable IMO. Also, this doesn't help with the text flow at the page where the first image is positione

Re: [NTG-context] Float positioning

2020-04-06 Thread Tomas Hala
Hi Alexey, I do not how free are you in decision where figures should be located but I tried with "leftpage" and "rightpage" instead of "page" and it seems to be ok. \placefigure[rightpage]{one more cow}{\externalfigure[cow][width=150mm]} \placefigure[leftpage]{cow again}{\externalfigure[cow][wid

[NTG-context] Float positioning

2020-04-06 Thread Alexey Kryukov
Hi all, Suppose I have the following document: \setupexternalfigures[location={local,default}] \starttext \dorecurse{3}{\input{knuth}} \placefigure[top]{cow}{\externalfigure[cow][width=150mm]} \input{knuth} \placefigure[page]{one more cow}{\externalfigure[cow][width=150mm]} \placefigure[page]{co

Re: [NTG-context] Problems with TikZ and absolute positioning

2016-01-05 Thread Michał Goliński
is warning is given only once. Non-PDF special ignored! Non-PDF special ignored! ... Is this a bug or maybe absolute positioning is done differently? Best regards Michal Golinski ___ If your question is of interes

Re: [NTG-context] Problems with TikZ and absolute positioning

2016-01-05 Thread Michał Goliński
is warning is given only once. Non-PDF special ignored! Non-PDF special ignored! ... Is this a bug or maybe absolute positioning is done differently? Best regards Michal Golinski ___ If your question is of interest to

Re: [NTG-context] Problems with TikZ and absolute positioning

2016-01-04 Thread Hans Hagen
support marking the current position. This warning is given only once. Non-PDF special ignored! Non-PDF special ignored! ... Is this a bug or maybe absolute positioning is done differently? Best regards Michal Golinski _

[NTG-context] Problems with TikZ and absolute positioning

2016-01-04 Thread Michał Goliński
fsys-dvips.def does not support marking the current position. This warning is given only once. Non-PDF special ignored! Non-PDF special ignored! ... Is this a bug or maybe absolute positioning is done differently? Best regards M

Re: [NTG-context] Positioning an arrow between two values (Metapost)

2015-01-21 Thread Fabrice
Hi Troy, Thank you, this macro is very nice ; it matches what I want to do even if I would like a smaller space between the arrow and labels. Best regards, Fabrice ___ If your question is of interest to others as wel

Re: [NTG-context] Positioning an arrow between two values (Metapost)

2015-01-20 Thread Troy Henderson
> > \starttext > \startMPcode > u:=1cm ; > path p, q ; > p=fullsquare scaled u ; > q=fullsquare scaled u shifted (4u,-2u) ; > draw p ; > draw q ; > drawarrow center p--center q ; > label(btex $5$ etex,center p) ; > label(btex $-2 $ etex,center q) ; > \stopMPcode > \stoptext > How about something l

[NTG-context] Positioning an arrow between two values (Metapost)

2015-01-17 Thread Fabrice Couvreur
Hi, I went from PSTricks to Metapost (Metafun) gradually. For positioning arrows between two values in an array of variations, I used a command like this \ ncline {A}{B}, which avoids fumbling. Can we do the same with Metapost ? The idea would be to convert the value into a path or an image, much

Re: [NTG-context] [fontloader] positioning of diacritics

2014-12-15 Thread Philipp Gesang
· > Am 15.12.2014 um 21:43 schrieb Philipp Gesang: > > >> \enabletrackers[otf.bugs] > > > > Thanks for the reply and for the pointer. That tracker is indeed > > pretty handy! > > > > I attempted to open a bug report on the Libertine tracker but > > Sourceforge refuses to cooperate :/ Mayb

Re: [NTG-context] [fontloader] positioning of diacritics

2014-12-15 Thread Herbert Voss
Am 15.12.2014 um 21:43 schrieb Philipp Gesang: \enabletrackers[otf.bugs] Thanks for the reply and for the pointer. That tracker is indeed pretty handy! I attempted to open a bug report on the Libertine tracker but Sourceforge refuses to cooperate :/ Maybe next time. As far as I know there i

Re: [NTG-context] [fontloader] positioning of diacritics

2014-12-15 Thread Philipp Gesang
· > On 12/15/2014 8:08 AM, Philipp Gesang wrote: > > Good morning! > > > > This report by Github user SverreStausland has been lingering on > > the Luaotfload tracker for a while: There appears to be a > > difference between how certain faces of the Libertine family > > handle the placemen

Re: [NTG-context] [fontloader] positioning of diacritics

2014-12-15 Thread Hans Hagen
On 12/15/2014 8:08 AM, Philipp Gesang wrote: Good morning! This report by Github user SverreStausland has been lingering on the Luaotfload tracker for a while: There appears to be a difference between how certain faces of the Libertine family handle the placement of diacritics. With Version 5.1

[NTG-context] [fontloader] positioning of diacritics

2014-12-14 Thread Philipp Gesang
Good morning! This report by Github user SverreStausland has been lingering on the Luaotfload tracker for a while: There appears to be a difference between how certain faces of the Libertine family handle the placement of diacritics. With Version 5.1.2 of the family [0], the "RZI" version (fullna

Re: [NTG-context] [luatex] Problem with luaotfload and positioning of primes

2014-07-29 Thread Philipp Gesang
· > On 7/29/2014 7:18 PM, Philipp Gesang wrote: > > · > > > >> On 7/29/2014 7:01 AM, Philipp Gesang wrote: > >> > >>> Thanks for the quick fix! > >> > >> You were just lucky that I saw it pop up as incoming mail message (which > >> I somehow cannot turn off) because normally all ma

Re: [NTG-context] [luatex] Problem with luaotfload and positioning of primes

2014-07-29 Thread Hans Hagen
On 7/29/2014 7:18 PM, Philipp Gesang wrote: · On 7/29/2014 7:01 AM, Philipp Gesang wrote: Thanks for the quick fix! You were just lucky that I saw it pop up as incoming mail message (which I somehow cannot turn off) because normally all mails directed a the luatex list is filtered a

Re: [NTG-context] [luatex] Problem with luaotfload and positioning of primes

2014-07-29 Thread Philipp Gesang
· > On 7/29/2014 7:01 AM, Philipp Gesang wrote: > > > Thanks for the quick fix! > > You were just lucky that I saw it pop up as incoming mail message (which > I somehow cannot turn off) because normally all mails directed a the > luatex list is filtered away to its own bin as it seldom

Re: [NTG-context] [luatex] Problem with luaotfload and positioning of primes

2014-07-29 Thread Hans Hagen
On 7/29/2014 7:01 AM, Philipp Gesang wrote: Thanks for the quick fix! You were just lucky that I saw it pop up as incoming mail message (which I somehow cannot turn off) because normally all mails directed a the luatex list is filtered away to its own bin as it seldom relates to context.

Re: [NTG-context] [luatex] Problem with luaotfload and positioning of primes

2014-07-28 Thread Philipp Gesang
Good morning, Hans! Thanks for the quick fix! Best, Philipp · > · > > > (CC’ing the Context list.) > > > > · > > > > > Do you have a prediction about how long it will take before a fix is > > > released? > > > > No, sorry. What I do have though is the culprit: > > >

Re: [NTG-context] [luatex] Problem with luaotfload and positioning of primes

2014-07-28 Thread Philipp Gesang
· > (CC’ing the Context list.) > > · > > > Do you have a prediction about how long it will take before a fix is > > released? > > No, sorry. What I do have though is the culprit: > > c70b2e466bbb07e976f8684d56ae4e5398169e7d is the first bad commit Seems to be related to

Re: [NTG-context] [luatex] Problem with luaotfload and positioning of primes

2014-07-28 Thread Philipp Gesang
(CC’ing the Context list.) · > Do you have a prediction about how long it will take before a fix is > released? No, sorry. What I do have though is the culprit: c70b2e466bbb07e976f8684d56ae4e5398169e7d is the first bad commit commit c70b2e466bbb07e976f8684d56ae4e5398169e7d

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]{

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

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

2013-10-07 Thread luigi scarso
On Mon, Oct 7, 2013 at 10:04 PM, Pablo Rodríguez wrote: > On 10/07/2013 07:16 PM, luigi scarso wrote: > > On Mon, Oct 7, 2013 at 5:56 PM, Pablo Rodríguez wrote: > > Dear list, > > > > I have the following sample: > > [...] > > Many thanks for your reply, Luigi. > > I need to insist on this sam

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

2013-10-07 Thread Hans Hagen
On 10/7/2013 10:04 PM, Pablo Rodríguez wrote: On 10/07/2013 07:16 PM, luigi scarso wrote: On Mon, Oct 7, 2013 at 5:56 PM, Pablo Rodríguez wrote: Dear list, I have the following sample: [...] Many thanks for your reply, Luigi. I need to insist on this sample, because the layer doesn’t b

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

2013-10-07 Thread Pablo Rodríguez
On 10/07/2013 07:16 PM, luigi scarso wrote: > On Mon, Oct 7, 2013 at 5:56 PM, Pablo Rodríguez wrote: > Dear list, > > I have the following sample: > [...] Many thanks for your reply, Luigi. I need to insist on this sample, because the layer doesn’t behave as such: \definelayer[wrongpositione

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

2013-10-07 Thread luigi scarso
art. > > Sorry for the so basic question, but what is wrong there? > > Besides that, I don’t understand how positioning in layers work. I have > read the wiki, but I don’t get it (geometry isn’t my strength). > > x, y, hoffset and voffset are fine. But location and corner are

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

2013-10-07 Thread Pablo Rodríguez
={wrongpositioned}] \starttext \input knuth \stoptext No matter what x, y, hoffset, voffset, location or corner, the MP graphic is located where the page margins start. Sorry for the so basic question, but what is wrong there? Besides that, I don’t understand how positioning in layers work. I

Re: [NTG-context] image vertical positioning in xtable

2013-10-06 Thread Hans Hagen
On 10/6/2013 10:51 AM, Peter Münster wrote: On Sun, Oct 06 2013, Pablo Rodríguez wrote: I have the following sample that places the image below the text in the same cell: \startxcell image \externalfigure[cow.pdf][height=.5em] \stopxcell Perhaps a bug? --8<---

Re: [NTG-context] image vertical positioning in xtable

2013-10-06 Thread Peter Münster
On Sun, Oct 06 2013, Pablo Rodríguez wrote: > I have the following sample that places the image below the text in the > same cell: > > \startxcell image \externalfigure[cow.pdf][height=.5em] > \stopxcell Perhaps a bug? --8<---cut here---start--

[NTG-context] image vertical positioning in xtable

2013-10-06 Thread Pablo Rodríguez
Dear list, I have the following sample that places the image below the text in the same cell: \starttext \startxtable \startxrow \startxcell This is an \stopxcell \startxcell image \externalfigure[cow.pdf][height=.5em] \stopxcell \stopxrow \st

Re: [NTG-context] [***SPAM***] Positioning of frames in a frame

2013-05-16 Thread Wolfgang Schuster
Am 16.05.2013 um 13:13 schrieb "H. Özoguz" : > Hello together, > > designing a card-game I use an overlay as background an a frame, with three > parts, realized as three frames in the outer frame (which is simply the > border of the card). > See my try: > > \starttext > \framed[width=4.55cm,

[NTG-context] [***SPAM***] Positioning of frames in a frame

2013-05-16 Thread H. Özoguz
Hello together, designing a card-game I use an overlay as background an a frame, with three parts, realized as three frames in the outer frame (which is simply the border of the card). See my try: \starttext \framed[width=4.55cm, height=7.4cm, frame=on, background=eslami]{% \framed[width=

Re: [NTG-context] Vertical positioning of floats within itemize

2012-10-16 Thread Hans Hagen
On 16-10-2012 10:05, Marcin Borkowski wrote: Well, I meant the bullet and item text on the left and image on the right. Is it possible? maybe if you put \placefigure[right]{}{} before the \item -

Re: [NTG-context] Vertical positioning of floats within itemize

2012-10-16 Thread Marcin Borkowski
Dnia 2012-10-16, o godz. 09:41:23 Hans Hagen napisał(a): > On 16-10-2012 00:45, Marcin Borkowski wrote: > > It's me again! > > > > This doesn't quite work as expected (at least by me, that is;)): > > > > \starttext > > > > \startitemize > >\startitem > > \placefigure[right,high,none]{}{\

Re: [NTG-context] Vertical positioning of floats within itemize

2012-10-16 Thread Hans Hagen
On 16-10-2012 00:45, Marcin Borkowski wrote: It's me again! This doesn't quite work as expected (at least by me, that is;)): \starttext \startitemize \startitem \placefigure[right,high,none]{}{\framed[width=3cm,height=2cm]{!}} \input knuth \stopitem \stopitemize \stoptext (Na

[NTG-context] Vertical positioning of floats within itemize

2012-10-15 Thread Marcin Borkowski
It's me again! This doesn't quite work as expected (at least by me, that is;)): \starttext \startitemize \startitem \placefigure[right,high,none]{}{\framed[width=3cm,height=2cm]{!}} \input knuth \stopitem \stopitemize \stoptext (Namely, at the beginning of the \item there is someth

Re: [NTG-context] positioning of backgrounds

2012-03-08 Thread Wolfgang Schuster
Am 08.03.2012 um 22:07 schrieb Thomas A. Schmitz: > On 03/08/2012 09:46 PM, Wolfgang Schuster wrote: >> \definelayer[test][width=\paperwidth,height=\paperheight] >> >> Wolfgang > > Thanks Wolfgang, this works! So the old code was - wrong, obsolete, weird? Not sure, when you process your origin

Re: [NTG-context] positioning of backgrounds

2012-03-08 Thread Thomas A. Schmitz
On 03/08/2012 09:46 PM, Wolfgang Schuster wrote: \definelayer[test][width=\paperwidth,height=\paperheight] Wolfgang Thanks Wolfgang, this works! So the old code was - wrong, obsolete, weird? Thomas ___ If your que

Re: [NTG-context] positioning of backgrounds

2012-03-08 Thread Wolfgang Schuster
Am 08.03.2012 um 21:37 schrieb Thomas A. Schmitz: > Hi all, > > I may have missed something here: I'm aware that processing backgrounds has > changed. The following example places the background layer completely > different in the current beta and when processed with a version from November: >

[NTG-context] positioning of backgrounds

2012-03-08 Thread Thomas A. Schmitz
Hi all, I may have missed something here: I'm aware that processing backgrounds has changed. The following example places the background layer completely different in the current beta and when processed with a version from November: \definelayer[test][x=1mm,y=1mm,width=\paperwidth,height=22m

Re: [NTG-context] Unsupported coverage contextpos for 'RQD ' Greek Caps after Accents Positioning-1

2012-02-28 Thread Hans Hagen
/en/fonts-download.html . The log says : fonts> otf prepare> unsupported coverage contextpos for 'RQD ' Greek Caps after Accents Positioning-1 Thomas ? Sorry, I have absolutely no clue what this is supposed to mean... I'm not even sure if the message comes from the core or Wo

Re: [NTG-context] Unsupported coverage contextpos for 'RQD ' Greek Caps after Accents Positioning-1

2012-02-28 Thread Pablo Rodríguez
en/fonts-download.html . >>>> The log says : >>>> fonts> otf prepare> unsupported coverage contextpos for >>>> 'RQD ' Greek Caps after Accents Positioning-1 >>>> >>>> Thomas ? >>> >>> Sorry, I have absolutely n

Re: [NTG-context] Unsupported coverage contextpos for 'RQD ' Greek Caps after Accents Positioning-1

2012-02-28 Thread luigi scarso
t;>> fonts> otf prepare> unsupported coverage contextpos for >>> 'RQD ' Greek Caps after Accents Positioning-1 >>> >>> Thomas ? >> >> >> Sorry, I have absolutely no clue what this is supposed to mean... I'm >> not ev

Re: [NTG-context] Unsupported coverage contextpos for 'RQD ' Greek Caps after Accents Positioning-1

2012-02-28 Thread Hans Hagen
On 26-2-2012 20:42, Thomas A. Schmitz wrote: On 02/26/2012 07:50 PM, luigi scarso wrote: The font is fromhttp://www.thessalonica.org.ru/en/fonts-download.html . The log says : fonts> otf prepare> unsupported coverage contextpos for 'RQD ' Greek Caps after Accents Positioning-1

Re: [NTG-context] Unsupported coverage contextpos for 'RQD ' Greek Caps after Accents Positioning-1

2012-02-26 Thread Thomas A. Schmitz
On 02/26/2012 07:50 PM, luigi scarso wrote: The font is fromhttp://www.thessalonica.org.ru/en/fonts-download.html . The log says : fonts> otf prepare> unsupported coverage contextpos for 'RQD ' Greek Caps after Accents Positioning-1 Thomas ? Sorry, I have absolutely no c

[NTG-context] Unsupported coverage contextpos for 'RQD ' Greek Caps after Accents Positioning-1

2012-02-26 Thread luigi scarso
font is from http://www.thessalonica.org.ru/en/fonts-download.html . The log says : fonts > otf prepare > unsupported coverage contextpos for 'RQD ' Greek Caps after Accents Positioning-1 Tho

[NTG-context] Graphics positioning problems in current/recent betas

2012-02-04 Thread Peter Park Nelson
I have been studying the Details manual and have found that many of the examples presented there do not work correctly with the current or recent betas. The ones I have tested work correctly on texshow and with the Texlive 2011 (MkIV Luatex) version. 1. In the first example below (based on Details

Re: [NTG-context] Layers for absolute positioning

2011-03-07 Thread Curiouslearn
Thanks, Wolfgang! That works great. Another related question...can I add a different background color to the layer (a color different than rest of the page). Thanks. On Mon, Mar 7, 2011 at 3:34 PM, Wolfgang Schuster wrote: > > Am 07.03.2011 um 20:51 schrieb Curiouslearn: > >> Hi, >> >> I have

Re: [NTG-context] Layers for absolute positioning

2011-03-07 Thread Wolfgang Schuster
Am 07.03.2011 um 20:51 schrieb Curiouslearn: > Hi, > > I have been trying to learn the best way to position text on a page. > From the messages it appears that a good way to do so, is to use > layers. But it seems that to activate them I need to set them as > background of the page. However, tha

[NTG-context] Layers for absolute positioning

2011-03-07 Thread Curiouslearn
Hi, I have been trying to learn the best way to position text on a page. >From the messages it appears that a good way to do so, is to use layers. But it seems that to activate them I need to set them as background of the page. However, that removes the background color. How can I get both layers

[NTG-context] Interaction messing with footnote positioning

2011-01-12 Thread Mathieu Boespflug
Hi all, consider the following document: \setupinteraction[state=start] \starttext {\definedfont[Regular at 30pt] blah\footnote{hello}} \stoptext and compare it with the result for the same document where the first line is commented out. The footnote number isn't aligned the same. Shouldn't s

[NTG-context] ConTeXt Float Positioning (Figures and Tables) After Paragraph

2008-03-22 Thread Dietrich Rordorf / MDPI
Dear ConTeXt Collegaues, Float Positioning (Figures and Tables): Explained at http://wiki.contextgarden.net/Floating_Objects place[here] will preferably place the float "here" (usually the ConTeXt code for the figure/table is placed at the end of a paragraph which refers to this fi

Re: [NTG-context] absolute positioning?

2007-12-15 Thread Patrick Gundlach
Hello Wolfgang, >> What is the current most contextish way for absolute positioning of >> text (still using MK II)? > layers are still the tool of your choice Actually the examples on the wiki were very helpful. Thanks to all, Patrick -- ConTeXt wiki and more: http://co

Re: [NTG-context] absolute positioning?

2007-12-09 Thread Patrick Gundlach
Hi Wolfgang, > seems like you have nearly finished your thesis Well, concerning time: yes. concerning progress: no. > and yes, layers are still the tool of your choice, especially the > framed alternative \setlayerframed. You can pass font changes to the > framed part with the setups command or

Re: [NTG-context] absolute positioning?

2007-12-08 Thread Hans Hagen
Patrick Gundlach wrote: > Hello! > > What is the current most contextish way for absolute positioning of > text (still using MK II)? I have to create a title page for a document > where several frameless boxes of text have to be placed on the page. > Is this still the layer

Re: [NTG-context] absolute positioning?

2007-12-08 Thread Arthur Reutenauer
> BTW: LuaTeX on the wiki is broken Fixed. Thanks for the heads up! >could be related to a outdated > luatex because the error mesage is > Error in lua file loading: /opt/context/current/bin/luatools.lua:1402: > attempt to call field 'gettimeofday' (a nil va

Re: [NTG-context] absolute positioning?

2007-12-08 Thread Wolfgang Schuster
On Sat, 08 Dec 2007 17:22:50 +0100 Patrick Gundlach <[EMAIL PROTECTED]> wrote: > Hello! > > What is the current most contextish way for absolute positioning of > text (still using MK II)? I have to create a title page for a document > where several frameless boxes of text

[NTG-context] absolute positioning?

2007-12-08 Thread Patrick Gundlach
Hello! What is the current most contextish way for absolute positioning of text (still using MK II)? I have to create a title page for a document where several frameless boxes of text have to be placed on the page. Is this still the layer mechanism? I mean, ConTeXt evolves so quickly, being

Re: [NTG-context] Symmetrical layer positioning?

2007-07-17 Thread Giuseppe Bilotta
Tuesday, July 17, 2007 Wolfgang Schuster wrote: > 2007/7/17, Giuseppe Bilotta <[EMAIL PROTECTED]>: >> >> Apparently, I mistook what the doublesided option does for >> layers. I've currently solved the problem in the following >> way: > \definelayer[test][doublesided=yes] > \setlayer[test][odd][.

Re: [NTG-context] Symmetrical layer positioning?

2007-07-16 Thread Wolfgang Schuster
>>> is there a "secret power switch" to tell ConTeXt that a > >>> particular layer has different positioning depending on > >>> wether it's on a left or right page? > > >> You can possible use setups and use \doifoddpageelse to set the > >>

Re: [NTG-context] Symmetrical layer positioning?

2007-07-16 Thread Giuseppe Bilotta
Monday, July 16, 2007 Giuseppe Bilotta wrote: > Monday, July 16, 2007 Aditya Mahajan wrote: >> On Mon, 16 Jul 2007, Giuseppe Bilotta wrote: >>> Hello all, >>> >>> is there a "secret power switch" to tell ConTeXt that a >>> particular layer

Re: [NTG-context] Symmetrical layer positioning?

2007-07-16 Thread Giuseppe Bilotta
Monday, July 16, 2007 Aditya Mahajan wrote: > On Mon, 16 Jul 2007, Giuseppe Bilotta wrote: >> Hello all, >> >> is there a "secret power switch" to tell ConTeXt that a >> particular layer has different positioning depending on >> wether it's on a le

Re: [NTG-context] Symmetrical layer positioning?

2007-07-16 Thread Aditya Mahajan
On Mon, 16 Jul 2007, Giuseppe Bilotta wrote: > Hello all, > > is there a "secret power switch" to tell ConTeXt that a > particular layer has different positioning depending on > wether it's on a left or right page? You can possible use setups and use \doifoddpa

[NTG-context] Symmetrical layer positioning?

2007-07-16 Thread Giuseppe Bilotta
Hello all, is there a "secret power switch" to tell ConTeXt that a particular layer has different positioning depending on wether it's on a left or right page? I can of course do it manually, either by changing the layer position on each page or by using two layers instead of on

Re: [NTG-context] Positioning graphics at positions on a page

2007-03-21 Thread Hans Hagen
David Arnold wrote: > Hi, > > Measuring from the top left hand corner of US letter paper, I'd like > to position four identical metapost graphics, centered at (2in,2in), > (6in,4in), (2in,6in) and (6in,8in). The first entry in each pair is > the amount I'd like to move to the right from the t

[NTG-context] Positioning graphics at positions on a page

2007-03-20 Thread David Arnold
Hi, Measuring from the top left hand corner of US letter paper, I'd like to position four identical metapost graphics, centered at (2in,2in), (6in,4in), (2in,6in) and (6in,8in). The first entry in each pair is the amount I'd like to move to the right from the top left corner of the page. T

Re: [NTG-context] absolute positioning of figures

2006-10-13 Thread Peter Rolf
lip[width=.15\paperwidth,height=,hoffset=0pt,voffset=0pt]{\externalfigure..} and you can see the difference.. (no picture in the smaller layer). As I already mentioned, the size is (only?) significant, if you change the default positioning (reference point). For example, you want to place something

Re: [NTG-context] absolute positioning of figures

2006-10-13 Thread andrea valle
Example: \definelayer[layer2a][width=.15\paperwidth] \setlayer [layer2a] [x=.15\paperwidth, y=.5\paperheight] {\externalfigure[layTest][width=.75\paperwidth]} I was expecting to have the layTest figure cut after its width exceeds the layer's width.

Re: [NTG-context] absolute positioning of figures

2006-10-13 Thread Hans Hagen
ed by the appearance order in the document >> (last overprints prior). >> >> > > Ah, thanks, I see the point. > > In the posted example, I was mumbling about the reference Hans did > about overlays+layers. > As far as I saw, I think that the only sol

Re: [NTG-context] absolute positioning of figures

2006-10-13 Thread andrea valle
verprints prior). > Ah, thanks, I see the point. In the posted example, I was mumbling about the reference Hans did about overlays+layers. As far as I saw, I think that the only solution to absolute positioning is \setupbackgrounds. As wiki says, \placelayer offsets to \text dimensions. Am

Re: [NTG-context] absolute positioning of figures

2006-10-13 Thread Peter Rolf
output. > Can anyone explain what it should happen? I think the size is significant, if you use relative positioning (preset=bottomright and alike). Greetings, Peter > Thanks > > Best > > -a- > > Two examples follow: > > \setupcolors[state=start] > >

Re: [NTG-context] absolute positioning of figures

2006-10-13 Thread andrea valle
> On 13 Oct 2006, at 00:00, Hans Hagen wrote: >>> > >> indeed, layers put in overlays (there can be many layers on top of >> each >> others >> > > Now, I tried with overlays and layers. That's fine. In any case, in a second approach I simply used \setlayer to fill repeatedly the same layer.

Re: [NTG-context] absolute positioning of figures

2006-10-12 Thread andrea valle
(Thanks Hans) On 13 Oct 2006, at 00:00, Hans Hagen wrote: >> > indeed, layers put in overlays (there can be many layers on top of each > others > Uhm, I don't think I understood. In wiki layers are, in some way, opposite to overlay. How do I put a layer in an overlay? Could you post an essent

Re: [NTG-context] absolute positioning of figures

2006-10-12 Thread Hans Hagen
andrea valle wrote: > Hi to all, > > In case of presentations sometimes one has to combine many figures in > the page, maybe overlapping for some parts. Something very easy in > powerpoint. > What's the best technique? > Taking a look at the wiki and ot "It's in the details" manual it seems > th

[NTG-context] absolute positioning of figures

2006-10-12 Thread andrea valle
Hi to all, In case of presentations sometimes one has to combine many figures in the page, maybe overlapping for some parts. Something very easy in powerpoint. What's the best technique? Taking a look at the wiki and ot "It's in the details" manual it seems that layers, which can be placed acco

[NTG-context] Positioning tag adding space before a chapter

2006-10-02 Thread Paul Jones
happen? I don't understand everything inthe StartPos def. But if I remove the \StartPos from before the first chapter the blank page is not there, but I need that positioning information. I will be greatful for any help. Paul % output=pdftex \let\CurrentPos\empty \def\StartPos#1{\push

[NTG-context] positioning a watermark

2006-08-29 Thread Paul Jones
Hello,I am trying to create alternating watermarks behind the text of a book on odd and even pages.  I was able to get this working with overlays fine, except that I could not figure out how to position them.  (I would like them in the bottom outside corners)  Using layers I could get them to repea

Re: [NTG-context] Two Problems: Colored Chapter and Footnote positioning

2006-04-19 Thread Miguel Queiros
> > I'v tried it and I get a page number but only on one page, not all > > the document. Should I be taking a look at anything else to make it > > work an every page ? Sorry for my "newbie" questions... > > > you need to set the layer each page > [...] It works great. Thanks. I will be addin

Re: [NTG-context] Two Problems: Colored Chapter and Footnote positioning

2006-04-18 Thread Hans Hagen
wing solution might not be the most elegant one, but I use >> similar approach for exact positioning: >> >> \setuppagenumbering[location=] >> \definelayer >> [mypagenumber] >> [width=\paperwidth, >> height=\paperheight] >> \setupback

Re: [NTG-context] Two Problems: Colored Chapter and Footnote positioning

2006-04-18 Thread Miguel Queiros
ge numbers on every page. > (Btw: you should better use \switchtobodyfont rather than > \setupbodyfont in case you need to change font size.) Ok! > The following solution might not be the most elegant one, but I use > similar approach for exact positioning: > > \setuppa

Re: [NTG-context] Two Problems: Colored Chapter and Footnote positioning

2006-04-18 Thread Miguel Queiros
> > > this is because the setupheadertext is forgotten by the time that the > page is built, remove the \start/stop and it will work > Thanks! It worked. As a reminder I will try to recall that as you said before on the mailing lists many commands have color options. I'v added a small examp

Re: [NTG-context] Two Problems: Colored Chapter and Footnote positioning

2006-04-18 Thread Hans Hagen
Miguel Queiros wrote: >> \bgroup >> \setuphead[chapter][color=darkblue] >> \chapter{Capitulo 1} >> \egroup >> >> or >> >> \start >> \setuphead[chapter][color=darkblue] >> \chapter{Capitulo 1} >> \stop >> > > I'v tried both you solutions but I still get > an head

Re: [NTG-context] Two Problems: Colored Chapter and Footnote positioning

2006-04-17 Thread Hans Hagen
Mojca Miklavec wrote: > On 4/18/06, Miguel Queiros wrote: > >> Hello, >> >> I'm facing two problems. The first one has to do with the >> fact that if I use \color[darkblue]{\chapter{Capitulo 1}} >> the line with \setuphead[chapter][header=empty] >> seems to >> be ignored because the chapter pag

  1   2   >