Hello,

I am experimenting with old-style figures (or text figures, as they are
also called). Basically, I would like every number in my source document
to be typeset in old-style figures (OSF) by default unless stated
otherwise. This means: I want to reverse the mechanism so that I can
explicitly say where NOT to use OSF.

As a work-around I found the following on the list:

\defineconversion[number][\os]
\defineconversion[numbers][\os]

This does not work for plain digits in the text, but it works for
generated numbers like page numbers, and, to some degree, for the
generated numbers of floats. 

\starttext
  \chapter[sample]{Sample}
  \placefigure[here][a]{cap}{test}
  Reference: \in{figure}[a]
  \section[test]{Test}
\stoptext

In this setup, chapter numbers do not use OSF, and the numbers of
figures (as well as references to them) use a mixed form, which
looks rather odd.

I can add

  \setuphead[chapter,section][numberstyle=\os]

which makes heading numbers use OSF, but then again, references like
\in[sample] do not work. Also, the numbering of the section changes
from 1.1 to 1>1 (where > is a right pointing triangle).

To see the results, you can process this:

------------------------ cut here ---------------------
\defineconversion[number][\os]
\defineconversion[numbers][\os]
\setuphead[chapter,section][numberstyle=\os]
\starttext

\chapter[sample]{Sample}

This is chapter \in[sample].
Below is \in{section}[test].

Here is \in{figure}[a] on \at{page}[a]

\placefigure[here][a]{Caption}{FIGURE}

\section[test]{Test}
\stoptext
------------------------ cut here ---------------------


Is there any way, to change the numbering style globally?

Thanks,
Viktor


-- 
+++ GMX - die erste Adresse für Mail, Message, More +++

10 GB Mailbox, 100 FreeSMS  http://www.gmx.net/de/go/topmail
_______________________________________________
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context

Reply via email to