[NTG-context] [***SPAM***] placefigure adds break
Hi, please have a look at thee example below: I have a long paragraph (more than 3 pages), and I want to set a float/figure at top of page 2. Thus, I need to write \placefigure *in* my paragraph, between two words. How can I do that without adding a paragraph break after the respective word (marked HERE)? Steffen --- \starttext \switchtobodyfont[rm,10pt] \input tufte \input ward \input zapf \input tufte \input ward \input zapf \input tufte \input ward \input zapf \input tufte \input ward \input zapf HERE \placefigure[top]{}{\vskip3pt{\externalfigure[foo][frame=off,width=\dimexpr(\textwidth-10mm)]}}\input tufte \input ward \input zapf \input tufte \input ward \input zapf \input tufte \input ward \input zapf \input tufte \input ward \input zapf \input tufte \input ward \input zapf \stoptext ___ 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] [***SPAM***] placefigure adds break
On Thu, 5 Apr 2012, Steffen Wolfrum wrote: Hi, please have a look at thee example below: I have a long paragraph (more than 3 pages), and I want to set a float/figure at top of page 2. Thus, I need to write \placefigure *in* my paragraph, between two words. How can I do that without adding a paragraph break after the respective word (marked HERE)? Steffen --- \starttext \switchtobodyfont[rm,10pt] \input tufte \input ward \input zapf \input tufte \input ward \input zapf \input tufte \input ward \input zapf \input tufte \input ward \input zapf HERE \placefigure[top]{}{\vskip3pt{\externalfigure[foo][frame=off,width=\dimexpr(\textwidth-10mm)]}}\input tufte \input ward \input zapf \input tufte \input ward \input zapf \input tufte \input ward \input zapf \input tufte \input ward \input zapf \input tufte \input ward \input zapf \stoptext (Untested) \startpostponing[+1] \placefigure[top]{}{...} \stoppostponing Rest of the text Aditya ___ 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] [***SPAM***] placefigure adds break
On Thu, Apr 5, 2012 at 1:10 PM, Aditya Mahajan adit...@umich.edu wrote: (Untested) \startpostponing[+1] \placefigure[top]{}{...} \stoppostponing Rest of the text Aditya \starttext \switchtobodyfont[rm,10pt] \input tufte \input ward \input zapf \input tufte \input ward \input zapf \input tufte \input ward % \input zapf \input tufte \input ward % \input zapf HERE% \startpostponing[+1] \placefigure[top]{}{\vskip3pt\externalfigure[foo][frame=off,width=\dimexpr(\textwidth-10mm)]} \stoppostponing% AND HERE \input tufte \input ward % \input zapf \input tufte \input ward \input zapf \input tufte \input ward \input zapf \input tufte % \input ward \input zapf \input tufte \input ward \input zapf \stoptext seems ok -- 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 ___