Re: [NTG-context] Appendix Numbering and TOC value

2013-08-02 Thread Lance Larsen
Thanks, Wolfgang. That was just what I needed. I appreciate the help. -Lance From: Wolfgang Schuster schuster.wolfg...@gmail.com I have a document with an appendix included: \setuplabeltext[appendix=APPENDIX~] \starttext \placecontent \chapter{One} \startappendices \chapter

[NTG-context] Appendix Numbering and TOC value

2013-08-01 Thread Lance Larsen
I have a document with an appendix included: \setuplabeltext[appendix=APPENDIX~] \starttext \placecontent \chapter{One} \startappendices \chapter{In Appendix} \stopappendices \stoptext I would like to have the table of contents show: Appendix A In Appendix But I get

[NTG-context] [***SPAM***] unwanted space and error in combination of writebetweenlist and placecontent[criterium= local]

2013-05-12 Thread Zenlima
get rid of it? (see attached example) 2. This error only appears only with \placecontent[criterium=local] in combination with a beginning line of \writebetweenlist; with a global \placecontent and \writebetweenlist it works fine. To reproduce this uncomment the line %\placecontent

Re: [NTG-context] Alternative rendering of some TOC levels

2013-05-04 Thread Wolfgang Schuster
] [alternative=b] %\setupcombinedlist % [content] % [section] % [alternative=b] \starttext \placecontent \chapter{Ch} \section{Sec} \subsection{SSec} \input knuth \stoptext This should change the alternative for section to be b (i.e. page numbers without

Re: [NTG-context] Alternative rendering of some TOC levels

2013-05-04 Thread Lukáš Procházka
: \setupcombinedlist [content] [alternative=c] \setuplist [section] [alternative=b] %\setupcombinedlist % [content] % [section] % [alternative=b] \starttext \placecontent \chapter{Ch} \section{Sec} \subsection{SSec} \input knuth \stoptext This should change

[NTG-context] Alternative rendering of some TOC levels

2013-05-03 Thread Procházka Lukáš Ing . - Pontex s . r . o .
\placecontent \chapter{Ch} \section{Sec} \subsection{SSec} \input knuth \stoptext This should change the alternative for section to be b (i.e. page numbers without filling dots), whilst the default look should be alternative c (i.e. dots and page numbers). But my code

Re: [NTG-context] select TOC elements

2013-04-16 Thread Wolfgang Schuster
help me out. The syntax description is wrong, \placecontent has only one optional argument which expects a assignment, e.g. alternative=a. To place only TOC entry for certain headings you have to use \placelist, e.g. \placelist[section]. \starttext \chapter{One} \placelist[section] \section{First

Re: [NTG-context] [***SPAM***] Changing the font of the TOC-Title

2013-04-15 Thread Wolfgang Schuster
to change the style of all title-headings you can create your heading with a different style, e.g. \definehead[toctitle][title] \setuphead[toctitle][style=\ssc] \starttext \toctitle[content]{\headtext{content}} \placecontent … \stoptext Wolfgang

[NTG-context] \startnarrower and ToC

2013-02-07 Thread Markus Finke
Hi, \startnarrower doesn’t work for the left margin in lists. What is wrong in my minimal example? TIA! \starttext \startnarrower [5*middle] % 5*left,5*right \placecontent [criterium=local] \stopnarrower \part{First part} \chapter{Chapter one} \chapter{Chapter two} \chapter{Chapter

[NTG-context] long tables in multicolumns / Interactive cross-referencing

2013-01-31 Thread Thomas De Maet
]{} \input{knuth} \page this chapt : \in{chap}[one] or \at{page}[one] or \at{hard}[oneBis] following chapt : \in{chap}[two] or \at{page}[two] or \at{hard}[twoBis] \chapter[two]{chapt 2}\reference[twoBis]{} \placecontent[criterium=all] \stopcomponent comp

Re: [NTG-context] Suppress a Single Chapter from ToC

2013-01-27 Thread Troy Henderson
of contents. Currently, I'm (badly) faking it by \startchapter[title={Title Page},list={\mbox{}}] ... \stopchapter \startchapter[title={Table of Contents},list={\mbox{}}] ... \placecontent[criterium=all] \stopchapter This does create bookmarks for both pages, but it creates a very narrow

[NTG-context] no bibliography when using bodymatter/backmatter/...

2013-01-03 Thread Andreas Mang
] \starttext \placecontent[criterum all] \startbodymatter \section{Bodymatter} % this heading does not appear in the TOC \ConTeXt \cite[hh2010a] \stopbodymatter \startbackmatter \section{Backmatter} \placepublications[criterium=text] \stopbackmatter \stoptext %%% minimal example

Re: [NTG-context] no bibliography when using bodymatter/backmatter/...

2013-01-03 Thread Andreas Mang
[numbering=yes] \starttext \placecontent[criterum all] \startbodymatter \section{Bodymatter} % this heading does not appear in the TOC \ConTeXt \cite[hh2010a] \stopbodymatter \startbackmatter \section{Backmatter} \placepublications[criterium=text] \stopbackmatter \stoptext

Re: [NTG-context] Contents title

2012-12-02 Thread Wolfgang Schuster
or create your own heading with the same settings as your section and place the TOC with \myheading{Content} \placecontent Wolfgang ___ If your question is of interest to others as well, please add an entry

Re: [NTG-context] incrementnumber vs. prefixsegments

2012-11-21 Thread Sietse Brouwer
, prefixsegments=chapter] \setuphead[subject][incrementnumber=list] \definecombinedlist[content][title,chapter,section,subject] \starttext \placecontent \chapter{Chapter} \section{Section Een} \placefigure[here][fig:a]{figure a}{\externalfigure[cow.pdf][width=1cm]} Figure \in[fig:a] = 1.1\crlf

