From: Benjamin Buchmuller <benjamin.buchmuller@gmail.com>
To: ntg-context@ntg.nl
Subject: Another question about definerefereformat
Date: Sun, 13 Nov 2016 17:35:08 +0100 [thread overview]
Message-ID: <D1D57463-C91C-4286-BE65-995FBA9DDF68@gmail.com> (raw)
Here is another question, I was wondering about.
What is the ConTeXt’s way to provide the “right” (or “left”) argument when \definereferenceformat[text=…] is set?
Starting from this example:
\starttext
\definereferenceformat[infig][text={Figure }]
\startplacefigure[reference=fig:A]
Some figure.
\stopplacefigure
This is \infig[fig:A].
\stoptext
I would like to output “This is Figure 1 a.” Obviously I can type “This is \infig[fig:A]\,a.” to get the desired result; however it does not seem very “ConTeXt-ish” to me as “This is \in{Figure}{a}[fig:A].” is much more concise. Is there the possibility to have something like \infig[right=a][fig:A]?
Thanks again.
Benjamin
___________________________________________________________________________________
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://context.aanhet.net
archive : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___________________________________________________________________________________
reply other threads:[~2016-11-13 16:35 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=D1D57463-C91C-4286-BE65-995FBA9DDF68@gmail.com \
--to=benjamin.buchmuller@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).