[NTG-context] Characters instead numbers in headings

2011-07-19 Thread Procházka Lukáš Ing . - Pontex s . r . o .

Hello,

I'm trying to get numbering style like this:

A. Chapter
A.1 Section

I compiled a couple-of-months-old file and I got another result than before 
(?!).

So I created a minimal example - hope this is a valid code for numbering (or rather 
charactering) chapters as described before:


\definestructureconversionset[Num2Char][numbers,Characters][numbers]

\setuphead[chapter][sectionconversionset=Num2Char]

\starttext
  \chapter{Cha}
\section{Sec}
\stoptext


But numbers appear - so what has changed or what am I doing wrong?

Best regards,

Lukas


--
Ing. Lukáš Procházka [mailto:l...@pontex.cz]
Pontex s. r. o.  [mailto:pon...@pontex.cz] [http://www.pontex.cz]
Bezová 1658
147 14 Praha 4

Tel: +420 244 062 238
Fax: +420 244 461 038

SecChar.mkiv
Description: Binary data


SecChar.pdf
Description: Adobe PDF document
___
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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___

Re: [NTG-context] Characters instead numbers in headings

2011-07-19 Thread Wolfgang Schuster

Am 19.07.2011 um 12:02 schrieb Procházka Lukáš Ing. - Pontex s. r. o.:

 Hello,
 
 I'm trying to get numbering style like this:
 
 A. Chapter
 A.1 Section
 
 I compiled a couple-of-months-old file and I got another result than before 
 (?!).
 
 So I created a minimal example - hope this is a valid code for numbering (or 
 rather charactering) chapters as described before:
 
 
 \definestructureconversionset[Num2Char][numbers,Characters][numbers]
 
 \setuphead[chapter][sectionconversionset=Num2Char]

\setupheads[sectionconversionset=Num2Char]

or

\setuphead[chapter,section][sectionconversionset=Num2Char]

Wolfgang

___
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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] Characters instead numbers in headings

2011-07-19 Thread Procházka Lukáš Ing . - Pontex s . r . o .

Hello,

have you tried it?

On Tue, 19 Jul 2011 14:19:52 +0200, Wolfgang Schuster 
schuster.wolfg...@googlemail.com wrote:


or

\setuphead[chapter,section][sectionconversionset=Num2Char]

Wolfgang



\definestructureconversionset[Num2Char][numbers,Characters][numbers]

\setuphead[chapter,section][sectionconversionset=Num2Char]

\starttext
  \chapter{Cha}
\section{Sec}
\stoptext


I'm still getting:


1  Cha
1.1  Sec


instead of


A  Cha
A.1  Sec


(ConTeXt  ver: 2011.07.13 20:14 MKIV  fmt: 2011.7.14  int: english/english)

Lukas

___
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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] Characters instead numbers in headings

2011-07-19 Thread Wolfgang Schuster

Am 19.07.2011 um 14:27 schrieb Procházka Lukáš Ing. - Pontex s. r. o.:

 Hello,
 
 have you tried it?

Yes!

mtx-context | current version: 2011.07.17 23:08

Wolfgang

___
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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] Characters instead numbers in headings

2011-07-19 Thread Procházka Lukáš Ing . - Pontex s . r . o .

Hello,

On Tue, 19 Jul 2011 14:33:05 +0200, Wolfgang Schuster 
schuster.wolfg...@googlemail.com wrote:


mtx-context | current version: 2011.07.17 23:08

Wolfgang


OK, thanks for hints and testing.

I've just downloaded the latest beta -

ConTeXt  ver: 2011.07.19 11:22 MKIV  fmt: 2011.7.19  int: english/english (OK)

- so probably just the previous version had the problem -

ConTeXt  ver: 2011.07.13 20:14 MKIV  fmt: 2011.7.14  int: english/english 
(problem).

Best regards,

Lukas


--
Ing. Lukáš Procházka [mailto:l...@pontex.cz]
Pontex s. r. o.  [mailto:pon...@pontex.cz] [http://www.pontex.cz]
Bezová 1658
147 14 Praha 4

Tel: +420 244 062 238
Fax: +420 244 461 038

___
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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___