[NTG-context] Table of contents of unnumbered titles

2023-09-09 Thread Jim
Hi,

I am creating a document which is divided with the unnumbered levels
(\title, \subject, ...).

I would like a table of contents showing the names and page numbers,
something like

Blah blah blah2
Blah blah 4
...

However, notwithstanding what I see in
https://wiki.contextgarden.net/index.php?title=Titles=toggle_view_desktop#Unnumbered_titles_in_table_of_contents
I can't get this to happen with unnumbered divisions.

The above wiki reference says "the following might do that trick" but I
think "might" is the keyword, since even the wiki doesn't show the "No
number" entry in the \completecontent.

I find it hard to imagine that I am the only Context user who wants to do
this.  Can anyone point me in the direction of a working example?

And am I misinterpreting the wiki, or is the wiki page broken?

Thanks.

   Jim
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / https://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : https://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : https://contextgarden.net
___


Re: [NTG-context] Table of contents not appearing.

2023-04-21 Thread Fabrice Couvreur via ntg-context
An extra parenthesis in a section title seems to be the problem but I'm not
sure. I compiled the file line by line and it works now.
Thanks
Fabrice

Le ven. 21 avr. 2023 à 14:37, Hans Hagen via ntg-context 
a écrit :

> On 4/21/2023 5:05 PM, Fabrice Couvreur via ntg-context wrote:
> > It's chapter_5 that's the problem, but how do you know what's causing
> > the table of contents not to appear ?
> depends on the error : the toc comes from the tuc file so if that one is
> not made ...
>
> -
>Hans Hagen | PRAGMA ADE
>Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
> tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl
> -
>
>
> ___
> If your question is of interest to others as well, please add an entry to
> the Wiki!
>
> maillist : ntg-context@ntg.nl /
> https://www.ntg.nl/mailman/listinfo/ntg-context
> webpage  : https://www.pragma-ade.nl / http://context.aanhet.net
> archive  : https://bitbucket.org/phg/context-mirror/commits/
> wiki : https://contextgarden.net
>
> ___
>
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / https://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : https://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : https://contextgarden.net
___


Re: [NTG-context] Table of contents not appearing.

2023-04-21 Thread Hans Hagen via ntg-context

On 4/21/2023 5:05 PM, Fabrice Couvreur via ntg-context wrote:
It's chapter_5 that's the problem, but how do you know what's causing 
the table of contents not to appear ?
depends on the error : the toc comes from the tuc file so if that one is 
not made ...


-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
   tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl
-

___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / https://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : https://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : https://contextgarden.net
___


Re: [NTG-context] Table of contents not appearing.

2023-04-21 Thread Fabrice Couvreur via ntg-context
It's chapter_5 that's the problem, but how do you know what's causing the
table of contents not to appear ?

Le ven. 21 avr. 2023 à 14:42, Fabrice Couvreur 
a écrit :

> Hi Hans,
> Alright, I'll compile by integrating one component at a time to figure out
> which one is causing the problem.
> Thanks.
> Fabrice
>
> Le jeu. 20 avr. 2023 à 15:52, Hans Hagen via ntg-context <
> ntg-context@ntg.nl> a écrit :
>
>> On 4/20/2023 6:59 PM, Fabrice Couvreur via ntg-context wrote:
>> > Hi,
>> > I don't see why the table of contents does not appear. On the other
>> > hand, the 12 chapters are present.
>>
>> \startproduct[terminale-manual]
>>
>>  \startfrontmatter
>>  \starttitle[title=Table des matières]
>>  \placelist
>> [chapter,section,subsection,subsubsection]
>> [criterium=all,
>> interaction=all,
>>  alternative=c]
>>  \stoptitle
>>  \stopfrontmatter
>>
>>  \startbodymatter
>>  \chapter{xxx}
>>  \stopbodymatter
>>
>> \stopproduct
>>
>> shows a table of contents so it must be something in your components
>>
>> > Fabrice
>> >
>> >
>> > \startproduct[terminale-manual]
>> >
>> >\project[terminale-environment]
>> >\startfrontmatter
>> >
>> >  \setuppagenumbering
>> > [location=]
>> >
>> >  \definefont
>> >[ChapterTextStyle]
>> >[SansBold*default sa 2.2]
>> >
>> >  \setuphead
>> >[title]
>> >[style=ChapterTextStyle,
>> > align=flushright]
>> >
>> >  \setuplist
>> > [chapter]
>> > [style=bold,
>> >  alternative=b,
>> >  width=1em]
>> >
>> >  \setuplist
>> > [section]
>> > [margin=1em,
>> >  width=1.75em]
>> >
>> >  \setuplist
>> > [subsection]
>> > [margin=2.75em,
>> >  width=2.25em,
>> > distance=\spaceamount]
>> >
>> >
>> >  \starttitle[title=Table des matières]
>> >
>> >   \placelist
>> > [chapter,section,subsection,subsubsection]
>> > [criterium=all,
>> > interaction=all,
>> >  alternative=c]
>> >
>> >\stoptitle
>> >
>> >  \stopfrontmatter
>> >
>> >  \startbodymatter
>> >\component[chapitre_1]
>> >\component[chapitre_2]
>> >\component[chapitre_3]
>> >\component[chapitre_4]
>> >\component[chapitre_5]
>> >\component[chapitre_6]
>> >\component[chapitre_7]
>> >\component[chapitre_8]
>> >\component[chapitre_9]
>> >\component[chapitre_10]
>> >\component[chapitre_11]
>> >\component[chapitre_12]
>> >  \stopbodymatter
>> >
>> > \stopproduct
>> >
>> >
>> >
>> ___
>> > If your question is of interest to others as well, please add an entry
>> to the Wiki!
>> >
>> > maillist : ntg-context@ntg.nl /
>> https://www.ntg.nl/mailman/listinfo/ntg-context
>> > webpage  : https://www.pragma-ade.nl / http://context.aanhet.net
>> > archive  : https://bitbucket.org/phg/context-mirror/commits/
>> > wiki : https://contextgarden.net
>> >
>> ___
>>
>> --
>>
>> -
>>Hans Hagen | PRAGMA ADE
>>Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
>> tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl
>> -
>>
>>
>> ___
>> If your question is of interest to others as well, please add an entry to
>> the Wiki!
>>
>> maillist : ntg-context@ntg.nl /
>> https://www.ntg.nl/mailman/listinfo/ntg-context
>> webpage  : https://www.pragma-ade.nl / http://context.aanhet.net
>> archive  : https://bitbucket.org/phg/context-mirror/commits/
>> wiki : https://contextgarden.net
>>
>> ___
>>
>
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / https://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : https://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : https://contextgarden.net
___


Re: [NTG-context] Table of contents not appearing.

2023-04-21 Thread Fabrice Couvreur via ntg-context
Hi Hans,
Alright, I'll compile by integrating one component at a time to figure out
which one is causing the problem.
Thanks.
Fabrice

Le jeu. 20 avr. 2023 à 15:52, Hans Hagen via ntg-context 
a écrit :

> On 4/20/2023 6:59 PM, Fabrice Couvreur via ntg-context wrote:
> > Hi,
> > I don't see why the table of contents does not appear. On the other
> > hand, the 12 chapters are present.
>
> \startproduct[terminale-manual]
>
>  \startfrontmatter
>  \starttitle[title=Table des matières]
>  \placelist
> [chapter,section,subsection,subsubsection]
> [criterium=all,
> interaction=all,
>  alternative=c]
>  \stoptitle
>  \stopfrontmatter
>
>  \startbodymatter
>  \chapter{xxx}
>  \stopbodymatter
>
> \stopproduct
>
> shows a table of contents so it must be something in your components
>
> > Fabrice
> >
> >
> > \startproduct[terminale-manual]
> >
> >\project[terminale-environment]
> >\startfrontmatter
> >
> >  \setuppagenumbering
> > [location=]
> >
> >  \definefont
> >[ChapterTextStyle]
> >[SansBold*default sa 2.2]
> >
> >  \setuphead
> >[title]
> >[style=ChapterTextStyle,
> > align=flushright]
> >
> >  \setuplist
> > [chapter]
> > [style=bold,
> >  alternative=b,
> >  width=1em]
> >
> >  \setuplist
> > [section]
> > [margin=1em,
> >  width=1.75em]
> >
> >  \setuplist
> > [subsection]
> > [margin=2.75em,
> >  width=2.25em,
> > distance=\spaceamount]
> >
> >
> >  \starttitle[title=Table des matières]
> >
> >   \placelist
> > [chapter,section,subsection,subsubsection]
> > [criterium=all,
> > interaction=all,
> >  alternative=c]
> >
> >\stoptitle
> >
> >  \stopfrontmatter
> >
> >  \startbodymatter
> >\component[chapitre_1]
> >\component[chapitre_2]
> >\component[chapitre_3]
> >\component[chapitre_4]
> >\component[chapitre_5]
> >\component[chapitre_6]
> >\component[chapitre_7]
> >\component[chapitre_8]
> >\component[chapitre_9]
> >\component[chapitre_10]
> >\component[chapitre_11]
> >\component[chapitre_12]
> >  \stopbodymatter
> >
> > \stopproduct
> >
> >
> >
> ___
> > If your question is of interest to others as well, please add an entry
> to the Wiki!
> >
> > maillist : ntg-context@ntg.nl /
> https://www.ntg.nl/mailman/listinfo/ntg-context
> > webpage  : https://www.pragma-ade.nl / http://context.aanhet.net
> > archive  : https://bitbucket.org/phg/context-mirror/commits/
> > wiki : https://contextgarden.net
> >
> ___
>
> --
>
> -
>Hans Hagen | PRAGMA ADE
>Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
> tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl
> -
>
>
> ___
> If your question is of interest to others as well, please add an entry to
> the Wiki!
>
> maillist : ntg-context@ntg.nl /
> https://www.ntg.nl/mailman/listinfo/ntg-context
> webpage  : https://www.pragma-ade.nl / http://context.aanhet.net
> archive  : https://bitbucket.org/phg/context-mirror/commits/
> wiki : https://contextgarden.net
>
> ___
>
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / https://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : https://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : https://contextgarden.net
___


Re: [NTG-context] Table of contents not appearing.

2023-04-20 Thread Hans Hagen via ntg-context

On 4/20/2023 6:59 PM, Fabrice Couvreur via ntg-context wrote:

Hi,
I don't see why the table of contents does not appear. On the other 
hand, the 12 chapters are present.


\startproduct[terminale-manual]

\startfrontmatter
\starttitle[title=Table des matières]
\placelist
   [chapter,section,subsection,subsubsection]
   [criterium=all,
   interaction=all,
alternative=c]
\stoptitle
\stopfrontmatter

\startbodymatter
\chapter{xxx}
\stopbodymatter

\stopproduct

shows a table of contents so it must be something in your components


Fabrice


\startproduct[terminale-manual]

   \project[terminale-environment]
   \startfrontmatter

     \setuppagenumbering
        [location=]

     \definefont
       [ChapterTextStyle]
       [SansBold*default sa 2.2]

     \setuphead
       [title]
       [style=ChapterTextStyle,
        align=flushright]

     \setuplist
        [chapter]
        [style=bold,
         alternative=b,
         width=1em]

     \setuplist
        [section]
        [margin=1em,
         width=1.75em]

     \setuplist
        [subsection]
        [margin=2.75em,
         width=2.25em,
        distance=\spaceamount]


     \starttitle[title=Table des matières]

          \placelist
            [chapter,section,subsection,subsubsection]
            [criterium=all,
            interaction=all,
             alternative=c]

       \stoptitle

     \stopfrontmatter

     \startbodymatter
       \component[chapitre_1]
       \component[chapitre_2]
       \component[chapitre_3]
       \component[chapitre_4]
       \component[chapitre_5]
       \component[chapitre_6]
       \component[chapitre_7]
       \component[chapitre_8]
       \component[chapitre_9]
       \component[chapitre_10]
       \component[chapitre_11]
       \component[chapitre_12]
     \stopbodymatter

\stopproduct


___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / https://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : https://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : https://contextgarden.net
___


--

-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
   tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl
-

