[NTG-context] combinedlist: different behaviour in mkiv

2012-09-21 Thread Stefan Rothe
\AgendaItemNumber \AgendaItem{\AgendaItemNumber}{#1} } \definelist [AgendaPart] \setuplist [AgendaPart] [width=1.5cm, style=bold, numbercommand={Part }] \definelist [AgendaItem] \setuplist [AgendaItem] [width=1.5cm, ownnumber=yes] \definecombinedlist [toc] [AgendaPart, AgendaItem

Re: [NTG-context] combinedlist: different behaviour in mkiv

2012-09-21 Thread Wolfgang Schuster
] \definehead [agendapart] [section] [sectionresetset=none,sectionsegments=agendapart,style=\bfb,conversion=A,bodypartlabel=part] \definehead [agendaitem] [subsection] [sectionresetset=none,sectionsegments=agendaitem,style=\bf] \setuplist [agendapart] [width=1.5cm,pagenumber=no,style=bold,label=yes

Re: [NTG-context] Publicationlist

2012-09-19 Thread Marco Patzer
2012-09-19 Eidenbenz Michael eidenb...@arch.ethz.ch: Hi Michael is there a way to setup the layout of the publicationlist? I would like to add a blank line after every entry. untested: \setuplist [pubs] [after=\blank] Marco

Re: [NTG-context] Publicationlist

2012-09-19 Thread Eidenbenz Michael
. untested: \setuplist [pubs] [after=\blank] Marco ___ 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

Re: [NTG-context] beta

2012-08-10 Thread Romain Diss
--url=http://www.contextgarden.net/Command/setuplist; sh: http://www.contextgarden.net/Command/setuplist: No such file or directory So what would be the right way? Is there some abstract shortcut to the preferred browser? On unix shells, 'xdg-open' open any file or URL with the appropriate

Re: [NTG-context] beta

2012-08-10 Thread Philipp Gesang
be used in an editor: mtxrun --gethelp --url=http://www.contextgarden.net/Command/setuplist; sh: http://www.contextgarden.net/Command/setuplist: No such file or directory So what would be the right way? Is there some abstract shortcut to the preferred browser

[NTG-context] beta

2012-08-09 Thread Hans Hagen
Hi, There is a new feature in mtxrun: As I wanted to acccess the help on the wiki, I've added a feature to mtxrun that can be used in an editor: mtxrun --gethelp --url=http://www.contextgarden.net/Command/setuplist; Actually, one can also use this: mtxrun --gethelp --url=http

Re: [NTG-context] beta

2012-08-09 Thread Mojca Miklavec
On Thu, Aug 9, 2012 at 11:01 PM, Hans Hagen wrote: Hi, There is a new feature in mtxrun: As I wanted to acccess the help on the wiki, I've added a feature to mtxrun that can be used in an editor: mtxrun --gethelp --url=http://www.contextgarden.net/Command/setuplist; sh: http

Re: [NTG-context] beta

2012-08-09 Thread Hans Hagen
://www.contextgarden.net/Command/setuplist; sh: http://www.contextgarden.net/Command/setuplist: No such file or directory So what would be the right way? Is there some abstract shortcut to the preferred browser? Hans

Re: [NTG-context] beta

2012-08-09 Thread Mojca Miklavec
in an editor: mtxrun --gethelp --url=http://www.contextgarden.net/Command/setuplist; sh: http://www.contextgarden.net/Command/setuplist: No such file or directory So what would be the right way? Is there some abstract shortcut to the preferred browser? On Mac OS X it is open url/file

Re: [NTG-context] beta

2012-08-09 Thread Hans Hagen
a feature to mtxrun that can be used in an editor: mtxrun --gethelp --url=http://www.contextgarden.net/Command/setuplist; sh: http://www.contextgarden.net/Command/setuplist: No such file or directory So what would be the right way? Is there some abstract shortcut to the preferred browser

Re: [NTG-context] beta

2012-08-09 Thread Philipp Gesang
: mtxrun --gethelp --url=http://www.contextgarden.net/Command/setuplist; sh: http://www.contextgarden.net/Command/setuplist: No such file or directory So what would be the right way? Is there some abstract shortcut to the preferred browser? Hi Hans, there’s the environment variable

Re: [NTG-context] Draft version of document

2012-08-08 Thread Sietse Brouwer
/contents/whatever. New feature 2: the command \rawstructurelistuservariable{#1} . This command can be used by custom list entry macros like \mylistentrymacro below: \setuplist[somelist][alternative=command, command=\mylistentrymacro] The command gets a property from the current list entry

Re: [NTG-context] Draft version of document

2012-08-08 Thread Wolfgang Schuster
file and can be used when you print the list entries. New feature 2: the command \rawstructurelistuservariable{#1} . This command can be used by custom list entry macros like \mylistentrymacro below: \setuplist[somelist][alternative=command, command=\mylistentrymacro] The command gets

Re: [NTG-context] Draft version of document

2012-08-07 Thread Hans Hagen
}}% \hbox to 2em{#1\hss}% #2\hfill \hbox to 2em{\hss#3}% \blank} \setuplist[figure][alternative=command,command=\FigureListEntry] \placelist[figure] \stoptext Of course, the 'command' is not that nice looking but that's for others to improve. (In a similar fashion one can associate

[NTG-context] alternative command for lists

2012-08-03 Thread Willi Egger
Hi all, At the moment I am busy to build a custom TOC. I stumble overt the fact, that ConTeXt seems to forget all parameters set in \setuplist once you issue alternative=command, command=… Could anyone of you enlighten me whether I miss something? Kind regards Willi P.S. Please refer

Re: [NTG-context] alternative command for lists

2012-08-03 Thread luigi scarso
On Fri, Aug 3, 2012 at 12:00 PM, Willi Egger cont...@boede.nl wrote: Hi all, At the moment I am busy to build a custom TOC. I stumble overt the fact, that ConTeXt seems to forget all parameters set in \setuplist once you issue alternative=command, command=… Could anyone of you enlighten me

Re: [NTG-context] alternative command for lists

2012-08-03 Thread Hans Hagen
On 3-8-2012 12:00, Willi Egger wrote: Hi all, At the moment I am busy to build a custom TOC. I stumble overt the fact, that ConTeXt seems to forget all parameters set in \setuplist once you issue alternative=command, command=… Could anyone of you enlighten me whether I miss something? Kind

[NTG-context] alternative=d gives attr

2012-07-30 Thread Steffen Wolfrum
Hi, \starttext \subject{Contents} \setuplist[section][alternative=d] \placecontent \section{One} \section{Two} \stoptext while the minimal example above works nicely, my more complex project adds a attr in front off the section number (ie. a): attr a) Test one 47 attr b) Test two 51 Any

