Re: [NTG-context] TOC: Chapters with and without page-numbers

2013-03-15 Thread Keith J. Schultz
create the effect you want. regards Keith. Am 15.03.2013 um 07:46 schrieb H. Özoguz : > Maybe I have not made it clear, what I mean? > > My Minexample is: > > \setuplist[chapter][pagenumber=no] > \starttext > \completecontent > \chapter{Chapter 1} > \section{Sect

Re: [NTG-context] TOC: Chapters with and without page-numbers

2013-03-14 Thread H. Özoguz
Maybe I have not made it clear, what I mean? My Minexample is: \setuplist[chapter][pagenumber=no] \starttext \completecontent \chapter{Chapter 1} \section{Section 1} \chapter{Chapter 2} \stoptext Now Chapter 1 is without pagenumber in the TOC, correct, because it has a section after the

[NTG-context] TOC: Chapters with and without page-numbers

2013-03-13 Thread H. Özoguz
Hello there, normally I use \setuplist[chapter][pagenumber=no] to prevent pages for chapters in the TOC, because normally (!) after every chapter-titel comes a section-title, directly, without text between the two titles. And so it is in this case enough to give the page-number for the

[NTG-context] TOC: Chapters with and without page-numbers

2013-03-12 Thread H. Özoguz
Hello there, normally I use \setuplist[chapter][pagenumber=no] to prevent pages for chapters in the TOC, because normally (!) after every chapter-titel comes a section-title, directly, without text between the two titles. And so it is in this case enough to give the page-number for the

Re: [NTG-context] \startnarrower and ToC

2013-02-07 Thread Wolfgang Schuster
Am 07.02.2013 um 13:22 schrieb Marco Patzer : > On 2013–02–07 Markus Finke wrote: > >> \startnarrower doesn’t work for the left margin in lists. What is >> wrong in my minimal example? > > I did not check why it doesn't work. But to add a left margin you > can

Re: [NTG-context] [***SPAM***] Re: \startnarrower and ToC

2013-02-07 Thread Marco Patzer
> > Yes, it’s possible to fix it on this way. But what is the right > conversion of 1*left in mm/em? left, middle and right depend on the font size: left=1.5\emwidth right=1.5\emwidth which means for your example: \setuplist [margin=7.5em] Marco signature.asc Description

[NTG-context] [***SPAM***] Re: \startnarrower and ToC

2013-02-07 Thread Markus Finke
I did not check why it doesn't work. But to add a left margin you can use: \setuplist [margin=3cm] Yes, it’s possible to fix it on this way. But what is the right conversion of 1*left in mm/em? ___ If

Re: [NTG-context] \startnarrower and ToC

2013-02-07 Thread Marco Patzer
On 2013–02–07 Markus Finke wrote: > \startnarrower doesn’t work for the left margin in lists. What is > wrong in my minimal example? I did not check why it doesn't work. But to add a left margin you can use: \setuplist [margin=3cm] Marco signature.asc Description: Digita

Re: [NTG-context] No number of chapter in TOC

2013-02-06 Thread Wolfgang Schuster
Am 06.02.2013 um 13:22 schrieb H. Özoguz : > Hi there, > > after each chapter I begin with a section. So in the table of content every > chapter has the same page-number as the section, which comes directly after > the chapter-title (so no text is between them). \se

Re: [NTG-context] Indentation in TOC

2013-02-04 Thread Devendra Ghate
with the section number and overlaps with it. I tried adding *loffset=2cm* (since all the options of *\framed* are valid for *setuplist*) also, but doesn't seem to have any effect. Please point out the mistake. Regards, Devendra *MWE* \definehspace[myem][2em] \def\secnum#1{\hspace[my

Re: [NTG-context] Indentation in TOC

2013-02-04 Thread Wolfgang Schuster
n number and overlaps with it. I tried adding *loffset=2cm* (since > all the options of *\framed* are > valid for *setuplist*) also, but doesn't seem to have any effect. > > Please point out the mistake. > > Regards, > Devendra > > *MWE* > > \definehspa

[NTG-context] Indentation in TOC

2013-02-04 Thread Devendra Ghate
*\framed* are valid for *setuplist*) also, but doesn't seem to have any effect. Please point out the mistake. Regards, Devendra *MWE* \definehspace[myem][2em] \def\secnum#1{\hspace[myem]#1} \setuplist [section] [numbercommand={\secnum}] \starttext \completecontent[alternat

Re: [NTG-context] Table of Contents Spacing

2013-01-29 Thread Troy Henderson
> > \setuplist > [chapter] > [before={\blank[5ex]}] > Thank you! Troy ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / ht

Re: [NTG-context] Table of Contents Spacing

2013-01-29 Thread Marco Patzer
On 2013–01–29 Troy Henderson wrote: > How do I change the vertical spacing between chapter/section list items in > the Table of Contents? \setuplist [chapter] [before={\blank[5ex]}] \setuplist [section] [before={\blank[.6ex]}] Marco signature.asc Description: Digital sig

