Re: [NTG-context] Float placement problem (layers)
On Fri, Feb 20, 2015 at 2:57 PM, Alan BRASLAU alan.bras...@cea.fr wrote: Why do you use a float at all? You can place your graphic in the layer without using \placefigure. Ah, this was the important thing. I've been placing graphics in floats for so long that I've forgotten there's another way. I switched my \placefigures to a plain \externalfigure and everything started working. Obviously it's been sheer luck that the thing used to work, now it is hopefully done as it should've been from the beginning. Thank you, Mari test2_pr23-cover_front.tex Description: TeX document ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Float placement problem (layers)
On Thu, 19 Feb 2015 12:51:26 +0200 Mari Voipio mari.voi...@iki.fi wrote: I have a book cover that is created with layers. It has worked fine this far and I could swear that I haven't changed anything, but the file (attached) now hangs on placement of a graphic. Mari, Why do you use a float at all? You can place your graphic in the layer without using \placefigure. Alan ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Float placement problem (layers)
On 2/20/2015 1:57 PM, Alan BRASLAU wrote: On Thu, 19 Feb 2015 12:51:26 +0200 Mari Voipio mari.voi...@iki.fi wrote: I have a book cover that is created with layers. It has worked fine this far and I could swear that I haven't changed anything, but the file (attached) now hangs on placement of a graphic. Mari, Why do you use a float at all? You can place your graphic in the layer without using \placefigure. then that is the problem ... doing something vertical pageflow related inside a box ... indeed no float has to be used there Hans - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com | www.pragma-pod.nl - ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] Float placement (again)
I sent a question to the list about float placement, but it was marked as spam (at a guess due to the ASCII art). For those that didn't see it because of that, it's in the archives: http://article.gmane.org/gmane.comp.tex.context/82995 Tet ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Float placement
Peter Rolf writes: adding 'force' ([here,force]) should help 'here'. (sorry for the pun) http://wiki.contextgarden.net/Command/placefloat Yes, it should. But I tried that and it didn't work. Tet ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Float placement
Am 15.06.2013 15:29, schrieb Tethys: Peter Rolf writes: adding 'force' ([here,force]) should help 'here'. (sorry for the pun) http://wiki.contextgarden.net/Command/placefloat Yes, it should. But I tried that and it didn't work. Have you also tried 'force' alone? If that doesn't work, please make a small (complete) example. Tet ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___ ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] float placement
I would like to place a figure (float) on a page by itself, at a specific point. Using \placefigure[force] gives me the figures at that point but not on separate page, whereas \placefigure[page] puts it on a page but not at the point where it should appear. Finally \placefigure[force,page] nor \placefigure[page,force] did help. Howto? Hans van der Meer ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Float placement problem
On Sat 01 Oct 2011, Wolfgang Schuster wrote: I've recently updated my standalone (32-bit Linux) ConTeXT from 2011.02.25 to 2011.09.20, and I'm now having some trouble with float placement. I'm using MkIV. I'm trying to have figures protruding into the outer margins with a double-sided layout, as described here: ... Does anyone have any ideas or insights? Should be fixed in the next beta. Many thanks! I confirm that my original example works as expected with ConTeXt 2011.10.01. However, for certain files (including my dissertation) ConTeXt stops with the error ‘Argument of \rootfloatparameter has an extra }’. Here's a minimal example which causes the problem: \starttext \dorecurse{3}{ \placefigure[]{}{\externalfigure[cow.pdf]} \input knuth \placefigure[]{}{\externalfigure[cow.pdf]} } \stoptext The example works if I comment out any of the three lines in the \dorecurse, or if I change \dorecurse{3} to \dorecurse{2}. The example also fails with 2011.09.20, but works with 2011.02.25. Pont ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Float placement problem
Am 02.10.2011 um 10:39 schrieb Pontus Lurcock: On Sat 01 Oct 2011, Wolfgang Schuster wrote: I've recently updated my standalone (32-bit Linux) ConTeXT from 2011.02.25 to 2011.09.20, and I'm now having some trouble with float placement. I'm using MkIV. I'm trying to have figures protruding into the outer margins with a double-sided layout, as described here: ... Does anyone have any ideas or insights? Should be fixed in the next beta. Many thanks! I confirm that my original example works as expected with ConTeXt 2011.10.01. However, for certain files (including my dissertation) ConTeXt stops with the error ‘Argument of \rootfloatparameter has an extra }’. Here's a minimal example which causes the problem: \starttext \dorecurse{3}{ \placefigure[]{}{\externalfigure[cow.pdf]} \input knuth \placefigure[]{}{\externalfigure[cow.pdf]} } \stoptext The example works if I comment out any of the three lines in the \dorecurse, or if I change \dorecurse{3} to \dorecurse{2}. The example also fails with 2011.09.20, but works with 2011.02.25. page-one.mkiv: \def\OTRONEdosettopinserts {\bgroup \ifsomefloatwaiting \noffloatinserts\zerocount \let\totaltopinserted\!!zeropoint \OTRONEdodosettopinserts \ifnum\rootfloatparameter\c!nbottom=\zerocount \ifnum\rootfloatparameter\c!nlines\zerocount \ifdim\totaltopinserted\zeropoint\relax \ifdim\dimexpr\rootfloatparameter\c!nlines\lineheight+\totaltopinserted\relax\textheight -\showmessage\m!floatblocks8\rootfloatparameter\c!nlines +\showmessage\m!floatblocks8{\rootfloatparameter\c!nlines}% \vfilll\eject \fi \fi \fi \fi \fi \egroup} \def\OTRONEdosetbothinserts {\global\topinserted\zeropoint \global\botinserted\zeropoint \ifflushingfloats \else \OTRONEdosettopinserts \OTRONEdosetbotinserts \ifsomefloatwaiting - \doif\rootfloatparameter\c!cache\v!no\doflushfloats + \doif{\rootfloatparameter\c!cache}\v!no\doflushfloats \fi \fi} Wolfgang ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Float placement problem
On Sun 02 Oct 2011, Wolfgang Schuster wrote: The example works if I comment out any of the three lines in the \dorecurse, or if I change \dorecurse{3} to \dorecurse{2}. The example also fails with 2011.09.20, but works with 2011.02.25. page-one.mkiv: ... Thank you once more; this now works as expected for me, both on the example and on my dissertation. Pont ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Float placement problem
Am 25.09.2011 um 11:03 schrieb Pontus Lurcock: Hello, I've recently updated my standalone (32-bit Linux) ConTeXT from 2011.02.25 to 2011.09.20, and I'm now having some trouble with float placement. I'm using MkIV. I'm trying to have figures protruding into the outer margins with a double-sided layout, as described here: http://wiki.contextgarden.net/Floating_Objects#Protruding_Floats_in_Double-Sided_Documents Here is my minimal example: \setuplayout[location=doublesided] \setuppagenumbering[alternative=doublesided,location={margin,header}] \setupfloat[figure][location=inner] \showframe \starttext % An extra page. \page[yes] \dorecurse{4}{ \placefigure[]{caption}{\externalfigure[cow.pdf][width=17cm]}} \stoptext With version 2011.02.25 this produces the desired result; with 2011.09.20, the first figure is placed correctly, and all subsequent figures protrude in the same direction, whether they're on an even or odd page. So in the given example they all protrude to the right. If an extra page is inserted at the start so that the first figure is on an even page, they all protrude to the left. Does anyone have any ideas or insights? Should be fixed in the next beta. Wolfgang ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Float placement problem
On Sun 25 Sep 2011, Pontus Lurcock wrote: I've recently updated my standalone (32-bit Linux) ConTeXT from 2011.02.25 to 2011.09.20, and I'm now having some trouble with float placement. I'm using MkIV. I'm trying to have figures protruding into the outer margins with a double-sided layout ... Does anyone have any ideas or insights? Hmm, I guess not. I will put a note on the wiki page and revert to my old ConTeXt version for now. If anyone has an idea for a workaround I would be glad to know of it. Regards, Pont ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Float placement problem
On Thu, Sep 29, 2011 at 9:36 AM, Pontus Lurcock p...@talvi.net wrote: On Sun 25 Sep 2011, Pontus Lurcock wrote: I've recently updated my standalone (32-bit Linux) ConTeXT from 2011.02.25 to 2011.09.20, and I'm now having some trouble with float placement. I'm using MkIV. I'm trying to have figures protruding into the outer margins with a double-sided layout ... Does anyone have any ideas or insights? Hmm, I guess not. I will put a note on the wiki page and revert to my old ConTeXt version for now. If anyone has an idea for a workaround I would be glad to know of it. Regards, hm , it looks like a bad match with between width=17cm and textwidth This extreme example seems to works \setuplayout[location=doublesided,width=20pc] \setuppagenumbering[alternative=doublesided,location={margin,header}] \setupfloat[figure][location=inner] \showframe \starttext % An extra page. \page[yes] \dorecurse{4}{ \placefigure[]{caption}{\externalfigure[cow.pdf][width=30pc]}\page} \stoptext -- luigi ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Float placement problem
On Thu 29 Sep 2011, luigi scarso wrote: hm , it looks like a bad match with between width=17cm and textwidth This extreme example seems to works \setuplayout[location=doublesided,width=20pc] \setuppagenumbering[alternative=doublesided,location={margin,header}] \setupfloat[figure][location=inner] \showframe \starttext % An extra page. \page[yes] \dorecurse{4}{ \placefigure[]{caption}{\externalfigure[cow.pdf][width=30pc]}\page} \stoptext Thanks! The \page after the figure certainly seems to fix it. Unfortunately a page break after every figure is impractical in my real document, but this might put me on the track of a solution (once I've read the layout manual a couple more times). Pont ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Float placement problem
On Thu, Sep 29, 2011 at 10:32 AM, Pontus Lurcock p...@talvi.net wrote: On Thu 29 Sep 2011, luigi scarso wrote: hm , it looks like a bad match with between width=17cm and textwidth This extreme example seems to works \setuplayout[location=doublesided,width=20pc] \setuppagenumbering[alternative=doublesided,location={margin,header}] \setupfloat[figure][location=inner] \showframe \starttext % An extra page. \page[yes] \dorecurse{4}{ \placefigure[]{caption}{\externalfigure[cow.pdf][width=30pc]}\page} \stoptext Thanks! The \page after the figure certainly seems to fix it. Unfortunately a page break after every figure is impractical in my real document, but this might put me on the track of a solution (once I've read the layout manual a couple more times). I 've put \page just to show quickly the effect, but maybe there are still problems \setuplayout[location=doublesided,width=20pc] \setuppagenumbering[alternative=doublesided,location={margin,header}] \setupfloat[figure][location=inner] \showframe \starttext % An extra page. \page[yes] \dorecurse{40}{ \placefigure[here]{caption}{\externalfigure[cow.pdf][width=30pc]}} \stoptext -- luigi ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Float placement problem
On Thu 29 Sep 2011, luigi scarso wrote: I 've put \page just to show quickly the effect, but maybe there are still problems \setuplayout[location=doublesided,width=20pc] \setuppagenumbering[alternative=doublesided,location={margin,header}] \setupfloat[figure][location=inner] \showframe \starttext % An extra page. \page[yes] \dorecurse{40}{ \placefigure[here]{caption}{\externalfigure[cow.pdf][width=30pc]}} \stoptext Yes, that's pretty bad... in subsequent tests I've found that ‘diluting’ the figures with sufficient text (like adding \page) fixes the problem -- unfortunately mixing [here] and [page] placement (as I need to do in my document) messes it up again. In addition, several of my tests crash ConTeXt with the error ‘Argument of \rootfloatparameter has an extra }’, for example: \setuplayout[location=doublesided] \setuppagenumbering[alternative=doublesided,location={margin,header}] \setupfloat[figure][location=inner] \showframe \starttext \input knuth \dorecurse{4}{ \placefigure[here]{caption}{\externalfigure[cow.pdf][width=17cm]} \input knuth \placefigure[page]{caption}{\externalfigure[cow.pdf][width=17cm]} \input knuth % \input knuth % uncomment this line to make the file work } \stoptext Again, this works with v2011.02.25 (although figure numbers are mixed up). I think I'll have to give up on this now and revert to the old version, but I'll put a pointer to this thread on the Wiki in case anyone else runs into similar problems. Pont ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] Float placement problem
Hello, I've recently updated my standalone (32-bit Linux) ConTeXT from 2011.02.25 to 2011.09.20, and I'm now having some trouble with float placement. I'm using MkIV. I'm trying to have figures protruding into the outer margins with a double-sided layout, as described here: http://wiki.contextgarden.net/Floating_Objects#Protruding_Floats_in_Double-Sided_Documents Here is my minimal example: \setuplayout[location=doublesided] \setuppagenumbering[alternative=doublesided,location={margin,header}] \setupfloat[figure][location=inner] \showframe \starttext % An extra page. \page[yes] \dorecurse{4}{ \placefigure[]{caption}{\externalfigure[cow.pdf][width=17cm]}} \stoptext With version 2011.02.25 this produces the desired result; with 2011.09.20, the first figure is placed correctly, and all subsequent figures protrude in the same direction, whether they're on an even or odd page. So in the given example they all protrude to the right. If an extra page is inserted at the start so that the first figure is on an even page, they all protrude to the left. Does anyone have any ideas or insights? Thanks in advance, Pont ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Float placement in margin
On 27.04.2010 08:00, Taco Hoekwater wrote: Btw, \placefigure[margin] doesn't appear to work in mkiv at all. A small adjustment in page-mis.mkiv is needed: line 91: plaatsrechtermargeblok -- placerightmarginblock line 97: plaatslinkermargeblock -- placeleftmarginblock Best wishes Thomas ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Float placement in margin
On 28-4-2010 10:29, Thomas Floeren wrote: On 27.04.2010 08:00, Taco Hoekwater wrote: Btw, \placefigure[margin] doesn't appear to work in mkiv at all. A small adjustment in page-mis.mkiv is needed: line 91: plaatsrechtermargeblok -- placerightmarginblock line 97: plaatslinkermargeblock -- placeleftmarginblock patched. - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com | www.pragma-pod.nl - ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Float placement in margin
Antoine Cailliau wrote: Dear all, I would like to put a figure my edge margin, at the bottom of the page. (so, the bottom left corner on my left pages). I tried \inmargin but the figure is not placed in margin but at the top of the page. I tried \placefigure[margin] but it is placed on the top of the margin. This is nearly what I want :) Any clue for me ? I am interested in this question as well. It could be really nice if \placefigure[margin,bottom] could be made to work. Btw, \placefigure[margin] doesn't appear to work in mkiv at all. Best wishes, Taco ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Float placement in margin
After looking a bit more, I'm looking for a more generic solutions where I can put paragraphs as well in margin. In my thesis, I've a lot of blocks (defined by framed) that I need to put in the margin with my text continuing his flow normally. \inmargin does not seems to work (a dark story with open/close brackets make the compilation fails) Thanks for your comment :) Cheers, Antoine I am interested in this question as well. It could be really nice if \placefigure[margin,bottom] could be made to work. That would be awesome :) ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] Float placement in margin
Dear all, I would like to put a figure my edge margin, at the bottom of the page. (so, the bottom left corner on my left pages). I tried \inmargin but the figure is not placed in margin but at the top of the page. I tried \placefigure[margin] but it is placed on the top of the margin. This is nearly what I want :) Any clue for me ? Thanks in advance, Antoine ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___