From: Taco Hoekwater <taco@elvenkind.com>
Subject: Re: sectionnumber conversion redux
Date: Wed, 28 Jun 2006 09:26:22 +0200 [thread overview]
Message-ID: <44A22F1E.3060402@elvenkind.com> (raw)
In-Reply-To: <op.tbt6m7cgnx1yh1@walayah-main>
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
>
> ======================================================
>
next prev parent reply other threads:[~2006-06-28 7:26 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
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 [this message]
2006-06-28 9:18 ` Taco Hoekwater
2006-06-28 19:08 ` Idris Samawi Hamid
2006-06-28 21:15 ` Hans Hagen
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=44A22F1E.3060402@elvenkind.com \
--to=taco@elvenkind.com \
--cc=ntg-context@ntg.nl \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).