___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / https://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : https://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : https://contextgarden.net
___


[NTG-context] Table of contents not appearing.

2023-04-20 Thread Fabrice Couvreur via ntg-context
Hi,
I don't see why the table of contents does not appear. On the other hand,
the 12 chapters are present.
Thanks
Fabrice


\startproduct[terminale-manual]

  \project[terminale-environment]
  \startfrontmatter

\setuppagenumbering
   [location=]

\definefont
  [ChapterTextStyle]
  [SansBold*default sa 2.2]

\setuphead
  [title]
  [style=ChapterTextStyle,
   align=flushright]

\setuplist
   [chapter]
   [style=bold,
alternative=b,
width=1em]

\setuplist
   [section]
   [margin=1em,
width=1.75em]

\setuplist
   [subsection]
   [margin=2.75em,
width=2.25em,
   distance=\spaceamount]


\starttitle[title=Table des matières]

 \placelist
   [chapter,section,subsection,subsubsection]
   [criterium=all,
   interaction=all,
alternative=c]

  \stoptitle

\stopfrontmatter

\startbodymatter
  \component[chapitre_1]
  \component[chapitre_2]
  \component[chapitre_3]
  \component[chapitre_4]
  \component[chapitre_5]
  \component[chapitre_6]
  \component[chapitre_7]
  \component[chapitre_8]
  \component[chapitre_9]
  \component[chapitre_10]
  \component[chapitre_11]
  \component[chapitre_12]
\stopbodymatter

\stopproduct
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / https://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : https://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : https://contextgarden.net
___


Re: [NTG-context] Table of contents in the middle of a document

2023-04-17 Thread Alan Braslau via ntg-context
Try:

\completecontent [criterium=all]

Alan


On Tue, 18 Apr 2023 01:06:02 +0200
Kalouguine Andre via ntg-context  wrote:

> Hi, 
> 
> I was trying to have my "Acknowledgements" section/chapter before the
> table of contents but be contained within it. 
> 
> Is it normal that the table of contents is empty if there is a chapter
> that begins before it? 
> 
> ``` 
> 
> \starttext
> \chapter{Acknowledgements}
> Thank you
> 
> \completecontent
> 
> \chapter{Intro}
> 
> \chapter{Problem}
> 
> \chapter{Solution}
> \stoptext 
> 
> ``` 
> 
> I'm mostly looking for an explanation rather than a direct solution,
> I'd like to understand why it's empty. It works when using sections
> instead of chapters. 
> 
> Best regards,
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / https://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : https://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : https://contextgarden.net
___


[NTG-context] Table of contents in the middle of a document

2023-04-17 Thread Kalouguine Andre via ntg-context
Hi, 

I was trying to have my "Acknowledgements" section/chapter before the
table of contents but be contained within it. 

Is it normal that the table of contents is empty if there is a chapter
that begins before it? 

``` 

\starttext
\chapter{Acknowledgements}
Thank you

\completecontent

\chapter{Intro}

\chapter{Problem}

\chapter{Solution}
\stoptext 

``` 

I'm mostly looking for an explanation rather than a direct solution, I'd
like to understand why it's empty. It works when using sections instead
of chapters. 

Best regards,

-- 
Kalouguine Andre___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / https://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : https://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : https://contextgarden.net
___


Re: [NTG-context] Table of Contents empty for unknown reason

2022-06-13 Thread Aditya Mahajan via ntg-context
On Sun, 12 Jun 2022, Joel via ntg-context wrote:

> I need to display a table of contents, but only displaying chapters.
> 
> Here is my minimum working example:

You need to add "criterium=all" to both placelist and completecontent. See 
below:

> \starttext
>     \startfrontmatter
>         \startchapter[title={Contents}]
>             \placelist[chapter][criterium=all]
>         \stopchapter
>         \completecontent[criterium=all]
>     \stopfrontmatter
>     \startbodymatter
>     \startchapter[title={Title 1}]
>     \input knuth
>     \stopchapter
>     \stopbodymatter
> 
> \stoptext

Aditya___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___


[NTG-context] Table of Contents empty for unknown reason

2022-06-12 Thread Joel via ntg-context
I need to display a table of contents, but only displaying chapters.

Here is my minimum working example:
\starttext
    \startfrontmatter
        \startchapter[title={Contents}]
            \placelist[chapter]
        \stopchapter
        \completecontent
    \stopfrontmatter
    \startbodymatter
    \startchapter[title={Title 1}]
    \input knuth
    \stopchapter
    \stopbodymatter

\stoptext

For reasons I don't understand, both  \placelist[chapter] and \completecontent 
display the title, but are otherwise empty of contents. I believe the code was 
working before an update. I used ConTeXt live though and confirmed this code 
even doesn't work there.
Why isn't it rendering the table of contents?
--Joel

___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___


Re: [NTG-context] Table of Contents Header?

2021-12-30 Thread kauśika via ntg-context
On Friday, December 31, 2021 7:53:08 AM IST Michael Urban via ntg-context 
wrote:
> Or is there some more foolproof way of getting those headers into the right
> place?

Here is something I quickly wrote up:

First, define some labels for the columns of the ToC —
\definesynonyms[toclabel][toclabel][\TOCLabel]
\setupsynonyms[toclabel][textstyle=\sc]
\toclabel{TOCNumberLabel}{Chapter}
\toclabel{TOCTitleLabel}{Title}
\toclabel{TOCPageLabel}{Page}
Then compute the width of the chapter-number and page-number labels
\setwidthof\TOCLabel{TOCNumberLabel}\to\TOCNumberLabelWidth
\setwidthof\TOCLabel{TOCPageLabel}\to\TOCPageLabelWidth
and define a 'paragraphs' block with 3 columns with a separation of 1em between 
each column
\defineparagraphs
[TOCpar]
[n=3]
\setupparagraphs
[TOCpar]
[each]
[distance=1em]
Set the width of the first column to the width of the label (and center chapter 
number)
\setupparagraphs
[TOCpar]
[1]
[width=\dimexpr\TOCNumberLabelWidth,
 align=middle]
and similarly for the third column (and center the page number)
\setupparagraphs
[TOCpar]
[3]
[width=\dimexpr\TOCPageLabelWidth,
 align=middle]
Finally, wrap it all up in the macro 
\define[3]\TOCEntry{%
\startTOC
#1 \TOCpar #2 \TOCpar #3%
\stopTOC%
}
and indicate the command to use in the setup 
\setuplist
[chapter]
[alternative=interactive,
 command=\TOCEntry,
 after=\endgraf] % required

The ToC along with column labels is placed with 
\TOCLabel{TOCNumberLabel}%
\hfill\TOCLabel{TOCTitleLabel}\hfill%
\TOCLabel{TOCPageLabel}
\placecontent

Of course, you can choose to not set the 'align' keys in \setupparagraphs[TOC] 
if center alignment is not required/desired.

Hope this helps.

Best,
kauśika


___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___


[NTG-context] Table of Contents Header?

2021-12-30 Thread Michael Urban via ntg-context
I am playing around with imitating the design of fiction books from the early 
20th century.   The table of contents for these books often has small headings, 
'CHAPTER' (or 'CHAP.') and 'PAGE' over the respective columns.   How might this 
best be accomplished in ConTeXt?  Just add a carefully formatted line before 
the \placecontent ?  Or is there some more foolproof way of getting those 
headers into the right place?
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___


Re: [NTG-context] Table of contents setup

2018-08-30 Thread Wolfgang Schuster



Willi Egger schrieb am 30.08.18 um 11:18:

Hello,

I am busy to typeset a book with Maguntia.ttf.

I should prepare the TOC with leaders. However how can I get ConTeXT 
to use the same leader-size on all levels which need leaders? As in 
the given example the leaders are adapted to the size of the font.


\setuplist[...][textstyle=...]

Secondly I would like to have the page numbers all in the same size, 
irrespective from the level.
Thirdly, I would love to adapt the distance between the leader-dots to 
a bigger size. How to do that?


Create your own leaders setup with the \definefiller command.


\setuplist
  [chapter,section,subsection]
  [alternative=c]

\setuplist
  [chapter]
  [textstyle=\tfa]

\setuplist
  [subsection]
  [textstyle=\tfx]

\definefiller
  [willi]
  [method=global,
   width=1em]

\setuplistalternative
  [c]
  [filler=willi]

\starttext

\completecontent

\chapter{Chapter}

\section{Section}

\subsection{Subsection}

\stoptext


Wolfgang
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___

[NTG-context] Table of contents setup

2018-08-30 Thread Willi Egger
Hello,

I am busy to typeset a book with Maguntia.ttf.

I should prepare the TOC with leaders. However how can I get ConTeXT to use the 
same leader-size on all levels which need leaders? As in the given example the 
leaders are adapted to the size of the font.
Secondly I would like to have the page numbers all in the same size, 
irrespective from the level.
Thirdly, I would love to adapt the distance between the leader-dots to a bigger 
size. How to do that?


Kind regards

Willi
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___

Re: [NTG-context] Table of Contents sectioning numbers in margin + oddity

2018-06-25 Thread Idris Samawi Hamid ادريس سماوي حامد
On Mon, 25 Jun 2018 01:10:18 -0600, Wolfgang Schuster  
 wrote:





Idris Samawi Hamid ادريس سماوي حامد 
25. Juni 2018 um 01:17
On Sun, 24 Jun 2018 17:09:02 -0600, Wolfgang Schuster
 wrote:


2. Oddity: Why does the TOC in the attached example default to a
monospaced font?



You put \placecontent before \starttext but the default fonts are
loaded after \starttext.
When you now put text in a box before \starttext a monospaced font is
loaded as replacement for the missing text font.


Ah, new protocol... many thanks.


Putting \placecontent or any other text creating command before
\starttext was always wrong.


Of course, was referring to the use of fixed-width for default font in  
such an event.. -)


Idris
--
Idris Samawi Hamid, Professor
Department of Philosophy
Colorado State University
Fort Collins, CO 80512
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___

Re: [NTG-context] Table of Contents sectioning numbers in margin + oddity

2018-06-25 Thread Wolfgang Schuster



Idris Samawi Hamid ادريس سماوي حامد 
25. Juni 2018 um 01:17
On Sun, 24 Jun 2018 17:09:02 -0600, Wolfgang Schuster 
 wrote:


2. Oddity: Why does the TOC in the attached example default to a 
monospaced font?


You put \placecontent before \starttext but the default fonts are 
loaded after \starttext.
When you now put text in a box before \starttext a monospaced font is 
loaded as replacement for the missing text font.


Ah, new protocol... many thanks.


Putting \placecontent or any other text creating command before 
\starttext was always wrong.


Wolfgang
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___

Re: [NTG-context] Table of Contents sectioning numbers in margin + oddity

2018-06-25 Thread Wolfgang Schuster




Idris Samawi Hamid ادريس سماوي حامد 
25. Juni 2018 um 00:46
Dear gang,

mtx-context | current version: 2018.06.24 18:28

In the attached and below, we want sectioning numbers placed and 
naturally aligned in the margin:


===
\definecombinedlist % \setuplist[]
[content]
[section]
[level=section,
alternative=c,
criterium=local]

\setuphead[section][alternative=inmargin]
\setupitemize[1][inmargin][stopper=]

\placecontent

\starttext
\startsection[title= First]
\input ward
\stopsection
\startsection[title= Second]
\startitemize[r]
\startitem[] \input ward \stopitem
\startitem[] \input ward \stopitem
\stopitemize
\stopsection
\stoptext
===

1. What is the most straightforward way to to the section numerals 
generated by \placecontent placed and aligned inmargin?


