Am 03.11.2011 um 21:12 schrieb Idris Samawi Hamid ادريس سماوي حامد:
Hi Wolfgang,
On Tue, 01 Nov 2011 14:03:04 -0600, Wolfgang Schuster
wrote: Well, that's quite frustrating... I have a 400-page document I'm trying to port to MkIV full of references, the old \inmargin no longer respect [align=outer], so I switched to the new system, and now the new system does not support references …
The old \inmargin command is gone, Hans rewrote the whole code for \inmargin etc. You can change the alignment global with \setupmarginframed[align=outer] for for a single command with \inmargin[][align=outer]{…}
Hmm .. does not work:
==================== \starttext \setuplayout[location={middle,doublesided},backspace=2cm] \setuppagenumbering[alternative=doublesided] % \setupmargindata[inoutermargin][location=outer,align=inner,style=\tfxx\setupinterlinespace,margin=54pt] \setupmarginframed[align=outer] % \dorecurse{20}{\input zapf \inmargin{This is a test of the margindata system and the inmargin macros}\par }
\dorecurse{20}{\input zapf \inmargin[][align=outer]{This is a test of the margindata system and the inmargin macros}\par } \stoptext ====================
inmargin remains in the left margin on each page.
The \margindata commands have two optional commands, the arguments of the first argument are used for the placement of the margin text while the second passes it’s argument to the frame part of each command. Wolfgang