From: "Géry Ogam" <maggyero@gmail.com>
To: ntg-context@ntg.nl
Subject: Preventing caption stoppers from appearing in references
Date: Fri, 1 Nov 2013 17:51:25 +0100 [thread overview]
Message-ID: <CAJ2CwZ295Xnhu59o3oj6Ahf8hg1242q+j1xoZKoExxjx4YvuDg@mail.gmail.com> (raw)
[-- Attachment #1.1: Type: text/plain, Size: 1441 bytes --]
Hello Hans,
I would like to prevent caption stoppers from appearing in references in
ConTeXt.
Here is a minimal example:
\starttext
\setupcaptions[numberstopper=.~---~, distance=0em]
\placefigure[][cow]{A Cow}{\externalfigure[cow]}
\in{Figure}[cow] shows a cow.
\stoptext
Aditya suggested that I use suffix instead of numberstopper, which works
very well, but Wolgang said:
‘I’m sorry to disappoint you but there is no official solution to achieve
this.
There are ways to change the stopper for section numbers in the heading and
the text but not for the other counters (floats, descriptions etc.).
The solution you got from Aditya at stackexchange works but it’s more a hack
because suffixes are used when you use a splitted float (e.g. a table which
spans
multiple pages) where you get 1.a., 1.b etc. (the a and b are suffixes) as
numbers.’
So since numberstoppers — of any kinds (for floats, sections, descriptions)
— are supposed to separate numbers from titles, it would be logical that
they don’t appear in references because references don’ have titles, only
numbers, so no separation sign (numberstopper) is needed. Could you change
that behaviour Hans, or add a command for setting the layout of the numbers
in references (separators, counter conversion, etc.)? There is already such
a command for section numbers and you only have to add another one for
other counters.
Best regards.
[-- Attachment #1.2: Type: text/html, Size: 2734 bytes --]
[-- Attachment #2: Type: text/plain, Size: 485 bytes --]
___________________________________________________________________________________
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 reply other threads:[~2013-11-01 16:51 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-11-01 16:51 Géry Ogam [this message]
2013-11-05 22:01 ` Géry Ogam
2013-11-06 17:23 ` Hans Hagen
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=CAJ2CwZ295Xnhu59o3oj6Ahf8hg1242q+j1xoZKoExxjx4YvuDg@mail.gmail.com \
--to=maggyero@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).