ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Hans Hagen <pragma@wxs.nl>
Cc: ntg-context@ntg.nl
Subject: Re: Chapter headers and styles
Date: Mon, 25 Feb 2002 13:14:04 +0100	[thread overview]
Message-ID: <5.1.0.14.1.20020225130644.02ddeae8@server-1> (raw)
In-Reply-To: <3C7A20C1.457A2537@kerio.com>

At 12:32 PM 2/25/2002 +0100, you wrote:
>Hello,
>
>I have several problems with customizing the layout of chapter headers.
>
>1. I make an index with command \completeindex, which generates numbered
>\chapter. I want it to be a unnumbered \title. How to do this? I saw a
>hardcoded \systemsuppliedchapter in core-reg.tex

\startappendices
   \completeindex
\stopappendices

or

\startbackmatter
   \completeindex
\stopbackmatter

or

\titel{Index}

\placeregister[index]

>2. I want \titles to appear in table of contents. Up to now,
>\completecontent worked fine for me.

only \chapter etc end up in tocs, and their numbers turn on and off 
depending on the sectionblock (frontmatter, maintext, appendices, 
backmatter); you can define a sectionhead yourself, turn off the number and 
add the associated list to the toc (is in manual)

>3. I want my chapter headers to appear as:
>
>Chapter 1 (small font)
>
>One of My Chapters (big font)
>
>--------------rule------------------
>
>The simplest quick solution
>
>\def\ChapterTitle#1#2{{\ssbfa #1}\crlf {\ssbfc #2} \crlf \hairline}
>\setuphead[chapter][command=\ChapterTitle]
>
>doesn't work. First, the \crlf is ignored. Second, the fonts are ignored

put a \vbox around it -> #1#2{\vbox{...}}

>and replaced by default values, or the values I specify in style= option
>of \setuphead.

style=\ss
textstyle=\bfa
numberstyle=\bfc

>4. I want Czech sorting in the index and Czech alphabet in indicators.
>Any support in ConTeXt/texutil for this? I achieved proper sorting by
>some hacks in texutil.pl, but that was an ugly solution.

if i'm right david antos made czech sorting rules, but i'm not sure if 
everything is already in the current context (i know i should know -) i 
shifted around so many mails and code that i have to have a close look

Hans

-------------------------------------------------------------------------
                                   Hans Hagen | PRAGMA ADE | pragma@wxs.nl
                       Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
  tel: +31 (0)38 477 53 69 | fax: +31 (0)38 477 53 74 | www.pragma-ade.com
-------------------------------------------------------------------------
                                   fall-back web server: 
www.pragma-pod.nl
-------------------------------------------------------------------------


  reply	other threads:[~2002-02-25 12:14 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-02-25 11:32 Jaroslav Snajdr
2002-02-25 12:14 ` Hans Hagen [this message]
2002-02-25 14:02   ` David Antos
2002-02-25 15:26     ` Hans Hagen
2002-02-25 14:46   ` John Culleton
2002-02-25 12:21 ` Berend de Boer
2002-02-25 13:15   ` Hans Hagen

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=5.1.0.14.1.20020225130644.02ddeae8@server-1 \
    --to=pragma@wxs.nl \
    --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).