\define[1]\SectionlistNumbercommand
  {\llap{#1\hskip\leftmargindistance}}

\setuplist
  [section]
  [alternative=c,
   criterium=local,
   width=0pt,
   distance=0pt,
   numbercommand=\SectionlistNumbercommand]


Wolfgang
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___

Re: [NTG-context] Table of Contents sectioning numbers in margin + oddity

2018-06-24 Thread Idris Samawi Hamid ادريس سماوي حامد
On Sun, 24 Jun 2018 17:09:02 -0600, Wolfgang Schuster  
 wrote:


2. Oddity: Why does the TOC in the attached example default to a  
monospaced font?


You put \placecontent before \starttext but the default fonts are loaded  
after \starttext.
When you now put text in a box before \starttext a monospaced font is  
loaded as replacement for the missing text font.


Ah, new protocol... many thanks.

Idris
--
Idris Samawi Hamid, Professor
Department of Philosophy
Colorado State University
Fort Collins, CO 80512
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___

Re: [NTG-context] Table of Contents sectioning numbers in margin + oddity

2018-06-24 Thread Wolfgang Schuster




Idris Samawi Hamid ادريس سماوي حامد 
25. Juni 2018 um 00:46
Dear gang,

mtx-context | current version: 2018.06.24 18:28

In the attached and below, we want sectioning numbers placed and 
naturally aligned in the margin:


===
\definecombinedlist % \setuplist[]
[content]
[section]
[level=section,
alternative=c,
criterium=local]

\setuphead[section][alternative=inmargin]
\setupitemize[1][inmargin][stopper=]

\placecontent

\starttext
\startsection[title= First]
\input ward
\stopsection
\startsection[title= Second]
\startitemize[r]
\startitem[] \input ward \stopitem
\startitem[] \input ward \stopitem
\stopitemize
\stopsection
\stoptext
===

1. What is the most straightforward way to to the section numerals 
generated by \placecontent placed and aligned inmargin?


2. Oddity: Why does the TOC in the attached example default to a 
monospaced font?


You put \placecontent before \starttext but the default fonts are loaded 
after \starttext.


When you now put text in a box before \starttext a monospaced font is 
loaded as replacement for the missing text font.


Wolfgang
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___

[NTG-context] Table of Contents sectioning numbers in margin + oddity

2018-06-24 Thread Idris Samawi Hamid ادريس سماوي حامد

Dear gang,

mtx-context | current version: 2018.06.24 18:28

In the attached and below, we want sectioning numbers placed and naturally  
aligned in the margin:


===
\definecombinedlist % \setuplist[]
[content]
[section]
[level=section,
alternative=c,
criterium=local]

\setuphead[section][alternative=inmargin]
\setupitemize[1][inmargin][stopper=]

\placecontent

\starttext
\startsection[title= First]
\input ward
\stopsection
\startsection[title= Second]
\startitemize[r]
\startitem[] \input ward \stopitem
\startitem[] \input ward \stopitem
\stopitemize
\stopsection
\stoptext
===

1. What is the most straightforward way to to the section numerals  
generated by \placecontent placed and aligned inmargin?


2. Oddity: Why does the TOC in the attached example default to a  
monospaced font?


Thanks in advance.

Best wishes
Idris
--
Idris Samawi Hamid, Professor
Department of Philosophy
Colorado State University
Fort Collins, CO 80512

test-content.pdf
Description: Adobe PDF document


test-content.tex
Description: TeX document
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___

Re: [NTG-context] Table of contents: style and subject

2018-03-04 Thread Idris Samawi Hamid ادريس سماوي حامد

On Sun, 04 Mar 2018 06:29:53 -0700, Hans Hagen  wrote:

A working minimal example follows. Is this the recommended practice?  
Can it be streamlined further?

:

\placecontent


\placelist[content]
[subject,section,subsection,subsubsection]


Hm, toggling lines 12-13 below: Line 13 makes the TOC disappear entirely:

==
\setuphead[subject]
  [incrementnumber=yes,  % keep track of the number
   number=no]% but don't show it

\starttext % Approach I
\starttitle[title={Table of Contents},reference={}]
\start
\setuplist[subject,section,subsection,subsubsection]
  [alternative=c,style=bold]
\setupcombinedlist[content]
  [list={subject,section,subsection,subsubsection}]
% \placecontent % line 12
\placelist[content] % line 13
   [subject,section,subsection,subsubsection]
\stop
\stoptitle
\page
\startsection[title={Section One},reference={}]
new page \page
\stopsection

\startsection[title={Section Two},reference={}]
new page \page
\stopsection

\startsubject[title={Subject},reference={}]

\stopsubject
\stoptext
==

--
Idris Samawi Hamid, Professor
Department of Philosophy
Colorado State University
Fort Collins, CO 80512
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___

Re: [NTG-context] Table of contents: style and subject

2018-03-04 Thread Hans Hagen

On 3/4/2018 2:01 PM, Idris Samawi Hamid ادريس سماوي حامد wrote:

On Sun, 04 Mar 2018 02:47:17 -0700, Hans Hagen  wrote:


On 3/4/2018 4:27 AM, Idris Samawi Hamid ادريس سماوي حامد wrote:

Dear gang,
 Here's a strange situation:
 In approach I) we get the subject heading in the TOC, but style=bold 
doesn't work.
 In approach II) style=bold works, but the subject heading doesn't 
show up.
 For each approach, how do we get both subject heading and style=bold 
in the TOC?


you set up individual lists elements at another level

\setuplist[subject,section,subsection,subsubsection][alternative=c,style=bold] 



Ok - see below.


looks bad this:

\setupinterlinespace[line=1.4ex]


Yes, residue from another experiment..

Between I) and II), which is the current recommended standard 
practice for MKIV?


A working minimal example follows. Is this the recommended practice? Can 
it be streamlined further?


Best wishes
Idris

==
\setuphead[subject]
   [incrementnumber=yes,  % keep track of the number
    number=no]    % but don't show it

\starttext % Approach I
\starttitle[title={Table of Contents},reference={}]
\start
\setuplist[subject,section,subsection,subsubsection]
   [alternative=c,style=bold]
\setupcombinedlist[content]
   [list={subject,section,subsection,subsubsection}]
\placecontent


\placelist[content]
   [subject,section,subsection,subsubsection]


\stop
\stoptitle
\page
\startsection[title={Section One},reference={}]
new page \page
\stopsection

\startsection[title={Section Two},reference={}]
new page \page
\stopsection

\startsubject[title={Subject},reference={}]

\stopsubject
\stoptext
==



___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___




--

-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
   tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl
-
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___

Re: [NTG-context] Table of contents: style and subject

2018-03-04 Thread Idris Samawi Hamid ادريس سماوي حامد

On Sun, 04 Mar 2018 02:47:17 -0700, Hans Hagen  wrote:


On 3/4/2018 4:27 AM, Idris Samawi Hamid ادريس سماوي حامد wrote:

Dear gang,
 Here's a strange situation:
 In approach I) we get the subject heading in the TOC, but style=bold  
doesn't work.
 In approach II) style=bold works, but the subject heading doesn't show  
up.
 For each approach, how do we get both subject heading and style=bold  
in the TOC?


you set up individual lists elements at another level

\setuplist[subject,section,subsection,subsubsection][alternative=c,style=bold]


Ok - see below.


looks bad this:

\setupinterlinespace[line=1.4ex]


Yes, residue from another experiment..

Between I) and II), which is the current recommended standard practice  
for MKIV?


A working minimal example follows. Is this the recommended practice? Can  
it be streamlined further?


Best wishes
Idris

==
\setuphead[subject]
  [incrementnumber=yes,  % keep track of the number
   number=no]% but don't show it

\starttext % Approach I
\starttitle[title={Table of Contents},reference={}]
\start
\setuplist[subject,section,subsection,subsubsection]
  [alternative=c,style=bold]
\setupcombinedlist[content]
  [list={subject,section,subsection,subsubsection}]
\placecontent
\stop
\stoptitle
\page
\startsection[title={Section One},reference={}]
new page \page
\stopsection

\startsection[title={Section Two},reference={}]
new page \page
\stopsection

\startsubject[title={Subject},reference={}]

\stopsubject
\stoptext
==

--
Idris Samawi Hamid, Professor
Department of Philosophy
Colorado State University
Fort Collins, CO 80512

scratch.tex
Description: TeX document
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___

Re: [NTG-context] Table of contents: style and subject

2018-03-04 Thread Hans Hagen

On 3/4/2018 4:27 AM, Idris Samawi Hamid ادريس سماوي حامد wrote:

Dear gang,

Here's a strange situation:

In approach I) we get the subject heading in the TOC, but style=bold 
doesn't work.


In approach II) style=bold works, but the subject heading doesn't show up.

For each approach, how do we get both subject heading and style=bold in 
the TOC?


you set up individual lists elements at another level

\setuplist[subject,section,subsection,subsubsection][alternative=c,style=bold]

looks bad this:

\setupinterlinespace[line=1.4ex]


Between I) and II), which is the current recommended standard practice 
for MKIV?


See below and attached scratch. Toggle the two \start|stoptext 
environments.


Best wishes
Idris

==
\setuphead[subject]
   [incrementnumber=yes,  % keep track of the number
    number=no]    % but don't show it

\starttext % Approach I
\starttitle[title={Table of Contents},reference={}]
\start
\setupcombinedlist[content]
   
[list={subject,section,subsection,subsubsection},alternative=c,style=bold]

\setupinterlinespace[line=1.4ex]
\placecontent
\stop
\stoptitle
\page
\startsection[title={Section One},reference={}]
new page \page
\stopsection

\startsection[title={Section Two},reference={}]
new page \page
\stopsection

\startsubject[title={Subject},reference={}]

\stopsubject
% \stoptext

% \starttext % Approach I
% \starttitle[title={Table of Contents},reference={}]
% \start
% \setupcombinedlist[{subject,section,subsection,subsubsection}]
   % [alternative=c,style=bold]
% \setupinterlinespace[line=1.4ex]
% \placecontent
% \stop
% \stoptitle
% \page
% \startsection[title={Section One},reference={}]
% new page \page
% \stopsection

% \startsection[title={Section Two},reference={}]
% new page \page
% \stopsection

% \startsubject[title={Subject},reference={}]

% \stopsubject
% \stoptext
==



___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___




--

-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
   tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl
-
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___

[NTG-context] Table of contents: style and subject

2018-03-03 Thread Idris Samawi Hamid ادريس سماوي حامد

Dear gang,

Here's a strange situation:

In approach I) we get the subject heading in the TOC, but style=bold  
doesn't work.


In approach II) style=bold works, but the subject heading doesn't show up.

For each approach, how do we get both subject heading and style=bold in  
the TOC?


Between I) and II), which is the current recommended standard practice for  
MKIV?


See below and attached scratch. Toggle the two \start|stoptext  
environments.


Best wishes
Idris

==
\setuphead[subject]
  [incrementnumber=yes,  % keep track of the number
   number=no]% but don't show it

\starttext % Approach I
\starttitle[title={Table of Contents},reference={}]
\start
\setupcombinedlist[content]
  [list={subject,section,subsection,subsubsection},alternative=c,style=bold]
\setupinterlinespace[line=1.4ex]
\placecontent
\stop
\stoptitle
\page
\startsection[title={Section One},reference={}]
new page \page
\stopsection

\startsection[title={Section Two},reference={}]
new page \page
\stopsection

\startsubject[title={Subject},reference={}]

\stopsubject
% \stoptext

% \starttext % Approach I
% \starttitle[title={Table of Contents},reference={}]
% \start
% \setupcombinedlist[{subject,section,subsection,subsubsection}]
  % [alternative=c,style=bold]
% \setupinterlinespace[line=1.4ex]
% \placecontent
% \stop
% \stoptitle
% \page
% \startsection[title={Section One},reference={}]
% new page \page
% \stopsection

% \startsection[title={Section Two},reference={}]
% new page \page
% \stopsection

% \startsubject[title={Subject},reference={}]

% \stopsubject
% \stoptext
==

--
Idris Samawi Hamid, Professor
Department of Philosophy
Colorado State University
Fort Collins, CO 80512

scratch.tex
Description: TeX document
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___

Re: [NTG-context] Table of Contents

2016-03-11 Thread Wolfgang Schuster

Pablo Rodriguez 
10. März 2016 um 23:48

Hi Aidan,

if I’m getting your point, you have to add to your .tex file:

\setupinteraction[state=start]%
% color=, style=, contrastcolor=, focus=standard %these may help too
\placebookmarks
[part,chapter,section] %written outlines
[part,chapter] %open outlines

When you use the \placebookmarks command without arguments ConTeXt shows
all entries form the \placecontent list without opening them.

