* Characters instead numbers in headings
@ 2011-07-19 10:02 Procházka Lukáš Ing. - Pontex s. r. o.
2011-07-19 12:19 ` Wolfgang Schuster
0 siblings, 1 reply; 5+ messages in thread
From: Procházka Lukáš Ing. - Pontex s. r. o. @ 2011-07-19 10:02 UTC (permalink / raw)
To: ConTeXt
[-- Attachment #1: Type: text/plain, Size: 798 bytes --]
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:LPr@pontex.cz]
Pontex s. r. o. [mailto:pontex@pontex.cz] [http://www.pontex.cz]
Bezová 1658
147 14 Praha 4
Tel: +420 244 062 238
Fax: +420 244 461 038
[-- Attachment #2: SecChar.mkiv --]
[-- Type: application/octet-stream, Size: 185 bytes --]
\definestructureconversionset[Num2Char][numbers,Characters][numbers]
\setuphead[chapter][sectionconversionset=Num2Char]
\starttext
\chapter{Cha}
\section{Sec}
\stoptext
[-- Attachment #3: SecChar.pdf --]
[-- Type: application/pdf, Size: 5419 bytes --]
[-- Attachment #4: Type: text/plain, Size: 485 bytes --]
___________________________________________________________________________________
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Characters instead numbers in headings
2011-07-19 10:02 Characters instead numbers in headings Procházka Lukáš Ing. - Pontex s. r. o.
@ 2011-07-19 12:19 ` Wolfgang Schuster
2011-07-19 12:27 ` Procházka Lukáš Ing. - Pontex s. r. o.
0 siblings, 1 reply; 5+ messages in thread
From: Wolfgang Schuster @ 2011-07-19 12:19 UTC (permalink / raw)
To: mailing list for ConTeXt users
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Characters instead numbers in headings
2011-07-19 12:19 ` Wolfgang Schuster
@ 2011-07-19 12:27 ` Procházka Lukáš Ing. - Pontex s. r. o.
2011-07-19 12:33 ` Wolfgang Schuster
0 siblings, 1 reply; 5+ messages in thread
From: Procházka Lukáš Ing. - Pontex s. r. o. @ 2011-07-19 12:27 UTC (permalink / raw)
To: mailing list for ConTeXt users
Hello,
have you tried it?
On Tue, 19 Jul 2011 14:19:52 +0200, Wolfgang Schuster <schuster.wolfgang@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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Characters instead numbers in headings
2011-07-19 12:27 ` Procházka Lukáš Ing. - Pontex s. r. o.
@ 2011-07-19 12:33 ` Wolfgang Schuster
2011-07-19 12:42 ` Procházka Lukáš Ing. - Pontex s. r. o.
0 siblings, 1 reply; 5+ messages in thread
From: Wolfgang Schuster @ 2011-07-19 12:33 UTC (permalink / raw)
To: mailing list for ConTeXt users
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Characters instead numbers in headings
2011-07-19 12:33 ` Wolfgang Schuster
@ 2011-07-19 12:42 ` Procházka Lukáš Ing. - Pontex s. r. o.
0 siblings, 0 replies; 5+ messages in thread
From: Procházka Lukáš Ing. - Pontex s. r. o. @ 2011-07-19 12:42 UTC (permalink / raw)
To: mailing list for ConTeXt users
Hello,
On Tue, 19 Jul 2011 14:33:05 +0200, Wolfgang Schuster <schuster.wolfgang@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:LPr@pontex.cz]
Pontex s. r. o. [mailto:pontex@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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2011-07-19 12:42 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-07-19 10:02 Characters instead numbers in headings Procházka Lukáš Ing. - Pontex s. r. o.
2011-07-19 12:19 ` Wolfgang Schuster
2011-07-19 12:27 ` Procházka Lukáš Ing. - Pontex s. r. o.
2011-07-19 12:33 ` Wolfgang Schuster
2011-07-19 12:42 ` Procházka Lukáš Ing. - Pontex s. r. o.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).