Hello list, Is the a way to make the following example posted here: http://archive.contextgarden.net/message/20060321.134723.3a8e8ff3.en.html work with recent mkIV as it used to before? \setupoutput[pdftex] \setupcolors[state=start] \frenchspacing \tolerance = 1000 \setuplayout[width=4in] \setupfloat [intermezzo] [ leftmargindistance=-.8in, rightmargindistance=-.8in, default={outer,high}] \setupcaption[intermezzo][location=none] \defineframedtext [myohmy] [width=6cm,bodyfont=small, frame=off, backgroundcorner=round, backgroundradius=6pt,background=screen,backgroundscreen=.8] %\showframe \setupmarginblocks[ style=small, width=5cm, before=\startmyohmy, after={\relax,\stopmyohmy}, align=middle, ] \long\def\sidebar#1{\placeintermezzo{}{\startmyohmy #1 \relax\stopmyohmy}} \starttext \input ward \placeintermezzo{}{\startmyohmy\input dawkins \relax\stopmyohmy} \dorecurse{3}{\input knuth \par} \page[yes] \input ward \placeintermezzo{}{\input dawkins\relax} \page[yes] \input ward FOO \sidebar{% \input dawkins Additional text. } \dorecurse{3}{\input knuth \par} \stoptext Many thanks in advance Piotr -- http://okle.pl
I realized it's a general hanging problem :(
\starttext
\placefigure[left,hang]{}{\externalfigure[hacker.jpg]}
\input zapf
\stoptext
P.
2009/9/25 Piotr Kopszak
Hello list,
Is the a way to make the following example posted here: http://archive.contextgarden.net/message/20060321.134723.3a8e8ff3.en.html work with recent mkIV as it used to before?
\setupoutput[pdftex] \setupcolors[state=start] \frenchspacing \tolerance = 1000 \setuplayout[width=4in] \setupfloat [intermezzo] [ leftmargindistance=-.8in, rightmargindistance=-.8in, default={outer,high}] \setupcaption[intermezzo][location=none]
\defineframedtext [myohmy] [width=6cm,bodyfont=small, frame=off, backgroundcorner=round, backgroundradius=6pt,background=screen,backgroundscreen=.8] %\showframe \setupmarginblocks[ style=small, width=5cm, before=\startmyohmy, after={\relax,\stopmyohmy}, align=middle, ] \long\def\sidebar#1{\placeintermezzo{}{\startmyohmy #1 \relax\stopmyohmy}}
\starttext \input ward \placeintermezzo{}{\startmyohmy\input dawkins \relax\stopmyohmy} \dorecurse{3}{\input knuth \par} \page[yes] \input ward \placeintermezzo{}{\input dawkins\relax} \page[yes] \input ward
FOO \sidebar{% \input dawkins
Additional text. } \dorecurse{3}{\input knuth \par}
\stoptext
Many thanks in advance
Piotr -- http://okle.pl
Piotr Kopszak wrote:
Hello list,
Is the a way to make the following example posted here: http://archive.contextgarden.net/message/20060321.134723.3a8e8ff3.en.html work with recent mkIV as it used to before?
works here ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------
participants (2)
-
Hans Hagen
-
Piotr Kopszak