* sectionnumber conversion
@ 2006-06-21 1:20 Idris Samawi Hamid
2006-06-28 3:29 ` sectionnumber conversion redux Idris Samawi Hamid
0 siblings, 1 reply; 6+ messages in thread
From: Idris Samawi Hamid @ 2006-06-21 1:20 UTC (permalink / raw)
Dear fellow gangsters,
Consider the following test file; partnumber=on. I would like partnumber
to be converted to capital roman numerals while the page numeral remains
as an Arabic numeral. Viz., instead of
1--1, 1--2 etc.
in the TOC and pagenumbers I would like
I--1, I--2 etc.
in the TOC and pagenumbers. Is there a command like
\setupsectionnumbering[conversion=Romannumerals]? Then I would say,
\setuppartnumbering[conversion=Romannumerals]
The test file is below.
Best
Idris
=======================part-test.tex==================
% output=pdf interface=en
\def\PartTitle#1{\noheaderandfooterlines
\vbox{\blank[force,7\bodyfontsize]
\switchtobodyfont[14.4pt]
\midaligned{\cgd #1}
}}
\setuphead[part][number=no,
ownnumber=yes,
style=\itd,
textcommand=\PartTitle,
placehead=yes]
\setupsection [section2]
[appendixconversion=Character, % Watch the capital
previousnumber=no]
%\setuppagenumbering[way=bytext,partnumber=no]
%\setupcombinedlist[content][partnumber=no]
\starttext
\startbodymatter
\placecontent
\part{I}{Body}
\chapter{The Body Stuff}
\stopbodymatter
\startappendices
\setupheadnumber[part][+]
\part{II}{Appendices}
\chapter{Appendix}
\stopappendices
\stoptext
======================================================
--
Professor Idris Samawi Hamid
Department of Philosophy
Colorado State University
Fort Collins, CO 80523
--
Using Opera's revolutionary e-mail client: http://www.opera.com/mail/
^ permalink raw reply [flat|nested] 6+ messages in thread
* sectionnumber conversion redux
2006-06-21 1:20 sectionnumber conversion Idris Samawi Hamid
@ 2006-06-28 3:29 ` Idris Samawi Hamid
2006-06-28 7:26 ` Taco Hoekwater
0 siblings, 1 reply; 6+ messages in thread
From: Idris Samawi Hamid @ 2006-06-28 3:29 UTC (permalink / raw)
I sent this a week ago, still awaiting help :-)
Idris
On Tue, 20 Jun 2006 19:20:58 -0600, Idris Samawi Hamid
<ishamid@colostate.edu> wrote:
Dear fellow gangsters,
Consider the following test file; partnumber=on. I would like partnumber
to be converted to capital roman numerals while the page numeral remains
as an Arabic numeral. Viz., instead of
1--1, 1--2 etc.
in the TOC and pagenumbers I would like
I--1, I--2 etc.
in the TOC and pagenumbers. Is there a command like
\setupsectionnumbering[conversion=Romannumerals]? Then I would say,
\setuppartnumbering[conversion=Romannumerals]
The test file is below.
Best
Idris
=======================part-test.tex==================
% output=pdf interface=en
\def\PartTitle#1{\noheaderandfooterlines
\vbox{\blank[force,7\bodyfontsize]
\switchtobodyfont[14.4pt]
\midaligned{\cgd #1}
}}
\setuphead[part][number=no,
ownnumber=yes,
style=\itd,
textcommand=\PartTitle,
placehead=yes]
\setupsection [section2]
[appendixconversion=Character, % Watch the capital
previousnumber=no]
%\setuppagenumbering[way=bytext,partnumber=no]
%\setupcombinedlist[content][partnumber=no]
\starttext
\startbodymatter
\placecontent
\part{I}{Body}
\chapter{The Body Stuff}
\stopbodymatter
\startappendices
\setupheadnumber[part][+]
\part{II}{Appendices}
\chapter{Appendix}
\stopappendices
\stoptext
======================================================
--
Professor Idris Samawi Hamid
Department of Philosophy
Colorado State University
Fort Collins, CO 80523
--
Using Opera's revolutionary e-mail client: http://www.opera.com/mail/
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: sectionnumber conversion redux
2006-06-28 3:29 ` sectionnumber conversion redux Idris Samawi Hamid
@ 2006-06-28 7:26 ` Taco Hoekwater
2006-06-28 9:18 ` Taco Hoekwater
0 siblings, 1 reply; 6+ messages in thread
From: Taco Hoekwater @ 2006-06-28 7:26 UTC (permalink / raw)
Idris Samawi Hamid wrote:
> I sent this a week ago, still awaiting help :-)
Sorry, missed it. This fixes the page numbers in the headers
\setupsection [section-1][conversion=Romannumerals]
I do not (yet) know how to fix the TOC.
> Idris
>
> On Tue, 20 Jun 2006 19:20:58 -0600, Idris Samawi Hamid
> <ishamid@colostate.edu> wrote:
>
> Dear fellow gangsters,
>
> Consider the following test file; partnumber=on. I would like partnumber
> to be converted to capital roman numerals while the page numeral remains
> as an Arabic numeral. Viz., instead of
>
> 1--1, 1--2 etc.
>
> in the TOC and pagenumbers I would like
>
> I--1, I--2 etc.
>
> in the TOC and pagenumbers. Is there a command like
>
> \setupsectionnumbering[conversion=Romannumerals]? Then I would say,
>
> \setuppartnumbering[conversion=Romannumerals]
>
> The test file is below.
>
> Best
> Idris
>
> =======================part-test.tex==================
> % output=pdf interface=en
>
> \def\PartTitle#1{\noheaderandfooterlines
> \vbox{\blank[force,7\bodyfontsize]
> \switchtobodyfont[14.4pt]
> \midaligned{\cgd #1}
> }}
>
> \setuphead[part][number=no,
> ownnumber=yes,
> style=\itd,
> textcommand=\PartTitle,
> placehead=yes]
>
> \setupsection [section2]
> [appendixconversion=Character, % Watch the capital
> previousnumber=no]
>
> %\setuppagenumbering[way=bytext,partnumber=no]
> %\setupcombinedlist[content][partnumber=no]
>
> \starttext
>
> \startbodymatter
>
> \placecontent
>
> \part{I}{Body}
>
> \chapter{The Body Stuff}
>
> \stopbodymatter
>
> \startappendices
>
> \setupheadnumber[part][+]
>
> \part{II}{Appendices}
>
> \chapter{Appendix}
>
> \stopappendices
>
> \stoptext
>
> ======================================================
>
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: sectionnumber conversion redux
2006-06-28 7:26 ` Taco Hoekwater
@ 2006-06-28 9:18 ` Taco Hoekwater
2006-06-28 19:08 ` Idris Samawi Hamid
0 siblings, 1 reply; 6+ messages in thread
From: Taco Hoekwater @ 2006-06-28 9:18 UTC (permalink / raw)
Cc: mailing list for ConTeXt users
Taco Hoekwater wrote:
> Idris Samawi Hamid wrote:
>
>> I sent this a week ago, still awaiting help :-)
>
>
> I do not (yet) know how to fix the TOC.
It looks to me like you cannot get it right inside the TOC
at the moment. :-(
Taco
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: sectionnumber conversion redux
2006-06-28 9:18 ` Taco Hoekwater
@ 2006-06-28 19:08 ` Idris Samawi Hamid
2006-06-28 21:15 ` Hans Hagen
0 siblings, 1 reply; 6+ messages in thread
From: Idris Samawi Hamid @ 2006-06-28 19:08 UTC (permalink / raw)
Hi Taco,
Thnx for the help :-)
On Wed, 28 Jun 2006 03:18:56 -0600, Taco Hoekwater <taco@elvenkind.com>
wrote:
>
>
> Taco Hoekwater wrote:
>> Idris Samawi Hamid wrote:
>>
>>> I sent this a week ago, still awaiting help :-)
>>
>>
>> I do not (yet) know how to fix the TOC.
>
> It looks to me like you cannot get it right inside the TOC
> at the moment. :-(
Hans, can this be fixed?
Best
Idris
--
Professor Idris Samawi Hamid
Department of Philosophy
Colorado State University
Fort Collins, CO 80523
--
Using Opera's revolutionary e-mail client: http://www.opera.com/mail/
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: sectionnumber conversion redux
2006-06-28 19:08 ` Idris Samawi Hamid
@ 2006-06-28 21:15 ` Hans Hagen
0 siblings, 0 replies; 6+ messages in thread
From: Hans Hagen @ 2006-06-28 21:15 UTC (permalink / raw)
Idris Samawi Hamid wrote:
> Hi Taco,
>
> Thnx for the help :-)
>
> On Wed, 28 Jun 2006 03:18:56 -0600, Taco Hoekwater <taco@elvenkind.com>
> wrote:
>
>
>> Taco Hoekwater wrote:
>>
>>> Idris Samawi Hamid wrote:
>>>
>>>
>>>> I sent this a week ago, still awaiting help :-)
>>>>
>>> I do not (yet) know how to fix the TOC.
>>>
>> It looks to me like you cannot get it right inside the TOC
>> at the moment. :-(
>>
>
> Hans, can this be fixed?
>
maybe some time ... when i overhaul the numbering (later this year as
part of a major overhaul)
Hans
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2006-06-28 21:15 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-06-21 1:20 sectionnumber conversion Idris Samawi Hamid
2006-06-28 3:29 ` sectionnumber conversion redux Idris Samawi Hamid
2006-06-28 7:26 ` Taco Hoekwater
2006-06-28 9:18 ` Taco Hoekwater
2006-06-28 19:08 ` Idris Samawi Hamid
2006-06-28 21:15 ` Hans Hagen
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).