Re: [NTG-context] alternative=d gives attr

2012-07-30 Thread luigi scarso
On Mon, Jul 30, 2012 at 12:32 PM, Steffen Wolfrum cont...@st.estfiles.dewrote: Hi, \starttext \subject{Contents} \setuplist[section][alternative=d] \placecontent \section{One} \section{Two} \stoptext while the minimal example above works nicely, my more complex project adds a attr

Re: [NTG-context] alternative=d gives attr

2012-07-30 Thread Marco Patzer
On 2012-07-30 Steffen Wolfrum cont...@st.estfiles.de wrote: Hi Steffen, Any idea where this attr2 comes from, and how to get rid of it?? Sorry, no clue. Second question: how can I add a separator, like this: a) Test one 47– b) Test two 51 \setuplist [section

Re: [NTG-context] alternative=d gives attr

2012-07-30 Thread Steffen Wolfrum
Am 30.07.2012 um 12:46 schrieb luigi scarso: On Mon, Jul 30, 2012 at 12:32 PM, Steffen Wolfrum cont...@st.estfiles.de wrote: Hi, \starttext \subject{Contents} \setuplist[section][alternative=d] \placecontent \section{One} \section{Two} \stoptext while the minimal example

Re: [NTG-context] alternative=d gives attr

2012-07-30 Thread Wolfgang Schuster
Am 30.07.2012 um 12:51 schrieb Steffen Wolfrum cont...@st.estfiles.de: Am 30.07.2012 um 12:46 schrieb luigi scarso: On Mon, Jul 30, 2012 at 12:32 PM, Steffen Wolfrum cont...@st.estfiles.de wrote: Hi, \starttext \subject{Contents} \setuplist[section][alternative=d

Re: [NTG-context] alternative=d gives attr

2012-07-30 Thread Steffen Wolfrum
– b) Test two 51 \setuplist [section] [alternative=d, textcommand=\SectionCommand] \define[1]\SectionCommand{#1 --} sorry, but this results in: 1 One – 1 2 Two – 1 what I am looking for is this: 1 One 1 – 2 Two 1 ie. a seperator between consecutive entries Steffen

[NTG-context] Broken for a while now...

2012-07-16 Thread DB
I've noticed two things that seem to be broken in the betas, and they've been broken for a while now. \resetpagenumber \setuppagenumber[number=1] sets the page number to zero rather than 1. Also, the width= setting in \setuplist doesn't work anymore, either. I apologise if I sound like I'm

Re: [NTG-context] Broken for a while now...

2012-07-16 Thread Wolfgang Schuster
rather than 1. Also, the width= setting in \setuplist doesn't work anymore, either. Do you have a example because this works: \setuplist[section][width=4cm] \starttext \completecontent \dorecurse{4} {\chapter{Chapter #1} \dorecurse{6}{\section{Section #1.##1}}} \stoptext Wolfgang

[NTG-context] Table of Contents Section Numbering

2012-07-10 Thread Malte Harder
Dear all, I'm quite new to ConTeXt and I'm just trying to set up a template for my first project. I'm using MkIV and the ConTeXt Standalone nightlies. I've encountered the problem that I was not able to create a table of contents (neither \placelist,\placecontents, with setuplist or without

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

2012-07-10 Thread Henning Hraban Ramm
\placelist,\placecontents, with setuplist or without worked). I do not get any error, but there is also no list generated. I think, I tried every hint I found on this list. It’s a bug in the current beta (or the syntax changed, I don’t think so...) Wait for the next one. Greetlings, Hraban

Re: [NTG-context] Problems with \completecontent

2012-07-01 Thread Wolfgang Schuster
; I tried [pagestyle=slanted], but it didn't work either. Any ideas? \setuplist[chapter][alternative=a,width=1em,pagestyle=slanted] \starttext \completecontent \chapter{Chapter} \stoptext Wolfgang ___ If your

[NTG-context] Lists and alternative=command

2012-05-17 Thread Rogers, Michael K
I'd love help with this: I have list that uses alternative=command, and it stopped working when I switched from last year's TeXLive context to a recent beta. I've minimized the problem to this example: \definelist [MyList] \define[3]\MyListEntry{:#1:#2:#3:} \setuplist [MyList

[NTG-context] [***SPAM***] Custom TOC problem

2012-04-03 Thread Michał Goliński
example follows: \define[3]\M{#3 some #2 magic #1} \setuplist[section][alternative=command,command=\M] \starttext \section{A} \completecontent \stoptext and the error from the log: ConTeXt ver: 2012.03.30 16:16 MKIV fmt: 2012.4.2 int: english/english ! Argument of \M has

Re: [NTG-context] Custom TOC problem

2012-04-03 Thread Steffen Wolfrum
an error that might be from within ConTeXt. The cutomary minimal example follows: \define[3]\M{#3 some #2 magic #1} \setuplist[section][alternative=command,command=\M] \starttext \section{A} \completecontent \stoptext and the error from the log: ConTeXt ver: 2012.03.30 16:16

Re: [NTG-context] \setuphead and \startchapter request

2012-03-19 Thread Wolfgang Schuster
Am 19.03.2012 um 16:16 schrieb Alan BRASLAU: Wolfgang, Thank you for the suggestions. However, I have tried many such, things… Is this what you want? \setuphead[title][incrementnumber=list] \setuplist[title][width=2em] % default value for chapter entry \setuphead[chapter][insidesection

[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] is there a reason not to fix this bug?

2012-03-10 Thread Pablo Rodríguez
the following bug with 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 I'm probably missing something, but this was reported two betas

[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] TOC: alternative=c not working?

2012-03-06 Thread Hans Hagen
] \starttext \completecontent \page \section{Sec} \subsection{SSec} \subsubsection{SSSec} \input knuth \stoptext My fault or something is broken or a new approach? Use \setuplist[section,…][alternative=c]. in the latest beta the alternative option works but not other

Re: [NTG-context] TOC: alternative=c not working?

2012-03-05 Thread Wolfgang Schuster
\section{Sec} \subsection{SSec} \subsubsection{SSSec} \input knuth \stoptext My fault or something is broken or a new approach? Use \setuplist[section,…][alternative=c]. Wolfgang

Re: [NTG-context] TOC: alternative=c not working?

2012-03-05 Thread Procházka Lukáš Ing . - Pontex s . r . o .
) of the TOC - dots are missing: t-TOC.mkiv \setupcombinedlist[content][alternative=c] \starttext \completecontent \page \section{Sec} \subsection{SSec} \subsubsection{SSSec} \input knuth \stoptext My fault or something is broken or a new approach? Use \setuplist[section

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] pack_black_rule_pickup ?

2012-02-18 Thread Wolfgang Schuster
Am 18.02.2012 um 20:04 schrieb luigi scarso: I think a separate key for the command is better because this \setupnote[footnote][rule=\MyRule] can also be \setupnote[…][rule={on,right,\MyRule}] which is ugly and two step mechanism like \setuplist[…][alternative=command,command=\MyList

Re: [NTG-context] pack_black_rule_pickup ?

2012-02-18 Thread luigi scarso
is ugly and two step mechanism like \setuplist[…][alternative=command,command=\MyList] are better but that’s only my opinion. it's ok for me -- it was a quick fix for Steffen -- luigi ___ If your question

Re: [NTG-context] pack_black_rule_pickup ?

2012-02-18 Thread Steffen Wolfrum
also be \setupnote[…][rule={on,right,\MyRule}] which is ugly and two step mechanism like \setuplist[…][alternative=command,command=\MyList] are better but that’s only my opinion. it's ok for me -- it was a quick fix for Steffen ;o) Steffen

Re: [NTG-context] pack_black_rule_pickup ?

2012-02-18 Thread luigi scarso
step mechanism like \setuplist[…][alternative=command,command=\MyList] are better but that’s only my opinion. it's ok for me -- it was a quick fix for Steffen ;o) Hm I don't know ;o) : smiley (non-commutative ? ) algebra ;o) = ;-) + :o) :-) = :o) + ;-) -- luigi

