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

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

2008-08-04 Thread Hans Hagen
of words; also, gotobox does not check if the area is comfortable clickable (so you might need to add struts) (in a lists there are optins like interaction-all which makes the whole toc entry clockable) (3) \setuplist (3a) what is - depth ? detail .. sometimes you need to manipulat ethe

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

2008-08-04 Thread Alan Stone
(3b) margin=xpt sets the left margin to xpt How to set the right margin to xpt ? depends, sometimes setting the width works ok, otherwise wrap the whole in narrower I'm out of inspiration... \setupnarrower[left=.6pt,right=.6pt] \startinteractionmenu[right] % \startnarrower

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

2008-08-04 Thread Wolfgang Schuster
On Mon, Aug 4, 2008 at 4:44 PM, Alan Stone [EMAIL PROTECTED] wrote: (3b) margin=xpt sets the left margin to xpt How to set the right margin to xpt ? depends, sometimes setting the width works ok, otherwise wrap the whole in narrower I'm out of inspiration...

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

2008-08-04 Thread Alan Stone
] %\showframe \setuppagenumbering[alternative=singlesided] \setuplayout [width=360pt, headerheight=7pt, footerheight=7pt, margin=0pt, backspace=25pt, topheight=7pt, bottomheight=7pt, rightedgedistance=20pt, rightedge=180pt] \setuplist[chapter,section][ criterium=all

[NTG-context] Luatex arranging

2008-06-30 Thread Diego Depaoli
] \setuparranging[2UP] \setuplist[section][alternative=c] \starttext \placelist[section] \section{One} \dorecurse{15}{\input ward} \section{Two} \dorecurse{10}{\input knuth} \section{Last} \dorecurse{20}{\input tufte} \stoptext Thanks in advance -- Diego Depaoli

Re: [NTG-context] Luatex arranging

2008-06-30 Thread Hans Hagen
. \setuppapersize[A5][A4,landscape] \setuparranging[2UP] \setuplist[section][alternative=c] \starttext \placelist[section] \section{One} \dorecurse{15}{\input ward} \section{Two} \dorecurse{10}{\input knuth} \section{Last} \dorecurse{20}{\input tufte} \stoptext just use texexec in that case

