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
___________________________________________________________________________________
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  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

Reply via email to