[NTG-context] Request: Numbercommand key for \setupcaption
Wolfgang Schuster
schuster.wolfgang at gmail.com
Fri Apr 10 12:38:51 CEST 2015
Hi Hans,
can you add a number command key to \setupcaption because when you use a language which uses left and right labels for the number
the numberstopper key can’t be used anymore to put a symbol after the float counter without misusing the label texts.
For example the following example should print
LEFT 1 RIGHT: Dummy figure
as figure caption but it shows only
LEFT 1 RIGHT Dummy figure
without the color after “RIGHT”.
%%%% begin example
\useMPlibrary[dum]
\setuplabeltext[en][figure={LEFT , RIGHT}]
\definereferenceformat[infigure][label=*]
\setupcaption[figure][numbercommand=\groupedcommand{}{:}]
\starttext
\startplacefigure[reference=fig:dummy,title=Dummy figure]
\externalfigure[dummy]
\stopplacefigure
See \infigure[fig:dummy].
\stoptext
%%%% end example
Wolfgang
More information about the ntg-context
mailing list