ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: AlterEgo Qasars <quasar@econ.muni.cz>
Subject: separator in \setuplist
Date: Wed, 2 Oct 2002 07:42:02 +0200	[thread overview]
Message-ID: <20021002054202.GA18408@merkur.econ.muni.cz> (raw)

Good morning.

I have improved a lot using advices given by Mr. Hagen. But one new 
problem have appeared. I have set the heads like this:

\setuphead[chapter]
        [textstyle={\ss\bfc\setupinterlinespace[line=24pt]\white}, 
page=no,
        numberstyle={\ss\bfe},
        before={\sazbakapitol
                \page[right]
                \global\advance\cislokapitoly by 1\relax
                \cisloprikladu=0\relax
                \cislocviceni=0\relax
         \expandafter\pozadikapitoly\expandafter{\the\cislokapitoly}},
        after={\zakladnisazba},
        command=\MyChapter]
\setuphead[title]
        [textstyle={\ss\bfc\setupinterlinespace[line=24pt]\white},
        page=right, incrementnumber=list, number=no,
        numberstyle={\ss\bfe},
        before={\sazbakapitol\zakladnipozadi},
        after={\celoplosnasazba},
        command=\MyTitle]

Then I have set up the lists like this:

\setuplist[chapter]
        [alternative=c, separator=.,
        style={\ss\bf}, interaction=text,
        %numbercommand=\CisloObsahu,
        pagecommand=\StranaObsahu,
        margin=0pt, width=\sirkakapitobsahu,
        distance=\sirkakapitobsahumezery,
        before=, after={\blank[4.5pt]}]
\setuplist[title]
        [alternative=c, separator=,
        style={\ss\bf}, interaction=text,
        %numbercommand=,
        pagecommand=\StranaObsahu,
        margin=0pt, width=\sirkakapitobsahu,
        distance=\sirkakapitobsahumezery,
        before=, after={\blank[4.5pt]}]

What's the problem: I must have a dot after a chapter number in the 
content. So I've set "separator=." in the \setuplist[chapter]. But the 
dots appears even in non-numbered title in the list of content although I 
have set "separator=" there. Moreover, it does not react---I can set 
"separator=anything" in the \setuplist[title], but the separator from 
\setuplist[chapter] is always used. What's wrong? How can I improve it? Is 
it my stupidnes, or a bug in ConTeXt?

Many thanks and greetings to you all.
Michal Kvasnicka


             reply	other threads:[~2002-10-02  5:42 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-10-02  5:42 AlterEgo Qasars [this message]
2002-10-02 18:25 ` 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=20021002054202.GA18408@merkur.econ.muni.cz \
    --to=quasar@econ.muni.cz \
    /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).