[NTG-context] Lists and alternative=command

2012-05-17 Thread Rogers, Michael K
t [MyList] [alternative=command,command=\MyListEntry] \starttext \writetolist[MyList]{First}{Second} \placelist[MyList] \stoptext It generates the following error three times, once per argument in \MyListEntry, I suppose. ConTeXt ver: 2012.05.14 16:00 MKIV fmt: 2012.5.16 int:

[NTG-context] setup table of contents

2012-05-17 Thread Henning Hraban Ramm
Hi again, seems like it’s impossible to setup the level for combined lists anymore. (MkIV, latest beta). While \placelist[part,chapter] works, I didn’t find a way to \setupcombinedlist[content] just down to chapter level, not deeper. The "level" key is gone in MkIV, and "p

Re: [NTG-context] setup table of contents

2012-05-17 Thread Henning Hraban Ramm
Am 2012-05-16 um 22:41 schrieb Henning Hraban Ramm: Hi again, seems like it’s impossible to setup the level for combined lists anymore. (MkIV, latest beta). While \placelist[part,chapter] works, I didn’t find a way to \setupcombinedlist[content] just down to chapter level, not deeper

Re: [NTG-context] Dump table of contents

2012-04-09 Thread Aditya Mahajan
T the .tex extension \starttext \placelist[chapter] \stoptext Aditya ___ 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] Dump table of contents

2012-04-08 Thread Kip Warner
On Mon, 2012-04-09 at 00:08 -0400, Aditya Mahajan wrote: > \def\loaddatafile#1% > {\ctxlua { > job.initialize("#1.tuc","#1.tua") > }}% > > \loaddatafile{full-book} %with the .tex extension > > \starttext > \placelist[chapter] >

Re: [NTG-context] Dump table of contents

2012-04-08 Thread Aditya Mahajan
at a glance... \title{Contents at a Glance} \placelist[chapter] % Complete table of contents... \title{Table of Contents} \placecontent Right now I am generating the full book, but then passing through pdftk manually to extract just the pages that fall within the aforementioned. I

[NTG-context] Dump table of contents

2012-04-08 Thread Kip Warner
lance} \placelist[chapter] % Complete table of contents... \title{Table of Contents} \placecontent Right now I am generating the full book, but then passing through pdftk manually to extract just the pages that fall within the aforementioned. I tried putting the aforementioned code i

Re: [NTG-context] Table of contents

2012-04-05 Thread John Devereux
Willi Egger writes: > Hi, > > I was unsuccessful using \completecontent to my wishes in the recent past. > The correct result I achieved with \placelist[section]. But now indeed even > this fails with your example. > > Willi > On 5 Apr 2012, at 09:14, John Devereu

Re: [NTG-context] Table of contents

