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
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
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
]
[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
:
\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
\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
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
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
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
]{}
\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
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
]
\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
[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
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
,
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
]
\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
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
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
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
]
\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
”, 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
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
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
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
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
.
% 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
\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
}
\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
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
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
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
] [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
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
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
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
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
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
}
\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
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
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
}]
\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
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
- 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
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
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
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
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
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
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
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
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
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
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
[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
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
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
][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
,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
{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
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
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
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]
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:
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
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
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
,] \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
\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
\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
][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
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
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
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
the reduced interlinespace too) but with less lineskip changes.
\define\PlaceContent
{\bgroup
\title{Contents}
\setupinterlinespace[line=2.8ex]
\placecontent
\stop}
\starttext
\PlaceContent
...
\stoptext
Wolfgang
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
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
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
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
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
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
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
:
\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
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
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
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
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
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
– 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
] \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
\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
,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
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
[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
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
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
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
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
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
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
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
201 - 300 of 515 matches
Mail list logo