[NTG-context] incrementnumber vs. prefixsegments

2012-11-05 Thread plink
] \setupcaption[figure][ prefix=yes, way=bychapter, prefixsegments=chapter] \setuphead[subject][incrementnumber=list] \definecombinedlist[content][title,chapter,section,subject] \starttext \placecontent \chapter{Chapter} \section{Section Een} \placefigure[here][fig:a]{figure

[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 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
] \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 idea where this attr2 comes from, and how to get rid

[NTG-context] Local TOC after each chapter title (was: Re: Need help)

2012-07-18 Thread Marco
”, TOC is not centred, etc. I want a local TOC after each chapter title. How about this: \setuphead [chapter] [after=\placecontent] \starttext \startchapter [title=Foo] \startsection [title=First A] \input knuth \stopsection \startsection [title=First B] \input knuth

Re: [NTG-context] Local TOC after each chapter title (was: Re: Need help)

2012-07-18 Thread Wolfgang Schuster
Am 18.07.2012 um 16:15 schrieb Marco: How about this: \setuphead [chapter] [after=\placecontent] When you use the start/stop-commands you can use “insidesection=…” which comes after the “after” key. Wolfgang

[NTG-context] placecontent after section command

2012-06-05 Thread Jan Pohanka
Hello, This example works as expected \starttext \subject{Contents} \placecontent \section{One} \section{Two} \stoptext but when I replace \subject with \section like this \starttext \section{Contents} \placecontent \section{One} \section{Two} \stoptext the contents are not printed out

Re: [NTG-context] placecontent after section command

2012-06-05 Thread Hans Hagen
On 5-6-2012 08:52, Jan Pohanka wrote: Hello, This example works as expected \starttext \subject{Contents} \placecontent \section{One} \section{Two} \stoptext here you get a list if all at the previous level (being the document) but when I replace \subject with \section like this \starttext

Re: [NTG-context] placecontent after section command

2012-06-05 Thread Jan Pohanka
here you get a list if the entries below \section{Content} and there are one; lists by default are local add [criterium=text] to get a complete document based list thank you for clarification best regards Jan

Re: [NTG-context] Testing TeX Live 2012

2012-05-17 Thread Marco Pessotto
. % cut here \setupinteraction[state=start,color=black,contrastcolor=black,style=bold] \starttext \placecontent \chapter{hello} \stoptext %% stop Log: context --version mtx-context | ConTeXt Process Management 0.52 mtx-context | mtx-context | main context

Re: [NTG-context] Testing TeX Live 2012

2012-05-17 Thread Marco Pessotto
\placecontent \chapter{hello} \stoptext %%% -- 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/listinfo/ntg

[NTG-context] Dump table of contents

2012-04-08 Thread Kip Warner
} \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 in its

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 tried