Wolfgang
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___

Re: [NTG-context] Table of Contents

2016-03-11 Thread Aidan Nichol
Thanks Pablo

That did it. I found the \placebookmarks in the pandoc template once I knew 
what I was looking for. 
I also found
  \setupinteractionscreen[option=bookmark]
so I get it displayed when the document is opened.

Aidan
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___

Re: [NTG-context] Table of Contents

2016-03-10 Thread Pablo Rodriguez
On 03/10/2016 09:45 PM, Aidan Nichol wrote:
> I’m using using pandoc and ConTeXt to generate pdf documentation from
> markdown.
> 
> I started with the option to use latex (xetex) and swapped to
> ConTeXt, letting pandoc create the conTeXt file and invoke ConTeXt on
> it.C Both produce a table of contents active links etc. which is
> pretty much identical but the xetex version in my various pdf readers
> can show it in side panel referred to as Table of Contents or
> outline. This is really nice because it makes it just a click or
> swipe away.
> 
> Following advice from Pablo I’ve swapped over to generating XHTML and
> using the XML mapping ability to generate ConTeXt and the PDF. Using
> this route the TOC looks the same but it’s no longer there in the
> outline panel.
> 
> What do I need in addition to 
> \completecontent
> to get this feature to work?

Hi Aidan,

if I’m getting your point, you have to add to your .tex file:

  \setupinteraction[state=start]%
   % color=, style=, contrastcolor=, focus=standard %these may help too
  \placebookmarks
[part,chapter,section] %written outlines
[part,chapter] %open outlines

I hope it helps,


Pablo
-- 
http://www.ousia.tk
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___

[NTG-context] Table of Contents

2016-03-10 Thread Aidan Nichol
I’m using using pandoc and ConTeXt to generate pdf documentation from markdown.

I started with the option to use latex (xetex) and swapped to ConTeXt, letting 
pandoc create the conTeXt file and invoke ConTeXt on it.C
Both produce a table of contents active links etc. which is pretty much 
identical but the xetex version in my various pdf readers can show it in side 
panel referred to as Table of Contents or outline. This is really nice because 
it makes it just a click or swipe away.

Following advice from Pablo I’ve swapped over to generating XHTML and using the 
XML mapping ability to generate ConTeXt and the PDF. Using this route the TOC 
looks the same but it’s no longer there in the outline panel.

What do I need in addition to 
\completecontent
to get this feature to work?

Aidan

___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___

[NTG-context] table of contents

2015-09-28 Thread Meer, Hans van der
I would like to restrict the tableofcontents to chapters only, leaving the 
sections etc. out.
 \completecontent does not seem the right command here.

I am sure it is simple, but I don't see it. How to accomplish?

Hans van der Meer




___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___

Re: [NTG-context] table of contents

2015-09-28 Thread Wolfgang Schuster

Meer, Hans van der 
28. September 2015 um 14:27
I would like to restrict the tableofcontents to chapters only, leaving 
the sections etc. out.

\completecontent does not seem the right command here.

I am sure it is simple, but I don't see it. How to accomplish?


You can use the \placelist command, e.g.

\title{Content}
\placelist[chapter]

Wolfgang
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___

[NTG-context] Table of Contents Spacing

2013-01-29 Thread Troy Henderson
How do I change the vertical spacing between chapter/section list items in
the Table of Contents?  It appears that the spacing between chapter items
is about 2ex (or so) and perhaps 1ex (or so) between section items.

Troy
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___

Re: [NTG-context] Table of Contents Spacing

2013-01-29 Thread Marco Patzer
On 2013–01–29 Troy Henderson wrote:

 How do I change the vertical spacing between chapter/section list items in
 the Table of Contents?


\setuplist
  [chapter]
  [before={\blank[5ex]}]

\setuplist
  [section]
  [before={\blank[.6ex]}]


Marco


signature.asc
Description: Digital signature
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___

Re: [NTG-context] Table of Contents Spacing

2013-01-29 Thread Troy Henderson

 \setuplist
   [chapter]
   [before={\blank[5ex]}]


Thank you!

Troy
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___

[NTG-context] Table of Contents Section Numbering

2012-07-10 Thread Malte Harder

Dear all,

I'm quite new to ConTeXt and I'm just trying to set up a template for my 
first project. I'm using MkIV and the ConTeXt Standalone nightlies. I've 
encountered the problem that I was not able to create a table of 
contents (neither \placelist,\placecontents, with setuplist or without 
worked). I do not get any error, but there is also no list generated. I 
think, I tried every hint I found on this list.


At that point I thought it might be a problem with the version I'm using 
and upgraded to the latest beta. However the problem remains. I'm using 
the project features, frontmater/backmatter and custom headers, but also 
with everything turned off the placelist does not work? Does anybody 
know what the problem could be?


Another problem, which occured only with the latest nightlies, is that 
Chapters, Sections and Subsesctions all apparently share the same 
counter and simply count up from 1, so the first section has number 2 
instead of 1.1 and so on. Is this a temporary bug or did something 
change that needs specific setup?


Thanks in advance!
Malte
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] Table of Contents Section Numbering

2012-07-10 Thread Henning Hraban Ramm
2012/7/10 Malte Harder m...@malteharder.de:
 Dear all,

 I'm quite new to ConTeXt and I'm just trying to set up a template for my
 first project. I'm using MkIV and the ConTeXt Standalone nightlies. I've
 encountered the problem that I was not able to create a table of contents
 (neither \placelist,\placecontents, with setuplist or without worked). I do
 not get any error, but there is also no list generated. I think, I tried
 every hint I found on this list.

It’s a bug in the current beta (or the syntax changed, I don’t think so...)
Wait for the next one.

Greetlings, Hraban
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___

[NTG-context] table of contents

2012-07-09 Thread Meer, H. van der
Is there a simple manner to restrict the table of contents to chapter and 
section, excluding subsections, subsubsections?

Now I use (and get all)

\startfrontmatter% the table of contents
  \setuppagenumber[number=1,numberconversion=romannumerals]
  \completecontent
\stopfrontmatter

I tried  \completecontent[criterium={chapter,section}] bat that doesn't work.
Could not find it on the wiki, but I might have missed the right search term.

Hans van der Meer



___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] table of contents

2012-07-09 Thread Wolfgang Schuster

Am 09.07.2012 um 11:43 schrieb Meer, H. van der:

 Is there a simple manner to restrict the table of contents to chapter and 
 section, excluding subsections, subsubsections?
 
 Now I use (and get all)
 
 \startfrontmatter% the table of contents
  \setuppagenumber[number=1,numberconversion=romannumerals]

You can put this setup in a sectionblockenvironment.

  \completecontent
 \stopfrontmatter
 
 I tried  \completecontent[criterium={chapter,section}] bat that doesn't work.
 Could not find it on the wiki, but I might have missed the right search term.


The list archive should contain dozens of answers to this question but here it 
is again.

\starttext

\title{Contents} % use \title{\headtext{content}} to get a language dependent 
title
\placelist[chapter,section]

…

\stoptext

or

\definecombinedlist[content][chapter,section]

\starttext

\completecontent

…

\stoptext

Wolfgang
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] table of contents

2012-07-09 Thread Wolfgang Schuster

Am 09.07.2012 um 11:54 schrieb Wolfgang Schuster:

 I tried  \completecontent[criterium={chapter,section}] bat that doesn't work.
 Could not find it on the wiki, but I might have missed the right search term.
 
 
 The list archive should contain dozens of answers to this question but here 
 it is again.
 
 \starttext
 
 \title{Contents} % use \title{\headtext{content}} to get a language dependent 
 title
 \placelist[chapter,section]
 
 …
 
 \stoptext
 
 or
 
 \definecombinedlist[content][chapter,section]
 
 \starttext
 
 \completecontent
 
 …
 
 \stoptext

There two additional ways with the new code.

\setupcombinedlist[content][list={chapter,section}]

\starttext

\completecontent

…

\stoptext

and

\starttext

\completecontent[list={chapter,section}]

…

\stoptext

Wolfgang
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] table of contents

2012-07-09 Thread Aditya Mahajan

On 2012-07-09, at 11:54 AM, Wolfgang Schuster schuster.wolfg...@gmail.com 
wrote:
 
 The list archive should contain dozens of answers to this question but here 
 it is again.

So someone needs to wikify these answers. 

Aditya___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___

Re: [NTG-context] Table of contents

2012-04-05 Thread John Devereux
John Devereux j...@devereux.me.uk writes:

 Hi all,

 Feeling stupid...

 I updated my context MKIV to the latest version, was working with one
 ~1y old.

 I can't get a table of contents to work at all for some strange reason,
 am I misunderstanding something basic? I have tried all sorts of
 variants, but a test case and log follows. 

[...]

OK, this is happening on two separate (linux) systems now. One of them
never had context on it before.

\starttext
\completecontent
\section{One}
some text
\stoptext



-- 

John Devereux
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] Table of contents

2012-04-05 Thread Willi Egger
Hi,

I was unsuccessful using \completecontent to my wishes in the recent past. The 
correct result I achieved with \placelist[section]. But now indeed even this 
fails with your example.

Willi
On 5 Apr 2012, at 09:14, John Devereux wrote:

 \starttext
 \completecontent
 \section{One}
 some text
 \stoptext

___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] Table of contents

2012-04-05 Thread John Devereux
Willi Egger cont...@boede.nl writes:

 Hi,

 I was unsuccessful using \completecontent to my wishes in the recent past. 
 The correct result I achieved with \placelist[section]. But now indeed even 
 this fails with your example.

 Willi
 On 5 Apr 2012, at 09:14, John Devereux wrote:

 \starttext
 \completecontent
 \section{One}
 some text
 \stoptext

Hi Willi,

Thank you very much for trying it. Can anyone post even a trivial
example that does work? Is the latest beta really broken?

Thanks,

John

-- 

John Devereux
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


[NTG-context] Table of contents

2012-04-04 Thread John Devereux
Hi all,

Feeling stupid...

I updated my context MKIV to the latest version, was working with one
~1y old.

I can't get a table of contents to work at all for some strange reason,
am I misunderstanding something basic? I have tried all sorts of
variants, but a test case and log follows. 

Thanks,

John


==
%-*-context-*-
\starttext
\completecontent
\section{One}
some text
\stoptext
==


mtx-context | run 1: luatex 
--fmt=/home/jd/context/tex/texmf-cache/luatex-cache/context/2448223e6631addb83df348d74153606/formats/cont-en
 
--lua=/home/jd/context/tex/texmf-cache/luatex-cache/context/2448223e6631addb83df348d74153606/formats/cont-en.lui
 --backend=pdf ./test.mkiv \stoptext
This is LuaTeX, Version beta-0.70.1-2011051918 (rev 4277) 
 \write18 enabled.
(test.mkiv

ConTeXt  ver: 2012.04.02 22:23 MKIV  fmt: 2012.4.4  int: english/english

system   cont-new.mkiv loaded
(/home/jd/context/tex/texmf-context/tex/context/base/cont-new.mkiv
system   beware: some patches loaded from cont-new.mkiv
)
system   test.top loaded
(test.top)
fontslatin modern fonts are not preloaded
languageslanguage en is active
{/home/jd/context/tex/texmf-context/fonts/map/pdftex/context/mkiv-base.map}
fontspreloading latin modern fonts (second stage)
fontstypescripts  unknown: library 'loc'
{/home/jd/context/tex/texmf/fonts/map/dvips/lm/lm-math.map}{/home/jd/context/tex/texmf/fonts/map/dvips/lm/lm-rm.map}
fontsvirtual math  unable to resolve name mapsfromchar
fontsfallback modern rm 12pt is loaded
structuresectioning  title @ level 2 : 0.0 - \headtext {content}
! Undefined control sequence.

system   tex  error on line 11 in file test.mkiv: Undefined control 
sequence ...

1 %-*-context-*-
2 \starttext
3 \completecontent
4 \section{One}
5 some text
6 \stoptext
7 


\12:77:abc ...trc_lists_get_reference_attribute 
  \v!all \strc_lists_get_des...
\strc_lists_apply_renderingsetup ...nderingsetup }
  \relax \the \t_lists_every...
