[NTG-context] Re: documentation: parameters of \setuplist

2024-04-24 Thread Henning Hraban Ramm
Am 23.04.24 um 23:14 schrieb Wolfgang Schuster: Henning Hraban Ramm schrieb am 23.04.2024 um 21:43: Am 22.04.24 um 18:09 schrieb Henning Hraban Ramm: I tried to complete https://wiki.contextgarden.net/Command/setuplist, but I don’t understand all parameters. Can anyone explain these please

[NTG-context] Re: documentation: parameters of \setuplist

2024-04-24 Thread Henning Hraban Ramm
Am 24.04.24 um 01:00 schrieb Bruce Horrocks: In the source there is a comment relating to location: %D Regular list entries are bound to a specific location in order to get the right %D pagenumber etc.\ associated. When pushing something inbetween (in mkiv) it ends %D up directtly in the

[NTG-context] Re: documentation: parameters of \setuplist

2024-04-24 Thread Bruce Horrocks
> On 23 Apr 2024, at 20:43, Henning Hraban Ramm wrote: > > Am 22.04.24 um 18:09 schrieb Henning Hraban Ramm: >> I tried to complete https://wiki.contextgarden.net/Command/setuplist, but I >> don’t understand all parameters. >> Can anyone explain these please: &g

[NTG-context] Re: documentation: parameters of \setuplist

2024-04-23 Thread Wolfgang Schuster
Henning Hraban Ramm schrieb am 23.04.2024 um 21:43: Am 22.04.24 um 18:09 schrieb Henning Hraban Ramm: I tried to complete https://wiki.contextgarden.net/Command/setuplist, but I don’t understand all parameters. Can anyone explain these please: * state (start stop): what does this en-/disable

[NTG-context] Re: documentation: parameters of \setuplist

2024-04-23 Thread Henning Hraban Ramm
Am 22.04.24 um 18:09 schrieb Henning Hraban Ramm: I tried to complete https://wiki.contextgarden.net/Command/setuplist, but I don’t understand all parameters. Can anyone explain these please: * state (start stop): what does this en-/disable? collecting entries? * label (yes no none Name

[NTG-context] Re: documentation: parameters of \setuplist

2024-04-22 Thread Henning Hraban Ramm
Am 22.04.24 um 18:30 schrieb Duncan Hothersall: Hi Hraban, I can help with one - aligntitle means an unnumbered section will align in the table of contents under the number rather than the title. So for example if you have a TOC combining \section and \subject entries, they would look like

[NTG-context] Re: documentation: parameters of \setuplist

2024-04-22 Thread Duncan Hothersall
... A section .. A subject Duncan On Mon, 22 Apr 2024 at 17:09, Henning Hraban Ramm wrote: > I tried to complete https://wiki.contextgarden.net/Command/setuplist, > but I don’t understand all parameters. > > Can anyone explain these please: > > * state (start stop): what doe

[NTG-context] documentation: parameters of \setuplist

2024-04-22 Thread Henning Hraban Ramm
I tried to complete https://wiki.contextgarden.net/Command/setuplist, but I don’t understand all parameters. Can anyone explain these please: * state (start stop): what does this en-/disable? collecting entries? * label (yes no none Name): language dependent labels? as a prefix or what

Re: [NTG-context] \setuplist only for bodypart

2022-06-18 Thread Pablo Rodriguez via ntg-context
On 6/17/22 18:33, Wolfgang Schuster via ntg-context wrote: > [...] > To create separate styles for chapters within the frontmatter and > bodymatter you have to create a new section command where you can apply > different list settings. Many thanks for your reply, Wolfgang. Now I have learnt that

Re: [NTG-context] \setuplist only for bodypart

