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 via email to