2012-04-05 Thread Willi Egger
Hi, I was unsuccessful using \completecontent to my wishes in the recent past. The correct result I achieved with \placelist[section]. But now indeed even this fails with your example. Willi On 5 Apr 2012, at 09:14, John Devereux wrote: > \starttext > \completecontent > \section{On

[NTG-context] \placelist does not work

2012-04-05 Thread DB
In the current beta/nightly, \placelist has stopped working. Other parameters don't matter--the command just doesn't work, period. ___ If your question is of interest to others as well, please add an en

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

2012-03-19 Thread Wolfgang Schuster
head[chapter][insidesection=\texsetup{chapter:list}] \startsetups[chapter:list] \doif{\structureuservariable{list}}{yes}{\placelist[section]} \stopsetups \setupinteraction[state=start] \placebookmarks[chapter,title] \starttext \startfrontmatter \starttitle[saveinlist=no,title=Content] \placelist[c

[NTG-context] Two columns type problem

2012-02-13 Thread Martin Bruchanov
\startbodymatter \setuppagenumber[state=start,number=5] \setupbackgrounds[header][text][frame=off,bottomframe=on] \setupheadertexts[{My two col book}][chapter] \title{Obsah} \placelist[chapter][alternative=c,interaction=no] \page \dorecurse{10} { \chapt

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

2012-02-08 Thread Kip Warner
On Wed, 2012-02-08 at 06:38 +0100, Wolfgang Schuster wrote: > Am 08.02.2012 um 03:15 schrieb Kip Warner: > > > On Tue, 2012-02-07 at 19:35 +1300, Pontus Lurcock wrote: > >> \placelist[chapter] should do it (untested). > > > > One other thing, Pont. How do I

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

2012-02-07 Thread Wolfgang Schuster
Am 08.02.2012 um 03:15 schrieb Kip Warner: > On Tue, 2012-02-07 at 19:35 +1300, Pontus Lurcock wrote: >> \placelist[chapter] should do it (untested). > > One other thing, Pont. How do I add a title such as Contents at a > Glance without the actual table of contents includin

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

2012-02-07 Thread Kip Warner
On Tue, 2012-02-07 at 19:35 +1300, Pontus Lurcock wrote: > \placelist[chapter] should do it (untested). One other thing, Pont. How do I add a title such as Contents at a Glance without the actual table of contents including that in the list it generates? -- Kip Warner -- Software Engin

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

2012-02-07 Thread Kip Warner
On Tue, 2012-02-07 at 19:35 +1300, Pontus Lurcock wrote: > \placelist[chapter] should do it (untested). Thanks Pont. =) -- Kip Warner -- Software Engineer OpenPGP encrypted/signed mail preferred http://www.thevertigo.com signature.asc Description: This is a digitally signed message p

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

2012-02-06 Thread Marco
On 2012-02-06 Kip Warner wrote: > I am familiar with the \completecontent command, but was wondering > if there is a way to also typeset just a summary of the table of > contents (e.g. just chapters and no sections, sub sections, etc.)? \placelist [chapter] > I've also no

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

2012-02-06 Thread Pontus Lurcock
On Mon 06 Feb 2012, Kip Warner wrote: > I am familiar with the \completecontent command, but was wondering if > there is a way to also typeset just a summary of the table of contents > (e.g. just chapters and no sections, sub sections, etc.)? \placelist[chapter] should do it (unteste

Re: [NTG-context] Links in TOC not working properly?!

2012-02-01 Thread Verhaag, G.C.H.M.
different sections are not working any more. Selecting the different sections from the table-of-contents (with \placelist command!) all yield a jump to the very first section!!! Your chances to get a answer will increase with a minimal example. Wolfgang Hi, Okay, you'll find a

Re: [NTG-context] Links in TOC not working properly?!

2012-01-31 Thread Verhaag, G.C.H.M.
. Selecting the different sections from the table-of-contents (with \placelist command!) all yield a jump to the very first section!!! Your chances to get a answer will increase with a minimal example. Wolfgang Hi, Okay, you'll find a basic example (test.tex) and it's res

Re: [NTG-context] Links in TOC not working properly?!

2012-01-30 Thread Wolfgang Schuster
ent sections from the table-of-contents > (with \placelist command!) all yield a jump to the very first section!!! Your chances to get a answer will increase with a minimal example. Wolfgang ___ If your question is

[NTG-context] Links in TOC not working properly?!

2012-01-30 Thread Verhaag, G.C.H.M.
Hi, I installed the newest upgrade of ConTeXt, but processing my files yields strange results! In an interactive document the links to the different sections are not working any more. Selecting the different sections from the table-of-contents (with \placelist command!) all yield a jump to

[NTG-context] \placenamedformula \placelist MKIV \endgraf

2012-01-17 Thread Mathieu Dupont
, and also, what is the use/necessity of "\endgraf" ? \starttext \subsubject{List of Formulas}\placelist[formula][criterium=text,alternative=c] \subsubject{Formulas}\placenamedformula[one]{First listed Formula}\startformula a = 1 \stopformula \endgraf \placeformula\startformula a = 2 \

Re: [NTG-context] \placelist summary alternative solution

2011-12-14 Thread Hans Hagen
On 14-12-2011 17:50, Felix Ingram wrote: I've ended up delving into the dark art that is Lua for this solution: \define[0]\SummaryTable{% \placetable[force, none]{}{% \setupTABLE[frame=off] \bTABLE \bTABLEhead \bTR\bTH Reference\eTH\bTH Title\eTH\bTH Page\eTH\eTR \eTABLEhead \bTABLEbody \startlu

[NTG-context] \placelist summary alternative solution

2011-12-14 Thread Felix Ingram
I've ended up delving into the dark art that is Lua for this solution: \define[0]\SummaryTable{% \placetable[force, none]{}{% \setupTABLE[frame=off] \bTABLE \bTABLEhead \bTR\bTH Reference\eTH\bTH Title\eTH\bTH Page\eTH\eTR \eTABLEhead \bTABLEbody \startluacode for k, v in ipairs(structures.lis

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 ___ If your

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
TABLE}] \define[3]\MySummaryTable{\bTR\bTD #1 \eTD\bTD #2 \eTD\bTD #3 \eTD\eTR} \starttext \placecontent \chapter{First one} \chapter{Second one} \chapter{Third one} \chapter{Fourth one} \chapter{Fifth one} \placelist[chapter][criterium=all] \stoptext While the content gets placed it doesn't appear

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

2011-12-12 Thread Wolfgang Schuster
Am 12.12.2011 um 13:04 schrieb Felix Ingram: > Hi all, > > I can't seem to get a list placed after a numbered heading. For example: > > \starttext > \title{First one} > \placelist[chapter] > \chapter{Second one} > \placelist[chapter] % This won't be placed

[NTG-context] \placelist after \chapter

2011-12-12 Thread Felix Ingram
Hi all, I can't seem to get a list placed after a numbered heading. For example: \starttext \title{First one} \placelist[chapter] \chapter{Second one} \placelist[chapter] % This won't be placed \stoptext Is this something I should be able to do? The reason I ask is that I'm look

Re: [NTG-context] Feature request: criterium=component

2011-11-25 Thread Hans Hagen
no-go (unless for a project). \startproduct example-1-product \component example-1-component-a \component example-1-component-b \stopproduct \startcomponent example-1-component-a \starttitle[title=Contents] \placelist[chapter][criterium=component] \stoptitle \sta

Re: [NTG-context] Placing a TOC at the end of a document

2011-11-20 Thread Willi Egger
he end of my document. > > When issuing: > > \startsubject[title=Inhoud] > \placelist[section] > \stopsubject > > I get the section title but no TOC > > When issuing only > > \completelist[section] > > I get the TOC but no section title. > >

[NTG-context] Placing a TOC at the end of a document

2011-11-20 Thread Wolfgang Schuster
Hi, hm, I should place a table of contents at the end of my document. When issuing: \startsubject[title=Inhoud] \placelist[section] \stopsubject I get the section title but no TOC When issuing only \completelist[section] I get the TOC but no section title. Do I have to setup this

[NTG-context] Placing a TOC at the end of a document

2011-11-20 Thread Willi Egger
Hi, hm, I should place a table of contents at the end of my document. When issuing: \startsubject[title=Inhoud] \placelist[section] \stopsubject I get the section title but no TOC When issuing only \completelist[section] I get the TOC but no section title. Do I have to setup this

Re: [NTG-context] Omit part of a caption in a list

2011-11-11 Thread Christian
t appears in the list of > figures. > >> > >> I'd like to shorten the captions in the list of figures that I > >> produce using \placelist[figure] (preferably cut off clean, no > >> ellipsis or the like). I know about \nomarking{} but it seems to >

Re: [NTG-context] Omit part of a caption in a list

2011-11-10 Thread Wolfgang Schuster
Figure 1.1: Figure caption is a lot longer than it appears in the list of >> figures. >> >> I'd like to shorten the captions in the list of figures that I >> produce using \placelist[figure] (preferably cut off clean, no >> ellipsis or the like). I know about \no

Re: [NTG-context] Omit part of a caption in a list

2011-11-10 Thread Christian
; figures. > > > > I'd like to shorten the captions in the list of figures that I produce > > using \placelist[figure] (preferably cut off clean, no ellipsis or the > > like). I know about \nomarking{} but it seems to apply only to > > chapter, section etc

Re: [NTG-context] Omit part of a caption in a list

2011-11-10 Thread Pontus Lurcock
gt; I'd like to shorten the captions in the list of figures that I > produce using \placelist[figure] (preferably cut off clean, no > ellipsis or the like). I know about \nomarking{} but it seems to > apply only to chapter, section etc. titles. This is indeed possible, using

[NTG-context] Omit part of a caption in a list

2011-11-10 Thread Christian
Dear all, is the following possible? List of figures 1.1 Figure caption . . . . . . 2 *imagine figure here Figure 1.1: Figure caption is a lot longer than it appears in the list of figures. I'd like to shorten the captions in the list of figures that I produce using \placelist[f

Re: [NTG-context] \definestructureresetset

2011-11-10 Thread Wolfgang Schuster
; \setuphead[part][sectionresetset=default] > \starttext > \placelist[chapter,section,subsection][criterium=all,width=3cm] > \part{first} \chapter{alpha} \section{a} \section{b} \subsection{x} > \subsection{y} \chapter{beta} > \part{second} \chapter{gamma} \section{a}

[NTG-context] \definestructureresetset

2011-11-10 Thread Idris Samawi Hamid ادريس سماوي حامد
esets when the higher section increments up. What is the second argument [1] for? == \definestructureresetset[default][0,0,1,0][1] % this will not reset parts and subsections \setuphead[part][sectionresetset=default] \starttext \placelist[chapter,section,subse

[NTG-context] \definestructureresetset

2011-11-10 Thread Idris Samawi Hamid ادريس سماوي حامد
esets when the higher section increments up. What is the second argument [1] for? == \definestructureresetset[default][0,0,1,0][1] % this will not reset parts and subsections \setuphead[part][sectionresetset=default] \starttext \placelist[chapter,section,subse

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

Re: [NTG-context] placelist

2011-11-05 Thread Willi Egger
Hi Wolfgang, On 4 Nov 2011, at 15:00, Wolfgang Schuster wrote: > > Am 04.11.2011 um 12:23 schrieb Willi Egger: > >> Hi Pontus, >> >> thanks for your quick reply. I tried your suggestion, but there is no >> success with it. … > > You need \placelist

Re: [NTG-context] placelist

2011-11-04 Thread Wolfgang Schuster
Am 04.11.2011 um 12:23 schrieb Willi Egger: > Hi Pontus, > > thanks for your quick reply. I tried your suggestion, but there is no success > with it. … You need \placelist but you use \placeconten

Re: [NTG-context] placelist

2011-11-04 Thread Willi Egger
ink this should be the right command? > > \placelist[section] should do what you want -- see > http://www.mail-archive.com/ntg-context@ntg.nl/msg59165.html . > > Pont > ___ > If your question is of inter

Re: [NTG-context] placelist

2011-11-04 Thread Pontus Lurcock
subsections. Looking at examples on > the wiki I think this should be the right command? \placelist[section] should do what you want -- see http://www.mail-archive.com/ntg-context@ntg.nl/msg59165.html . Pont ___ If your

[NTG-context] placelist

2011-11-04 Thread Willi Egger
Hi all, it sound strange but how do I get a TOC where only the sections are placed but not the subsections? The document contains exclusively sections and subsections. With \placecontent[level=section] I get as well the sections as also the subsections. Looking at examples on the wiki I think t

Re: [NTG-context] Some more ToC questions

2011-10-26 Thread Wolfgang Schuster
r=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 be most welcome. \defineheadplacement[MyChapter][vertical]

Re: [NTG-context] TOC struggles

2011-10-20 Thread Pontus Lurcock
acecontent[level=section]’. If you're using MkIV, the level parameter no longer works: see e.g. http://archive.contextgarden.net/message/20100217.135437.92543d63.ca.html Try something like \placelist[chapter,section] ins

Re: [NTG-context] TOC struggles

2011-08-26 Thread Taco Hoekwater
, headnumber=no] \starttext \startsubject[title={\bfb Suppentopf}] \placelist[section][criterium=all] \stopsubject or: \setuplist [section] [prefix=no, sectionnumber=no, headnumber=no] \definecombinedlist [MeinInhalt] [section] \starttext \startsubject[title={\bfb Suppentopf

Re: [NTG-context] TOC struggles

2011-08-26 Thread Wolfgang Schuster
r to the minimal example attached. Use “\placelist[section][criterium=all]” to show the section entries in the TOC. With “\definelist[MeinInhalt][section][…]” you created only a new list “MeinInhalt” which inherits the style f

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

Re: [NTG-context] vertical alignment in TOC

2011-07-19 Thread Andreas Harder
[chapter] > [number=no] > > \setuplist[chapter] > [width=0cm] > > \starttext > > \startchapter[title=One,list={A Title \crlf An Author}] > > \input knuth > > \stopchapter > > \page > > \placelist[chapter][criterium=text] \

[NTG-context] vertical alignment in TOC

2011-07-19 Thread Thomas A. Schmitz
\startchapter[title=One,list={A Title \crlf An Author}] \input knuth \stopchapter \page \placelist[chapter][criterium=text] \stoptext Thanks! Thomas ___ If your question is of interest to others as well, please add an

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

2011-06-06 Thread Mathieu Dupont
. page 1Chapter 1 ... page 2Chapter 2 ... page 3 \definehead[topic][chapter]\setuphead [topic][number=no] \starttext \title{Table of Content} \placelist[chapter,topic,section] \topic{List of Figures} \placelist[figure][criterium=all] \chapter{One} \placefigure{Two}{2}

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

2011-06-06 Thread Wolfgang Schuster
So my TOC would look like this : > > TABLE OF CONTENT > List of Figures . page 1 > Chapter 1 ... page 2 > Chapter 2 ... page 3 \definehead[topic][chapter] \setuphead [topic][number=no] \starttext \title{Table of Content} \placelist[chapter,topic,sectio

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

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

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

2011-06-05 Thread Wolfgang Schuster
> > \chapter{List of Figures} > \placeLOF > > but then I would have to adjust many other things and it becomes very messy. You want this? \setuplist[chapter][after={\placelist[figure]}] \setuplist[figure][label=figure,width=6em] \starttext \completecontent \chapter{One} \p

Re: [NTG-context] \definehead \setuphead new type included in a list such as TOC

2011-05-27 Thread Mathieu DUPONT
} \placelist[part,chapter,Abstract,Intro, section,...] 2. Redefine \completecontent (it’s explained in the big manual): \definecombinedlist[content][part,chapter,Abstract,Intro, section,...] 3. Create your own combinedlist: \definecombinedlist[mycontent][part,chapter,Abstract,Intro, section

Re: [NTG-context] \definehead \setuphead new type included in a list such as TOC

2011-05-26 Thread Wolfgang Schuster
.) There are different solution: 1. Replace \completecontent with the following \title{Contents} \placelist[part,chapter,Abstract,Intro, section,...] 2. Redefine \completecontent (it’s explained in the big manual): \definecombinedlist[content][part,chapter,Abstract,Intro, section,.

Re: [NTG-context] Table of contents

2011-05-23 Thread Wolfgang Schuster
>\chapter{Acknowledgements} > \stopbackmatter > > > \stoptext Define a header for them and set the number width to 0pt. \definehead[topic][chapter] \setuphead [topic][number=no] \setuplist [topic][width=0pt] \starttext \startfrontmatter \title{Contents} \placelist[pa

Re: [NTG-context] [NTG-conte​xt] Suppress the citation number counts in the list of figures?

2011-05-19 Thread seasoul
numbering=yes] % Show reference numbers in the generated > list. > > > \starttext > > \startfrontmatter > % List of figures > > \title{List of Figures} > > \writetolist[Title] {} {List of Figures} > > \writebetweenlist [Title] {\blank} > > \placelist[figur

[NTG-context] [NTG-conte​xt] Suppress the citation number counts in the list of figures?

2011-05-17 Thread seasoul
ed list. \starttext \startfrontmatter % List of figures \title{List of Figures} \writetolist[Title] {} {List of Figures} \writebetweenlist [Title] {\blank} \placelist[figure][criterium=all] \stopfrontmatter \startbodymatter This is

Re: [NTG-context] [NTG-conte​xt] How to retreive the bibentry number and use it somewhere?

2011-05-09 Thread seasoul
bers in the generated list. \starttext \startfrontmatter % List of figures \title{List of Figures} \writetolist[Title] {} {List of Figures} \writebetweenlist [Title] {\blank} \placelist[figure][criterium=all] \stopfrontmatter \star

Re: [NTG-context] Annotation and background color

2011-05-08 Thread Otared Kavian
me place: in mkii, as you say in your article, the following \placelist[enumeration:all][width=6em,criterium=all] gives a list of all the titles and page numbers of proclaims. However it does not work with mkiv, I guess because the command has been slightly changed for placing lists: by any

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

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

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

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

Re: [NTG-context] Minimals ignores structureblockenvironment for frontmatter etc.

2011-03-20 Thread Wolfgang Schuster
letecontent and \completeindex are treated like > chapter starts in that 'Contents' and 'Index' are formatted as if they were > chapter titles. \completecontent== \title + \placecontent \completelist == \title + \placelist \completelistofsynonyms =

Re: [NTG-context] Is it possible to generate only a table of contents

2011-03-18 Thread Steffen Wolfrum
ted "MyFile.tuo". Just copy this file and re-name to eg. MyFileX.tuo Then you can run \placelist[chapter, section,...][file=MyFile] from any document that contain these line: \unprotect \def\FrozenTUO{../MyFileX} \def\doplacerawlist[#1][#2]% {\begingroup \dogetcommalistelement1\from#1\

[NTG-context] \definelistplacement + margin

2011-02-26 Thread Andreas Harder
1#2#3% {\inframed[width=broad]{#1\emspace #2\hfill #3}} \setuplist[chapter][alternative=ChapListItem] \setuplist[section][margin=3em] \starttext \showframe \placelist[chapter,section] \dorecurse{3}{\chapter{Chapter}\dorecurse{3}{\section{Section}}} \stoptext Greeting An

Re: [NTG-context] Table of Contents issues

2011-02-12 Thread Jeong Dalyoung
Dear Tom, I had the similar problem. You may consider Andrea's and Wolfgang's suggestion in ntg-context Digest mail, Vol 80, issue 24, 25. "chapter head and placelist" Enjoy ConTeXt. bes

Re: [NTG-context] grid=verytolerant causes overlapping

2011-02-11 Thread luigi scarso
t;> >>>>> \setuppapersize[A5][A5] >>>>> >>>>> % \setuplayout[grid=yes] % OK >>>>> % \setuplayout[grid=tolerant] % OK >>>>> \setuplayout[grid=verytolerant] % -> overlapping >>>>> >>>>> \

Re: [NTG-context] grid=verytolerant causes overlapping

2011-02-11 Thread Andreas Harder
rid=yes] % OK >>>> % \setuplayout[grid=tolerant] % OK >>>> \setuplayout[grid=verytolerant] % -> overlapping >>>> >>>> \setupheads[expansion=yes] >>>> >>>> \starttext \showgrid >>>> \placelist[chapter,section,subsection,subsubsecti

Re: [NTG-context] grid=verytolerant causes overlapping

2011-02-11 Thread luigi scarso
t entries overlap. Is >>> this a but or did I miss something? >>> >>> \setuppapersize[A5][A5] >>> >>> % \setuplayout[grid=yes] % OK >>> % \setuplayout[grid=tolerant] % OK >>> \setuplayout[grid=verytolerant] % -> overlapping >

Re: [NTG-context] grid=verytolerant causes overlapping

2011-02-11 Thread Andreas Harder
a but or did I miss something? >> >> \setuppapersize[A5][A5] >> >> % \setuplayout[grid=yes] % OK >> % \setuplayout[grid=tolerant] % OK >> \setuplayout[grid=verytolerant] % -> overlapping >> >> \setupheads[expansion=yes] >> >> \star

Re: [NTG-context] grid=verytolerant causes overlapping

2011-02-11 Thread luigi scarso
lerant] % OK > \setuplayout[grid=verytolerant] % -> overlapping > > \setupheads[expansion=yes] > > \starttext  \showgrid >  \placelist[chapter,section,subsection,subsubsection] >  \def\SampleHead{\dorecurse{10}{test } test} >  \dorecurse >    {5} >    {\chapte

[NTG-context] grid=verytolerant causes overlapping

2011-02-11 Thread Andreas Harder
ext \showgrid \placelist[chapter,section,subsection,subsubsection] \def\SampleHead{\dorecurse{10}{test } test} \dorecurse {5} {\chapter{\SampleHead} \section{\SampleHead} \subsection{\SampleHead} \subsubsection{\SampleHead}} \stoptext Greeting Andr

[NTG-context] strange hang during compilation

2011-02-08 Thread Jeong Dalyoung
\component preface \page %\setuplist[alternative=c, style=12pt, textstyle=normal] %\placelist[chapter] \completecontent[criterium=all] \stopfrontmatter \enablemode[withsolution] \startbodymatter \component SumRule1 %\component ProductRule

Re: [NTG-context] chapter head and placelist

2011-02-05 Thread Wolfgang Schuster
Am 05.02.2011 um 12:41 schrieb Jeong Dalyoung: > Dear Andreas, > > Thank you for your code. > I'll try it. > > The other day, Wolfgang suggested me the same page in wiki. > But, It looks a little bit complicate, so I use another simple method. It’s no so complicated as you think. The \startch

Re: [NTG-context] chapter head and placelist

2011-02-05 Thread Jeong Dalyoung
Dear Andreas, Thank you for your code. I'll try it. The other day, Wolfgang suggested me the same page in wiki. But, It looks a little bit complicate, so I use another simple method. Now, it is the time to look at it once more. Thanks again. best regards, Dalyoung

Re: [NTG-context] chapter head and placelist

2011-02-05 Thread Andreas Harder
Hi,you could play with my attached example. head-with-subtitle.tex Description: Binary data Nearly the same is wikified under http://wiki.contextgarden.net/Generate_Authorlist_from_Head_Content Greeting AndreasAm 05.02.2011 um 02:13 schrieb Jeong Dalyoung:Dear all,The otherday, I asked about three

[NTG-context] chapter head and placelist

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

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

2010-12-16 Thread Philipp Gesang
ht,placehead=yes] > > \setuplist [chapter] [alternative=d,before=\blank,after=\blank] > > \setuplist [part][before=\blank,after=\blank] > > > > \starttext > > \startsetups chapter > >\blank \startnarrower[3*middle] \placecontent[criterium=local] > > \stopnar

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

2010-12-16 Thread Wolfgang Schuster
k] > > \starttext > \startsetups chapter >\blank \startnarrower[3*middle] \placecontent[criterium=local] > \stopnarrower \blank \startnarrower[3*middle] \placelist[chapter] \stopnarrower Wolfgang

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

2010-12-16 Thread Philipp Gesang
wer \stopsetups \placelist[part][criterium=text,after=\setups{chapter}] \part{First part} \chapter{Chapter one} \chapter{Chapter two} \chapter{Chapter three} \chapter{Chapter four} \chapter{Chapter five} \part{Second part} \chapter{Chapter one} \chapter{Chapter two} \chap

[NTG-context] \do(single|double|etc)empty behaviour

2010-12-15 Thread Marco Pessotto
bfd#2 \stopalignment \blank[2*big] } \starttext \placelist[talpart] \talpart[optional]{With optional argument} \input knuth \talpart{No argument} \input ward \stoptext %%% stop While this, the original one, is definitively not working? % start % \defin

Re: [NTG-context] writebetweenlist regression (mkiv)

2010-12-14 Thread Steffen Wolfrum
y spacing might get >>messed up (due to an unseen but present node). It is possible to >>force a location by explicitly setting \type {location} to \type >>{here}. >> >> Another way to force a certain order is to set the \type {order} >>var

Re: [NTG-context] writebetweenlist regression (mkiv)

2010-12-14 Thread Marco Pessotto
ers will wonder why spacing might get > messed up (due to an unseen but present node). It is possible to > force a location by explicitly setting \type {location} to \type > {here}. > > Another way to force a certain order is to set the \type {order} > variable

Re: [NTG-context] writebetweenlist regression (mkiv)

2010-12-13 Thread Hans Hagen
ase no specific location is needed with the inbetween method. Maybe additional mechanisms show up some day. \subject{normal} \placelist[testlist] \subject{command} \placelist[testlist][order=command] \subject{all} \placelist[testlist][order=all] \page \input tufte

[NTG-context] attention: setuplist kills hyperlinks!

2010-12-05 Thread Steffen Wolfrum
m#1#2#3{#1 #2 #3} \setupinteraction[state=start] \setuphead[chapter][interaction=list] %\setuplist[chapter][alternative=command,command=\AltCom] % <- un/comment \placelist[chapter][criterium=text,interaction=all] \starttext \chapt

Re: [NTG-context] \todo

2010-11-23 Thread Procházka Lukáš
... OK, thanks both for the inspiration. Lukas On Tue, 23 Nov 2010 20:37:09 +0100, Glen Callaghan wrote: \setupinteraction[state=start] \defineenumeration[todo][list=todolist,title=yes, listtext={Todo }, before=\startframedtext, after=\stopframedtext] \starttext \placelist

Re: [NTG-context] \todo

2010-11-23 Thread Glen Callaghan
{Todo }, before=\startframedtext, after=\stopframedtext] \starttext \placelist[enumeration:todolist][width=8em,criterium=all, alternative=c] \page \input tufte \starttodo[]{You must remember this.} You can add details about what to remember here. \stoptodo \page \starttodo[]{Unforgettable.} \sto

[NTG-context] placelistofsorts

2010-11-17 Thread Andreas Harder
tests % error \placelist[test] % empty \stoptext Greeting Andreas ___ 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/lis

Re: [NTG-context] Problem interacting \definehead and \placecontent

2010-11-17 Thread Wolfgang Schuster
Am 17.11.2010 um 12:18 schrieb Lukas Prochazka: > But there is a problem - the "1.1 B" item doesn't appear in the TOC. Why? And > how to get it in there? \title{Content} \placelist[chapter,section,subsectio

Re: [NTG-context] FiXme-module

2010-11-08 Thread Andreas Harder
there but fails in something simple like \setupinteraction[state=start] \starttext \placelist[chapter][interaction=all] \dorecurse{5}{\chapter{Chapter} } \stoptext But anyway it has nothing to do with your module. >> 2. Instead of margin notes I would like to use PDF annotations, so I tried: >>

[NTG-context] FiXme-module

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

Re: [NTG-context] XML ConTeXt

2010-11-02 Thread Jano Kula
the parent element of multiple elements, here . \startxmlsetups xml:personen:personal \title{Personalverzeichnis} \placelist[chapter] \page % open table \bTABLE[split=yes,width=11em] \setupTABLE[row][*][width=\textwidth] \bTABLEhead \bTR \bTH Name \eTH \bTH Vorname \eTH \bTH Email-Adresse

Re: [NTG-context] XML ConTeXt

2010-11-02 Thread Daniel Grycman
sansfont[rubflama] >> \startxmlsetups xml:personen:base % associate setups with elements >> \xmlsetsetup{personen}{personal|person}{xml:personen:*} >> \stopxmlsetups >> \xmlregisterdocumentsetup{personen}{xml:personen:base} >> >> \startxmlsetups xml:personen:personal >

<    1   2   3   4   5   6   7   >