From: Wolfgang Schuster <schuster.wolfgang@gmail.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: extra - in reference
Date: Tue, 10 Sep 2013 11:16:39 +0200 [thread overview]
Message-ID: <42955625-D70D-415F-89D4-885E422A4DD1@gmail.com> (raw)
In-Reply-To: <9C88B769-D6D9-41C2-8794-6018EDBD5D5F@uva.nl>
Am 10.09.2013 um 10:51 schrieb "Meer, H. van der" <H.vanderMeer@uva.nl>:
> Doing \in{Figure}[fig:figname] neatly typesets for example: "figure 1.4"
> Defined as: \startplacefigure[title=figure-title,reference=fig:figname]
>
> But if I define:\startchapter[title=chapter-title,reference=chap:chapname]
> Then \in{Chapter}[chap:chapname] produces: "chapter 6 - "
> Thus an extra space + minus sign + space are put behind the chapter reference.
>
> This is annoying, because I would like my chapter reference to be "chapter 6" without any additions. Besides, the figure reference and chapter reference behave differently, an unexpected phenomenon.
> It seems the \startchapter defines a reference different from the reference in \startplacefigure.
>
> Is this difference in behaviour intentional? Is it a bug? How can I revert my chapter references to the form without the trailing characters?
Make a minimal example because I can’t reproduce your results.
\useMPlibrary[dum]
\starttext
\startchapter[title=chapter-title,reference=chap:chapname]
\startplacefigure[title=figure-title,reference=fig:figname]
\externalfigure[dummy]
\stopplacefigure
Take a look at \in{Figure}[fig:figname] in \in{Chapter}[chap:chapname].
\stopchapter
\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:[~2013-09-10 9:16 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-09-10 8:51 Meer, H. van der
2013-09-10 9:16 ` Wolfgang Schuster [this message]
2013-09-10 10:07 ` Meer, H. van der
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=42955625-D70D-415F-89D4-885E422A4DD1@gmail.com \
--to=schuster.wolfgang@gmail.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).