ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Andy Thomas <andythomas@web.de>
To: ntg-context@ntg.nl
Subject: setupcaptions stopper and separator
Date: Mon, 4 Jun 2012 21:30:23 +0200	[thread overview]
Message-ID: <2CE4D8EE-5C2D-4847-A66B-07FAA4A5CFAD@web.de> (raw)

Hi all,

while trying to figure out all the functions that setupcaptions has, I stumbled trying to make stopper and separator work.

MnWE:
\useMPlibrary[dum]

\starttext
\section{One}
\setupcaptions [figure] [way=bysection,prefixsegments=section,separator={A},stopper={B},suffix={C}]
\startplacefigure[title={A rectangle with a caption. Not very interesting.},reference=fig1]
  \externalfigure[dummy][width=0.5\textwidth]
\stopplacefigure

\in{Figure}[fig1]
\stoptext

As far as I understand it, the separator changes the dot between the section and the figure number and the stopper is placed right after the figure number and used in references as well (which is different from suffix). Is that correct?

Andy


___________________________________________________________________________________
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
___________________________________________________________________________________


                 reply	other threads:[~2012-06-04 19:30 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=2CE4D8EE-5C2D-4847-A66B-07FAA4A5CFAD@web.de \
    --to=andythomas@web.de \
    --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).