\strclistsentryprocess ... \fi \fi \fi \endcsname 
  \dostoptagged \listextrapa...
l.11 {}
   
\ctxcommand ...\directlua \zerocount {commands.#1}
  
\doplacestructurelist ...s = #4, order = #5 }}
  \dostoptagged 
...
l.4 \section
{One}
? ! Interruption.

system   tex  error on line 11 in file test.mkiv: Interruption ...

1 %-*-context-*-
2 \starttext
3 \completecontent
4 \section{One}
5 some text
6 \stoptext
7 

to be read again a
l
\v!all -al
   l
\12:77:abc ...ts_get_reference_attribute \v!all 
  \strc_lists_get_destinatio...
\strc_lists_apply_renderingsetup ...nderingsetup }
  \relax \the \t_lists_every...
\strclistsentryprocess ... \fi \fi \fi \endcsname 
  \dostoptagged \listextrapa...
l.11 {}
   
...
l.4 \section
{One}
? 
! Emergency stop.

system   tex  error on line 11 in file test.mkiv: Emergency stop ...

1 %-*-context-*-
2 \starttext
3 \completecontent
4 \section{One}
5 some text
6 \stoptext
7 

to be read again a
l
\v!all -al
   l
\12:77:abc ...ts_get_reference_attribute \v!all 
  \strc_lists_get_destinatio...
\strc_lists_apply_renderingsetup ...nderingsetup }
  \relax \the \t_lists_every...
\strclistsentryprocess ... \fi \fi \fi \endcsname 
  \dostoptagged \listextrapa...
l.11 {}
   
...
l.4 \section
{One}
!  == Fatal error occurred, no output PDF file produced!

-- 

John Devereux
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


[NTG-context] Table of contents

2011-05-23 Thread Oliver Buerschaper
Dear all,

is it possible to have entries in the table of contents not indented at all 
whenever they stem from unnumbered headings? For example:

---
\starttext


\startfrontmatter
\completecontent

\chapter{Preface}
\stopfrontmatter


\startbodymatter
\part{Test}
\chapter{Tufte}
\chapter{Bryson}

\part{Test}
\chapter{Tufte}
\chapter{Bryson}
\stopbodymatter


\startbackmatter
\chapter{Acknowledgements}
\stopbackmatter


\stoptext
---

Many thanks,
Oliver
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] Table of contents

2011-05-23 Thread Wolfgang Schuster

Am 23.05.2011 um 19:18 schrieb Oliver Buerschaper:

 Dear all,
 
 is it possible to have entries in the table of contents not indented at all 
 whenever they stem from unnumbered headings? For example:
 
 ---
 \starttext
 
 
 \startfrontmatter
\completecontent
 
\chapter{Preface}
 \stopfrontmatter
 
 
 \startbodymatter
\part{Test}
\chapter{Tufte}
\chapter{Bryson}
 
\part{Test}
\chapter{Tufte}
\chapter{Bryson}
 \stopbodymatter
 
 
 \startbackmatter
\chapter{Acknowledgements}
 \stopbackmatter
 
 
 \stoptext

Define a header for them and set the number width to 0pt.

\definehead[topic][chapter]
\setuphead [topic][number=no]
\setuplist [topic][width=0pt]

\starttext

\startfrontmatter
   \title{Contents}
   \placelist[part,chapter,topic]
   \topic{Preface}
\stopfrontmatter

\startbodymatter
\dorecurse{2}
  {\part{Test}
   \chapter{Tufte}
   \chapter{Bryson}}
\stopbodymatter


\startbackmatter
\topic{Acknowledgements}
\stopbackmatter

\stoptext

Wolfgang

___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


[NTG-context] Table of Contents entries without page numbers

2011-03-20 Thread Tom
It is relatively easy to create table of contents entries without chapter
numbers, but I can't figure out how to include entries without page numbers.
I want to place a title page, 'Appendices,' in the ToC after the last
chapter and before the first appendix. I can easily create the page using
\title{Appendices} but it doesn't show up in the ToC. Using
\chapter{Appendices} creates a ToC entry with a page number and an appendix
number, which can be eliminated. There must be some way of placing headers
within a ToC. 

Tom Benjey
717-258-9733 voice
717-243-0074 fax
blog: www.TomBenjey.com





___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] Table of Contents issues

2011-02-13 Thread Wolfgang Schuster

Am 12.02.2011 um 21:29 schrieb Tom:

 This works. Now I want to make the chapter titles larger but my experiments
 using style have failed. There must be a different way to do this. If I
 understand bodyfont correctly, it is used for the text of the document, not
 for the titles. In my case, the body is in a serif font and the titles are
 sanserif.

\setuphead[chapter][style=\ss\bfa]

or

\definefont[ChapterStyle][SansBold sa 1.2]

\setuphead[chapter][style=ChapterStyle]

Wolfgang

___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


[NTG-context] Table of Contents issues

2011-02-12 Thread Tom
Using a very recent download of TexLive 2010 (MKII) on my PC, my success
generating a useful table of contents has been somewhat limited.

I can't figure out how to put the title, Contents, in the font I desire.
The various parameters I found in the documentation affect the chapter
titles and the page numbers but nothing I've found allows me to control the
title of the ToC. What am I overlooking? 

I would also like for the unnumbered chapter titles, such as introduction
or preface, to align with the other chapter titles, not with their numbers.
Aligntitle seems to have no effect on anything from what I have seen.

\definehead [intro][chapter]
\setuphead  [intro][number=no,textstyle=\ss\bf]
\setuphead  [chapter][textstyle=\ss\bf,numberstyle=\ss\bf] 
\definecombinedlist [content][intro,chapter,section]
\setupcombinedlist[content][style=\ss\bf,textstyle=\ss\bf,pagestyle=\ss\bf,n
umberstyle=\ss\bf,aligntitle=yes]
\setuplist [intro][headnumber=no]

\starttext
\completecontent
\intro{Introduction}
\input knuth
\chapter{First chapter}
\input knuth
\chapter{Second Chapter}
\input Knuth
\stoptext

Tom Benjey
717-258-9733 voice
717-243-0074 fax
blog: www.TomBenjey.com





___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] Table of Contents issues

2011-02-12 Thread Wolfgang Schuster

Am 12.02.2011 um 18:12 schrieb Tom:

 Using a very recent download of TexLive 2010 (MKII) on my PC, my success
 generating a useful table of contents has been somewhat limited.
 
 I can't figure out how to put the title, Contents, in the font I desire.
 The various parameters I found in the documentation affect the chapter
 titles and the page numbers but nothing I've found allows me to control the
 title of the ToC. What am I overlooking? 
 
 I would also like for the unnumbered chapter titles, such as introduction
 or preface, to align with the other chapter titles, not with their numbers.
 Aligntitle seems to have no effect on anything from what I have seen.

\setuphead[chapter][style=sansbold] 

\definehead[intro][chapter]
\setuphead [intro][number=no]

\definecombinedlist[content][intro,chapter,section]
\setupcombinedlist [content][style=sansbold]

\starttext
\completecontent
\intro{Introduction}
\input knuth
\chapter{First chapter}
\input knuth
\chapter{Second Chapter}
\input knuth
\stoptext

Wolfgang

___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] Table of Contents issues

2011-02-12 Thread Tom
This works. Now I want to make the chapter titles larger but my experiments
using style have failed. There must be a different way to do this. If I
understand bodyfont correctly, it is used for the text of the document, not
for the titles. In my case, the body is in a serif font and the titles are
sanserif.

Tom Benjey
717-258-9733 voice
717-243-0074 fax
blog: www.TomBenjey.com




-Original Message-
From: ntg-context-boun...@ntg.nl [mailto:ntg-context-boun...@ntg.nl] On
Behalf Of Wolfgang Schuster
Sent: Saturday, February 12, 2011 1:56 PM
To: mailing list for ConTeXt users
Subject: Re: [NTG-context] Table of Contents issues


Am 12.02.2011 um 18:12 schrieb Tom:

 Using a very recent download of TexLive 2010 (MKII) on my PC, my success
 generating a useful table of contents has been somewhat limited.
 
 I can't figure out how to put the title, Contents, in the font I desire.
 The various parameters I found in the documentation affect the chapter
 titles and the page numbers but nothing I've found allows me to control
the
 title of the ToC. What am I overlooking? 
 
 I would also like for the unnumbered chapter titles, such as
introduction
 or preface, to align with the other chapter titles, not with their
numbers.
 Aligntitle seems to have no effect on anything from what I have seen.

\setuphead[chapter][style=sansbold] 

\definehead[intro][chapter]
\setuphead [intro][number=no]

\definecombinedlist[content][intro,chapter,section]
\setupcombinedlist [content][style=sansbold]

\starttext
\completecontent
\intro{Introduction}
\input knuth
\chapter{First chapter}
\input knuth
\chapter{Second Chapter}
\input knuth
\stoptext

Wolfgang


___
If your question is of interest to others as well, please add an entry to
the Wiki!

maillist : ntg-context@ntg.nl /
http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net

___

___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] Table of Contents issues

2011-02-12 Thread Jeong Dalyoung
Dear Tom,

I had the similar problem.

You may consider Andrea's and Wolfgang's suggestion in ntg-context Digest mail, 
Vol 80, issue 24, 25.

chapter head and placelist

Enjoy ConTeXt.

best regards,

Dalyoung


___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] table of contents

2010-04-30 Thread Wolfgang Schuster

Am 29.04.10 22:17, schrieb Marius:

One more question regarding the table of contents. I have looked in
the wiki and manuals and can't figure out how to enable entries for
\title, \subject, \subsubject ... in the table of contents?
   


This works in MkII and MkIV:

\setuphead[subject][incrementnumber=list]

\starttext

\title{Contents}

\placelist[chapter,section,subject]

\chapter{Chapter}

\section{Section}

\subject{Subject}

\stoptext

Wolfgang

___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] table of contents

2010-04-30 Thread Marius
I redone your example, see attached files.

Is it ok to redefine combined list like I did?

And how to I do that everything that precedes the table of contents
does not appear in the table of contents?

Thanks,
Marius

On Fri, Apr 30, 2010 at 9:55 AM, Wolfgang Schuster
schuster.wolfg...@googlemail.com wrote:
 Am 29.04.10 22:17, schrieb Marius:

 One more question regarding the table of contents. I have looked in
 the wiki and manuals and can't figure out how to enable entries for
 \title, \subject, \subsubject ... in the table of contents?


 This works in MkII and MkIV:

 \setuphead[subject][incrementnumber=list]

 \starttext

 \title{Contents}

 \placelist[chapter,section,subject]

 \chapter{Chapter}

 \section{Section}

 \subject{Subject}

 \stoptext

 Wolfgang

 ___
 If your question is of interest to others as well, please add an entry to
 the Wiki!

 maillist : ntg-context@ntg.nl /
 http://www.ntg.nl/mailman/listinfo/ntg-context
 webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
 archive  : http://foundry.supelec.fr/projects/contextrev/
 wiki     : http://contextgarden.net
 ___



test2.tex
Description: TeX document


test2.pdf
Description: Adobe PDF document
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] table of contents

2010-04-30 Thread Wolfgang Schuster

Am 30.04.10 10:41, schrieb Marius:

I redone your example, see attached files.

Is it ok to redefine combined list like I did?

And how to I do that everything that precedes the table of contents
does not appear in the table of contents?
   


\setuphead[title][incrementnumber=list]
\setuphead[subject][incrementnumber=list]
\setuphead[subsubject][incrementnumber=list]
\setuphead[subsubsubject][incrementnumber=list]
\setuphead[subsubsubsubject][incrementnumber=list]

\setupheads[sectionstopper=.]

\definecombinedlist
  [content]
  [part,
   chapter,
   section,
   subsection,
   subsubsection,
   subsubsubsection,
   subsubsubsubsection,
   title,
   subject,
   subsubject,
   subsubsubject,
   subsubsubsubject,
   subsubsubsubsubject]
  [criterium=all]

\startsectionblockenvironment[frontpart]
\setuphead[title,subject,subsubject][incrementnumber=no]
\stopsectionblockenvironment

