ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: "Uwe Koloska" <uwe.koloska@mailbox.tu-dresden.de>
Subject: Re: a few more questions
Date: Thu, 15 Feb 2001 02:49:41 +0100	[thread overview]
Message-ID: <01021502494100.04579@bilbo> (raw)
In-Reply-To: <200102141835.TAA15053@anxur.fi.muni.cz>

Hello Han,

Tatatata!

Here I can show, that I have learned something from all the patient answers 
Hans has written for my questions:

You wrote on Mittwoch, 14. Februar 2001 19:35:
>Hi all,
>
>can you please help me with a few more questions:
>
>1) how to format the chapter title as follows:
>
>                    Chapter I
>            <title of chapter 1 here>

\setuplabeltext[chapter=Chapter~]
\setuphead[chapter][alternative=middle]

>2) how to change the way of numbering headings (like A, B, C,... instead
> of 1, 2, 3, ...

\setupsection[section-2][bodypart][conversion=Character]

And all together in a simple sample document:

\setuplabeltext[chapter=Chapter~,appendix=Appendix~]

\setuphead[chapter]
  [alternative=middle,
   bodypartlabel=chapter,
   appendixlabel=appendix,
   numberstyle=small,
   textstyle=boldslanted]

\setupsection
  [section-2]
  [bodypart]
  [conversion=Character, % Watch the capital
  previousnumber=no]

\setupsection
  [section-2]
  [appendix]
  [conversion=character,
  previousnumber=no]

\starttext

\completecontent

\startbodymatter
\chapter{A test for Han}
\input tufte

\chapter{Now for Hofstadter}
\input hofstadter
\stopbodymatter

\startappendices
\chapter{This is just Knuth}
\input knuth
\stopappendices

\stoptext

BTW: it's all in the beta manual!

Yours
Uwe

-- 
mailto:koloska@rcs.urz.tu-dresden.de
http://rcswww.urz.tu-dresden.de/~koloska/
--                                    --
right now the web page is in german only
but this will change as time goes by ;-)


  parent reply	other threads:[~2001-02-15  1:49 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-02-14 18:35 Han The Thanh
2001-02-14 23:57 ` James Ramsey
2001-02-15  1:49 ` Uwe Koloska [this message]
2001-02-20 18:32   ` Han The Thanh

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=01021502494100.04579@bilbo \
    --to=uwe.koloska@mailbox.tu-dresden.de \
    /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).