[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

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

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

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

Re: [NTG-context] Unusual TOC

2008-06-17 Thread Wolfgang Schuster
=2] \setuplist [chapter] [width=0pt] \setuphead [chapter] [number=no, incrementnumber=list] \starttext \start \setupselector[title][n=1] \completecontent \stop \chapter{\select{title}{Short header}{Long header version}} \chapter{\select{title}{Another header}{Another long version

Re: [NTG-context] TOC columns

2008-05-07 Thread Hans Hagen
of what I'm trying to achieve: \midaligned{Section1} \startcolumns[n=2] Subsection1 \stopcolumns \midaligned{Section2} \startcolumns[n=2] Subsection1 \stopcolumns Does anyone know how to automate this for a table of contents? % \setuplist % [chapter] % [after

Re: [NTG-context] TOC columns

2008-05-07 Thread Paul Gideon Dann
} \startcolumns[n=2] Subsection1 \stopcolumns \midaligned{Section2} \startcolumns[n=2] Subsection1 \stopcolumns Does anyone know how to automate this for a table of contents? % \setuplist % [chapter] % [after={\startcolumns\placelist[section]\stopcolumns

Re: [NTG-context] TOC columns

2008-05-07 Thread Wolfgang Schuster
. The followings works for me, give us a example. \setuplist [chapter] [after={\startcolumns\placelist[section]\stopcolumns}] \starttext \placelist[chapter] \dorecurse{3} {\chapter{Chapter} \dorecurse{4}{\section{Section}}} \stoptext Wolfgang

Re: [NTG-context] TOC columns

2008-05-07 Thread Wolfgang Schuster
][chapter] \setuplist[chapter][after={\startcolumns\placelist[section]\stopcolumns}] \placecontent \starttext \dorecurse{3} {\chapter{Chapter} \dorecurse{4}{\section{Section}}} \stoptext Hi Paul, I could reproduce the problem also with a recent ConTeXt, replace \placecontent

Re: [NTG-context] TOC columns

2008-05-07 Thread Paul Gideon Dann
: The same example produces the problem for me. Maybe I have an older version? I got MacTex pretty recently (two weeks ago), but the version is: 2007.01.12 15:56. Here's the exact source: \definecombinedlist[content][chapter] \setuplist[chapter][after={\startcolumns\placelist[section

Re: [NTG-context] TOC columns

2008-05-07 Thread Paul Gideon Dann
The same example produces the problem for me. Maybe I have an older version? I got MacTex pretty recently (two weeks ago), but the version is: 2007.01.12 15:56. Here's the exact source: \definecombinedlist[content][chapter] \setuplist[chapter][after={\startcolumns\placelist[section

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

[NTG-context] Table of contents customization

2008-04-29 Thread Noé Cuneo
! 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

Re: [NTG-context] Table of contents customization

2008-04-29 Thread Wolfgang Schuster
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

Re: [NTG-context] Table of contents customization

2008-04-29 Thread Noé Cuneo
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

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

Re: [NTG-context] Adding custom key/value pairs

2008-04-17 Thread Wolfgang Schuster
=\blank,%between the head and the body style=small, %for the contents color=black, %for the contents ] I would replace headetext with \setuphead[abstract] and the format for the table of content (is this what do you mean with for the content) with \setuplist but should abstract use a own

Re: [NTG-context] chapter setup / table of contents

2008-04-14 Thread luigi scarso
... ;-) What it does is close, but nood good enough. - Is there a way to use the normal chapter (or any head) mechanism with such feathered titles? - How do I get my special ToC? I've seen in core-lst % \setuplist % [section] % [alternative=MyListItem, %after=\blank, %before

Re: [NTG-context] chapter setup / table of contents

2008-04-14 Thread Henning Hraban Ramm
Am 2008-04-14 um 22:26 schrieb luigi scarso: I've seen in core-lst % \setuplist % [section] % [alternative=MyListItem, %after=\blank, %before=\blank] % % \definelistplacement[MyListItem][none]#1#2#3% % {(#1) (#2) (#3)} Maybe this can help you ? I guess not - these 3

Re: [NTG-context] chapter setup / table of contents

2008-04-14 Thread luigi scarso
a bit of lua code ? \startluacode MyStuff = {} SecCount = 0 SecIndexCount = 0 \stopluacode \definelistplacement[MyListItem][none]#1#2#3{% \ctxlua{SecIndexCount = SecIndexCount +1} %% Do something with %%\ctxlua{tex.sprint(MyStuff[SecIndexCount])} %% } \setuplist[section

Re: [NTG-context] Spacing on TOC using alternative a

2008-03-08 Thread Wolfgang Schuster
but it has no effect. Here is my code: \setuphead[chapter][head=nomarking,number=no] \setuphead[section][number=no,textcommand=\bf] \setuphead[subsection][number=no] \setuphead[subsubsection][number=no] \setupinteraction[state=start,color=blue] \setuplist[section][alternative=f,style=bold

[NTG-context] Spacing on TOC using alternative a

2008-03-07 Thread John Culleton
=no] \setuphead[section][number=no,textcommand=\bf] \setuphead[subsection][number=no] \setuphead[subsubsection][number=no] \setupinteraction[state=start,color=blue] \setuplist[section][alternative=f,style=bold,interaction=sectionnumber] \setuplist[subsection][alternative=f,interaction=no] \setuplist

Re: [NTG-context] ConTeXt-ifying Kile

