From: Aditya Mahajan <adityam@umich.edu>
Subject: Re: A couple of questions on heads.
Date: Wed, 3 Jan 2007 12:32:30 -0500 (EST) [thread overview]
Message-ID: <alpine.WNT.0.81.0701031230390.3452@nqvgln> (raw)
In-Reply-To: <e65d34bf0701030828g13ab96dg8d7a31c26f10ab32@mail.gmail.com>
On Wed, 3 Jan 2007, Elliot Clifton wrote:
> >
> > Message: 8
> > Date: Tue, 2 Jan 2007 20:20:31 -0500 (EST)
> > From: Aditya Mahajan <adityam@umich.edu>
> > Subject: Re: [NTG-context] A couple of questions on heads.
> > To: mailing list for ConTeXt users <ntg-context@ntg.nl>
> > Message-ID: <alpine.WNT.0.81.0701021955230.1764@nqvgln>
> > Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed
> >
> > On Tue, 2 Jan 2007, Elliot Clifton wrote:
> >
> > > I'm typesetting a journal. I use \chapter to divide it into articles.
> > > I've defined my own heads, and I need to redefine \appendix, however
> > > despite reading the manual I cant get them behave as I want.
> > >
> > > Problems:
> > >
> > > 1. Each article may have appendices. I've tried defining my own
> > > 'appendix' head to replace the default one, but I can't decide which
> > > to use, should I derive from chapter or section? The problem with
> > > using section as the base, is that the count from my previous sections
> > > is inherited. I don't want numbers of the form 1.1, 1.2, etc, either.
> > > I want to number my appendices independently, starting from 1 without
> > > the chapter number. Also, I would like to use roman numerals.
> >
> > You can separate the appendices by a section block. For example
> >
> > % appendix is already a section block. By default, a section
> > % block starts a new page, you may not want that in a journal
> > \setupsectionblock[appendix][page=]
> >
> >
> > % Change the conversion for sections in appendices.
> > \setupsection
> > [section-3]
> > [appendixconversion=Romannumerals]
> >
> >
> > \starttext
> >
> > \section{Test}
> >
> > \startappendices
> > \section{An Appendix}
> > \stopappendices
> >
> > \stoptext
> >
> >
> >
> > HTH,
> >
>
> Yep. Thanks.
>
> I am now using section blocks to create meta-sections, so that inside
> the body-matter sections have no numbers whilst the appendices do. It
> works great.
>
> One minor problem though. I need the appendices to have labels, like:
> Appendix I, etc..
>
> \setuplabeltext[appendix=Appendix] does not work in this situation
> what is the correct way of doing it?
You also need to tell context to use the labeltext, by saying
\setuphead
[section]
[appendixlabel=appendix,
placehead=yes]
% Make sure that \setuplabeltext[section=] is empty.
% By default it is empty.
Aditya
next prev parent reply other threads:[~2007-01-03 17:32 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-01-03 16:28 Elliot Clifton
2007-01-03 17:32 ` Aditya Mahajan [this message]
-- strict thread matches above, loose matches on Subject: below --
2007-01-03 21:09 Elliot Clifton
2007-01-02 23:18 Elliot Clifton
2007-01-03 1:20 ` Aditya Mahajan
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=alpine.WNT.0.81.0701031230390.3452@nqvgln \
--to=adityam@umich.edu \
--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).