* Another question about definerefereformat
@ 2016-11-13 16:35 Benjamin Buchmuller
0 siblings, 0 replies; only message in thread
From: Benjamin Buchmuller @ 2016-11-13 16:35 UTC (permalink / raw)
To: ntg-context
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2016-11-13 16:35 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-11-13 16:35 Another question about definerefereformat Benjamin Buchmuller
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).