jm wrote:
hi, all!

i have been trying to produce "Figure 1." in the figure caption of my document using mkiv and i just couldn't. i've searched through the ntg-context archives and the net for solutions but none seems to work. however, when i try the solutions posted (e.g. \setupcaption[figure][stopper={.}]) using XeConTeXt or MKII, i get the result i need. can anybody tell me how to go about this in mkiv?

also, how do you go about producing a "Table 1.1" or a "Table 1-1" in the captions? couldn't find the answer in the manuals or in the web. any help would be greatly appreciated.


in mkiv it's \setupcaption[figure][numberstopper=.])

(we have numbers, prefixes and more and all have gotten similar keys)

it's good to know that all control over such numbers has changes a bit but is more flexible now (conversion, prefixing, separators, etc)

you can control such thingies with processors

\defineprocessor[demo][color=red,style=\bfd]

\setupcaption[figure][numberstopper=demo->.,numberconversion=Characters]

\starttext

\chapter{first}
\section{first}
\placefigure{}{}
\placefigure{}{}

\stoptext

(but somehow there is a bleed to the page number rendering that i need to resolve)

-----------------------------------------------------------------
                                          Hans Hagen | PRAGMA ADE
              Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
     tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
                                             | www.pragma-pod.nl
-----------------------------------------------------------------
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : [email protected] / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

Reply via email to