2012-11-12 Andy Thomas:

> I am still struggling to achieve the page layout/look that I am
> trying to get. For an image of the desired page spread please look
> here: https://dl.dropbox.com/u/9089117/tufte-spread.png

How about this:

\useMPlibrary
        [dum]

\setuplayout
        [width=10cm,
         rightmargin=5cm]

\setupmargindata
        [inouter]
        [location=outer,
         stack=continue]

\definefloat
        [marginfigure]
        [marginfigures]
        [figure]

\setupfloat
        [marginfigure]
        [default=margin]

\definefloat
        [margintext]
        [margintexts]

\setupfloat
        [margintext]
        [default=margin]

\setupcaption
        [margintext]
        [location=none]

\starttext

\input knuth

\startplacemarginfigure [title=Foo]
        \externalfigure [dum] [width=\rightmarginwidth]
\stopplacemarginfigure

\startplacemargintext
        \input ward
\stopplacemargintext

\input knuth

\startplacemarginfigure [title=Bar]
        \externalfigure [dum] [width=\rightmarginwidth]
\stopplacemarginfigure

\stoptext


You need to put the \placemargintext at the beginning of a
paragraph, otherwise it will cause an unwanted break.


Marco

___________________________________________________________________________________
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
___________________________________________________________________________________

Reply via email to