2022-06-17 Thread Wolfgang Schuster via ntg-context
according to documentation. Many thanks for your reply, Hraban. Using current latest (from 2022.05.11 11:36) with current sample outputs no different setup for chapters from bodypart: \startsectionblockenvironment[bodypart] \setuplist[chapter] [alternative=d

Re: [NTG-context] \setuplist only for bodypart

2022-06-17 Thread Pablo Rodriguez via ntg-context
n. Many thanks for your reply, Hraban. Using current latest (from 2022.05.11 11:36) with current sample outputs no different setup for chapters from bodypart: \startsectionblockenvironment[bodypart] \setuplist[chapter] [alternative=d] \stopsectionblockenvironment

Re: [NTG-context] \setuplist only for bodypart

2022-06-16 Thread Henning Hraban Ramm via ntg-context
Am 16.06.22 um 21:19 schrieb Pablo Rodriguez via ntg-context: \startsectionblockenvironment[bodypart] ... \stopsectionblockenvironment This should work according to documentation. Hraban ___ If your

[NTG-context] \setuplist only for bodypart

2022-06-16 Thread Pablo Rodriguez via ntg-context
Dear list, sorry for the very basic question, but I cannot find the way to do it. Imagine I have the following command: \setuplist [chapter] [alternative=d] But I only want for sectionblock bodypart (nof for frontpart, backpart or the appendices). I have enclosed

Re: [NTG-context] \setuplist with numbercommand renders wrongly

2017-12-11 Thread Henri
If you want to format the TOC line you have to use command=... together with alternative=command. \define[3]\ChapterNumber{\line{Chapter #1: #2\hfill#3}} \setuplist   [section]   [alternative=command,    command=\ChapterNumber] \starttext \completecontent \startsection[title={blabla

[NTG-context] \setuplist with numbercommand renders wrongly

2017-12-10 Thread SteamedFish
I don’t know if I use it wrongly, or it’s a bug in ConTeXt, but use \setuplist with numbercommand renders wrongly % this is not working, ``chapter’’ and chapter name overlapped \define[2]\ChapterNumber{chapter #1: #2} % have to add extra spaces here to avoid overlapping % \define[2

[NTG-context] interlinespace for \setuplist

2016-12-06 Thread Pablo Rodriguez
\setuplist[section][style=\scb, setups=interlinesp:section] \setuplist[subsection] [style=\itx, alternative=d, pagenumber=no, headnumber=no, setups=interlinesp:subsection] \starttext \completecontent \section{Zweites Hauptstück. Von der Deduction der reinen

[NTG-context] interline space for \setuplist[alternative=d]

2016-11-02 Thread Pablo Rodriguez
Hans, I have the following sample: \setuppapersize[A6] \setupinteraction[state=start, focus=standard] \placebookmarks[chapter, section][chapter, section] \startsetups[lsect] \setupinterlinespace[line=28ex] \stopsetups \setuplist[section][style=\tfxx, alternative=d

Re: [NTG-context] Help with \setuplist number width (for appendices)

2015-03-25 Thread Robin.Kirkham
either a width with some stretch so the list layout will adapt, or somehow be able to specify a different width for the appendix entries. Any help appreciated, Robin \setuplist[chapter][ width=12mm, % but want 30mm for appendices label=yes, alternative=c] \define[1

Re: [NTG-context] Help with \setuplist number width (for appendices)

2015-03-23 Thread Wolfgang Schuster
layout will adapt, or somehow be able to specify a different width for the appendix entries. Any help appreciated, Robin \setuplist[chapter][ width=12mm, % but want 30mm for appendices label=yes, alternative=c] \define[1]\ChapterlistNumber {\dowithnextbox {\ifdim

[NTG-context] Help with \setuplist number width (for appendices)

2015-03-23 Thread Robin.Kirkham
. Any help appreciated, Robin \setuplist[chapter][ width=12mm, % but want 30mm for appendices label=yes, alternative=c] \setuplabeltext[appendix=Appendix\space] \starttext \completecontent \chapter{One} \chapter{Two} \startappendices \chapter{First} \chapter{Second

Re: [NTG-context] How to use \setuplist for formatting a chapter entry?

2015-02-06 Thread Rob Heusdens
-- } \define[3]\ChapterToc% {\vbox{\bf Hoofdstuk #1 -- #2 \filler[ChapterFiller] #3}} \define[1]\AppendixToc% {Bijlage -- #1} \define[1]\BackToc% {Noten -- #1} […] and replace these list setups \setuplist[chapter][headnumber=yes,style=bold,width=17ex,numbercommand

Re: [NTG-context] How to use \setuplist for formatting a chapter entry?

2015-02-04 Thread Wolfgang Schuster
#1 -- } \define[3]\ChapterToc% {\vbox{\bf Hoofdstuk #1 -- #2 \filler[ChapterFiller] #3}} \define[1]\AppendixToc% {Bijlage -- #1} \define[1]\BackToc% {Noten -- #1} […] and replace these list setups \setuplist[chapter][headnumber=yes,style=bold,width=17ex

Re: [NTG-context] How to use \setuplist for formatting a chapter entry?

2015-02-04 Thread Rob Heusdens
={flushleft,nothyphenated,verytolerant}] \setuphead[back][number=no,header=nomarking,command=,textcommand=\MyBackCommand,align={flushleft,nothyphenated,verytolerant}] \setuplist[chapter][headnumber=yes,style=bold,width=17ex,numbercommand=\ChapterNumberToc] %\setuplist[chapter][headnumber=yes,style=bold

Re: [NTG-context] How to use \setuplist for formatting a chapter entry?

2015-02-04 Thread Wolfgang Schuster
Am 03.02.2015 um 12:43 schrieb Rob Heusdens robh...@xs4all.nl: Remove the line above (the level key down’t work with MkIV) and use \setuplist to set “alternative=c” for the list entries where you want to apply this layout. Wolfgang I commented out the \setupcombinedlist

[NTG-context] How to use \setuplist for formatting a chapter entry?

2015-02-03 Thread Rob Heusdens
[content][level=4, alternative=c] \setuplist[chapter][headnumber=yes,style=bold,width=8em,numbercommand=\ChapterNumberToc] \starttext \completecontent \dorecurse{5}{ \chapter {Knuth} \input knuth \chapter {Zapf} \input zapf} \stoptext As you can see, there is a different between the 9-th and 10-th

Re: [NTG-context] How to use \setuplist for formatting a chapter entry?

2015-02-03 Thread Rob Heusdens
You have to write your own layout for the complete list entry. When you don’t need hyperlinks for the list entries you can use “alternative=command” instead of “alternative=interactive” for \setuplist. \setupcombinedlist[content][list=chapter] \definefiller[ChapterFiller

Re: [NTG-context] How to use \setuplist for formatting a chapter entry?

2015-02-03 Thread Wolfgang Schuster
Am 03.02.2015 um 12:15 schrieb Rob Heusdens robh...@xs4all.nl: You have to write your own layout for the complete list entry. When you don’t need hyperlinks for the list entries you can use “alternative=command” instead of “alternative=interactive” for \setuplist

Re: [NTG-context] How to use \setuplist for formatting a chapter entry?

2015-02-03 Thread Rob Heusdens
Remove the line above (the level key down’t work with MkIV) and use \setuplist to set “alternative=c” for the list entries where you want to apply this layout. Wolfgang I commented out the \setupcombinedlist command and placed alternative=c into the other \setuplist entries

Re: [NTG-context] How to use \setuplist for formatting a chapter entry?

2015-02-03 Thread Wolfgang Schuster
% {Hoofdstuk #1 -- } \definecombinedlist[content][chapter] \setupcombinedlist[content][level=4, alternative=c] \setuplist[chapter][headnumber=yes,style=bold,width=8em,numbercommand=\ChapterNumberToc] \starttext \completecontent \dorecurse{5}{ \chapter {Knuth} \input knuth \chapter

Re: [NTG-context] whitespace in \setuplist[chapter]

2014-10-05 Thread Pablo Rodriguez
On 10/05/2014 02:59 AM, Thangalin wrote: Try: \setuplist[chapter][before={\blank[4*big]}] Many thanks for your reply, Thangalin. I completely forgot the before option. Of course that was the right way to set the separation between chapter entries in the TOC. Many thanks for your help

[NTG-context] whitespace in \setuplist[chapter]

2014-10-04 Thread Pablo Rodriguez
Dear list, I have the following sample: \startsetups[setups:chapterlist] \setupwhitespace[10*big] \stopsetups \setuplist[chapter][setups=setups:chapterlist] \starttext \completecontent \dorecurse{50}{\chapter{My Chapter}} \stoptext I thought that setups were

Re: [NTG-context] whitespace in \setuplist[chapter]

2014-10-04 Thread Thangalin
Try: \setuplist[chapter][ before={\blank[4*big]} ] \starttext \completecontent \dorecurse{50}{\chapter{My Chapter}} \stoptext See also: http://wiki.contextgarden.net/Command/setuplist http://tex.stackexchange.com/questions/89758

Re: [NTG-context] bug with \setuplist?

2014-06-08 Thread Pablo Rodriguez
On 06/07/2014 10:57 PM, Hans Hagen wrote: On 6/7/2014 8:41 PM, Pablo Rodriguez wrote: [...] AFAIK, no \part could be the last line of a page in the contents. Well, I’m afraid this isn’t the case. Could anyone confirm whether I am doing something wrong or this is bug? \setuplist

[NTG-context] bug with \setuplist?

2014-06-07 Thread Pablo Rodriguez
Dear list, sorry for posting this issue twice, but I wonder whether it went unnoticed because I added it in an answer to an already replied message. I have the following sample: \setuppapersize[A6] \setuplist[part][after={\blank[samepage,big]}] \starttext \completecontent

Re: [NTG-context] bug with \setuplist?

2014-06-07 Thread Hans Hagen
On 6/7/2014 8:41 PM, Pablo Rodriguez wrote: Dear list, sorry for posting this issue twice, but I wonder whether it went unnoticed because I added it in an answer to an already replied message. I have the following sample: \setuppapersize[A6] \setuplist[part][after={\blank[samepage

Re: [NTG-context] bug with \setuplist[part][after={\blank[samepage, big]}]

2014-06-06 Thread Pablo Rodriguez
title. Am I missing something or is this a bug? And if it were a bug, would it be related to wrong page breaks with titles? no, more with before/after settings in the list setup (that you can change per section) Hans, this is the minimal sample: \setuppapersize[A6] \setuplist[part

[NTG-context] bug with \setuplist[part][after={\blank[samepage, big]}]

2014-06-05 Thread Pablo Rodriguez
Dear list, I don’t have a minimal sample (yet), but I have added the command above to force part titles in contents to be with the next part title. Well, the contents take five pages and two of them finish with a part title. Am I missing something or is this a bug? And if it were a bug, would

Re: [NTG-context] bug with \setuplist[part][after={\blank[samepage, big]}]

2014-06-05 Thread Hans Hagen
On 6/5/2014 6:02 PM, Pablo Rodriguez wrote: Dear list, I don’t have a minimal sample (yet), but I have added the command above to force part titles in contents to be with the next part title. Well, the contents take five pages and two of them finish with a part title. Am I missing something

[NTG-context] \setuplist ignores width=dim in combination with headnumber=no

2014-05-23 Thread Mojca Miklavec
Hi, I would like to remove header numbers for subsections, but keep subsections properly aligned in the table of contents. However, the width= parameter seems to be completely ignored in that case. Here's a nearly-minimal example: \setuplist[section][width=10mm,style=bold] \setuplist[subsection

Re: [NTG-context] \setuplist ignores width=dim in combination with headnumber=no

2014-05-23 Thread Wolfgang Schuster
a nearly-minimal example: \setuplist[section][width=10mm,style=bold] \setuplist[subsection][width=15mm,headnumber=no] \setuplist[subsection][distance=20mm,headnumber=no] Wolfgang ___ If your question is of interest

Re: [NTG-context] \setuplist ignores width=dim in combination with headnumber=no

2014-05-23 Thread Mojca Miklavec
in that case. Here's a nearly-minimal example: \setuplist[section][width=10mm,style=bold] \setuplist[subsection][width=15mm,headnumber=no] \setuplist[subsection][distance=20mm,headnumber=no] Dear Wolfgang, Perfect, thank you, it works. Even though I still don't understand why width wouldn't

[NTG-context] \setuplist[alternative=inmargin, sectionsegments=section]?

2014-02-19 Thread Pablo Rodriguez
Dear list, I have the following sample: \setupheads\setuphead[chapter][sectionsegments=chapter, align=center] \setuphead[section][alternative=inmargin] \setuplist[section][alternative=d, style=\itx] \starttext \placecontent \startfrontmatter \dorecurse{2}{\chapter{Chapter} \dorecurse{10

Re: [NTG-context] \setuplist[alternative=inmargin, sectionsegments=section]?

2014-02-19 Thread Wolfgang Schuster
Am 19.02.2014 um 19:02 schrieb Pablo Rodriguez oi...@gmx.es: Dear list, I have the following sample: \setupheads\setuphead[chapter][sectionsegments=chapter, align=center] \setuphead[section][alternative=inmargin] \setuplist[section][alternative=d, style=\itx] \starttext \placecontent

Re: [NTG-context] \setuplist[alternative=inmargin, sectionsegments=section]?

2014-02-19 Thread Pablo Rodriguez
On 02/19/2014 07:48 PM, Wolfgang Schuster wrote: Am 19.02.2014 um 19:02 schrieb Pablo Rodriguez: [...] My question is: how can I achieve \setuplist[chapter][alternative=inmargin] and Write your own list layout. Many thanks for your reply, Wolfgang. I have no idea about how to do it. What

Re: [NTG-context] \setuplist[alternative=inmargin, sectionsegments=section]?

2014-02-19 Thread Wolfgang Schuster
Am 19.02.2014 um 20:14 schrieb Pablo Rodriguez oi...@gmx.es: On 02/19/2014 07:48 PM, Wolfgang Schuster wrote: Am 19.02.2014 um 19:02 schrieb Pablo Rodriguez: [...] My question is: how can I achieve \setuplist[chapter][alternative=inmargin] and Write your own list layout. Many thanks

Re: [NTG-context] \setuplist[alternative=inmargin?

2014-02-19 Thread Pablo Rodriguez
or \setuplist in combination with alternative=command. Many thanks for your reply, Wolfgang. After reading strc-lst.mkvi (and trying something), I thought of a different approach: \showframe\showgrid \setupinteraction[state=start] \setupcombinedlist[content][interaction=all] \setuplist[chapter

[NTG-context] issues with \setuplist

2014-01-17 Thread Pablo Rodriguez
Dear list, generating a table of contents with the following sample: \setupinterlinespace[line=3.5ex] \setuplist[section][alternative=d, style={\itx\setupinterlinespace}, separator={·}] \starttext \placecontent \dorecurse{5}{\chapter{Chapter}\dorecurse{10}{\section{Long Section Title

[NTG-context] Chapter number in list colored (setuplist)

2013-07-09 Thread Zenlima
Hi, I want to color the chapter number in the table of content. The attribute numbercolor does not exist in setuplist. So I tried to color the chapter number via numberstlye (numbercommand is also not working): ---8 \define[1]\listChapterColor{\color[bordeaux]{X #1

Re: [NTG-context] Chapter number in list colored (setuplist)

2013-07-09 Thread Aditya Mahajan
On Tue, 9 Jul 2013, Zenlima wrote: Hi, I want to color the chapter number in the table of content. The attribute numbercolor does not exist in setuplist. So I tried to color the chapter number via numberstlye (numbercommand is also not working): ---8 \define[1

Re: [NTG-context] Chapter number in list colored (setuplist)

2013-07-09 Thread Wolfgang Schuster
Am 09.07.2013 um 18:08 schrieb Zenlima p...@zenlima.eu: Hi, I want to color the chapter number in the table of content. The attribute numbercolor does not exist in setuplist. So I tried to color the chapter number via numberstlye (numbercommand is also not working): ---8

Re: [NTG-context] Chapter number in list colored (setuplist)

2013-07-09 Thread Zenlima
Am Tue, 9 Jul 2013 12:20:18 -0400 (EDT) schrieb Aditya Mahajan adit...@umich.edu: numbercolor=bordeaux I am so sorry.. I tried that too but I must have mistyped it then.. now it works :) Thanks ___ If your

Re: [NTG-context] Chapter number in list colored (setuplist)

2013-07-09 Thread Zenlima
2. You didn’t test numbercolor. You are correct: after my mistyped try'n'error I did not checked it any further as the documentation in the wiki. I updated it with that missing attribute. thanks signature.asc Description: PGP signature

[NTG-context] Bug in \setuplist

2012-03-15 Thread Willi Egger
Hi Guru's While typesetting an old book (original is from 1853) I need to tweak the table of contents. It looks as follows: CHAPTER II. BEES CAPABLE OF DOMESTICATION. Astonishment of persons at their tameness, 25. Bees intended for the comfort of man. Properties fitting them for domestication.

Re: [NTG-context] Bug in \setuplist

2012-03-15 Thread Wolfgang Schuster
Am 15.03.2012 um 11:25 schrieb Willi Egger: Hi Guru's While typesetting an old book (original is from 1853) I need to tweak the table of contents. It looks as follows: CHAPTER II. BEES CAPABLE OF DOMESTICATION. Astonishment of persons at their tameness, 25. Bees intended for the

Re: [NTG-context] Bug in \setuplist

2012-03-15 Thread Willi Egger
Hi Wolfgang, thank you very much for solving my problem! -- Indeed this works well. What I need to do is to convert the chapter number into a roman number. CHAPTER XIV. BEES CAPABLE OF DOMESTICATION. Astonishment of persons at their tameness, 25. Bees intended for the comfort of man.

Re: [NTG-context] Bug in \setuplist

2012-03-15 Thread Wolfgang Schuster
Am 15.03.2012 um 17:21 schrieb Willi Egger: Hi Wolfgang, thank you very much for solving my problem! -- Indeed this works well. What I need to do is to convert the chapter number into a roman number. CHAPTER XIV. BEES CAPABLE OF DOMESTICATION. Astonishment of persons at their

Re: [NTG-context] Bug in \setuplist

2012-03-15 Thread Willi Egger
\def\Mysectioncommand#1#2#3{#2, \hskip0.5\bodyfontsize #3.\hskip0.25\bodyfontsize} used in \setuplist [chapter] [prefix=no, sectionnumber=no, headnumber=no, alternative=command, command=\Mychaptercommand] \setuplist [section] [prefix

Re: [NTG-context] Bug in \setuplist

2012-03-15 Thread Willi Egger
Hi Wolfgang, you are of course right. - When testing I switched to a test-file, where I did not set the romannumerals conversion in \setuphead. - Sorry ;-( Is the use of the option-key in \setuphead[chapter][conversion=Romannumerals] depreciated? Willi On 15 Mar 2012, at 17:33, Wolfgang

Re: [NTG-context] Bug in \setuplist

2012-03-15 Thread Wolfgang Schuster
Am 15.03.2012 um 17:45 schrieb Willi Egger: Hi Wolfgang, you are of course right. - When testing I switched to a test-file, where I did not set the romannumerals conversion in \setuphead. - Sorry ;-( Is the use of the option-key in \setuphead[chapter][conversion=Romannumerals]

[NTG-context] confirmed bug with \setuplist[alternative=d, margin=2em]

2012-03-08 Thread Pablo Rodríguez
Hello Hans, the following code shows a bug with latest beta (first item on content list is indented, but the second isn't): \setuplist[chapter][alternative=d,margin=2em] \starttext \completecontent \part{Part} \chapter{Chapter} a \part{Part} \chapter{Chapter} b \stoptext Wolfgang kindly

Re: [NTG-context] bug with \setuplist[alternative=d,margin=2em]?

2012-02-27 Thread Pablo Rodríguez
On 02/26/2012 09:45 PM, Wolfgang Schuster wrote: Am 26.02.2012 um 16:32 schrieb Pablo Rodríguez: Hi there, \setuplist[alternative=d,margin=2em] is shown right on the first item from the sample below, but not on the last one: [] This happens since previous beta and I guess it might

[NTG-context] bug with \setuplist[alternative=d,margin=2em]?

2012-02-26 Thread Pablo Rodríguez
Hi there, \setuplist[alternative=d,margin=2em] is shown right on the first item from the sample below, but not on the last one: \setuplist[part][alternative=b] \setuplist[chapter][alternative=d,margin=2em] \starttext \completecontent \part{Part} \chapter{Chapter} a \part{Part} \chapter{Chapter

Re: [NTG-context] bug with \setuplist[alternative=d,margin=2em]?

2012-02-26 Thread Wolfgang Schuster
Am 26.02.2012 um 16:32 schrieb Pablo Rodríguez: Hi there, \setuplist[alternative=d,margin=2em] is shown right on the first item from the sample below, but not on the last one: \setuplist[part][alternative=b] \setuplist[chapter][alternative=d,margin=2em] \starttext \completecontent

Re: [NTG-context] \setuplist[alternative=g] bug with interactive document

2012-02-20 Thread Wolfgang Schuster
Am 19.02.2012 um 23:00 schrieb Pablo Rodríguez: Hi Wolfgang, I have a with \setuplist[alternative=g] in an interactive document. Here you have the minimal sample: \setupinteraction[state=start] \setupcombinedlist[content][interaction=all] \setuplist[part][alternative=g] \setuplist

Re: [NTG-context] \setuplist[alternative=g] bug with interactive document

2012-02-20 Thread Hans Hagen
On 20-2-2012 10:58, Wolfgang Schuster wrote: The alternative d put’s all entries in a single line and this works perfect when you have a parent with alternative a–c. The alternatives e–g have also this requirement but I guess they aren’t meant to be used in combination with other alternatives.

Re: [NTG-context] \setuplist[alternative=g] bug with interactive document

2012-02-20 Thread Pablo Rodríguez
On 02/20/2012 12:56 PM, Hans Hagen wrote: On 20-2-2012 10:58, Wolfgang Schuster wrote: The alternative d put’s all entries in a single line and this works perfect when you have a parent with alternative a–c. The alternatives e–g have also this requirement but I guess they aren’t meant to

[NTG-context] \setuplist[alternative=d, margin=2em] not working on latest beta

2012-02-19 Thread Pablo Rodríguez
Hi Hans, in the following sample, the first chapter has the correct margin on the content list, but the second one doesn't have any margin. \setuplist[part][alternative=b] \setuplist[chapter][alternative=d,margin=2em] \starttext \completecontent \part{Part} \chapter{Chapter} a \part{Part

[NTG-context] \setuplist[alternative=g] bug with interactive document

2012-02-19 Thread Pablo Rodríguez
Hi Wolfgang, I have a with \setuplist[alternative=g] in an interactive document. Here you have the minimal sample: \setupinteraction[state=start] \setupcombinedlist[content][interaction=all] \setuplist[part][alternative=g] \setuplist[chapter][alternative=d] \starttext \completecontent \part

Re: [NTG-context] bug with setuplist alternative?

2012-01-29 Thread Wolfgang Schuster
Am 29.01.2012 um 00:23 schrieb Pablo Rodríguez: Hi there, in the following sample: \setuplist[chapter][alternative=g] \setuplist[section][alternative=d] \starttext \completecontent \chapter{chapter} \section{section} \chapter{chapter

Re: [NTG-context] bug with setuplist alternative?

2012-01-29 Thread Pablo Rodríguez
On 01/29/2012 01:06 PM, Wolfgang Schuster wrote: [...] BTW, how can I get a table of contents with heading that doesn't contain subsections? The wiki only offers the option \placecontent[chapter,section], but I need the heading. \completecontent == \title{Contents} + \placecontent

[NTG-context] bug with setuplist alternative?

2012-01-28 Thread Pablo Rodríguez
Hi there, in the following sample: \setuplist[chapter][alternative=g] \setuplist[section][alternative=d] \starttext \completecontent \chapter{chapter} \section{section} \chapter{chapter} \subsection{subsection} I get the second

[NTG-context] setuplist inherit margin and width

2011-06-23 Thread Steffen Wolfrum
Hi, say, I want to design the TOC. Now I would write: \setuplist[LevelFour] [margin=1.20cm,width=0.5cm,...] \setuplist[LevelFive] [margin=1.70cm,width=0.5cm,] But is there some clever command that makes a calculation like this: \setuplist[LevelFour] [margin=1.20cm,width=0.5cm

Re: [NTG-context] setuplist inherit margin and width

2011-06-23 Thread Wolfgang Schuster
Am 23.06.2011 um 16:49 schrieb Steffen Wolfrum: Hi, say, I want to design the TOC. Now I would write: \setuplist[LevelFour] [margin=1.20cm,width=0.5cm,...] \setuplist[LevelFive] [margin=1.70cm,width=0.5cm,] But is there some clever command that makes a calculation like

Re: [NTG-context] setuplist inherit margin and width

2011-06-23 Thread Hans Hagen
On 23-6-2011 6:08, Wolfgang Schuster wrote: Variant 1: Variant 2: Nice examples for the wiki! - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The

Re: [NTG-context] setuplist inherit margin and width

2011-06-23 Thread Wolfgang Schuster
Am 23.06.2011 um 19:49 schrieb Jaroslav Hajtmar: Hello Wolfgang. I know that my question is a little off this topic, but: Is there any possibility change due this method affect appearance list typed using \placecontent (the gap between list items, alignment, etc.)? If I knew how to do it,

Re: [NTG-context] setuplist inherit margin and width

2011-06-23 Thread Jaroslav Hajtmar
would write: \setuplist[LevelFour] [margin=1.20cm,width=0.5cm,...] \setuplist[LevelFive] [margin=1.70cm,width=0.5cm,] But is there some clever command that makes a calculation like this: \setuplist[LevelFour] [margin=1.20cm,width=0.5cm,...] \setuplist[LevelFive] [margin={\the\dimexpr

[NTG-context] attention: setuplist kills hyperlinks!

2010-12-05 Thread Steffen Wolfrum
Hi, please have a look at this minimal example: Normally you have a bidirectional hyperlink toc-entry - section-head. But when you uncomment the line with setuplist these hyperlinks are gone! How does this feature come back? Best regards, Steffen --- \def\AltCom#1#2#3{#1 #2 #3

Re: [NTG-context] attention: setuplist kills hyperlinks!

2010-12-05 Thread Wolfgang Schuster
Am 05.12.2010 um 20:59 schrieb Steffen Wolfrum: Hi, please have a look at this minimal example: Normally you have a bidirectional hyperlink toc-entry - section-head. But when you uncomment the line with setuplist these hyperlinks are gone! How does this feature come back? Only lists

[NTG-context] \setuplist coupling parameter

2008-08-11 Thread Alan Stone
Hi, I screened the available resources (manuals, wiki, texshow) for the purpose and use of the \setuplist command coupling=on/off option without finding an answer. What is it for ? Thanks, Alan ___ If your question

Re: [NTG-context] \setuplist coupling parameter

2008-08-11 Thread Hans Hagen
Alan Stone wrote: Hi, I screened the available resources (manuals, wiki, texshow) for the purpose and use of the \setuplist command coupling=on/off option without finding an answer. What is it for ? you can have two instances of a document (screen, paper) and have them cross linked

Re: [NTG-context] goto(box) and setuplist questions

2008-08-07 Thread Wolfgang Schuster
own list alternative. \define[3]\ChapterList {\hbox {\hbox to .5em{#1}\hskip.5em \vtop{\hsize150pt\relax#2}% \hfil#3}} \setuplist[chapter][alternative=command,command=\ChapterList] I'll try that... Wolfgang

Re: [NTG-context] goto(box) and setuplist questions

2008-08-07 Thread Wolfgang Schuster
On Wed, Aug 6, 2008 at 8:45 PM, Alan Stone [EMAIL PROTECTED] wrote: The better way is to define you own list alternative. \define[3]\ChapterList {\hbox {\hbox to .5em{#1}\hskip.5em \vtop{\hsize150pt\relax#2}% \hfil#3}} \setuplist[chapter][alternative=command,command

Re: [NTG-context] goto(box) and setuplist questions

2008-08-07 Thread Wolfgang Schuster
On Wed, Aug 6, 2008 at 8:45 PM, Alan Stone [EMAIL PROTECTED] wrote: The better way is to define you own list alternative. \define[3]\ChapterList {\hbox {\hbox to .5em{#1}\hskip.5em \vtop{\hsize150pt\relax#2}% \hfil#3}} \setuplist[chapter][alternative=command,command

Re: [NTG-context] goto(box) and setuplist questions

2008-08-06 Thread Alan Stone
for example \setuplist[chapter][align=middle,distance=1em] ( or whatever else for distance ) it has no effect upon the distance between the chapter number and the chapter title \setuplist[chapter][align=middle,distance=0pt,width=1em] This works. What's the reason for this Wolfgang

Re: [NTG-context] goto(box) and setuplist questions

2008-08-06 Thread Wolfgang Schuster
]\startnarrower[left,right]}, after={\stopnarrower\blank[medium]}, ] \stopinteractionmenu - when setting for example \setuplist[chapter][align=middle,distance=1em] ( or whatever else for distance ) it has no effect upon the distance between the chapter number and the chapter title

Re: [NTG-context] goto(box) and setuplist questions

2008-08-06 Thread Alan Stone
correction... Using the brute force tactic I tried setting textwidth which didn't work. It could be textcommand. If so what does \command#1 mean ( see main manual pg 150 ) ? Alan ___ If your question is of interest

Re: [NTG-context] goto(box) and setuplist questions

2008-08-06 Thread Wolfgang Schuster
) ? \define[1]\SectionList {\framed{#1}} \setuplist[section][textcommand=\SectionList] \starttext \placelist[section] \section{Section} \stoptext Wolfgang ___ If your question is of interest to others as well

Re: [NTG-context] goto(box) and setuplist questions

2008-08-06 Thread Alan Stone
}} \setuplist[section][textcommand=\SectionList] \starttext \placelist[section] \section{Section} \stoptext Vielen dank. Best, Alan ___ If your question is of interest to others as well, please add an entry

Re: [NTG-context] goto(box) and setuplist questions

2008-08-06 Thread Alan Stone
...} ^^ ^^ width distance Sorry, TeX is currently still like Klingon to me. Thanks anyway. Hans wrote: - maxwidth ? just try it on long entries .. it prevents too long lines this is a very long entry this is a very ... Ok I see. Now, in \placecontent or \setuplist, which parameter allows

Re: [NTG-context] goto(box) and setuplist questions

2008-08-06 Thread Wolfgang Schuster
entries .. it prevents too long lines this is a very long entry this is a very ... Ok I see. Now, in \placecontent or \setuplist, which parameter allows to influence where long lines are cut off in two (or more) ? Like... (number) This long long chapter title (pagenumber

Re: [NTG-context] goto(box) and setuplist questions

2008-08-06 Thread Alan Stone
this is a very long entry this is a very ... Ok I see. Now, in \placecontent or \setuplist, which parameter allows to influence where long lines are cut off in two (or more) ? Like... (number) This long long chapter title (pagenumber) vs. (number

Re: [NTG-context] goto(box) and setuplist questions

2008-08-06 Thread Wolfgang Schuster
: - maxwidth ? just try it on long entries .. it prevents too long lines this is a very long entry this is a very ... Ok I see. Now, in \placecontent or \setuplist, which parameter allows to influence where long lines are cut off in two (or more) ? Like... (number) This long long

Re: [NTG-context] goto(box) and setuplist questions

2008-08-06 Thread Wolfgang Schuster
: - maxwidth ? just try it on long entries .. it prevents too long lines this is a very long entry this is a very ... Ok I see. Now, in \placecontent or \setuplist, which parameter allows to influence where long lines are cut off in two (or more) ? Like... (number) This long long

Re: [NTG-context] goto(box) and setuplist questions

2008-08-06 Thread Alan Stone
On Wed, Aug 6, 2008 at 5:03 PM, Wolfgang Schuster [EMAIL PROTECTED] wrote: Was the empty line also in your source, if your answer is yes remove it. No, it wasn't in my sauce, correction: source. Although... My source sometimes looks like a messed up sauce. :O) Alan

Re: [NTG-context] goto(box) and setuplist questions

2008-08-06 Thread Alan Stone
]\ChapterList {\hbox {\hbox to .5em{#1}\hskip.5em \vtop{\hsize150pt\relax#2}% \hfil#3}} \setuplist[chapter][alternative=command,command=\ChapterList] I'll try that... Alan ___ If your question

Re: [NTG-context] goto(box) and setuplist questions

2008-08-06 Thread Alan Stone
The better way is to define you own list alternative. \define[3]\ChapterList {\hbox {\hbox to .5em{#1}\hskip.5em \vtop{\hsize150pt\relax#2}% \hfil#3}} \setuplist[chapter][alternative=command,command=\ChapterList] I'll try that... #1, #2, #3 being parameters which can

Re: [NTG-context] goto(box) and setuplist questions

2008-08-05 Thread Alan Stone
Thanks for these finishing touches Wolfgang. I'm troubled by the following though... - whatever the dimension (number and/or unit) I set for \setupnarrower[left=1pt,right=1pt] the left and right margin remain the same - when setting for example \setuplist[chapter][align=middle,distance=1em

Re: [NTG-context] goto(box) and setuplist questions

2008-08-05 Thread Wolfgang Schuster
\startnarrower[left,right]. - when setting for example \setuplist[chapter][align=middle,distance=1em] ( or whatever else for distance ) it has no effect upon the distance between the chapter number and the chapter title \setuplist[chapter][align=middle,distance=0pt,width=1em] Wolfgang

Re: [NTG-context] goto(box) and setuplist questions

2008-08-05 Thread Wolfgang Schuster
, rightedgedistance=20pt, rightedge=180pt] \setuplist[chapter,section][ criterium=all, aligntitle=yes, interaction=all] \setuphead[chapter][number=yes] \setuphead[section][number=no] \setupbackgrounds[text][rightedge][frame=on] \setupinteraction[ state=start, menu

[NTG-context] goto(box) and setuplist questions

2008-08-04 Thread Alan Stone
Hi, (1) \goto(box) (1a) What's the difference between - goto and gotobox ? (1b) With \goto{Table of Contents}[contents] each word separately is interactive, not the whole word. How do you make so ? (3) \setuplist (3a) what is - depth ? - maxwidth ? (3b) margin=xpt sets the left margin

  1   2   >