Re: [NTG-context] TOC struggles

2011-08-26 Thread Taco Hoekwater
On 08/26/2011 12:20 PM, Willi Egger wrote: Hi all, I have a quite simple document and would like to get a table of contents. However I can not manage to get this done. - This sounds quite stupid but... Do you want either: \setuplist [section] [prefix=no, sectionnumber

[NTG-context] Only show section numbering for \chapter?

2011-07-26 Thread Khaled Hosny
ended up using hacks like numbercomman=\dummy, and defining \def\dummy#1{}, but I'm trying to find if there is a cleaner solution. Regards, Khaled -- Khaled Hosny Egyptian Arab \setuphead[chapter][sectionnumber=yes] \setuphead[section,subsection][sectionnumber=no] \setuplist[content][chapter

Re: [NTG-context] vertical alignment in TOC

2011-07-20 Thread Thomas A. Schmitz
}]\strut #3 \eTD \eTR \eTABLE} \setuplist[chapter][alternative=command,command=\ChapterList] \placelist[chapter][criterium=text] \stoptext If I got your right, this should work. Thanks Andreas, this one looks very good! Hans had sent me a more complex patch which may go into the core

[NTG-context] vertical alignment in TOC

2011-07-19 Thread Thomas A. Schmitz
Hi all, for an edited volume, entries in the TOC have two lines, title, then author. Is is possible to have the page number aligned to the title, i.e. the first of these lines? Example: \setuphead[chapter] [number=no] \setuplist[chapter] [width=0cm] \starttext

Re: [NTG-context] vertical alignment in TOC