\starttext

\startfrontmatter

\title{This title should not be in the table of contents}
\subject{This Subject should not be in the table of contents}
\subject{This Subject should not be in the table of contents}
\subsubject{This subSubject should not be in the table of contents}

\title{This Contents title should not be in the table of contents}

\placecontent

\stopfrontmatter

\startbodymatter

\chapter{Chapter}

\section{Section}

\subject{Subject}

\subsubject{subSubject}

\subsection{Subject}

\section{Section}

\section{Section}

\stopbodymatter

\stoptext

Wolfgang

___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


[NTG-context] table of contents

2010-04-29 Thread Marius
Hello,

There must be two tables of contents in my document, one in a native
language and the other in english. In LaTeX I made new commands
\enchapter, \ensection, etc., which I use just after the \chapter or
\section command.

How do I make such commands in ConTeXt, so that these commands just
insert a line into the english table of contents, but do not insert
chapter or section in the current page?

Thanks,
Marius
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] table of contents

2010-04-29 Thread Wolfgang Schuster

Am 29.04.10 12:12, schrieb Marius:

Hello,

There must be two tables of contents in my document, one in a native
language and the other in english. In LaTeX I made new commands
\enchapter, \ensection, etc., which I use just after the \chapter or
\section command.

How do I make such commands in ConTeXt, so that these commands just
insert a line into the english table of contents, but do not insert
chapter or section in the current page?
   

\mainlanguage[de]

\starttext

\completecontent

%\start\language[en]
\start\mainlanguage[en]
\completecontent
\stop

\chapter{\translate[en=Chapter One,de=Kapitel Eins]}

\chapter{\translate[en=Chapter Two,de=Kapitel Zwei]}

\stoptext

Wolfgang

___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] table of contents

2010-04-29 Thread Marius
Thank you, Wolfgang for the example. I can't believe this is so simple
in ConTeXt. I added this example to wiki.
http://wiki.contextgarden.net/Table_of_Contents

On Thu, Apr 29, 2010 at 1:19 PM, Wolfgang Schuster
schuster.wolfg...@googlemail.com wrote:
 Am 29.04.10 12:12, schrieb Marius:

 Hello,

 There must be two tables of contents in my document, one in a native
 language and the other in english. In LaTeX I made new commands
 \enchapter, \ensection, etc., which I use just after the \chapter or
 \section command.

 How do I make such commands in ConTeXt, so that these commands just
 insert a line into the english table of contents, but do not insert
 chapter or section in the current page?


 \mainlanguage[de]

 \starttext

 \completecontent

 %\start\language[en]
 \start\mainlanguage[en]
 \completecontent
 \stop

 \chapter{\translate[en=Chapter One,de=Kapitel Eins]}

 \chapter{\translate[en=Chapter Two,de=Kapitel Zwei]}

 \stoptext

 Wolfgang
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] table of contents

2010-04-29 Thread Marius
One more question regarding the table of contents. I have looked in
the wiki and manuals and can't figure out how to enable entries for
\title, \subject, \subsubject ... in the table of contents?

Thanks,
Marius
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


[NTG-context] Table of contents

2010-03-21 Thread Alain Delmotte

Hi!

I have two question about table of contents.

1) is it possible to have the toc at the end of the document.
I tried to place \placecontent or \completecontent at the end and it 
didn't work; I only managed to have the toc at the beginning of the 
document.


2) If I define my own header (like in ConTeXt an excursion: 5. Headers) 
and so, for example, replacing \section by \myheader, which has a 
section level, the table of content is empty!


If the information is in another document, please give me a pointer, thanks!

Alain
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] Table of contents

2010-03-21 Thread Wolfgang Schuster

Am 21.03.10 10:18, schrieb Alain Delmotte:

Hi!

I have two question about table of contents.

1) is it possible to have the toc at the end of the document.
I tried to place \placecontent or \completecontent at the end and it 
didn't work; I only managed to have the toc at the beginning of the 
document.


2) If I define my own header (like in ConTeXt an excursion: 5. 
Headers) and so, for example, replacing \section by \myheader, which 
has a section level, the table of content is empty!


If the information is in another document, please give me a pointer, 
thanks!

Mark 2:

\definehead[mysection][section]

\setuphead[mysection][coupling=section]

\starttext

\chapter{One}

\section{One.One}

\mysection{One.Two}

\completecontent[criterium=all]

\stoptext

Mark 4:

\definehead[mysection][section]

\starttext

\chapter{One}

\section{One.One}

\mysection{One.Two}

\title{Contents}

\placelist[chapter,section,mysection][criterium=all]

\stoptext

Wolfgang

___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] Table of contents

2010-03-21 Thread Mari Voipio
Hello!


On Sun, Mar 21, 2010 at 11:18 AM, Alain Delmotte
alain.delmo...@leliseron.org wrote:
 2) If I define my own header (like in ConTeXt an excursion: 5. Headers) and
 so, for example, replacing \section by \myheader, which has a section level,
 the table of content is empty!

I have a working system like that in several of my docs (all similar,
though) - but if I recall correctly (won't have access to the files
until tomorrow), it only works in ConTeXt MkII, which is one of the
main reasons that I still use that version for almost all of my work.


If you put

%engine=pdftex

in the beginning of the file in question and then run ConTeXt (check
that it really uses MkII for that run), does the TOC appear?



Mari
(one of these days I'll get around to installing working ConTeXt on my
home computer(s), too...)
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] Table of contents

2010-03-21 Thread Alain Delmotte

Hi!

Thanks Mario and Wolfgang.
The \placelist command solved both problems.

Alain

Wolfgang Schuster a écrit :

Am 21.03.10 10:18, schrieb Alain Delmotte:

Hi!

I have two question about table of contents.

1) is it possible to have the toc at the end of the document.
I tried to place \placecontent or \completecontent at the end and it 
didn't work; I only managed to have the toc at the beginning of the 
document.


2) If I define my own header (like in ConTeXt an excursion: 5. 
Headers) and so, for example, replacing \section by \myheader, which 
has a section level, the table of content is empty!


If the information is in another document, please give me a pointer, 
thanks!

Mark 2:

\definehead[mysection][section]

\setuphead[mysection][coupling=section]

\starttext

\chapter{One}

\section{One.One}

\mysection{One.Two}

\completecontent[criterium=all]

\stoptext

Mark 4:

\definehead[mysection][section]

\starttext

\chapter{One}

\section{One.One}

\mysection{One.Two}

\title{Contents}

\placelist[chapter,section,mysection][criterium=all]

\stoptext

Wolfgang

___ 

If your question is of interest to others as well, please add an entry 
to the Wiki!


maillist : ntg-context@ntg.nl / 
http://www.ntg.nl/mailman/listinfo/ntg-context

webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___ 





___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] Table of contents disappears when \setuparranging is used

2010-03-06 Thread Mojca Miklavec
On Sat, Mar 6, 2010 at 03:22,  ber...@pobox.com wrote:

 And Google
 is very bad in finding context material.

There's a Google special search on the wiki that should be able to
search through the relevant material only.

Mojca
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


[NTG-context] Table of contents disappears when \setuparranging is used

2010-03-05 Thread berend
Hi People,

I have a very weird problem. As soon as I star tot use \setuparranging
the table of contents and other registers disappear. How to fix that?

An example file:

--
\setuppapersize
  [A5][A4]

\setuparranging
  [2SIDE,rotated]

\starttext

\subject{Table of contents}

\placecontent[1]

\chapter{Hello}

World.

\stoptext
--


There will be no text under table of contents. Comment out
\setuparranging and then the table of contents appears.


When \setuparranging is enabled, this appears in the log file:

system  : part,chapter,section,subsection,subsubsection,subsubsubsectio
n,subsubsubsubsection not found/processed

-- 
All the best,

Berend de Boer
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] Table of contents disappears when \setuparranging is used

2010-03-05 Thread Thomas A. Schmitz

On Mar 5, 2010, at 10:33 PM, ber...@pobox.com wrote:

 Hi People,
 
 I have a very weird problem. As soon as I star tot use \setuparranging
 the table of contents and other registers disappear. How to fix that?

Hi Berend,

run context or texexec with the switch --arrange.

HTH

Thomas
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] Table of contents disappears when \setuparranging is used

2010-03-05 Thread Mari Voipio
On Fri, Mar 5, 2010 at 11:50 PM, Thomas A. Schmitz
thomas.schm...@uni-bonn.de wrote:
 run context or texexec with the switch --arrange.

If you have a SciTe-ConTeXt system, do Process and arrange in the
Tools many instead of just Process, to get your indices and other
tables back.


...been there, done that
(http://wiki.contextgarden.net/Imposition#Caveat:_common_troubles)


Mari
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] Table of Contents with unnumbered Chapters etc

2009-07-09 Thread Robert Blackstone
Thank you Willi, this gives the result I want. Best regards,
Robert Blackstone

On Wed, Jul 8, 2009 at 5:47 PM,  Willi Egger w.eg...@boede.nl wrote


 Hi,

 the subjects and susubjects will not end up in a TOC. Use section and
 subsection. Add a \setuphead[section,subsection][number=no], place
 the TOC with \completecontent.

 Willi

 On Jul 8, 2009, at 1:33 PM, Robert Blackstone wrote:

 ... I want to use unnumbered chapters,
  sections etc. but I still do want a table of contents...



___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


[NTG-context] Table of Contents with unnumbered Chapters etc

2009-07-08 Thread Robert Blackstone

Hi all,
I am struggling, vainly so far, with list and combinedlist, and I  
hope someone can help me.
What I want to do is the following: I am making a bilingual version om  
some old German text, adding an English translation. As in the  
original German version, I want to use unnumbered chapters, sections  
etc. but I still do want a table of contents.
I had the impression unnumbered can be achieved by using title,  
subject, etc instead of chapter, section, etc and still get a  
table of contents by means of a combined list. But whatever I tried,  
no list is ever placed anywhere and even  
\completecombinedlist[contents][level=subject] is seen as an   
undefined control sequence.


I have used ConTeXt from TeXlive-2008 via TeXShop, and Minimals  
(ConTeXt  ver: 2009.06.14 21:01 MKIV) via Terminal, but the result is  
the same.


No doubt I do some things totally wrong but I can't help having a  
sneaking suspicion that something is wrong with lists.


I have uploaded a small testfile, which can be downloaded from the  
following link: http://web.me.com/blackstone.robert/filechute/Wegweiser-testfile-a.tex
(In this testfile there are lots of things I tried and subsequently  
commented out.)

Thanks in advance.

Robert Blackstone 
 
___

If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] Table of Contents with unnumbered Chapters etc

2009-07-08 Thread Wolfgang Schuster


Am 08.07.2009 um 13:33 schrieb Robert Blackstone:


Hi all,
I am struggling, vainly so far, with list and combinedlist, and  
I hope someone can help me.
What I want to do is the following: I am making a bilingual version  
om some old German text, adding an English translation. As in the  
original German version, I want to use unnumbered chapters, sections  
etc. but I still do want a table of contents.
I had the impression unnumbered can be achieved by using title,  
subject, etc instead of chapter, section, etc and still get a  
table of contents by means of a combined list. But whatever I tried,  
no list is ever placed anywhere and even  
\completecombinedlist[contents][level=subject] is seen as an   
undefined control sequence.


\setupheads[incrementnumber=list]

\starttext

\completecontent

\chapter{Foo}

\section{Bar}

\section{Zig}

\chapter{Zag}

\section{Hinz}

\section{Kunz}

\stoptext

Wolfgang

___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] Table of Contents with unnumbered Chapters etc

2009-07-08 Thread Willi Egger

Hi,

the subjects and susubjects will not end up in a TOC. Use section and  
subsection. Add a \setuphead[section,subsection][number=no], place  
the TOC with \completecontent.


Willi

On Jul 8, 2009, at 1:33 PM, Robert Blackstone wrote:


