Step by step I am making progress. Now I have the problem that the margin note is generated from inside a framedtext. As a matter of fact, all elements of the text I am producing are a series of framedtext's with nothing in between. The problem then is, that the margin notes are withheld until something is typeset after a \stopframedtext. And that then coalesces all notes accumulated sofar. My question therefore: can I force placing the note from within a \startframedtext-\stopframedtext pair? Hans van der Meer On 15 mrt 2011, at 13:33, Wolfgang Schuster wrote:
Am 15.03.2011 um 13:23 schrieb Hans van der Meer:
I replaced the \setupinmargin \by setupmargindata and tested on the example in the Wiki given for \setupinmargin:
\starttext \setupmargindata[location=left] \starttext This is an example of a simple margin note set in the slanted font of the document. If used correctly, the note \inmargin{Here is a simple margin note.} should print on the side with the command \type {\inmargin} placed in the text. You will of course want to adjust your margins to accommodate the type. \stoptext
Then the margintext is always on the left. No matter if I give [location=right] or [location=flushright] or substitute left for right. What am I missing here?
\setupmargindata[inmargin][location=...]