Re: [NTG-context] Re: My first week with ConTeXt

2003-09-10 Thread Andreas Gschwendtner
On Wednesday, Sep 10, 2003, at 14:35 Europe/Berlin, Patrick Gundlach 
wrote:

could you provide some examples of what kind of documents you would
like to see and what especially you would like to learn?
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)
- Different examples of formatting the table of contents (e.g. 
indenting sections and sub(...)sections, setting chapters boldface sans 
serif...)
- How to format the index (divided into sections preceeded by the 
appropriate uppercase letter, pagenumbers aligned right, \dotfill 
between word and pagenumber)
- How to format the bibliography (e. g. vertical space between the 
entrys)
- Define different page styles for the first page of each chapter (e. 
g. no headers) and the following pages

Not that I don't want to read manuals and experiment myself -- it just 
would be a big time saver to see how other people do things like 
that... As always, time is short if you are trying to finish a project 
-- at the moment I spend more time learning than writing text. Thanks 
for any support!

Andreas



___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Re: My first week with ConTeXt

2003-09-10 Thread Holger Schöner
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
[EMAIL PROTECTED]   http://www.cs.tu-berlin.de/~hfsch/
Rooms FR2525Tel: +49-30-314-73115, Fax: -73121
Office FR 2-1   Franklinstr. 28/29, D-10587 Berlin, Germany



___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context