Re: [NTG-context] How to use module simpleslides' SideToc

2013-01-09 Thread Sietse Brouwer
tolist[MyTopics]{#1}{}% } \setuplist[MyTopics] [pagenumber=no, alternative=command, command=\FancyEntry] % On every page, place the TOC in the margin, plzkthx \setuptexttexts[margin][\vbox{\placelist[MyTopics]}][] \starttext \Topic[First] First Topic \page \Topic

Re: [NTG-context] How to use module simpleslides' SideToc

2013-01-08 Thread 土卜皿
= \MyMark}} {\color[blue]{#1 = \MyMark}} \blank[medium] } \definelist[MyTopics][criterium=all] \def\MyMark{} \def\Topic% {\dosingleargument\doTopic} \def\doTopic[#1]{% \def\MyMark{#1}% \writetolist[MyTopics]{#1}{}% } \setuplist[MyTopics] [pagenumber=no

Re: [NTG-context] How to use module simpleslides' SideToc

2013-01-08 Thread Thomas A. Schmitz
1 = \MyMark}\blank[medium]} {\color[blue]{#1 = \MyMark}\blank[medium]} } \definelist[MyTopics][criterium=all] \def\MyMark{} \def\Topic% {\dosingleargument\doTopic} \def\doTopic[#1]{% \def\MyMark{#1}% \writetolist[MyTopics]{#1}{}% } \setuplist[MyTopics] [pagenumber=no,

Re: [NTG-context] Fwd: Re: something about the placelist

2012-10-24 Thread feng
. like this: \setuplist[section][before=] \framed[background=frame_mp,frame=on,align=middle,width=80pt]{% add: strut=no to the \framed command (first run with \showstruts and you see what happens) string %%this is the string

[NTG-context] Fwd: Re: something about the placelist

2012-10-24 Thread Hans Hagen
that if there is a string before the \placelist the null string is disappear. like this: \setuplist[section][before=] \framed[background=frame_mp,frame=on,align=middle,width=80pt]{% add: strut=no to the \framed command (first run with \showstruts and you see what happens) string

Re: [NTG-context] something about the placelist

2012-10-24 Thread Hans Hagen
style=\tfa] } thank you! ps. I am a chinese, my english is poor. \setuplist[section][before=] - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands

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

2012-09-21 Thread Wolfgang Schuster
I wonder also why he uses such a complicated method for his headings when there is a better way. \defineresetset [none][][0] \definehead [agendapart] [section] [sectionresetset=none,sectionsegments=agendapart,style=\bfb,conversion=A,bodypartlabel=part] \definehead [agendaitem] [subsection] [se

[NTG-context] combinedlist: different behaviour in mkiv

2012-09-20 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] Publicationlist

2012-09-19 Thread Eidenbenz Michael
k line after every entry. > > untested: > > \setuplist > [pubs] > [after=\blank] > > > Marco > > ___ > If your question is of interest to others as well, please add an entry to

Re: [NTG-context] Publicationlist

2012-09-19 Thread Marco Patzer
2012-09-19 "Eidenbenz Michael" : 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

Re: [NTG-context] beta

2012-08-10 Thread Philipp Gesang
t; > >> mtxrun that can be used in an editor: > > >> > > >> mtxrun > > >> > > >>--gethelp > > >> --url="http://www.contextgarden.net/Command/setuplist"; > > > > > > sh: http://www.context

Re: [NTG-context] beta

2012-08-10 Thread Romain Diss
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

Re: [NTG-context] beta

2012-08-09 Thread Philipp Gesang
o 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 >

Re: [NTG-context] beta

2012-08-09 Thread Hans Hagen
ded 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 pr

Re: [NTG-context] beta

2012-08-09 Thread Mojca Miklavec
d 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"; >> >> >> s

Re: [NTG-context] beta

2012-08-09 Thread Hans Hagen
"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

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.c

[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 --gethel

Re: [NTG-context] Draft version of document

2012-08-08 Thread Wolfgang Schuster
hatever. Yes, the user variables are only stored in the utility 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: > \setup

Re: [NTG-context] Draft version of document

2012-08-08 Thread Sietse Brouwer
they can be used in constructing the Table of figures/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] T

Re: [NTG-context] Draft version of document

2012-08-07 Thread Hans Hagen
relistuservariable{resource}][height=1cm]\hss}}% \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

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

Re: [NTG-context] alternative command for lists

2012-08-03 Thread luigi scarso
On Fri, Aug 3, 2012 at 12:00 PM, 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

[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 to

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

2012-07-30 Thread Steffen Wolfrum
>> >> a) Test one 47 – 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

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

2012-07-30 Thread Wolfgang Schuster
Am 30.07.2012 um 12:51 schrieb Steffen Wolfrum : > > Am 30.07.2012 um 12:46 schrieb luigi scarso: > >> >> >> On Mon, Jul 30, 2012 at 12:32 PM, Steffen Wolfrum >> wrote: >> Hi, >> >> \starttext >> \subject{Contents} >> \set

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 > wrote: > Hi, > > \starttext > \subject{Contents} > \setuplist[section][alternative=d] > \placecontent > \section{One} > \section{Two} > \stoptext >

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

