[NTG-context] Numberconversion problem in caption prefixes

Wolfgang Schuster schuster.wolfgang at gmail.com
Thu Nov 21 16:33:09 CET 2013


Am 12.11.2013 um 02:14 schrieb Géry Ogam <maggyero at gmail.com>:

> Hello,
> 
> There is a numberconversion problem in caption prefixes. For instance, if chapter numbers are set to Romannumerals, the conversion of the caption prefixes depends on the presence of a section
> 
> Minimal example:
> 
> \setuphead[chapter][conversion=Romannumerals]
> \setupcaption[way=bychapter, prefixsegments=chapter]

\defineconversionset [section:chapter] [] [R]
\defineconversionset [float:figure]    [] [n]

\setuphead
  [chapter]
  [sectionconversionset=section:chapter]

\setupcaption
  [way=bychapter,
   prefixsegments=chapter,
   prefixconversionset=float:figure]

Wolfgang



More information about the ntg-context mailing list