[NTG-context] \setuphead and \startchapter request

2012-03-19 Thread Alan BRASLAU
I would like to use, for example, \setuphead [chapter] [after={\placecontent\blank}] But sometimes, I would like to use something like \startchapter [number=no,incrementnumber=no,after=, title={Conclusions of the first part}] \stopchapter 1. I request to have after=, (and other setup

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

2012-03-19 Thread Wolfgang Schuster
Am 19.03.2012 um 12:45 schrieb Alan BRASLAU: I would like to use, for example, \setuphead [chapter] [after={\placecontent\blank}] But sometimes, I would like to use something like \startchapter [number=no,incrementnumber=no,after=, title={Conclusions of the first part

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

2012-03-19 Thread Alan BRASLAU
] [after={\placecontent\blank}] But sometimes, I would like to use something like \startchapter [number=no,incrementnumber=no,after=, title={Conclusions of the first part}] \stopchapter You know \starttitle, it’s the unnumbered version of \startchapter. Yes, of course

Re: [NTG-context] How to Turn off the Table of Contents Title

2012-03-09 Thread Emmanuel Asante
On Thu, Mar 8, 2012 at 3:41 PM, Marco net...@lavabit.com wrote: On 2012-03-08 Emmanuel Asante emmanuela.asa...@gmail.com wrote: How do I turn off the title on the top of the table of contents ie the text Content that appears on top of the table? Use \placecontent instead

Re: [NTG-context] How to Turn off the Table of Contents Title

2012-03-08 Thread Marco
On 2012-03-08 Emmanuel Asante emmanuela.asa...@gmail.com wrote: How do I turn off the title on the top of the table of contents ie the text Content that appears on top of the table? Use \placecontent instead of \completecontent Marco

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

2012-02-01 Thread Verhaag, G.C.H.M.
Verhaag] \starttext \chapter[test]{Test} \startcolumns[n=2] \placelist[section][pagenumber=no,interaction=all] %\placecontent[section][pagenumber=no,interaction=text] \stopcolumns \section[abc]{Abc} \dorecurse{70} {A test of placelist-command and interaction! } \section[def]{Def} Another

[NTG-context] setupheads[sectionnumber=no] (and retrocompatibility issue)

2012-02-01 Thread Marco Pessotto
Hello there. See this minimal example. %% cut here \setupheads[sectionnumber=no] \starttext \placecontent \chapter{Chapter} \section{Section} \subsection{Subsection} \stoptext %% end With version: 2012.01.25 14:16 the numbers are there (and if I tweak the ToC listing I get a mess

Re: [NTG-context] setupheads[sectionnumber=no] (and retrocompatibility issue)

2012-02-01 Thread Wolfgang Schuster
Am 01.02.2012 um 12:36 schrieb Marco Pessotto: Hello there. See this minimal example. %% cut here \setupheads[sectionnumber=no] \starttext \placecontent \chapter{Chapter} \section{Section} \subsection{Subsection} \stoptext %% end With version: 2012.01.25 14:16

Re: [NTG-context] bug with setuplist alternative?

2012-01-29 Thread Wolfgang Schuster
} \subsection{subsection} I get the second chapter on the same line as the section. I'm afraid this might be a bug. 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

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 Thanks

[NTG-context] bug with setuplist alternative?

2012-01-28 Thread Pablo Rodríguez
chapter on the same line as the section. I'm afraid this might be a bug. 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. Thanks for your help, Pablo -- http://www.oudeis.tk

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

2011-12-12 Thread Felix Ingram
}] \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 in a table

Re: [NTG-context] Layers + simplefonts: Using different font in layers?