2012-07-30 Thread Marco Patzer
On 2012-07-30 Steffen Wolfrum 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 luigi scarso
On Mon, Jul 30, 2012 at 12:32 PM, Steffen Wolfrum wrote: > Hi, > > \starttext > \subject{Contents} > \setuplist[section][alternative=d] > \placecontent > \section{One} > \section{Two} > \stoptext > > while the minimal example above works nicely, my more complex

[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

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

2012-07-16 Thread Wolfgang Schuster
> sets the page number to zero 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}{\

[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

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

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

[NTG-context] Table of Contents & Section Numbering

2012-07-09 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

Re: [NTG-context] Problems with \completecontent

2012-07-01 Thread Wolfgang Schuster
'd like to have the pagenumbers slanted; I tried > [pagestyle=slanted], but it didn't work either. > > Any ideas? \setuplist[chapter][alternative=a,width=1em,pagestyle=slanted] \starttext \compl

[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:} \setuplis

Re: [NTG-context] Custom TOC problem

2012-04-03 Thread Steffen Wolfrum
gt; own commands, yet I get 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 > \stopte

[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] \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 \setup

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] > d

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 Schus

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=no

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 thei

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. Properties

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

[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.

[NTG-context] is there a reason not to fix this bug?

2012-03-10 Thread Pablo Rodríguez
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

[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 k

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

2012-03-06 Thread Hans Hagen
ive=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,…][alternative=c]. in the latest beta the alternative option works but not

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

2012-03-05 Thread Procházka Lukáš Ing . - Pontex s . r . o .
--- 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,…][alternative=c]. Wol

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

2012-03-05 Thread Wolfgang Schuster
; \starttext > \completecontent > \page > > \section{Sec} >\subsection{SSec} > \subsubsection{SSSec} > >\input knuth > \stoptext > > > My fault or something is broken or

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

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,mar

[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] \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 m

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 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] > \se

[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

[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

Re: [NTG-context] pack_black_rule_pickup ?

2012-02-18 Thread luigi scarso
On Sat, Feb 18, 2012 at 9:18 PM, Steffen Wolfrum wrote: > > Am 18.02.2012 um 20:19 schrieb luigi scarso: > >> On Sat, Feb 18, 2012 at 8:12 PM, Wolfgang Schuster >> wrote: >>> can also be \setupnote[…][rule={on,right,\MyRule}] which is ugly and two >

Re: [NTG-context] pack_black_rule_pickup ?

2012-02-18 Thread Steffen Wolfrum
te[footnote][rule=\MyRule] >> >> can 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

Re: [NTG-context] pack_black_rule_pickup ?

2012-02-18 Thread luigi scarso
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 -- luigi ___ If you

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] "Turning off" special chapter headings

2012-02-16 Thread Alasdair McAndrew
][ans,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 wrote: > Hi, > > Didn't you see my answer? As suggested below, you can > use \chapter[title={Answer to all the questions}

[NTG-context] Two columns type problem

2012-02-13 Thread Martin Bruchanov
ack] % klikaci dokument \setupurl[style=type,color=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] % N

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

2012-02-11 Thread Pablo Rodríguez
rnative "g" is meant for? I thought it should be something like that: \setupinteraction[state=start,focus=standard] \setupcombinedlist[content][interaction=all] \setuplist[part][alternative=g] \setuplist[section][alternative=d] \starttext

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] >\startte

[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 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 >

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

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

2012-02-06 Thread Marco
links are green. > 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] \s

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} + \placeconten

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} > \sec

[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
t[frame=off,offset=overlay]{\TOCstyleBF\midaligned{#2}}\hfill\tf#3} > % here the interlinespace worked > > \setuplist[chapter] > [alternative=MyListItemIT] > > \definecombinedlist[TOCtoc] > [chapter] > > \setupcombinedlist[TOCtoc] > [aligntitle=yes,criterium=text,interaction=

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

2012-01-17 Thread Steffen Wolfrum
n=middle,style=TOCstyleBF]{#2}\hfill\tf#3} % here 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] [alterna

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

2012-01-17 Thread Steffen Wolfrum
the desk. Back again ... Here is the corresponding minimal example: \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] [alternati

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

2011-12-13 Thread Marco Pessotto
Wolfgang Schuster 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 ___ I

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, >criteri

[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 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\e

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

2011-12-12 Thread Wolfgang Schuster
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 to \placelist's after > numbered headings then cou

[NTG-context] \placelist after \chapter

2011-12-12 Thread Felix Ingram
ing to generate 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 com

[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
t" is already defined), it stops working; > why? \setupcombinedlist does two things: 1. It passes 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 wher

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

2011-11-07 Thread Andreas Harder
\eTD \eTR \eTABLE} \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

<    1   2   3   4   5   6   7   8   9   10   >