Hi all,
I am struggling, vainly so far, with list and combinedlist, and  
I hope someone can help me.
What I want to do is the following: I am making a bilingual version  
om some old German text, adding an English translation. As in the  
original German version, I want to use unnumbered chapters,  
sections etc. but I still do want a table of contents.
I had the impression unnumbered can be achieved by using title,  
subject, etc instead of chapter, section, etc and still get a  
table of contents by means of a combined list. But whatever I  
tried, no list is ever placed anywhere and even  
\completecombinedlist[contents][level=subject] is seen as an   
undefined control sequence.


I have used ConTeXt from TeXlive-2008 via TeXShop, and Minimals  
(ConTeXt  ver: 2009.06.14 21:01 MKIV) via Terminal, but the result  
is the same.


No doubt I do some things totally wrong but I can't help having a  
sneaking suspicion that something is wrong with lists.


I have uploaded a small testfile, which can be downloaded from the  
following link: http://web.me.com/blackstone.robert/filechute/ 
Wegweiser-testfile-a.tex
(In this testfile there are lots of things I tried and subsequently  
commented out.)

Thanks in advance.

Robert  
Blackstone 
___
If your question is of interest to others as well, please add an  
entry to the Wiki!


maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ 
ntg-context

webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
__ 
_


___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


[NTG-context] table of contents and bookmarks issue

2008-07-07 Thread Alan Stone
Hi,

When compiling the same source but with different compiler options...

(1) compiled with texmfstart texexec --autopdf --pdf test.tex

(2) compiled with texmfstart texexec --xtx test.tex or
texmfstart texexec --xetex test.tex

All hyperlinks ( table of contents and bookmarks ) jump to the
correct position for (1).

For (2), in all other view modes, single or a combined, other than
single page view, like for ex. single page continuous + fit width
mode, the hyperlinks jump to the incorrect position, mostly the
page before or after the one whereto it should jump to. Any idea how
to prevent this behavior when compiling with xetex ?

Thanks,
Alan
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] table of contents and bookmarks issue

2008-07-07 Thread Alan Stone
Got fed up with context/xetex... Compiled with
texmfstart texexec --lua instead and as expected
(from a previous thread) bookmarks are scrambled
when using accented (french) characters.

Hope this (luatex) issue will be resolved very soon.

Thanks for the backward compatibility though. Didn't
have to change a single line of code.

Hyperlink/bookmark jumps are a better, however...

Can they be made so that they go to and include
the corresponding chapter/section title, instead of
jumping underneath them when in single page
continuous + page width mode ? It works that
way with word/openoffice generated pdfs.

Thanks on beforehand,
Alan
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] table of contents and bookmarks issue

2008-07-07 Thread Hans Hagen
Alan Stone wrote:
 Got fed up with context/xetex... Compiled with
 texmfstart texexec --lua instead and as expected
 (from a previous thread) bookmarks are scrambled
 when using accented (french) characters.

 Hope this (luatex) issue will be resolved very soon.

should work with the beta

 Can they be made so that they go to and include
 the corresponding chapter/section title, instead of
 jumping underneath them when in single page
 continuous + page width mode ? It works that
 way with word/openoffice generated pdfs.

hm, maybe later, when i redo that code (i never use bookmarks so i 
hardly test that code)

Hans

-
   Hans Hagen | PRAGMA ADE
   Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
  tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
  | www.pragma-pod.nl
-
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] table of contents and bookmarks issue

2008-07-07 Thread Alan Stone
Ok Hans. Looking forward to these improvements.

hm, maybe later, when i redo that code (i never use bookmarks so i
hardly test that code)

It's the same with table of contents hyperlink jumps. Quite annoying because
lots of people are used to the behavior of word/openoffice generated pdfs.

Now have to get those fonts rendered correctly with luatex...

Best,
Alan

On Mon, Jul 7, 2008 at 9:02 PM, Hans Hagen [EMAIL PROTECTED] wrote:

 Alan Stone wrote:
  Got fed up with context/xetex... Compiled with
  texmfstart texexec --lua instead and as expected
  (from a previous thread) bookmarks are scrambled
  when using accented (french) characters.

  Hope this (luatex) issue will be resolved very soon.

 should work with the beta

  Can they be made so that they go to and include
  the corresponding chapter/section title, instead of
  jumping underneath them when in single page
  continuous + page width mode ? It works that
  way with word/openoffice generated pdfs.

 hm, maybe later, when i redo that code (i never use bookmarks so i
 hardly test that code)

 Hans

___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


[NTG-context] table of contents strangeness...

2008-06-25 Thread Alan Stone
this works...

\setuplist[chapter][
style=bold,
aligntitle=yes,
after=\blank]  --- that's too much vertical blank space

this doesn't...

\setuplist[chapter][
style=bold,
aligntitle=yes,
after=\blank[small]]

strange ( see  log in attachement ), or not ?

alan


dummy_book.log
Description: Binary data
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] table of contents strangeness...

2008-06-25 Thread Thomas A. Schmitz

On Jun 25, 2008, at 10:13 AM, Alan Stone wrote:

 this doesn't...

 \setuplist[chapter][
 style=bold,
 aligntitle=yes,
 after=\blank[small]]

try
\setuplist[chapter][
 style=bold,
 aligntitle=yes,
 after={\blank[small]}]

(untested)

Thomas
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] table of contents strangeness...

2008-06-25 Thread Hans Hagen
Alan Stone wrote:
 this works...
 
 \setuplist[chapter][
 style=bold,
 aligntitle=yes,
 after=\blank]  --- that's too much vertical blank space
 
 this doesn't...
 
 \setuplist[chapter][
 style=bold,
 aligntitle=yes,
 after=\blank[small]]
 
 strange ( see  log in attachement ), or not ?

the blank adapts to the style (size); also, keep in mind that the 
largest of (blank,whitespace) counts




-
   Hans Hagen | PRAGMA ADE
   Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
  tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
  | www.pragma-pod.nl
-
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] table of contents strangeness...

2008-06-25 Thread Alan Stone
Tested and confirmed.  :O)

Thanks Thomas.
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] table of contents strangeness...

2008-06-25 Thread Wolfgang Schuster
On Wed, Jun 25, 2008 at 10:13 AM, Alan Stone
[EMAIL PROTECTED] wrote:
 this works...

 \setuplist[chapter][
 style=bold,
 aligntitle=yes,
 after=\blank]  --- that's too much vertical blank space

 this doesn't...

 \setuplist[chapter][
 style=bold,
 aligntitle=yes,
 after=\blank[small]]

after={\blank[small]}]

 strange ( see  log in attachement ), or not ?

No.

Regards,
Wolfgang
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] Table of contents customization

2008-04-30 Thread Henning Hraban Ramm
Am 2008-04-29 um 13:27 schrieb Wolfgang Schuster:
 \setuplist
   [chapter,section,...]
   [numbercommand=\DotAfterNumber]

 \def\DotAfterNumber#1{\doiftext{#1}{#1.}}

Just wikified that:
http://wiki.contextgarden.net/Table_of_Contents


Greetlings from Lake Constance!
Hraban
---
http://www.fiee.net/texnique/
http://wiki.contextgarden.net
https://www.cacert.org (I'm an assurer)

___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


[NTG-context] Table of contents customization

2008-04-29 Thread Noé Cuneo
Hi all,

I've been using ConTeXT for quite a while now, and I am trying to  
build my own customized environnment.

I have some trouble customizing my content table. I tried everything I  
could, including reading the manual twice over, and I still can't  
figure out why none of my ideas will work!

In fact, my configuration looks like this:

\setupcombinedlist[content][level=4,alternative=c]
\setuplist[chapter][width=7mm,style=bold]
\setuplist[section][width=10mm,margin=10mm]
\setuplist[subsection] 
[width=13mm,style=slanted,pagestyle=normal,margin=21mm]

What I would like is the number to be separated from the page name by  
a ., which would give something like:

1. Chapter name. 32

I tried \setupcombinedlist[content][level=4,alternative=c,  
separator={.}], but it doesn't work. Although 'separator' is  
documented as the separator between the number and the pagename, it  
appears to be the separator between the number and subnumbers, like,  
with separator={ppp}:

1 MyChapter 
1ppp1 Mysection..

Which is not quite what I expect!

So i tried setting something like

\def\mycommand#1{#1.}
\setupcombinedlist[content][level=4,alternative=c,  
numbercommand={\mycommand}]

Which works, except for the fact that when there is no number (like in  
my frontmatter), the . is shown anyway... So I naturally tried:

\def\mycommand#1{\doifnotempty{#1}{#1.}}

Which doesn't work! I still get something like

.  Preamble
1.   ChapterOne
1.1 Section

So even if no number is given, the doifnotempty block still is executed!

I tried a lot of combinations, like

\def\mycommand#1{\doifdefined{#1}{#1.}} or
\def\mycommand#1{\doifnot{#1}{}{#1.}}

But none of these will compile...

So at this point, I don't see any solution, which is why I really  
would appreciate any suggestion!

Thank you very much!


___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] Table of contents customization

2008-04-29 Thread Wolfgang Schuster
On Tue, Apr 29, 2008 at 11:23 AM, Noé Cuneo [EMAIL PROTECTED] wrote:
 Hi all,

 I've been using ConTeXT for quite a while now, and I am trying to
 build my own customized environnment.

 I have some trouble customizing my content table. I tried everything I
 could, including reading the manual twice over, and I still can't
 figure out why none of my ideas will work!

 In fact, my configuration looks like this:

 \setupcombinedlist[content][level=4,alternative=c]
 \setuplist[chapter][width=7mm,style=bold]
 \setuplist[section][width=10mm,margin=10mm]
 \setuplist[subsection]
 [width=13mm,style=slanted,pagestyle=normal,margin=21mm]

 What I would like is the number to be separated from the page name by
 a ., which would give something like:

 1. Chapter name. 32

 I tried \setupcombinedlist[content][level=4,alternative=c,
 separator={.}], but it doesn't work. Although 'separator' is
 documented as the separator between the number and the pagename, it
 appears to be the separator between the number and subnumbers, like,
 with separator={ppp}:

 1 MyChapter 
 1ppp1 Mysection..

 Which is not quite what I expect!

 So i tried setting something like

 \def\mycommand#1{#1.}
 \setupcombinedlist[content][level=4,alternative=c,
 numbercommand={\mycommand}]

 Which works, except for the fact that when there is no number (like in
 my frontmatter), the . is shown anyway... So I naturally tried:

 \def\mycommand#1{\doifnotempty{#1}{#1.}}

 Which doesn't work! I still get something like

 .  Preamble
 1.   ChapterOne
 1.1 Section

 So even if no number is given, the doifnotempty block still is executed!

 I tried a lot of combinations, like

 \def\mycommand#1{\doifdefined{#1}{#1.}} or
 \def\mycommand#1{\doifnot{#1}{}{#1.}}

 But none of these will compile...

 So at this point, I don't see any solution, which is why I really
 would appreciate any suggestion!

 Thank you very much!

\setuplist
  [chapter,section,subsection]
  [stopper={.}]

Greetings
Wolfgang
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] Table of contents customization

2008-04-29 Thread Noé Cuneo

Hi Wolfgang!

Thanks a lot for your answer!

However, I have no idea why, but I still get:

.  Preamble
1.   ChapterOne
1.1. Section

With the stopper being displayed even when there is no number! And I  
am 100% sure this doesn't come from somewhere else, because if I set  
stoper={ppp}, I get

ppp  Preamble
1ppp   ChapterOne
1.1ppp Section

So clearly this stopper is called even when it should not...

Here is the exact code I used (according to your suggestion):

\setupcombinedlist[content][level=4,alternative=c]
\setuplist[chapter,section,subsection,subsubsection][stopper={ppp}]
\setuplist[section][width=7mm,style=bold]
\setuplist[subsection][width=10mm,margin=10mm]
\setuplist[subsubsection] 
[width=13mm,style=slanted,pagestyle=normal,margin=21mm]

Any idea?

Thank you very much!

 \setuplist
  [chapter,section,subsection]
  [stopper={.}]

 Greetings
 Wolfgang

___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] Table of contents customization

2008-04-29 Thread Noé Cuneo


Hi Wolfgang! It works impeccably! Thanks a lot for your help!

 \setuplist
  [chapter,section,...]
  [numbercommand=\DotAfterNumber]

 \def\DotAfterNumber#1{\doiftext{#1}{#1.}}



