Am 01.11.2011 um 20:20 schrieb Idris Samawi Hamid ادريس سماوي حامد:
On Tue, 01 Nov 2011 12:59:41 -0600, Wolfgang Schuster
wrote: The reference is not generated in either method:
===========log========== check > missing or ungrouped '=' after 'ref' in line 2 (@@mcinoutermargin:) references > unknown reference [][ref] references > unknown reference [][reff] ========================
Please advise and
\inoutermargin doesn’t support references and the optional argument expects a assignments as you can see from the message
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]{…}
Is there any workaround, either for \inmargin or \inoutermargin? My publisher is going to kill me ;-)
\usemodule[annotation] %\defineannotation[mymargin][alternative=inmargin] \define[2]\MymarginCommand {\inmargin[scope=local]{#2}} \defineannotation [mymargin] [alternative=command, command=\MymarginCommand] \starttext See is a test.\mymargin[reference=mar:test]{Test} See \at{page}[mar:test]. \stoptext Wolfgang