ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: "Holger Schöner" <hfsch@cs.tu-berlin.de>
Subject: Re: Re: My first week with ConTeXt
Date: Wed, 10 Sep 2003 17:33:14 +0200 (CEST)	[thread overview]
Message-ID: <Pine.LNX.4.44.0309101651320.3925-100000@dunedain.cs.tu-berlin.de> (raw)
In-Reply-To: <6AB2438C-E39B-11D7-93F9-000393073D48@gmx.com>

Hi Andreas,

On Wed, 10 Sep 2003, Andreas Gschwendtner wrote:
> Basically I want to typeset scientific documents in the form of a book
> -- nothing to fancy, nothing interactive. As a starting point, I would
> be very happy to have all the functionality back that I am used to with
> LaTeX and KOMA-Script:
>
> - Placing figures and captions (see earlier questions in this thread)

Unfortunately I cannot help you there (more than already done ...)

> - Different examples of formatting the table of contents (e.g.
> indenting sections and sub(...)sections, setting chapters boldface sans
> serif...)

In "ConTeXt the manual" (cont-enp.pdf) there are some examples (p. 149ff.).
To achieve formatting dependent on heading level, you can setup their lists
separately, eg. \setuplist[chapter][...] \setuplist[section][...]. These
setups should be kept also in the combined list (content). This way you
could provide different indenting space (margin and distance) for different
sublevels. The key "style" is understood as well
(\setuplist[chapter][style=bold]), and in case the available style do not
suffice, you can provide commands:
	\setuplist[chapter][style={\ss\bf}]
to get sans serif boldface.

> - How to format the index (divided into sections preceeded by the
> appropriate uppercase letter, pagenumbers aligned right, "\dotfill"
> between word and pagenumber)

I am wondering about that (the uppercase letter) as well.

You can right-align the numbers by typing
	\setupregister[index][distance={5pt plus 1fill}]
unfortunately this does not give you the opportunity to fill the space with
dots.

> - How to format the bibliography (e. g. vertical space between the
> entrys)

As far as I remember, the bibliography module uses descriptions to format
the entries; ie. it should be possible to use \setupdescriptions[...][...]
to tune spacing (eg. the keys "before", "after", "inbetween"). I remeber
having read about it in the bibliography manual, there should be more in
there.

> - Define different page styles for the first page of each chapter (e.
> g. no headers) and the following pages

You use eg.
	\setupheadertexts[text][][section][chapter][]
	\setupheader[state=normal,style={\ss},leftwidth=10cm,rightwidth=10cm]
for general setup, and for the chapter pages
	\setuphead[chapter][header=high,page=right]
instead of "high" you can also use "empty" (first removes header
completely, second leaves the space, although it is empty). You can also
define you own special header/footer texts:
	\definetext[chapter][footer][pagenumber]
	\setuphead[chapter][header=high,footer=chapter,page=right]
if you need a special footer on chapter pages. This is all in the mentioned
manual (p. 80f.).

But I know how hard it is to keep in memory where everything is written (or
at least, what is written ...) ;-)

-- 
Holger F. Schoener	TU Berlin; Dept. IV: EE and Computer Science
hfsch@cs.tu-berlin.de	http://www.cs.tu-berlin.de/~hfsch/
Rooms FR2525		Tel: +49-30-314-73115, Fax: -73121
Office FR 2-1		Franklinstr. 28/29, D-10587 Berlin, Germany

  reply	other threads:[~2003-09-10 15:33 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-09-10  8:25 Andreas Gschwendtner
2003-09-10  8:40 ` Mari Voipio
2003-09-10  9:02   ` Patrick Gundlach
2003-09-10 10:21   ` Andreas Gschwendtner
2003-09-10 14:18     ` Willi Egger
2003-09-11  7:15       ` Andreas Gschwendtner
2003-09-10 12:35 ` Patrick Gundlach
2003-09-10 14:31   ` Andreas Gschwendtner
2003-09-10 15:33     ` Holger Schöner [this message]
2003-09-11  7:22       ` Andreas Gschwendtner
2003-09-10 18:15     ` Henning Hraban Ramm
2003-09-10 18:06 ` Henning Hraban Ramm
2003-09-11  7:26   ` Andreas Gschwendtner
2003-09-12 15:50     ` Henning Hraban Ramm

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=Pine.LNX.4.44.0309101651320.3925-100000@dunedain.cs.tu-berlin.de \
    --to=hfsch@cs.tu-berlin.de \
    --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).