From: Wolfgang Schuster <schuster.wolfgang@googlemail.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: reference bug: MkiV
Date: Tue, 1 Nov 2011 21:03:04 +0100 [thread overview]
Message-ID: <12AE4186-D7AC-49A1-83A7-F28CF91287FB@googlemail.com> (raw)
In-Reply-To: <op.v397zpt7pw6hmh@ishamid-pc>
Am 01.11.2011 um 20:20 schrieb Idris Samawi Hamid ادريس سماوي حامد:
> On Tue, 01 Nov 2011 12:59:41 -0600, Wolfgang Schuster <schuster.wolfgang@googlemail.com> 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
___________________________________________________________________________________
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
___________________________________________________________________________________
next prev parent reply other threads:[~2011-11-01 20:03 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-11-01 18:47 Idris Samawi Hamid ادريس سماوي حامد
2011-11-01 18:59 ` Wolfgang Schuster
2011-11-01 19:20 ` Idris Samawi Hamid ادريس سماوي حامد
2011-11-01 20:03 ` Wolfgang Schuster [this message]
2011-11-03 20:12 ` Idris Samawi Hamid ادريس سماوي حامد
2011-11-03 20:23 ` Wolfgang Schuster
2011-11-03 20:35 ` Idris Samawi Hamid ادريس سماوي حامد
2011-11-03 21:04 ` Wolfgang Schuster
2011-11-03 21:35 ` Idris Samawi Hamid ادريس سماوي حامد
2011-11-03 20:17 ` Idris Samawi Hamid ادريس سماوي حامد
2011-11-03 20:24 ` Wolfgang Schuster
2011-11-04 9:13 ` Hans Hagen
2011-11-05 14:05 ` Idris Samawi Hamid ادريس سماوي حامد
2011-11-05 14:07 ` Idris Samawi Hamid ادريس سماوي حامد
2011-11-03 20:18 ` Idris Samawi Hamid ادريس سماوي حامد
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=12AE4186-D7AC-49A1-83A7-F28CF91287FB@googlemail.com \
--to=schuster.wolfgang@googlemail.com \
--cc=ntg-context@ntg.nl \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).