2011-12-09 Thread Mari Voipio
on being in Arial (and *really* ugly as it is set up for Candara). Your alternative sorts out that problem, I tested with \placecontent \chapter{This is chapter 1} \dorecurse{3} {\input tufte \page} \chapter{This is chapter 2} \dorecurse{3} {\input tufte \page} Even on yours the back cover

Re: [NTG-context] Layers + simplefonts: Using different font in layers?

2011-12-09 Thread Willi Egger
- turns out I was almost there, except that my TOC insisted on being in Arial (and *really* ugly as it is set up for Candara). Your alternative sorts out that problem, I tested with \placecontent \chapter{This is chapter 1} \dorecurse{3} {\input tufte \page} \chapter{This is chapter 2

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

2011-11-29 Thread Marcin Borkowski
Hi, I tried this: \definecombinedlist[content][chapter,title,subject,section] \setuphead[title,subject][incrementnumber=list] \starttext \placecontent \title{Unnumbered chapter} \subject{First} \subject{Second} \chapter{Numbered chapter} \section{Third} \section{Fourth} \stoptext and I have

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

2011-11-29 Thread Wolfgang Schuster
Am 29.11.2011 um 12:20 schrieb Marcin Borkowski: Hi, I tried this: \definecombinedlist[content][chapter,title,subject,section] \setuphead[title,subject][incrementnumber=list] \starttext \placecontent \title{Unnumbered chapter} \subject{First} \subject{Second} \chapter

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 but you use \placecontent. This makes indeed

[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

Re: [NTG-context] placelist

2011-11-04 Thread Pontus Lurcock
On Fri 04 Nov 2011, Willi Egger wrote: 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

Re: [NTG-context] placelist

2011-11-04 Thread Willi Egger
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 this should be the right command? \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 \placecontent. Wolfgang

Re: [NTG-context] Some more ToC questions

2011-10-26 Thread Wolfgang Schuster
the contents, how can I have the Contents title display without my Chapter line? That is, is there a way of turning off my chapter command temporarily? (I've found that title doesn't work here: If I use \title{Contents} \placecontent I still get a Chapter line.) Second: I'm writing out a book

[NTG-context] Some more ToC questions

2011-10-25 Thread Alasdair McAndrew
Chapter line? That is, is there a way of turning off my chapter command temporarily? (I've found that title doesn't work here: If I use \title{Contents} \placecontent I still get a Chapter line.) Second: I'm writing out a book of student notes, and each chapter ends with a set of exercises. I'd

Re: [NTG-context] TOC struggles

2011-10-20 Thread Pontus Lurcock
On Thu 20 Oct 2011, Willi Egger wrote: Hm, i s there a problem with placing the TOC with restrictions to the typeset levels? Please refer to the attached example. Hi, I'm afraid I don't have time to run your example, but looking at it I note that you're using ‘\placecontent[level=section

Re: [NTG-context] double line spacing in list (table of contents, publication list)

2011-10-02 Thread Wolfgang Schuster
[small]” or “after=\blank[halfline]”. \setupinterlinespace[big] doesn't influence those lists. You can \starttext \start \setupinterlinespace[line=18pt] \placecontent \stop ... \stoptext Wolfgang ___ If your

Re: [NTG-context] Turn Off Header and Footer

2011-07-17 Thread Wolfgang Schuster
how to solve this problem. \definehead[content] \setuphead[content][header=empty,footer=empty] \starttext \content{Inhaltsverzeichnis} \placecontent \stoptext BTW: You can remove \language[de] because \mainlanguage[de] loads the german pattern. Wolfgang

[NTG-context] TOC look broken by \definehead

2011-06-27 Thread Procházka Lukáš Ing . - Pontex s . r . o .
Hello all, the TOC look depends on whether or not another head was defined: \definehead[CHAPTER][chapter] \definehead[SECTION][section] % TRY TO COMMENT THIS LINE! \definecombinedlist[content][chapter,CHAPTER] \starttext \placecontent \page \chapter{Cha1} \CHAPTER{Cha2

[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

Re: [NTG-context] Problem with \definehead

2011-06-23 Thread Procházka Lukáš Ing . - Pontex s . r . o .
,chapterMiddle] %%% \starttext \placecontent \page \chapter{Cha1} \chapterMiddle{ChaM} \chapter{Cha3} \stoptext Any idea? Best regards, Lukas -- Ing. Lukáš Procházka [mailto:l...@pontex.cz] Pontex s. r. o. [mailto:pon...@pontex.cz] [http://www.pontex.cz] Bezová 1658 147 14

Re: [NTG-context] setuplist inherit margin and width

2011-06-23 Thread Wolfgang Schuster
{section:margin},width=\measure{section:width}] \setuplist [subsection] [margin=\measure{subsection:margin},width=\measure{subsection:width}] \setuplist [subsubsection] [margin=\measure{subsubsection:margin},width=\measure{subsubsection:width}] \starttext \placecontent \chapter{One} \section{Two

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

Re: [NTG-context] setuplist inherit margin and width

2011-06-23 Thread 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, maybe I found how to change appearance list

[NTG-context] \placecontent (\placemylist) problem in last beta

2011-06-20 Thread Jaroslav Hajtmar
Hello ConTeXist. When I create my own list of content, so there is a repetition of chapter numbers in the list of contents. Is it a bug in last minimals? In previous versions it worked OK! Thanx Jaroslav Here is my minimal example: \definelist[Ichap] \definelist[IIchap]

Re: [NTG-context] \placecontent (\placemylist) problem in last beta

2011-06-20 Thread Wolfgang Schuster
Am 20.06.2011 um 23:12 schrieb Jaroslav Hajtmar: Hello ConTeXist. When I create my own list of content, so there is a repetition of chapter numbers in the list of contents. Is it a bug in last minimals? In previous versions it worked OK! Thanx Jaroslav Here is my minimal example:

Re: [NTG-context] \placecontent (\placemylist) problem in last beta

2011-06-20 Thread Jaroslav Hajtmar
Thanx Wolfgang. It is working OK now. Surprised me that in previous versions it was OK. Jaroslav Dne 20.6.2011 23:17, Wolfgang Schuster napsal(a): Am 20.06.2011 um 23:12 schrieb Jaroslav Hajtmar: Hello ConTeXist. When I create my own list of content, so there is a repetition of

Re: [NTG-context] \placecontent (\placemylist) problem in last beta

2011-06-20 Thread Hans Hagen
On 20-6-2011 11:29, Jaroslav Hajtmar wrote: Thanx Wolfgang. It is working OK now. Surprised me that in previous versions it was OK. wat previous versions? definehead has always defined lists and as some inheritance and setup is involved, defining the list again can interfere Hans

Re: [NTG-context] \placecontent (\placemylist) problem in last beta

2011-06-20 Thread Jaroslav Hajtmar
Hello Hans. Previously I was using ConTeXt (MKIV) in TeXLive 2010. Here is log: This is LuaTeX, Version beta-0.60.2-2010071421 (Web2C 2010) (rev 3736) ConTeXt ver: 2010.05.24 13:05 MKIV fmt: 2010.9.21 int: english/english Now I re-editing old things so they function in the last beta minimals

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

2011-05-27 Thread Mathieu DUPONT
,] \starttext \startfrontmatter\placecontent\stopfrontmatter \startbodymatter\chapter{CHAPTER}\section{SECTION}\subsection{SUBSECTION}\stopbodymatter \stoptext Mathieu Date: Fri, 27 May 2011 11:14:26 +0200 From: alan.bras...@cea.fr To: schuster.wolfg...@googlemail.com CC: ntg-context

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

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

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

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

Re: [NTG-context] Removing page numbering on the first page of a list such as the TOC

2011-05-26 Thread Wolfgang Schuster
][title] \setuphead[content][header=empty] \starttext \content{Contents} \placecontent \stoptext Wolfgang ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg

Re: [NTG-context] Removing page numbering on the first page of a list such as the TOC

2011-05-26 Thread Mathieu DUPONT
out how to remove the header on the first page of a list, e.g the TOC. \setuphead[content][header=empty] won't do anything. Anyone has an idea ? There is no heading with the name “content”. \definehead[content][title] \setuphead[content][header=empty] \starttext \content{Contents} \placecontent

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

2011-05-26 Thread Mathieu DUPONT
way of getting the three desired results. Thanks ! \definehead[Abstract][title]\setuphead[Abstract][]\definehead[Intro][title]\setuphead[Intro][] \starttext \startfrontmatter\placecontent\Abstract{ABSTRACT}\stopfrontmatter \startbodymatter\Intro{INTRODUCTION}\chapter{CHAPTER}\stopbodymatter

[NTG-context] Why \goto not wok in ConTeXt in Win7

2011-05-26 Thread 王雨施
the following, can anyone help me. Thanks I use context --mode=screen test to compile the document \starttext \title[content]{mulu} \placecontent \chapter{One} \setuppagenumbering [style=\tfx, location=] \startmode[screen] \switchtobodyfont[8pt] \setupfootertexts [{haha}][{\goto{back

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

2011-05-25 Thread Wolfgang Schuster
the reduced interlinespace too) but with less lineskip changes. \define\PlaceContent {\bgroup \title{Contents} \setupinterlinespace[line=2.8ex] \placecontent \stop} \starttext \PlaceContent ... \stoptext Wolfgang

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

2011-05-25 Thread Mathieu DUPONT
to be 4.2ex.Please see previous message for the solution I got. This is the same as you do (the \blank’s in your example usethe reduced interlinespace too) but with less lineskip changes. \define\PlaceContent {\bgroup \title{Contents} \setupinterlinespace[line=2.8ex] \placecontent \stop

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

2011-05-25 Thread Mathieu DUPONT
That's interesting. I am sure how to integrate it in my TOC though. I would have to replace both \box0 and \box2 by something like \placecontent[current] or \placecurrentcontent. Does such a thing exist ? Mathieu From: schuster.wolfg...@googlemail.com Date: Wed, 25 May 2011 18:12:37 +0200

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

2011-05-25 Thread Wolfgang Schuster
Am 25.05.2011 um 19:48 schrieb Mathieu DUPONT: That's interesting. I am sure how to integrate it in my TOC though. I would have to replace both \box0 and \box2 by something like \placecontent[current] or \placecurrentcontent. Does such a thing exist ? You need your list command

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

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

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

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

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

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

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

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

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

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

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

2011-03-20 Thread Wolfgang Schuster
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 == \chapter + \placelistofsynonyms + \page

Re: [NTG-context] Compilation problem with latest beta

2011-02-20 Thread Michael Goerz
of Contents. The \placecontent is already enough to produce the error, but only in combination with the definitions in my env.tex file. If I don't place the TOC, or don't load my env settings, the documents compiles. Can you make a minimal example or send me the files off list. I've attached

Re: [NTG-context] Compilation problem with latest beta

2011-02-20 Thread Wolfgang Schuster
with the Table of Contents. The \placecontent is already enough to produce the error, but only in combination with the definitions in my env.tex file. If I don't place the TOC, or don't load my env settings, the documents compiles. Change these defintions from \def to \unexpanded\def % Font Features

Re: [NTG-context] Compilation problem with latest beta

2011-02-20 Thread Michael Goerz
but it’s not able to tell what from your example. Indeed, it has something to do with the Table of Contents. The \placecontent is already enough to produce the error, but only in combination with the definitions in my env.tex file. If I don't place the TOC, or don't load my env settings

[NTG-context] formatting title pages and table of contents

2011-02-05 Thread Paul Menzel
the definition for ` \title{}`, i. e., in my case a second page is inserted. ;-) [1] does not have to deal with this problem using `\placecontent`. Could you advise me of a “best practice” method how to accomplish both in a reusable manner? Thanks, Paul [1] http://wiki.contextgarden.net

Re: [NTG-context] formatting title pages and table of contents

2011-02-05 Thread Wolfgang Schuster
– then »Contents« is also formatted using the definition for ` \title{}`, i. e., in my case a second page is inserted. ;-) [1] does not have to deal with this problem using `\placecontent`. Could you advise me of a “best practice” method how to accomplish both in a reusable manner? \starttext

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

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

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

2010-12-16 Thread Wolfgang Schuster
\startnarrower[3*middle] \placecontent[criterium=local] \stopnarrower \blank \startnarrower[3*middle] \placelist[chapter] \stopnarrower Wolfgang ___ If your question is of interest to others as well, please add

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

2010-12-16 Thread Philipp Gesang
,after=\blank] \starttext \startsetups chapter \blank \startnarrower[3*middle] \placecontent[criterium=local] \stopnarrower \blank \startnarrower[3*middle] \placelist[chapter] \stopnarrower Wolfgang Oha, that was fast! Many thanks, this arguably looks better than my hacking

[NTG-context] Chapter's frame too small

2010-11-30 Thread Procházka Lukáš Ing . - Pontex s . r . o .
Hello, just an observation - let's have the following code: --- \setupcombinedlist[content][alternative=e] \starttext \placecontent \chapter{ChaB} Chabbb \section{SecA} Secaaa \subsection{SubsecA} Subsecaaa \stoptext --- The frame around chapter ChaA is too

Re: [NTG-context] Problem with context.startsection (was: Problem with \nolist)

2010-11-30 Thread Procházka Lukáš Ing . - Pontex s . r . o .
[cp1250] \starttext \placecontent % = TOC \startsection[title=TI,list=LI] % That's OK - sss \stopsection \startluacode context.startsection{title = ti, list = li} % - but this is wrong ttt context.stopsection() \stopluacode \stoptext --- Normally, I don't have problem

Re: [NTG-context] Problem with context.startsection (was: Problem with \nolist)

2010-11-30 Thread Wolfgang Schuster
ConTeXt. But from Lua? - This Lua code seems to be wrong: --- \enableregime[cp1250] \starttext \placecontent % = TOC \startsection[title=TI,list=LI] % That's OK - sss \stopsection \startluacode context.startsection{title = ti, list = li} % - but this is wrong You forgot

[NTG-context] Problem with \nolist

2010-11-28 Thread Procházka Lukáš
Hello, I'm receiving errors when compiling the following code (although a .pdf is created): --- \starttext \placecontent \section{AAA \nolist{aaa}} \stoptext --- Error message: --- structure : section @ level 3 : 0.0.1 - AAA \nolist {aaa} ! Undefined control sequence. l.1 AAA

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

2010-11-17 Thread Lukas Prochazka
Hello, I need to duplicate the \subsection command. The code is: --- \definehead[SSEC][subsection] \setuphead [SSEC] [after={ --- }] \starttext \placecontent \hairline \section{A} aaa \SSEC{B} bbb \subsection{C} ccc \stoptext --- It's OK that use

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,subsection,SSEC,...] Wolfgang

[NTG-context] \placecontent bug

2010-10-03 Thread Alan BRASLAU
of contents in the bodymatter chapters. (Chapter 1 toc also includes Appendix A sections, Chapter 2 toc also includes Appendix B sections, …) Alan \starttext \startfrontmatter \placecontent [criterium=all] \stopfrontmatter \startbodymatter \startchapter [title=first chapter] \placecontent

Re: [NTG-context] \placecontent bug

2010-10-03 Thread Hans Hagen
On 3-10-2010 10:19, Alan BRASLAU wrote: I remind you of the \placecontents bug in a structured document. The attached minimal example illustrates the erroneous inclusion of appendix sections in the partial table of contents in the bodymatter chapters. (Chapter 1 toc also includes Appendix A

Re: [NTG-context] insert pagebreak in toc (MkIV)

2010-09-29 Thread Steffen Wolfrum
that I recently upgraded from MKII to MKIV. I would've gone back to using MKII if it didn't work... BTW, my magic line is \placecontent[pageboundaries={5.2}] (I do the TOC heading separately.) I just tested it works, my ConTeXt is ver 2010.09.22. If I use eg. pageboundaries={I

<    1   2   3   4   5   6   >