ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* separator in \setuplist
@ 2002-10-02  5:42 AlterEgo Qasars
  2002-10-02 18:25 ` Hans Hagen
  0 siblings, 1 reply; 2+ messages in thread
From: AlterEgo Qasars @ 2002-10-02  5:42 UTC (permalink / 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


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: separator in \setuplist
  2002-10-02  5:42 separator in \setuplist AlterEgo Qasars
@ 2002-10-02 18:25 ` Hans Hagen
  0 siblings, 0 replies; 2+ messages in thread
From: Hans Hagen @ 2002-10-02 18:25 UTC (permalink / raw)
  Cc: konference o ConTeXtu

At 07:42 AM 10/2/2002 +0200, AlterEgo Qasars wrote:
>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:

so, ... a minimal example please -)

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
-------------------------------------------------------------------------
                        information: http://www.pragma-ade.com/roadmap.pdf
                     documentation: http://www.pragma-ade.com/showcase.pdf
-------------------------------------------------------------------------


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2002-10-02 18:25 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-10-02  5:42 separator in \setuplist AlterEgo Qasars
2002-10-02 18:25 ` Hans Hagen

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).