___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] Table of contents and 2UP or 2SIDE

2007-04-21 Thread Hans Hagen
Horacio Suarez wrote:
 Hello:

 When I use (just for saving paper and print time)

 \setuparranging[2UP]

 o

 \setuparranging[2SIDE]

 my table of content is empty, just the header (Indice) appears in that page. 
 But if I don't use any arranging the TOC it's ok.

 I can print the TOC alone, but I want to know if I'm doing somethig wrong, 
 as usual...
   
texexec --arrange yourfile 

you have to make sure that there is a last pass without a utility file being 
produced 

alternatively: 

-- comment \setuparrange
-- run texexex filename 
-- uncomment \setuparrange 
-- run texexec --once filename 

Hans 

-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
 tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
 | www.pragma-pod.nl
-

___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


[NTG-context] Table of contents and 2UP or 2SIDE

2007-04-20 Thread Horacio Suarez
Hello:

When I use (just for saving paper and print time)

\setuparranging[2UP]

o

\setuparranging[2SIDE]

my table of content is empty, just the header (Indice) appears in that page. 
But if I don't use any arranging the TOC it's ok.

I can print the TOC alone, but I want to know if I'm doing somethig wrong, 
as usual...

Thankyou in advance.

_
FREE pop-up blocking with the new MSN Toolbar - get it now! 
http://toolbar.msn.click-url.com/go/onm00200415ave/direct/01/

___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Table of contents and List of figures

2006-05-01 Thread WN




[EMAIL PROTECTED] wrote:

  On Sun, 30 Apr 2006 19:13:34 +0200, WN [EMAIL PROTECTED] wrote:

  
  
Question 1) :

In my document I am using
\setupcombinedlist[content][alternative=c,aligntitle=no,width=4em]
and now I want to use the same layout for the list of figures but there
is not something equivalent like
\setupcombinedlist[figure][alternative=c,aligntitle=no,width=4em]

  
  
The TOC is a combination of several lists (chapter, section, etc.), but a  
LOF is a single list.
Try:

\setuplist[figure][alternative=c,aligntitle=no,width=4em]

or:

\placelist[figure][alternative=c,aligntitle=no,width=4em]

  
  
Question 2):

In my document I am also using \part and in the TOC the part number
prefixes the pagenumber like

I want to get rid of the partnumbers which are prefixed to the  
pagenumbers
so my TOC looks like

Deel I Klassieke Elektrodynamica . . . . . . . . . . . . . . . . . . 1

  
  
Try this:

\completecontent[partnumber=no]

Regards,
BG
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context
  

Both your solutions work, great !! Thanks

BTW One question, as I am still learning Context (simple user), but
where did you find these options for \completecontent ?
I could not find it in the manuals, Wiki and this mailing list. 

Kind regards

Wim






___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Table of contents and List of figures

2006-05-01 Thread nico
On Mon, 01 May 2006 13:07:08 +0200, WN [EMAIL PROTECTED] wrote:

 Both your solutions work, great !! Thanks

 BTW One question, as I am still learning Context (simple user), but
 where did you find these options for \completecontent  ?
 I could not find it in the manuals, Wiki and this mailing list.

It's in the big manual (cont-enp), in the section References/Table of  
contents. The complete list of options is given for setuplist (p 150),  
and examples of placelist are given (p 155-159). The manual is far  
complete but need a careful read (many information in few pages).

Regards,
BG
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


[NTG-context] Table of contents and List of figures

2006-04-30 Thread WN

Question 1) :

In my document I am using 
\setupcombinedlist[content][alternative=c,aligntitle=no,width=4em]
and now I want to use the same layout for the list of figures but there 
is not something equivalent like
\setupcombinedlist[figure][alternative=c,aligntitle=no,width=4em]

Question 2):

In my document I am also using \part and in the TOC the part number 
prefixes the pagenumber like

Deel I Klassieke Elektrodynamica . . . . . . . . . . . . . . . . . . . . 
. . . . . . . . . . . . . . . . . . 1–1
1 De Maxwell vergelijkingen in vacuüm . . . . . . . . . . . . . . . . . . 
. . . . . . . . . . . . . 1–3
1.1 Inleiding . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 
. . . . . . . . . . . . . . . . . . . . . . . . . . . 1–10
1.2 Behoud van lading . . . . . . . . . . . . . . . . . . . . . . . . . 
. . . . . . . . . . . . . . . . . . . . . . 1–20
1.3 Energie en impuls van het elektromagnetische veld . . . . . . . . . 
. . . . . . . . . . 1–35

I want to get rid of the partnumbers which are prefixed to the pagenumbers
so my TOC looks like

Deel I Klassieke Elektrodynamica . . . . . . . . . . . . . . . . . . . . 
. . . . . . . . . . . . . . . . . . 1
1 De Maxwell vergelijkingen in vacuüm . . . . . . . . . . . . . . . . . . 
. . . . . . . . . . . . . 3
1.1 Inleiding . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 
. . . . . . . . . . . . . . . . . . . . . . . . . . . 10
1.2 Behoud van lading . . . . . . . . . . . . . . . . . . . . . . . . . 
. . . . . . . . . . . . . . . . . . . . . . 20
1.3 Energie en impuls van het elektromagnetische veld . . . . . . . . . 
. . . . . . . . . . 35

How can one achieve this in Context ?

Kind regards
Wim









___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Table of contents and List of figures

2006-04-30 Thread nico
On Sun, 30 Apr 2006 19:13:34 +0200, WN [EMAIL PROTECTED] wrote:

 Question 1) :

 In my document I am using
 \setupcombinedlist[content][alternative=c,aligntitle=no,width=4em]
 and now I want to use the same layout for the list of figures but there
 is not something equivalent like
 \setupcombinedlist[figure][alternative=c,aligntitle=no,width=4em]

The TOC is a combination of several lists (chapter, section, etc.), but a  
LOF is a single list.
Try:

\setuplist[figure][alternative=c,aligntitle=no,width=4em]

or:

\placelist[figure][alternative=c,aligntitle=no,width=4em]

 Question 2):

 In my document I am also using \part and in the TOC the part number
 prefixes the pagenumber like

 I want to get rid of the partnumbers which are prefixed to the  
 pagenumbers
 so my TOC looks like

 Deel I Klassieke Elektrodynamica . . . . . . . . . . . . . . . . . . 1

Try this:

\completecontent[partnumber=no]

Regards,
BG
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


RE: [NTG-context] Table of contents, alternative d

2004-11-29 Thread Dirar BOUGATEF
From the whole batch of answers i have received i could assume that there is 
no solution to this problem.
Am trying to produce the same table of contents as the one for the Context 
the manual.
Hans, have you used your own alternative for that ?

Thanks in advance.
Dirar.
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Table of contents, alternative d

2004-11-29 Thread Hans Hagen
Dirar BOUGATEF wrote:
From the whole batch of answers i have received i could assume that 
there is 
no solution to this problem.
Am trying to produce the same table of contents as the one for the 
Context the manual.
Hans, have you used your own alternative for that ?

Thanks in advance.
i lost track a bit (been away a few days) .. can you summarize the problem and 
make a minimal file to patch

Hans
-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
 tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
 | www.pragma-pod.nl
-
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Table of contents, alternative d

2004-11-29 Thread Willi Egger
Hi Dirar,
As mentioned by Patrick, live would be easier to help, if you would 
provide a complete test-code ...

% Table of contents Dirar Bougatef
\setupoutput[pdftex]
% \definelist[part]
\setuplist[part][before={\blank[big]},after=\blank]
% \definelist[chapter]
\setuplist
[chapter]
[alternative=d,
margin=2cm,
left=(,
right=),
depth=2cm,
before=\blank,
after=\blank,
style=bold]
\starttext
\placecontent[level=chapter]
\part{Dirar - part 1}
\dorecurse{3}{\chapter{Dirar - chapter}}
\part{Dirar - part 2}
\dorecurse{3}{\chapter{Dirar - chapter}}
\stoptext
Fisrt of alle you do do not need to redefine commands which are already 
defined within context (Commented rows above).
Secondly, afaik the style option in the setuplist command has a 
predefined list of possibilities. So context will not understand Opulent.

Kind regards Willi
Dirar BOUGATEF wrote:
Hi all,
Am using the alternative d for my table of contents, i know how to align 
my elements left (from the left margin) but can't manage to do that at 
the right side (from the right margin).

This is how i configure things:
\definelist[part]
\setuplist[part][before={\blank[big]},after=\blank]
%
\definelist[chapter]
\setuplist[chapter][alternative=d,margin=2cm,left=(,right=),depth=2cm,before=\blank,after=\blank,style=Opulent] 

\placecontent[level=chapter]
Any help .. Thanks.
Dirar.
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


[NTG-context] Table of contents, alternative d

2004-11-28 Thread Dirar BOUGATEF
Hi all,
Am using the alternative d for my table of contents, i know how to align my 
elements left (from the left margin) but can't manage to do that at the 
right side (from the right margin).

This is how i configure things:
\definelist[part]
\setuplist[part][before={\blank[big]},after=\blank]
%
\definelist[chapter]
\setuplist[chapter][alternative=d,margin=2cm,left=(,right=),depth=2cm,before=\blank,after=\blank,style=Opulent]
\placecontent[level=chapter]
Any help .. Thanks.
Dirar.
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Table of contents interaction

2004-10-21 Thread Richard Gabriel
Hello Hans,
good idea, it works!
By the way, the ConTeXt reference manual (cont-eni.pdf which I use as a 
main reference, doesn't mention the textcolor parameter (only color) 
in the setuplist command description.
Is any documentation update planned?

Thanks for your help.
Richard

Hans Hagen wrote:
Richard Gabriel wrote:
Hi all,
got the following problem:
I'd like to setup the interaction for the table of contents to 
section numbers AND page numbers.

\setupcombinedlist[content][interaction= ...]
The possible values for the parameter interaction are: 
sectionnumber, pagenumber, text, all

I don't want to use all because the interaction text has an another 
color:
\setupinteraction[state=start,color=blue,style=normal]

doen't
  \setupcombinedlist[content][textcolor=anothercolor]
overload the interactioncolor?
Is is possible to say something like:
\setupcombinedlist[content][interaction={sectionnumber, pagenumber}]
(exactly this command is not accepted)

indeed, not implemented (yet)
Hans
-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
 tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
 | www.pragma-pod.nl
-
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context

___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Table of contents interaction

2004-10-21 Thread Hans Hagen
Richard Gabriel wrote:
By the way, the ConTeXt reference manual (cont-eni.pdf which I use as a 
main reference, doesn't mention the textcolor parameter (only color) 
in the setuplist command description.
Is any documentation update planned?
sure
Hans
-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
 tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
 | www.pragma-pod.nl
-
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


[NTG-context] Table of contents interaction

2004-10-20 Thread Richard Gabriel
Hi all,
got the following problem:
I'd like to setup the interaction for the table of contents to section 
numbers AND page numbers.

\setupcombinedlist[content][interaction= ...]
The possible values for the parameter interaction are: sectionnumber, 
pagenumber, text, all

I don't want to use all because the interaction text has an another color:
\setupinteraction[state=start,color=blue,style=normal]
Is is possible to say something like:
\setupcombinedlist[content][interaction={sectionnumber, pagenumber}]
(exactly this command is not accepted)
Thanks for any help!
Richard


___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Table of contents interaction

2004-10-20 Thread Hans Hagen
Richard Gabriel wrote:
Hi all,
got the following problem:
I'd like to setup the interaction for the table of contents to section 
numbers AND page numbers.

\setupcombinedlist[content][interaction= ...]
The possible values for the parameter interaction are: sectionnumber, 
pagenumber, text, all

I don't want to use all because the interaction text has an another color:
\setupinteraction[state=start,color=blue,style=normal]
doen't
  \setupcombinedlist[content][textcolor=anothercolor]
overload the interactioncolor?
Is is possible to say something like:
\setupcombinedlist[content][interaction={sectionnumber, pagenumber}]
(exactly this command is not accepted)
indeed, not implemented (yet)
Hans
-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
 tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
 | www.pragma-pod.nl
-
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


  1   2   >