Re: [NTG-context] Turning off special chapter headings

2012-02-16 Thread Alasdair McAndrew
,chapter,section] \setuplist[ans][headnumber=no] Then finally \ans{Answers to Exercises} cheers, Alasdair On Fri, Feb 17, 2012 at 4:05 PM, Otared Kavian ota...@gmail.com wrote: Hi, Didn't you see my answer? As suggested below, you can use \chapter[title={Answer to all the questions},number

[NTG-context] Two columns type problem

2012-02-13 Thread Martin Bruchanov
=black] \setupcombinedlist[content][level=1,alternative=c] \setuplist[chapter][width=10mm,style=bold] \setupwhitespace[none] % velikost odsazeni \setupindenting[small,next] % none, small, medium, bix, next, first, [rozmer] \indenting[yes] % Nastaveni hlavicky \setupheader[style=\tfx\sc

Re: [NTG-context] TOC with wrong lines in latest beta

2012-02-11 Thread Wolfgang Schuster
Am 10.02.2012 um 18:15 schrieb Pablo Rodríguez: Hi there, in the following sample, the TOC has chapter 2 on the same line as section 1. \setuplist[chapter][alternative=g,align=middle,aligntitle=yes] \setuplist[section][alternative=d] \starttext \completecontent

Re: [NTG-context] TOC with wrong lines in latest beta

2012-02-11 Thread Pablo Rodríguez
that: \setupinteraction[state=start,focus=standard] \setupcombinedlist[content][interaction=all] \setuplist[part][alternative=g] \setuplist[section][alternative=d] \starttext \completecontent \part{part} \chapter{chapter} \section{section

[NTG-context] TOC with wrong lines in latest beta

2012-02-10 Thread Pablo Rodríguez
Hi there, in the following sample, the TOC has chapter 2 on the same line as section 1. \setuplist[chapter][alternative=g,align=middle,aligntitle=yes] \setuplist[section][alternative=d] \starttext \completecontent \chapter{chapter 1} \section{section 1} \chapter

Re: [NTG-context] Questions on Table of Contents

2012-02-08 Thread Marco
On 2012-02-07 Kip Warner k...@thevertigo.com wrote: On Tue, 2012-02-07 at 08:36 +0100, Marco wrote: \setuplist [chapter] [color=yellow, pagecolor=green] \setuplist [section] [color=blue, numbercolor=red] Thanks Marco. Where can I find a list of the parameters relevant to chapter

Re: [NTG-context] Questions on Table of Contents

2012-02-07 Thread Kip Warner
On Tue, 2012-02-07 at 08:36 +0100, Marco wrote: \setuplist [chapter] [color=yellow, pagecolor=green] \setuplist [section] [color=blue, numbercolor=red] Thanks Marco. Where can I find a list of the parameters relevant to chapter, section, and subsection for \setuplist? -- Kip Warner

Re: [NTG-context] Questions on Table of Contents

2012-02-06 Thread Marco
. Regardless, I wonder if someone could tell me how to customize the colours of the various parts of the table of contents, such as the chapter/section number, the name, and the page number it starts on. \setuplist [chapter] [color=yellow, pagecolor=green] \setuplist [section] [color=blue

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

Re: [NTG-context] another surprising change (line break in TOC)

2012-01-18 Thread luigi scarso
]{\TOCstyleBF\midaligned{#2}}\hfill\tf#3} % here the interlinespace worked \setuplist[chapter] [alternative=MyListItemIT] \definecombinedlist[TOCtoc] [chapter] \setupcombinedlist[TOCtoc] [aligntitle=yes,criterium=text,interaction=all] \starttext \placeTOCtoc[criterium=text,interaction=all

Re: [NTG-context] another surprising change (line break in TOC)

2012-01-17 Thread Steffen Wolfrum
: \definelistplacement[MyListItemIT][none]#1#2#3% {\hfill\kern-1em\it#1\hfill\strut\crlf\strut\hfill\hphantom{\tf#3}\framedtext[frame=off,offset=overlay]{\bf\midaligned{#2}}\hfill\tf#3} \setuplist[chapter] [alternative=MyListItemIT] \definecombinedlist[TOCtoc] [chapter] \setupcombinedlist

Re: [NTG-context] another surprising change (line break in TOC)

2012-01-17 Thread Steffen Wolfrum
the interlinespace is ignored % {\hfill\kern-1em\it#1\hfill\strut\crlf\strut\hfill\hphantom{\tf#3}\framedtext[frame=off,offset=overlay]{\TOCstyleBF\midaligned{#2}}\hfill\tf#3} % here the interlinespace worked \setuplist[chapter] [alternative=MyListItemIT] \definecombinedlist[TOCtoc

[NTG-context] \placelist and \writetolist

2011-12-13 Thread Marco Pessotto
Hello! I can't understand what I'm doing wrong here: % \setuplist[mylist] [alternative=c, width=0mm, style=\tfx, criterium=all] \starttext \placelist[mylist] \page[yes] \input knuth \writetolist[mylist]{}{Item} \stoptext

Re: [NTG-context] \placelist and \writetolist

2011-12-13 Thread Wolfgang Schuster
Am 13.12.2011 um 11:41 schrieb Marco Pessotto: Hello! I can't understand what I'm doing wrong here: % \setuplist[mylist] [alternative=c, width=0mm, style=\tfx, criterium=all] \starttext \placelist[mylist] \page[yes] \input

Re: [NTG-context] \placelist and \writetolist

2011-12-13 Thread Marco Pessotto
Wolfgang Schuster schuster.wolfg...@googlemail.com writes: Replace \setuplist with \definelist, before you use a list you should create it. I knew I was missing something obvious... Thanks a lot, it works. Best wishes -- Marco

[NTG-context] \placelist after \chapter

2011-12-12 Thread Felix Ingram
a summary table in my document that will contain information from my page titles. I'd like to have the heading title, the page number and possibly some meta-info that I'm passing to my custom command. (I'm planning on passing a custom command in the \setuplist command). If it's not possible

Re: [NTG-context] \placelist after \chapter

2011-12-12 Thread Wolfgang Schuster
command in the \setuplist command). If it's not possible to \placelist's after numbered headings then could someone suggest an alternative method? You need \placelist[chapter][criterium=all]. Wolfgang ___ If your

Re: [NTG-context] \placelist after \chapter

2011-12-12 Thread Felix Ingram
Thanks Wolfgang - that works as expected. I'm trying to create a table from the headings (as previously mentioned). Something like this: \setuplist[chapter][criterium=all,alternative=command,command=\MySummaryTable,before={\setupTABLE[frame=on]\bTABLE\bTABLEbody},after={\eTABLEbody\eTABLE

[NTG-context] Bad linebreak in ToC

2011-12-05 Thread Markus Finke
] \definefontfeature [default] [default] [mode=node, script=latn] \setupbodyfont [12pt] \definefontsize [g] \setupbodyfontenvironment [default] [g=0.95] \setuplist [section] [alternative=b, width=1.2em, style=\tt\tfg] \usemodule [typearea] \setupTypeArea

Re: [NTG-context] Unnumbered chapters (titles) etc in TOC

2011-11-29 Thread Wolfgang Schuster
the argument to \setuplist for each heading in the list, 2. It is used to set certain options for the given list 2. The \setuphead line seem to be necessary; why? Old option from MkII where this was needed. because combinedlist was a little bit different. 3. And the worst: indenting of \titles

Re: [NTG-context] page number placement in multiline TOC entry

2011-11-07 Thread Andreas Harder
} \setuplist[chapter][alternative=command,command=\ChapterList] \starttext \showframe \placelist[chapter] \dorecurse{3}{\chapter{Some very long title. Some very long title. Some very long title. Some very long title. Some very long title. }} \stoptext Regards Andreas

Re: [NTG-context] Some more ToC questions

2011-10-26 Thread Wolfgang Schuster
\definehead[exercise][section] \setuphead[exercise][number=no] \setuplist[exercise][headnumber=no] but that doesn't work on its own, and when paired with \definecombinedlist[content][exercise,chapter,section] wipes out the contents completely. Any advice (or even pointers to a web page) would

[NTG-context] Some more ToC questions

2011-10-25 Thread Alasdair McAndrew
like these exercises to be typeset as unnumbered sections (subjects), and appear so in the ToC. Like: 4.4 Second last section 4.5 Last section Exercises What is the best way of doing this (MkII)? I've tried \definehead[exercise][section] \setuphead[exercise][number=no] \setuplist[exercise

[NTG-context] about \startstructureblockenvironment

2011-10-12 Thread Jeong Dalyoung
on line 6 in file test4.tex: Undefined control sequence ... 1 \definestructureconversionset[frontpart:pagenumber][][romannumerals] 2 \definestructureconversionset[bodypart:pagenumber] [][numbers] 3 4 \setuplist[chapter][pageconversionset=pagenumber] 5 6 \startstructureblockenvironment[frontpart] 7

[NTG-context] Setup of the title of Contents

2011-09-13 Thread Honza Hejzl
Hello, I wish I were able to set tup my custom title (for example, for table of contents). I have chapter titles split over two lines and with different sizes so I need something different as a title of Contents. I know about many possibilities of \setuplist options but can't find anything about

Re: [NTG-context] Setup of the title of Contents

2011-09-13 Thread Hongwen Qiu
On 09/13/2011 04:48 PM, Honza Hejzl wrote: I wish I were able to set tup my custom title (for example, for table of contents). I have chapter titles split over two lines and with different sizes so I need something different as a title of Contents. I know about many possibilities of \setuplist

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

<    1   2   3   4   5   6   7   8   9   >