2008-01-02 Thread Matija Šuklje
[language code][settings] # \setuplayer \setuplayout[options] \setuplegend[options] \setuplinenumbering[options] \setuplines[options] \setuplinewidth[dimension] \setuplist[names][options] \setupmakeup[name][options] \setupmarginblocks[options] \setupmarginrules[level=number|rulethickness=dimension

Re: [NTG-context] First document — problems with bi b module and layout

2007-12-27 Thread Matija Šuklje
, \kljucnebesede} ] % ustvari kazalo v PDF \placebookmarks[chapter,section,subsection] %%% %%% kazalo %%% \setupcombinedlist[content][alternative=c] \setuplist[chapter][style=bold,alternative=b,width=1.5em] \setuplist[section][margin=1.5em,width=2em] \setuplist[subsection][margin=3.5em,width=3em] \setuplist

Re: [NTG-context] First document — problems with bi b module and layout

2007-12-26 Thread Taco Hoekwater
kazalo v PDF \placebookmarks[chapter,section,subsection] %%% %%% kazalo %%% \setupcombinedlist[content][alternative=c] \setuplist[chapter][style=bold,alternative=b,width=1.5em] \setuplist[section][margin=1.5em,width=2em] \setuplist[subsection][margin=3.5em,width=3em] \setuplist[subsubsection][margin

Re: [NTG-context] First document — problems with bi b module and layout

2007-12-26 Thread Matija Šuklje
kazalo v PDF \placebookmarks[chapter,section,subsection] %%% %%% kazalo %%% \setupcombinedlist[content][alternative=c] \setuplist[chapter][style=bold,alternative=b,width=1.5em] \setuplist[section][margin=1.5em,width=2em] \setuplist[subsection][margin=3.5em,width=3em] \setuplist[subsubsection][margin

[NTG-context] First document — problems with bi b module and layout

2007-12-25 Thread Matija Šuklje
[content][alternative=c] \setuplist[chapter][style=bold,alternative=b,width=1.5em] \setuplist[section][margin=1.5em,width=2em] \setuplist[subsection][margin=3.5em,width=3em] \setuplist[subsubsection][margin=6.5em,width=4em] %%% %%% oblika poglavij ipd. %%% % zgenerira okoli naslova prvo stran na

Re: [NTG-context] page numbers in Table of Contents, mismatch

2007-12-24 Thread Saji Hameed
{A}{#3}-#5}} \def\MyCommand#1{\expandafter\doMyCommand#1\relax} \startsectionblockenvironment[appendix] \setuppagenumbering [way=bychapter, chapternumber=yes, numberseparator=-] %\setuplist[section][state=stop] \writebetweenlist[chapter]{\setuplist[chapter] [chapternumber=yes

Re: [NTG-context] page numbers in Table of Contents, mismatch

2007-12-23 Thread Wolfgang Schuster
}} \def\MyCommand#1{\expandafter\doMyCommand#1\relax} \startsectionblockenvironment[appendix] \setuppagenumbering [way=bychapter, chapternumber=yes, numberseparator=-] %\setuplist[section][state=stop] \writebetweenlist[chapter]{\setuplist[chapter] [chapternumber=yes,pagecommand

Re: [NTG-context] Customising Table of Contents

2007-12-17 Thread Wolfgang Schuster
\startsectionblockenvironment[appendix] \setuplist[section][state=stop] \stopsectionblockenvironment \starttext \startfrontmatter \completecontent \stopfrontmatter \startbodymatter \chapter{Test} \section{Test} \stopbodymatter \startappendices \chapter{Test} \section{Test} \stopappendices \stoptext

Re: [NTG-context] how to change 'figure 1.1' to '?? 1.1'

2007-12-11 Thread Dalyoung Jeong
no prefix. But \completeindex has chapter no and it is not suppressed even the commnad \setuplist[index][prefix=no]. I am sorry to list wrong result. Thank you for reading, Best regards, Dalyoung ___ If your

Re: [NTG-context] how to change 'figure 1.1' to '?? 1.1'

2007-12-11 Thread Wolfgang Schuster
for this. Without the prefix=no, \comletecontent has no prefix. But \completeindex has chapter no and it is not suppressed even the commnad \setuplist[index][prefix=no]. I am sorry to list wrong result. Thank you for reading, Best regards, Dalyoung Hi, the difference between completecontent

Re: [NTG-context] TOC: alternatives (Was: continous chapter numbering)

2007-11-14 Thread luigi scarso
through old posts and docs, I remain unconvinced as to what is the best solution between creating my own lists or customizing the standard Alternatives. But even then, is the latter possible? Yes with \setuplist . For example I have used this \def\PartCommand#1#2#3{% \framed[width=broad

Re: [NTG-context] TOC: alternatives (Was: continous chapter numbering)

2007-11-14 Thread Wolfgang Schuster
, it would seem easier if I could just modify it. Is it possible? \setuppagenumbering[way=bytext,partnumber=no] \setuphead[part][resetnumber=no] \setuphead[part,chapter,section,subsection][stopper={.}] \setuplist[part,chapter,section,subsection][stopper={.}] \setuplist [part,chapter,section

Re: [NTG-context] itemize a list

2007-11-07 Thread Hans Hagen
\FirstPa... Placing the before=\item in the \setuplist makes no difference. Why? How can I realize the goal: placing the list entries each as an item in an itemized list? these mechanisms interfere you may try \startitemize \placelist[Topic][label=no,pagenumber=no,before=\startitem,after

[NTG-context] itemize a list

2007-11-05 Thread Hans van der Meer
=\item in the \setuplist makes no difference. Why? How can I realize the goal: placing the list entries each as an item in an itemized list? Hans van der Meer ___ If your question is of interest to others as well

Re: [NTG-context] itemize a list

2007-11-05 Thread Wolfgang Schuster
\FirstPa... Placing the before=\item in the \setuplist makes no difference. Why? How can I realize the goal: placing the list entries each as an item in an itemized list? Hans van der Meer You can play with the following code, sorry but I have at the moment no time for a better solution

Re: [NTG-context] Turn off interaction in some TOC levels?

2007-10-23 Thread Wolfgang Schuster
=no] \setuphead[section][number=no,textcommand=\bf] \setuphead[subsection][number=no] \setuphead[subsubsection][number=no] \setupinteraction[state=start,color=blue] \setuplist[section][alternative=f,style=bold,interaction=sectionnumber] \setuplist[subsection][alternative=f,interaction

Re: [NTG-context] Turn off interaction in some TOC levels?

2007-10-22 Thread Wolfgang Schuster
[subsection][number=no] \setuphead[subsubsection][number=no] \setupinteraction[state=start,color=blue] \setuplist[section][alternative=f,style=bold,interaction=sectionnumber] \setuplist[subsection][alternative=f,interaction=no] \setuplist[subsubsection][alternative=a,interaction=all] The good

[NTG-context] Turn off interaction in some TOC levels?

2007-10-20 Thread John Culleton
=no] \setupinteraction[state=start,color=blue] \setuplist[section][alternative=f,style=bold,interaction=sectionnumber] \setuplist[subsection][alternative=f,interaction=no] \setuplist[subsubsection][alternative=a,interaction=all] The good news is that I found a handy way to bookmark just the index

Re: [NTG-context] Unnumbered TOC

2007-07-24 Thread luigi scarso
] ...nothing appears. Should I start all over, replace subjects with sections etc. and then try to suppress the numbering in both places? There is of course an easy answer that I am missing. :( maybe this can help you ? (untested) \def\SectionListCommand#1#2#3{#1 ... #2 ... #3}% \setuplist

Re: [NTG-context] TOC, listalternative d, ragged right, interaction

2007-07-18 Thread luigi scarso
.8em] \setupcombinedlist [content] [alternative=a, interaction=all, level=section, partnumber=no] \setuplist [chapter] [after={\blank}, before={\blank}, numberstyle

Re: [NTG-context] TOC, listalternative d, ragged right, interaction

2007-06-28 Thread luigi scarso
=a, interaction=all, level=section, partnumber=no] \setuplist [chapter] [after={\blank}, before={\blank}, numberstyle=\tfd, pagestyle=italic

Re: [NTG-context] How to format the line Table of Contents ?

2007-06-05 Thread David Arnold
,subsubsubsubsection] [level=subsubsubsubsection, criterium=local] \def\PageCommand#1{Page #1} \setuplist [chapter] [before=\blank, after=\blank, style=bold, pagecommand=\PageCommand] \setuplist [section] [pagecommand=\PageCommand, alternative=c] \starttext \TocHead{Table of Contents

Re: [NTG-context] TOC, listalternative d, ragged right, interaction

2007-06-05 Thread luigi scarso
it a look. Something to play with . \setuplist [section] [alternative=MyListItem, after=\blank, before=\blank] \definelistplacement[MyListItem][none]#1#2#3% {(#1) (#2) (#3)} (from core-lst.tex) Still working on this. -- luigi

Re: [NTG-context] page break handle in TOC

2007-06-02 Thread Hans Hagen
Horacio Suarez wrote: Hello is there a way to handle page breaks in a TOC? I have Part chapter (author) section so some point in the text \writebetweenlist[section]{\page] of with \setuplist[section][after=\page] etc

Re: [NTG-context] page break handle in TOC

2007-06-02 Thread Horacio Suarez
: Hello is there a way to handle page breaks in a TOC? I have Part chapter (author) section so some point in the text \writebetweenlist[section]{\page] of with \setuplist[section][after=\page] etc

Re: [NTG-context] TOC, listalternative d, ragged right, interaction

2007-05-29 Thread luigi scarso
On 5/29/07, luigi scarso [EMAIL PROTECTED] wrote: On 5/28/07, Daniel Schömer [EMAIL PROTECTED] wrote: Hi, I'm trying to alter the formatting of the table of contents for a document of chapters and sections. I will give it a look. Something to play with . \setuplist [section

[NTG-context] TOC, listalternative d, ragged right, interaction

2007-05-28 Thread Daniel Schömer
of contents): | \setupinteraction [state=start] | \setuplistalternative [a] [command=\hskip.8em] | \setupcombinedlist [content] [alternative=a, interaction=all, | level=section, partnumber=no] | \setuplist [chapter] [after=\blank, before=\blank

Re: [NTG-context] Change the size of publication list

2007-04-12 Thread Aditya Mahajan
question. Looks like I inadvertedly removed the beforeafter functionality at some point :-( For the moment, I am abusing initializepublist, mainly because it resets some options in \setuplist[pub] and I am against a hard deadline. This is my bib setup for IEEE style (well atleast in terms of font

Re: [NTG-context] Equivalent to \settowidth

2007-03-17 Thread Robin Kirkham
ugly, surely there is a proper way? Robin % widthof macro from Hans \def\setwidthof#1\to#2% {\bgroup \setbox\scratchbox\hbox{#1}% \expanded{\egroup\def\noexpand#2{\the\wd\scratchbox}}} \setupcombinedlist[content][ alternative=c, aligntitle=yes] \setuplist[chapter

Re: [NTG-context] An Index problem (repost II)

2007-03-06 Thread Hans Hagen
\LastSectionEntry\empty \def\ChapterEntry#1% {\global\let\LastSectionEntry\empty #1} \def\SectionEntry#1% {\splitstring#1\at{ }\to\PartA\and\PartB \doifelse\PartA\LastSectionEntry {#1} {\global\let\LastSectionEntry\PartA {\bf\PartA} \PartB}} \setuplist[chapter][style=bold

Re: [NTG-context] An Index problem (repost)

2007-03-06 Thread luigi scarso
in LastSecTitle %% else %% if #2 == LastSecTile %% then %% put normal #2 %% else %% put bold+CAP #2 %% store #2 in LastSecTitle %% }% \setuplist[section] [alternative=none, sectionnumber=no, partnumber=no, command={\SectionCommand

[NTG-context] single spaced list items within a double spaced document

2007-01-27 Thread Andrew D. Crouse
of \setuplist. This does not work, probably for obvious reasons. So, I'm wondering if anyone has encountered this problem, or knows of a simple solution. Thank you in advance. Andrew ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl

[NTG-context] Spacing of page numbers in list

2006-11-29 Thread David Wooten
Greetings all, I'm having a devil of a time trying to figure out how to control (increase) the space between the name of each part/chapter/section and its page number in a list generated by the following example. I've tried (I believe) every option in the \setuplist grimoire

[NTG-context] Subpagenumbering...

2006-11-24 Thread Willi Egger
[Pagina: \hfill \subpagenumber~van \nofsubpages][] \setuplist[part][sectionnumber=yes,pagenumber=no,placehead=yes] \starttext \part{Contents} \placecontent[criterium=all] \part{General} \chapter{Introduction} Thus, I came to the conclusion that the designer of a new system must not only

Re: [NTG-context] Page number alignment in \placecontent

2006-11-02 Thread Ángel Luis García Fernández
. That's the reason why the page numbers appeared in the right margin (is this a bug? I mean, should ConTeXt break the index line instead of put the number in the margin?). Now I have moved the \setupindenting command to the body section of my document, and the \setuplist options you wrote

Re: [NTG-context] ntg-context Digest, Vol 28, Issue 76

2006-10-30 Thread Ángel Luis García Fernández
=section] % margins, widths and distances are setup such that section lines line up with chapter text (change to your liking!) \setuplist[chapter][margin=0mm,width=6mm,distance=2mm,style=bold,aligntitle =yes,before=\blank] \setuplist[section][margin=8mm,width=6mm,distance=2mm] % place

Re: [NTG-context] ntg-context Digest, Vol 28, Issue 76

2006-10-30 Thread M.J. Kallen
with chapter text (change to your liking!) \setuplist[chapter][margin=0mm,width=6mm,distance=2mm,style=bold,aligntitle =yes,before=\blank] \setuplist[section][margin=8mm,width=6mm,distance=2mm] % place the following in the relevant location \completecontent Hope this ends up looking like you

Re: [NTG-context] list ?

2006-10-20 Thread Hans Hagen
[Topic] [chapter] \definehead [Subject] [section] \setuplist[Topic][alternative=f,criterium=all,align=left] \setuplist[Subject][alternative=f,criterium=chapter,align=left] \starttext \Topic{Topic 1} \Subject{Subject 1} \Subject{Subject 2} \Subject{Subject 3} \placelist[Topic,Subject

[NTG-context] list ?

2006-10-19 Thread Renaud AUBIN
] [chapter] \definehead [Subject] [section] \setuplist[Topic][alternative=f,criterium=all,align=left] \setuplist[Subject][alternative=f,criterium=chapter,align=left] \starttext \Topic{Topic 1} \Subject{Subject 1} \Subject{Subject 2} \Subject{Subject 3} \placelist[Topic,Subject] \Topic{Topic 2} \Subject

Re: [NTG-context] Presentation help

2006-08-18 Thread Adam Duck
\stringb \color[red]{#1} \else #1 \fi } #v- This works with \mycontext{a subject} and even \mycontext{\fetchmark[section][current]} but doesn't work with placelist[section] with this setup: #v+ \setuplist[section][criterium=all, symbol=none, numbercommand=$\bullet$, textcommand=\mycontext

[NTG-context] using \doifnumberelse in a ToC numbercommand=

2006-08-16 Thread Stuart Jansen
I asked this question a couple of days ago, but didn't get any takers. I don't want to be a pest, but it's frustrating to be so close yet unable to solve this final problem. Let's see if rephrasing the question helps. I'm trying to use \doifnumberelse in a \setuplist numbercommand= but it isn't

Re: [NTG-context] using \doifnumberelse in a ToC numbercommand=

2006-08-16 Thread Mojca Miklavec
in a \setuplist numbercommand= but it isn't working. The simplified example below shows the very specific table of contents layout I'm trying to accomplish. You will note that both the chapter number and the appendix letter are labeled with Appendix when in fact I want the chapter to be labeled

Re: [NTG-context] using \doifnumberelse in a ToC numbercommand=

2006-08-16 Thread Stuart Jansen
{% \doifelse{#1}{Lab Tasks}{\hskip-1em\bf#1\hfilll}{#1}} \setuplist[appendix][width=1em,numberstyle=bold,% numbercommand=\myappendixlistnumber,textstyle=bold] \setuplist[chapter][width=1em,numberstyle=bold,% numbercommand=\mychapterlistnumber,textstyle=bold] \setuplist[section][width=2em,numbercommand

Re: [NTG-context] using \doifnumberelse in a ToC numbercommand=

2006-08-16 Thread Hans Hagen
Stuart Jansen wrote: I asked this question a couple of days ago, but didn't get any takers. I don't want to be a pest, but it's frustrating to be so close yet unable to solve this final problem. Let's see if rephrasing the question helps. I'm trying to use \doifnumberelse in a \setuplist

[NTG-context] ToC chapter/appendix labelling

2006-08-15 Thread Stuart Jansen
{\vbox{% \doifnumberelse{#1}{Chapter}{Appendix} #1\crlf}} \def\mysectionlistnumber#1{\emspace\emspace} \def\mysectionlisttext#1{% \doifelse{#1}{Lab Tasks}{\hskip-1em\bf#1\hfilll}{#1}} \setuplist[chapter][width=1em,numberstyle=bold,% numbercommand=\mychapterlistnumber,textstyle=bold] \setuplist

[NTG-context] Extra pages

2006-08-06 Thread David Arnold
} \setupheadertexts [][\headermarkright]%odd page on right [\headermarkleft][]%even page on left \setuplist [section] [style=bold, color=red, alternative=c] \setuplist [subsection] [alternative=b] \starttext \startbodymatter \chapter{A Practice Chapter} \input knuth \TocHead{Table

[NTG-context] hyphenation by default off in lists ?

2006-08-06 Thread Steffen Wolfrum
Hi, is hyphenation by default off in lists? If so, why doesn't align={hyphenated,right} start the hyphening? \starttext %\setuplist[section][align={hyphenated,right}] \completecontent \section{\input tufte} \stoptext Steffen ___ ntg-context

[NTG-context] How to get rid of header

2006-08-05 Thread David Arnold
\headnumber[section]\headerskip \getmarking[section][current]}\headerskip\bold{\pagenumber}} \def\headerskip{\hskip 1em} \setupheadertexts [][\headermarkright]%odd page on right [\headermarkleft][]%even page on left \setuplist [section] [style=bold, color=red, alternative=c

[NTG-context] setuppublicationlist

2006-08-03 Thread Renaud AUBIN
Hi all, How to control vertical spaces between references ? (\setuplist options ? I have tried some but nothing happened...) Renaud ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context

Re: [NTG-context] setuppublicationlist

2006-08-03 Thread Taco Hoekwater
Renaud AUBIN wrote: Hi all, How to control vertical spaces between references ? (\setuplist options ? I have tried some but nothing happened...) This should work: \setuppublicationlist[before=\blank] Cheers, Taco ___ ntg-context mailing list

Re: [NTG-context] setuppublicationlist

2006-08-03 Thread Renaud AUBIN
? (\setuplist options ? I have tried some but nothing happened...) This should work: \setuppublicationlist[before=\blank] Cheers, Taco ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context

Re: [NTG-context] setuphead, setuplist

2006-07-31 Thread Steffen Wolfrum
I have tried ... \setuplist[chapter] [label=no,prefix=no,sectionnumber=no,alternative=a,textcommand= \midaligned,distance=0cm,margin=0cm,width=0cm] ... but still there is the sectionnumber shown in the content. Is this because of our special setuphead[chapter] command? Is there no way

Re: [NTG-context] setuphead, setuplist

2006-07-31 Thread Hans Hagen
Steffen Wolfrum wrote: That's it. Now the corresponding entry in the TOC should be without sectionnumber, but setuplist[...][sectionnumber=no] doesn't work. And looking in the manual I saw that this command is listed for setuplist, but listed italic?! has to do with prefixes, like

Re: [NTG-context] setuphead, setuplist

2006-07-30 Thread Steffen Wolfrum
That's it. Now the corresponding entry in the TOC should be without sectionnumber, but setuplist[...][sectionnumber=no] doesn't work. And looking in the manual I saw that this command is listed for setuplist, but listed italic?! Steffen Am 31.07.2006 um 00:51 schrieb Aditya Mahajan

Re: [NTG-context] beta bib module issues

2006-06-29 Thread Taco Hoekwater
example with extra spaces please? I've uploaded a new version to contextgarden. It fixes three bugs: * fix \type{\normalauthor} and \type{\normalshortauthor} spacing * do not typeset empty arguments to \type{\typesetapublication} * add \type{symbol=none} to \type{\setuplist} in unnumbered mode

Re: [NTG-context] beta bib module issues

2006-06-29 Thread Johannes Graumann
Taco Hoekwater wrote: * add \type{symbol=none} to \type{\setuplist} in unnumbered mode to prevent typesetting of bare numbers Works now - thanks! Joh ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context

Re: [NTG-context] Aleph queries

2006-06-23 Thread Duncan Hothersall
. So to match the setupheads, we need also: \setuplist[section,subsection,...][separator={{.}}] Unfortunately \setupreferencing[separator={{.}}] seems to just put an extra . before the figure number, but not reverse it, resulting in: '1.2- erugiF' Duncan

Re: [NTG-context] How to hyperlink pdf?

2006-06-18 Thread Aditya Mahajan
intuitively looked first ... There ought to be a proper way to do it. This works, but does not feel right. \setuplist [section] [alternative=MyListItem, after=\blank, before=\blank] \definelistplacement[MyListItem][none]#1#2#3% {\framed[width=\textwidth,frame=off]{\rlap{#1}\hskip 2em

[NTG-context] Page Numbers in TOC; setuplabeltext

2006-05-31 Thread Neal Lester
with leading dots and page number 0 regardless of what I put in \setuplist [appendix] when using \placecontent or \completecontent. So I tried creating my own head (based on title) and list. Placing this list under the TOC gives me the effect I want (Appendices are listed without dots or page

Re: [NTG-context] Page Numbers in TOC; setuplabeltext

2006-05-31 Thread Neal Lester
\definelist [myappendixlist] \setuplist [myappendixlist] [pagenumber=no,alternative=b,label=yes,conversion=Character] \definehead[myappendix][title] \def\appendixlabel#1#2{Appendix #1: #2} \setuphead[myappendix][command=\appendixlabel] % \setuplabeltext [en][myappendix=Appendix~] \newcounter

Re: [NTG-context] Text style in bookmarks

2006-05-20 Thread Willi Egger
Hi Nico, Provided I understnad you correctly, then you could play with code as: \setuphead [chapter] [style=\sca, after={\blank[3*big]}, number=no, alternative=middle, textstyle=\sca] \setuplist [contents] [sectionnumber

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

2006-05-01 Thread WN
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

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

2006-05-01 Thread nico
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

<    3   4   5   6   7   8   9   >