2011-07-19 Thread Andreas Harder
=no] \setuplist[chapter] [width=0cm] \starttext \startchapter[title=One,list={A Title \crlf An Author}] \input knuth \stopchapter \page \placelist[chapter][criterium=text] \define[3]\ChapterList% {\bTABLE[offset=none,rulethickness=0pt,width=broad] \bTR % \bTD

Re: [NTG-context] Influencing of horizontal arrangement of list of publications

2011-06-27 Thread Jaroslav Hajtmar
Dne 23.6.2011 21:49, Jaroslav Hajtmar napsal(a): Hello ConTeXist, As is known, the layout of a list (of content) is determined by the values of alternative, margin, width and distance. Required values can be changed via commands \setuplist or \setupcombinedlist. Can somehow influence

[NTG-context] Problem with \definehead

2011-06-23 Thread Procházka Lukáš Ing . - Pontex s . r . o .
][alternative=c] \setuplist [chapter,chapterMiddle] [alternative=b,before=\blank,after=\blank,style=bold] % Commands \def\startTitlePage{ \bgroup \let\chapter=\chapterMiddle } \def\stopTitlePage{% \egroup \page } %%% \starttext \placecontent % = TOC \page \chapter{Cha1

[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] Influencing of horizontal arrangement of list of publications

2011-06-23 Thread Jaroslav Hajtmar
Hello ConTeXist, As is known, the layout of a list (of content) is determined by the values of alternative, margin, width and distance. Required values can be changed via commands \setuplist or \setupcombinedlist. Can somehow influence the horizontal arrangement of items in lists typed

[NTG-context] bad argument #1 to 'gsub'

2011-06-23 Thread Kip Warner
=\v!slanted] \setuplist [\v!section] [\c!width=3em] \defineregister [texmacro] [texmacros] \setupregister [texmacro] [\c!indicator=\v!off, \c!distance=1em minus .25em] \setupfootnotes [\c!rule=\v!on] \setuphead [\v!chapter] [\c!header=\v!empty] \setupitemgroup[\v!itemize

Re: [NTG-context] Problem with chem module

2011-06-18 Thread Kip Warner
} randomized .4pt scaled 6pt withfillcolor .8\MPcolor{maincolor} withpen pencircle scaled 1pt ; ) ; draw r ; \stopusableMPgraphic \setuptype [\c!option=\v!slanted] \setuptyping [\c!option=\v!slanted] \setuplist [\v!section] [\c!width=3em] \defineregister [texmacro] [texmacros

[NTG-context] Error with \{start,stop}structureblockenvironment

2011-06-11 Thread Martin 'golodhrim' Scholz
lines from the file.tex are: \definestructureconversionset[frontpart:pagenumber][][romannumerals] \definestructureconversionset[bodypart:pagenumber] [][numbers] \setuplist[chapter][pageconversionset=pagenumber] \startstructureblockenvironment[frontpart] \setupuserpagenumber[numberconversion

Re: [NTG-context] Include a list in a list, for example, a List of Figures in a Table of Content

2011-06-06 Thread Mathieu Dupont
want this? \setuplist[chapter][after={\placelist[figure]}] \setuplist[figure][label=figure,width=6em] \starttext \completecontent \chapter{One} \placefigure{Two}{2} \section{Three} \placefigure{Four}{4} \chapter{Five} \placefigure{Six}{6} \section{Seven} \placefigure{Eight}{8} \stoptext Wolfgang

Re: [NTG-context] Include a list in a list, for example, a List of Figures in a Table of Content

2011-06-05 Thread Wolfgang Schuster
have to adjust many other things and it becomes very messy. You want this? \setuplist[chapter][after={\placelist[figure]}] \setuplist[figure][label=figure,width=6em] \starttext \completecontent \chapter{One} \placefigure{Two}{2} \section{Three} \placefigure{Four}{4} \chapter{Five

Re: [NTG-context] TOC : Chapter title under its number (separate lines)

2011-05-27 Thread Alan Braslau
On Thu, May 26, 2011 at 08:16:21PM +0200, Wolfgang Schuster wrote: Am 26.05.2011 um 18:48 schrieb Alan Braslau: \setuplist[chapter][label=yes,alternative=vertical,command=\ChapterList,interaction=all] Almost works. Almost in that all lines get indented by one level, and then the page

Re: [NTG-context] TOC : Chapter title under its number (separate lines)

2011-05-27 Thread Mathieu DUPONT
\leftskip\listparameter\c!margin \noindent\currentlistsymbol\crlf#2\enspace\listdots\enspace#3 \par \listparameter\c!after \setuplocalinterlinespace[line=4.2ex] }}\protect \setuplist[chapter][label=yes, alternative=vertical, command=\ChapterList, interaction=all

Re: [NTG-context] TOC : Chapter title under its number (separate lines)

2011-05-27 Thread Alan Braslau
\setuplocalinterlinespace[line=4.2ex] }} \protect \setuplist[chapter][ label=yes, alternative=vertical, command=\ChapterList, interaction=all, ] \starttext \startfrontmatter \placecontent \stopfrontmatter \startbodymatter \chapter{CHAPTER} \section{SECTION} \subsection{SUBSECTION

Re: [NTG-context] TOC : Chapter title under its number (separate lines)

2011-05-27 Thread Mathieu DUPONT
\listparameter\c!after \setuplocalinterlinespace[line=4.2ex] }} \protect \setuplist[chapter][ label=yes, alternative=vertical, command=\ChapterList, interaction=all, ] \starttext \startfrontmatter \placecontent \stopfrontmatter \startbodymatter \chapter{CHAPTER

Re: [NTG-context] TOC : Chapter title under its number (separate lines)

2011-05-26 Thread Alan Braslau
1.1Title of section2 (the chapter title underneath its number and left aligned, just like everything else) The following code used to do the job with MkII but it doesn't anymore with MkIV : \setuplabeltext[chapter=CHAPTER~] \setuplist

Re: [NTG-context] TOC : Chapter title under its number (separate lines)

2011-05-26 Thread Wolfgang Schuster
Am 26.05.2011 um 17:13 schrieb Alan Braslau: This solution: [alternative=command,command=\ChapterList] breaks interaction; How can one get [interaction=all] to work? Something like this: \setupinteraction[state=start] \define[3]\ChapterList {\vbox{#1\crlf#2\hfill#3}} \setuplist

Re: [NTG-context] TOC : Chapter title under its number (separate lines)

2011-05-26 Thread Alan Braslau
] \define[3]\ChapterList {\vbox{#1\crlf#2\hfill#3}} \setuplist [chapter] [alternative=vertical, command=\ChapterList, interaction=all] \starttext \completecontent \chapter{One} \chapter{Two} \stoptext I guess i should take a closer look at “horizontal

Re: [NTG-context] TOC : Chapter title under its number (separate lines)

2011-05-26 Thread Wolfgang Schuster
Am 26.05.2011 um 18:48 schrieb Alan Braslau: \define[3]\ChapterList {\vbox{\par\noindent\currentlistsymbol#1\crlf#2\enspace\listdots\enspace#3}} Your \par is useless here because we’re in a box. \setuplist[chapter][label=yes,alternative=vertical,command=\ChapterList,interaction=all

Re: [NTG-context] TOC : Changing the interline spacing of titles, for long titles on multiple lines

2011-05-25 Thread Steffen Wolfrum
to have the long titles on multiples lines being only single interline spaced (2.8ex). Is there something I could add in the \setuplist[chapter] command ? Thanks for any hint ! Something like this? \setuplist[chapter][ label=yes, alternative=c,style={\switchtobodyfont[10pt

Re: [NTG-context] TOC : Changing the interline spacing of titles, for long titles on multiple lines

2011-05-25 Thread Mathieu DUPONT
] \setuplabeltext[chapter=CHAPITRE~]\setupcombinedlist[content][level=3,alternative=c,]\define[3]\ChapterList{ \setuplocalinterlinespace[line=2.8ex] \blank \par\noindent\currentlistsymbol\crlf#2\enspace\listdots\enspace #3\par \setuplocalinterlinespace[line=4.2ex] }\setuplist

Re: [NTG-context] TOC : Changing the interline spacing of titles, for long titles on multiple lines

2011-05-25 Thread Wolfgang Schuster
to have the long titles on multiples lines being only single interline spaced (2.8ex). Is there something I could add in the \setuplist[chapter] command ? Thanks for any hint ! \setupinterlinespace[line=4.2ex] % 1.5 interline \setuplabeltext[chapter=CHAPITRE~] \define[3]\ChapterList

Re: [NTG-context] TOC : Changing the interline spacing of titles, for long titles on multiple lines

2011-05-25 Thread Mathieu DUPONT
interline spacing than the rest of the TOC ?My TOC interline spacing is set at 1.5 (4.2ex), but I would like to have the long titles on multiples lines being only single interline spaced (2.8ex).Is there something I could add in the \setuplist[chapter] command ? Thanks for any hint

[NTG-context] TOC : margin size doesn't reset if next section is a chapter

2011-05-25 Thread Mathieu DUPONT
\listdots\enspace #3\par }\setuplist[chapter][ margin=0cm, % this line doesn't do anything label=yes, alternative=command, command=\ChapterList, ]\setuplist[section][margin=0cm,width=1.25cm]\setuplist[subsection][margin=1.25cm,width=1.25cm] \starttext \completecontent

Re: [NTG-context] TOC : margin size doesn't reset if next section is a chapter

2011-05-25 Thread Wolfgang Schuster
]\ChapterList{ \blank \par\noindent\currentlistsymbol\crlf #2\enspace\listdots\enspace #3\par } \define[3]\ChapterList {\par \listparameter{before}% \leftskip\listparameter{margin}% \noindent#2\enspace\listdots\enspace#3\par \listparameter{after}} \setuplist

Re: [NTG-context] TOC : margin size doesn't reset if next section is a chapter

2011-05-25 Thread Mathieu DUPONT
\noindent\currentlistsymbol\crlf #2\enspace\listdots\enspace #3\par } \define[3]\ChapterList {\par \listparameter{before}% \leftskip\listparameter{margin}% \noindent#2\enspace\listdots\enspace#3\par \listparameter{after}} \setuplist[chapter][margin=0cm,% this line

Re: [NTG-context] TOC : Chapter title under its number (separate lines)

2011-05-24 Thread Wolfgang Schuster
aligned, just like everything else) The following code used to do the job with MkII but it doesn't anymore with MkIV : \setuplabeltext[chapter=CHAPTER~] \setuplist[chapter][label=yes, style={\blank[0cm]}] \starttext \startfrontmatter \completecontent \stopfrontmatter

Re: [NTG-context] TOC : Chapter title under its number (separate lines)

2011-05-24 Thread Mathieu DUPONT
) The following code used to do the job with MkII but it doesn't anymore with MkIV : \setuplabeltext[chapter=CHAPTER~]\setuplist[chapter][label=yes, style={\blank[0cm]}]\starttext \startfrontmatter\completecontent\stopfrontmatter \startbodymatter\chapter{Title of chapter}\section{Title of section

Re: [NTG-context] TOC : Chapter title under its number (separate lines)

2011-05-24 Thread Mathieu DUPONT
If now I add the line : \setupcombinedlist[content][alternative=c] it doesn't add the dots to the chapter lines anymore,and I can't add \setuplist[chapter][alternative=c] since the alternative parameter is already taken by the new command Is there a way to add the dots option within my new

Re: [NTG-context] TOC : Chapter title under its number (separate lines)

2011-05-24 Thread Wolfgang Schuster
Am 24.05.2011 um 15:33 schrieb Mathieu DUPONT: If now I add the line : \setupcombinedlist[content][alternative=c] it doesn't add the dots to the chapter lines anymore, and I can't add \setuplist[chapter][alternative=c] since the alternative parameter is already taken by the new

Re: [NTG-context] TOC : Chapter title under its number (separate lines)

2011-05-24 Thread Mathieu DUPONT
][alternative=c] it doesn't add the dots to the chapter lines anymore,and I can't add \setuplist[chapter][alternative=c] since the alternative parameter is already taken by the new command Is there a way to add the dots option within my new command, or somewhere else ? \define[3]\ChapterList

[NTG-context] TOC : Changing the interline spacing of titles, for long titles on multiple lines

2011-05-24 Thread Mathieu DUPONT
single interline spaced (2.8ex).Is there something I could add in the \setuplist[chapter] command ? Thanks for any hint ! \setupinterlinespace[line=4.2ex] % 1.5 interline \setuplabeltext[chapter=CHAPITRE~]\define[3]\ChapterList{ \blank\par\noindent\currentlistsymbol\crlf #2\enspace

Re: [NTG-context] Appendix label in TOC (Table of Contents) : APPENDIX instead of CHAPTER

2011-05-23 Thread Wolfgang Schuster
Am 23.05.2011 um 04:06 schrieb Mathieu DUPONT: Hi, The following code : \setuplabeltext[chapter=CHAPTER~] \setuplabeltext[appendix=APPENDIX~] \setuplist [chapter] [label=yes,style={\blank[0cm]}] \starttext \completecontent \chapter{Title of a chapter} \startappendices

Re: [NTG-context] Roman numbers for chapters in chapter lines but not in section lines

2011-05-23 Thread Wolfgang Schuster
and subsections (1.1.1 and not I.1.1). Here is the base code : \setuplist [chapter] [label=yes,style={\blank[0cm]}] \setupsection[section-2][conversion=Romannumerals] \setuplabeltext[chapter=CHAPITRE~] \starttext \placecontent \chapter{Title of chapter} \section{Title of section

Re: [NTG-context] Table of contents

2011-05-23 Thread Wolfgang Schuster
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

Re: [NTG-context] Roman numbers for chapters in chapter lines but not in section lines

2011-05-23 Thread Mathieu DUPONT
This code : \setuplabeltext[chapter=CHAPITRE~]\definestructureconversionset[mathieu][numbers,Romannumerals][numbers]\setuphead[chapter][sectionconversionset=mathieu]\setuplist[chapter][label=yes,width=7em] \starttext \placecontent \chapter{Title of chapter}\section{Title of section}\subsection

Re: [NTG-context] Roman numbers for chapters in chapter lines but not in section lines

2011-05-23 Thread Wolfgang Schuster
Am 23.05.2011 um 20:02 schrieb Mathieu DUPONT: This code : \setuplabeltext[chapter=CHAPITRE~] \definestructureconversionset[mathieu][numbers,Romannumerals][numbers] \setuphead[chapter][sectionconversionset=mathieu] \setuplist[chapter][label=yes,width=7em] \starttext \placecontent

Re: [NTG-context] Roman numbers for chapters in chapter lines but not in section lines

2011-05-23 Thread Mathieu DUPONT
but not in section lines Am 23.05.2011 um 20:02 schrieb Mathieu DUPONT:This code : \setuplabeltext[chapter=CHAPITRE~]\definestructureconversionset[mathieu][numbers,Romannumerals][numbers]\setuphead[chapter][sectionconversionset=mathieu]\setuplist[chapter][label=yes,width=7em] \starttext \placecontent

[NTG-context] TOC : Chapter title under its number (separate lines)

2011-05-23 Thread Mathieu DUPONT
to do the job with MkII but it doesn't anymore with MkIV : \setuplabeltext[chapter=CHAPTER~]\setuplist[chapter][label=yes, style={\blank[0cm]}]\starttext \startfrontmatter\completecontent\stopfrontmatter \startbodymatter\chapter{Title of chapter}\section{Title of section}\stopbodymatter

[NTG-context] Roman numbers for chapters in chapter lines but not in section lines

2011-05-22 Thread Mathieu DUPONT
: \setuplist [chapter] [label=yes,style={\blank[0cm]}]\setupsection[section-2][conversion=Romannumerals]\setuplabeltext[chapter=CHAPITRE~] \starttext \placecontent \chapter{Title of chapter}\section{Title of section}\subsection{Title of subsection} \stoptext which results in : CHAPITRE I Title

Re: [NTG-context] label bug with latest beta (2011.04.22)

2011-04-24 Thread Wolfgang Schuster
://www.ntg.nl/pipermail/ntg-context/2011/058614.html \setuplist[part] [label=part] \setuplist[chapter][label=chapter] \setuplist[section][label=section] and use the \completecontent command without setting for label because this will otherwise overwrite the settings above. Wolfgang

Re: [NTG-context] The appendices envrionment and title in toc

2011-04-22 Thread Reviczky, Adam
Set the labels with the “en” tag: \setuplabeltext[en] [chapter=Chapter ] \setuplabeltext[en][appendix=Appendix ] Excellent, thanks. My last question about labels: If I don't use setuplist, then I have labels in the document and no labels in the toc. How can I achieve the opposite, means

Re: [NTG-context] The appendices envrionment and title in toc

2011-04-22 Thread Wolfgang Schuster
Am 22.04.2011 um 08:54 schrieb Reviczky, Adam: My last question about labels: If I don't use setuplist, then I have labels in the document and no labels in the toc. How can I achieve the opposite, means labels in the toc (like: Chapter 1, Appendix A, ...) but only the numbers

Re: [NTG-context] The appendices envrionment and title in toc

2011-04-22 Thread Wolfgang Schuster
. You can control the behavior with label key from \setuplist, the valid arguments are: - no: use the argument of the starter and stopper keys but don’t print labels - EMPTY : a empty argument “label=” results in the same output as “label=no” - none : don’t print labels and ignore also

Re: [NTG-context] The appendices envrionment and title in toc

2011-04-21 Thread Pontus Lurcock
=appendix] \setuplist[chapter,appendix][label=yes,width=6em] \starttext \startfrontmatter \title{Contents} \placelist[chapter,appendix,section,subsection] \stopfrontmatter \startbodymatter \chapter{Bodypart} \stopbodymatter \startappendices \appendix{Appendix} \stopappendices \stoptext

Re: [NTG-context] The appendices envrionment and title in toc

2011-04-20 Thread seasoul
which can be used to see the problem and to test for the correct result once the thing is resolved. \setuplabeltext [chapter=Chapter ] \setuplabeltext[appendix=Appendix ] \setuplist[chapter][label=yes,width=5em] \starttext \startfrontmatter \completecontent \stopfrontmatter

Re: [NTG-context] The appendices envrionment and title in toc

2011-04-20 Thread Wolfgang Schuster
[appendix][appendixlabel=appendix] \setuplist[chapter,appendix][label=yes,width=6em] \starttext \startfrontmatter \title{Contents} \placelist[chapter,appendix,section,subsection] \stopfrontmatter \startbodymatter \chapter{Bodypart} \stopbodymatter \startappendices \appendix{Appendix

Re: [NTG-context] The appendices envrionment and title in toc

2011-04-20 Thread Reviczky, Adam
and to test for the correct result once the thing is resolved. \setuplabeltext [chapter=Chapter ] \setuplabeltext[appendix=Appendix ] \setuplist[chapter][label=yes,width=5em] \starttext \startfrontmatter \completecontent \stopfrontmatter \startbodymatter \chapter{Bodypart

Re: [NTG-context] The appendices envrionment and title in toc

2011-04-18 Thread Wolfgang Schuster
sectionblock (e.g. “chapter” for the bodypart and “appendix” for the appendices). I wrote a minimal which can be used to see the problem and to test for the correct result once the thing is resolved. \setuplabeltext [chapter=Chapter ] \setuplabeltext[appendix=Appendix ] \setuplist[chapter][label=yes,width

Re: [NTG-context] Need help with the table of contents

2011-03-21 Thread Wolfgang Schuster
starts like Part 1 Name of first part. How do I get rid of the Part, so that the corresponding line starts directly with the number of the part like 1 Name of the first Part? \setuplist[part][label=no] Wolfgang

Re: [NTG-context] Need help with the table of contents

2011-03-21 Thread Julian Becker
Part? \setuplist[part][label=no] 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

Re: [NTG-context] Am not getting Roman numeral page numbers in MKIV

2011-03-13 Thread Jeong Dalyoung
] [][numbers] \setuplist[chapter][pageconversionset=pagenumber] \startstructureblockenvironment[frontpart] \setupuserpagenumber[numberconversion=romannumerals] \setuppagenumber[number=1] \stopstructureblockenvironment \startstructureblockenvironment[bodypart] \setuppagenumber[number=1

[NTG-context] Is Minimals ready for non-developers to use?

2011-03-13 Thread Tom
on 2009. 2. 4, there was a sample written by Wolfgang . \definestructureconversionset[frontpart:pagenumber][][romannumerals] \definestructureconversionset[bodypart:pagenumber] [][numbers] \setuplist[chapter][pageconversionset=pagenumber] \startstructureblockenvironment[frontpart

Re: [NTG-context] Am not getting Roman numeral page numbers in MKIV

2011-03-11 Thread Tom
? \definestructureconversionset[frontpart:pagenumber][][romannumerals] %pagenumbers in TOC not converted if frontmatter \definestructureconversionset[bodymatter:pagenumber] [][numbers] \setuplist[chapter][pageconversionset=pagenumber] \definehead [intro][chapter] \setuphead [intro][number

Re: [NTG-context] Am not getting Roman numeral page numbers in MKIV

2011-03-11 Thread Tom
][][romannumerals] %pagenumbers in TOC not converted if frontmatter \definestructureconversionset[bodymatter:pagenumber] [][numbers] \setuplist[chapter][pageconversionset=pagenumber] \setuplist[intro][pageconversionset=pagenumber] \startstructureblockenvironment[frontmatter] %whether frontpart

Re: [NTG-context] Making contents 'clickable'

2011-03-03 Thread Wolfgang Schuster
=all] % can be also done with \setuplist[...][interaction=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

Re: [NTG-context] Making contents 'clickable'

2011-03-03 Thread Cecil Westerhof
? \setupinteraction[state=start] \starttext \completecontent[interaction=all] % can be also done with \setuplist[...][interaction=all] I like just \completecontent better. But thanks anyway. -- Cecil Westerhof ___ If your

Re: [NTG-context] \definelistplacement + margin

2011-02-27 Thread Wolfgang Schuster
Am 26.02.2011 um 20:46 schrieb Andreas Harder: Hi all, please have a look at the following example. The first chapter entry in the table of contents looks good, but the following entries adopt the margin setting from \setuplist[section][margin=3em] and I can't get rid of it … Any hint

Re: [NTG-context] \definelistplacement + margin

2011-02-27 Thread Andreas Harder
Am 27.02.2011 um 11:58 schrieb Wolfgang Schuster: Am 26.02.2011 um 20:46 schrieb Andreas Harder: Hi all, please have a look at the following example. The first chapter entry in the table of contents looks good, but the following entries adopt the margin setting from \setuplist

[NTG-context] \definelistplacement + margin

2011-02-26 Thread Andreas Harder
Hi all, please have a look at the following example. The first chapter entry in the table of contents looks good, but the following entries adopt the margin setting from \setuplist[section][margin=3em] and I can't get rid of it … Any hint? \definelistplacement[ChapListItem][none]#1#2#3

[NTG-context] Two stopper bugs (tables of contents and head titles)

2011-02-13 Thread maggyero
Hi, I've noticed two bugs (I think) with stoppers: 1) Stoppers in table of contents When you set stopper=~ in \setuplist the stopper also appears for unnumbered heads of the table of contents (chapters, sections etc. that are in frontmatter and backmatter). 2) Stoppers in head titles When

[NTG-context] Table of Contents issues

2011-02-12 Thread Tom
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

Re: [NTG-context] chapter head and placelist

2011-02-05 Thread Andreas Harder
line chapter head and got a solution.\chapter{\tfd Title \\ \tfc subtitle}Then, in the table of contents, it also listed as a big fonts.How to make the contents with a normal fonts?I tried \setuplist[style=normal, textstyle=normal], but no differences.Best regards

[NTG-context] chapter head and placelist

2011-02-04 Thread Jeong Dalyoung
Dear all, The otherday, I asked about three line chapter head and got a solution. \chapter{\tfd Title \\ \tfc subtitle} Then, in the table of contents, it also listed as a big fonts. How to make the contents with a normal fonts? I tried \setuplist[style=normal, textstyle=normal

[NTG-context] continious entries in table of contents?

2011-01-16 Thread Oliver Heins
Vague – Nouveau Roman 87 3.3 Film und Autobiografie werden Kunst 96 [...] This is my code so far, which works fine except the consecutive lines: \setupcombinedlist[content][level=4,alternative=a,distance=1em, pagecommand={\hskip1em }] \setuplist[chapter][width=0mm,style=\sc,pagestyle=normal

Re: [NTG-context] continious entries in table of contents?

2011-01-16 Thread Cedric Mauclair
: \setupcombinedlist[content][level=4,alternative=a,distance=1em,  pagecommand={\hskip1em }] \setuplist[chapter][width=0mm,style=\sc,pagestyle=normal] \setuplist[section][width=0mm,margin=1em] \setuplist[subsection][width=0mm,margin=2em] \setuplist[subsubsection][width=0mm,style=slanted

[NTG-context] listalternative “d” and \[ start|stop]narrower

2010-12-16 Thread Philipp Gesang
] \setupcolors[state=start] \setuphead [part][page=right,placehead=yes] \setuplist [chapter] [alternative=d,before=\blank,after=\blank] \setuplist [part][before=\blank,after=\blank] \starttext \startsetups chapter \blank \startnarrower[3*middle] \placecontent[criterium=local] \stopnarrower

Re: [NTG-context] listalternative “d” and \[ start|stop]narrower

2010-12-16 Thread Wolfgang Schuster
%\setupinteraction[state=start] \setupcolors[state=start] \setuphead [part][page=right,placehead=yes] \setuplist [chapter] [alternative=d,before=\blank,after=\blank] \setuplist [part][before=\blank,after=\blank] \starttext \startsetups chapter \blank

Re: [NTG-context] listalternative “d” and \[ start|stop]narrower

2010-12-16 Thread Philipp Gesang
and the right? ···8 %\setupinteraction[state=start] \setupcolors[state=start] \setuphead [part][page=right,placehead=yes] \setuplist [chapter] [alternative=d,before=\blank,after=\blank] \setuplist [part][before=\blank

[NTG-context] Bug against minimals

2010-12-16 Thread Xan
=.5em] % Table of contents %% dots between... and subsubsubsection are not listed \setupcombinedlist[content][level=4,alternative=c] %% section = bold. % width= 10mm -- less space between num-letter %% line break after section. \setuplist[section][style=bold,width=10mm] \setuplist[section][before

[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] figure and table caption numbering

2010-12-02 Thread Alan BRASLAU
up with a minimal example? (I have nothing special, other than \setuplist[figure][partnumber=no]) Alan ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context

Re: [NTG-context] figure and table caption numbering

2010-12-02 Thread Hans Hagen
else notice this, or do I have to come up with a minimal example? (I have nothing special, other than \setuplist[figure][partnumber=no]) i'll check it ... i fixed something for mojca but it looks like it has a side effect, strange Hans

[NTG-context] Bug or feature in list and error with setuptructure?

2010-11-30 Thread Cedric Mauclair
Hi list, I am using the following code with a recent beta (last week): \setuplist[subsection][numberstopper=, right=), style=\slanted] and the ')' is not slanted. However, it is the following: \setuplist[subsection][numberstopper=), style=\slanted] So, bug or feature? Also

[NTG-context] FiXme-module

2010-11-05 Thread Andreas Harder
% [before={\startcomment[FiXme]}, %after=\stopcomment] \setupinteraction[state=start] \setuplist[fixme][interaction=all] \starttext \fixme{To be done …} \input knuth \fixme{To be done …} \input tufte \fixme{To be done …} \page \placelist[fixme] \stoptext Best regards Andreas

Re: [NTG-context] [NTG-Context] How to compute correct page number for handout

2010-10-03 Thread Pierre-François Bonnefoi
Dear Peter, I run into some problem with font handling in MKIV so I'm stuck in MKII for some time. I've tried the following : \starttext \def\ChapterPrefix#1{% \the\numexpr\number#1/4\relax } \setupcombinedlist[content][level=1] \setuplist[chapter][after=,before=,numbercolor=yellow

Re: [NTG-context] [NTG-Context] How to compute correct page number for handout

2010-10-03 Thread Hans Hagen
On 3-10-2010 4:16, Pierre-François Bonnefoi wrote: Dear Peter, I run into some problem with font handling in MKIV so I'm stuck in MKII for some time. I've tried the following : \starttext \def\ChapterPrefix#1{% \the\numexpr\number#1/4\relax } \setupcombinedlist[content][level=1] \setuplist

Re: [NTG-context] [NTG-Context] How to compute correct page number for handout

2010-10-03 Thread Pierre-François Bonnefoi
#1/4\relax } \setupcombinedlist[content][level=1] \setuplist[chapter][after=,before=,numbercolor=yellow,numbercommand=\underbar,pagecommand=\ChapterPrefix] manipulating the number that way is just a lucky guess: pagecommand (and numbercommand) get some text passes and it might not even

Re: [NTG-context] [NTG-Context] How to compute correct page number for handout

2010-10-03 Thread Wolfgang Schuster
for the handout. I would like to compute a correct Table of contents according to the handout : so to divide the current page number by four to get a correct page number for the handout. \def\ChapterPrefix#1{\the\numexpr#1/4 \relax} \setupcombinedlist[content][level=1] \setuplist[chapter][after

Re: [NTG-context] [NTG-Context] How to compute correct page number for handout

2010-10-03 Thread Pierre-François Bonnefoi
\relax} \setupcombinedlist[content][level=1] \setuplist[chapter][after=,before=,numbercolor=yellow,numbercommand=\underbar,pagecommand=\ChapterPrefix] That doesn't work, and I've some difficulties to figure how computation is performed in e-TeX... Could you help me to resolve this issue

[NTG-context] Lists and labeltexts

2010-10-03 Thread Wolfgang Schuster
Hi Hans, lists ignore the sectionblock for the labeltext \setuplabeltext[chapter=Chapter~,appendix=Appendix~] \setuplist[chapter][label=yes,width=2cm] \setuphead[chapter][bodypartlabel=appendix] \starttext \completecontent \chapter{Foo} \stoptext Wolfgang

[NTG-context] [NTG-Context] How to compute correct page number for handout

2010-09-30 Thread Pierre-François Bonnefoi
according to the handout : so to divide the current page number by four to get a correct page number for the handout. \def\ChapterPrefix#1{\the\numexpr#1/4 \relax} \setupcombinedlist[content][level=1] \setuplist[chapter][after=,before=,numbercolor=yellow,numbercommand=\underbar,pagecommand

Re: [NTG-context] [NTG-Context] How to compute correct page number for handout

2010-09-30 Thread Hans Hagen
would like to compute a correct Table of contents according to the handout : so to divide the current page number by four to get a correct page number for the handout. \def\ChapterPrefix#1{\the\numexpr#1/4 \relax} \setupcombinedlist[content][level=1] \setuplist[chapter][after=,before=,numbercolor

Re: [NTG-context] [NTG-Context] How to compute correct page number for handout

2010-09-30 Thread Pierre-François Bonnefoi
by four to get a correct page number for the handout. \def\ChapterPrefix#1{\the\numexpr#1/4 \relax} \setupcombinedlist[content][level=1] \setuplist[chapter][after=,before=,numbercolor=yellow,numbercommand=\underbar,pagecommand=\ChapterPrefix] That doesn't work, and I've some difficulties

[NTG-context] unnumbered chapters

2010-09-27 Thread Alan BRASLAU
] [unnumberedchapter,chapter,section] \setuplist [unnumberedchapter] [headnumber=no] Bof! (pardon my French, as they say in polite circles) Much easier (or cleaner if you wish), using the structured syntax, is: \startchapter [number=no,incrementnumber=no, title={Conclusions}] \stopchapter

Re: [NTG-context] compound titles, lists and headers

2010-09-26 Thread Tomas Bures
that one (so no \framed in write) \setuplist [mychapter] [alternative=command, command=\MyChapterList] with something \def\ChapterList#1#2#3% {\framed [frame=off, align={right,broad,nothyphenated}, width=0.8\textwidth, height=2\baselineskip, offset=none] {#2}} your title command \def\KomplexTitel

Re: [NTG-context] How to hide or remove chapter e section number in subsection head and in TOC subsection head?

2010-09-21 Thread Aldo Lazich
wrote: Do you want to modify the list , right ? If so, then you should see http://wiki.contextgarden.net/Reference/en/definecombinedlist until http://wiki.contextgarden.net/Reference/en/setuplist -- luigi

[NTG-context] Chapter-author in TOC

2010-09-19 Thread Andreas Harder
Hi all! I’m using the structureuservariable to set an author on a per chapter basis. But I would also like to have them in the table of contents, so I tried the following: \setuplist[chapter][alternative=MyListItem] \definelistplacement[MyListItem][none]#1#2#3% {#1 #2

Re: [NTG-context] Chapter-author in TOC

2010-09-19 Thread Wolfgang Schuster
, your question comes just in time, here is a example i planned to send to Harald only. \define[3]\ChapterList {\bTABLE[offset=0pt,strut=yes,frame=off,width=.5\textwidth] \bTR \bTD \structurelistuservariable{date} \eTD \bTD #2 \eTD \eTR \eTABLE} \setuplist [chapter

Re: [NTG-context] Chapter-author in TOC

2010-09-19 Thread Andreas Harder
\bTD #2 \eTD \eTR \eTABLE} \setuplist [chapter] [alternative=command, command=\ChapterList] \define[2]\ChapterHead {\startframedtext[frame=off,width=\textwidth,offset=0pt,align=middle] \doifsomething{\structureuservariable{date}}{\structureuservariable{date}\blank} #2

Re: [NTG-context] How to hide or remove chapter e section number in subsection head and in TOC subsection head?

2010-09-18 Thread luigi scarso
 ver: 2010.09.09 23:45 MKIV  fmt: 2010.9.12): Do you want to modify the list , right ? If so, then you should see http://wiki.contextgarden.net/Reference/en/definecombinedlist until http://wiki.contextgarden.net/Reference/en/setuplist -- luigi

[NTG-context] 2 sets of footnotes?

2010-08-05 Thread Martin Althoff
below. Thanks Martin \mainlanguage [de] \setuppapersize[A5][A5] \usetypescript[palatino] \setupbodyfont[pagella,12pt] \setupinmargin[style=\rmx] \setupindenting[yes,small] \indenting[next] \setupfootnotes [way=section] \definelist[SideNote] \setuplist[SideNote][width=2em] \definelist

<    1   2   3   4   5   6   7   8   9   >