From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/13171 Path: main.gmane.org!not-for-mail From: =?ISO-8859-1?Q?Holger_Sch=F6ner?= Newsgroups: gmane.comp.tex.context Subject: Re: Re: My first week with ConTeXt Date: Wed, 10 Sep 2003 17:33:14 +0200 (CEST) Sender: ntg-context-admin@ntg.nl Message-ID: References: <6AB2438C-E39B-11D7-93F9-000393073D48@gmx.com> Reply-To: ntg-context@ntg.nl NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Trace: sea.gmane.org 1063208603 23437 80.91.224.253 (10 Sep 2003 15:43:23 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 10 Sep 2003 15:43:23 +0000 (UTC) Original-X-From: ntg-context-admin@ntg.nl Wed Sep 10 17:43:22 2003 Return-path: Original-Received: from ref.vet.uu.nl ([131.211.172.13] helo=ref.ntg.nl) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 19x77p-0000tq-00 for ; Wed, 10 Sep 2003 17:43:21 +0200 Original-Received: from ref.ntg.nl (localhost.localdomain [127.0.0.1]) by ref.ntg.nl (Postfix) with ESMTP id 31C5710BA6; Wed, 10 Sep 2003 17:43:18 +0200 (MEST) Original-Received: from mail.cs.tu-berlin.de (mail.cs.tu-berlin.de [130.149.17.13]) by ref.ntg.nl (Postfix) with ESMTP id 0402710B91 for ; Wed, 10 Sep 2003 17:37:57 +0200 (MEST) Original-Received: from dunedain.cs.tu-berlin.de (dunedain.cs.tu-berlin.de [130.149.19.37]) by mail.cs.tu-berlin.de (8.9.3/8.9.3) with ESMTP id RAA01971 for ; Wed, 10 Sep 2003 17:35:01 +0200 (MET DST) Original-Received: from localhost (localhost [127.0.0.1]) by dunedain.cs.tu-berlin.de (Postfix) with ESMTP id E6ECF233C5; Wed, 10 Sep 2003 17:33:14 +0200 (CEST) X-X-Sender: numenor@dunedain.cs.tu-berlin.de Original-To: ntg-context@ntg.nl In-Reply-To: <6AB2438C-E39B-11D7-93F9-000393073D48@gmx.com> Errors-To: ntg-context-admin@ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.0.13 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: Xref: main.gmane.org gmane.comp.tex.context:13171 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:13171 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