]}%
{\getmarking[chapter]}%
}
\setupheadertexts[margin][][\rightaligned{\CurrentChapter}][\leftaligned{\CurrentChapter}][]%
%
\starttext
\completecontent[criterium=all]
\chapter{A very,\\very long long heading}
\chapter{A very, very long long heading}
\chapter{End}
\stoptext
\completecontent[criterium=all]
\chapter{A very,\\very long long title}
\chapter{A very, very long long title}
\stoptext
What did I forgot to get rid of the linebreak sign in the pdf
bookmarks?
Use \startchapter as Thomas suggests or add
\appendtoks\def\\{ }\to \simplifiedcommands
to the begin
\startstandardmakeup
7 \midaligned{How to make a document.}
8 \midaligned{by}
9 \midaligned{The Author}
10 \stopstandardmakeup
11 \switchtotypeface [palatino] [12pt,rm]
12 \completecontent
13 \stopfrontmatter
14 \startbodymatter
15 \input body.tex
16
something in my environment. Have to find out what.
It is not in my environment. The use of \completecontent wreck havoc on
this. See the attachments.
--
Cecil Westerhof
dummy.tex
Description: TeX document
dummy.pdf
Description: Adobe PDF document
. In my own document it does not. Looks like
I changed something in my environment. Have to find out what.
It is not in my environment. The use of \completecontent wreck havoc on this.
See the attachments.
This is *not* a minimal working example, neither it’s minimal nor it’s working.
You
template.tex
and I get the error:
./template.tex:1: unexpected symbol near '\'
template.tex is an outline of a Context file:
---
And here is template.tex:
\starttext
\startfrontmatter
\startstandardmakeup
%\input title.tex
\stopstandardmakeup
\completecontent
%\input
-
\startproduct Handbook
\environment Source/Environment
\startfrontmatter
\completecontent
\stopfrontmatter
\startbodymatter
\component Source/Preface/Preface
\stopbodymatter
\startappendices
\completeindex
\stopappendices
\startbackmatter
\stopbackmatter
\stopproduct
]
\startfrontmatter
\completecontent
\stopfrontmatter
\startbodymatter
\setuppagenumbering[state=start,conversion=]
\product prd_file
\stopbodymatter
I would appreciate any kind of help to get this solved, as the wiki
explained that for making use of the romannumbers in the frontpart and
normals
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}
\stoptext
Wolfgang
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}
\placefigure{Two}{2}
\section{Three}
\placefigure{Four}{4}
\chapter{Five
be the easiest way of getting the three desired results.
Your own headings aren’t shown in the TOC because you use \completecontentwhich
lists only the default numbered headings (\part, \chapter etc.)
There are different solution:
1. Replace \completecontent with the following
\title{Contents
[chapter][label=yes, style={\blank[0cm]}]
\starttext
\startfrontmatter
\completecontent
\stopfrontmatter
\startbodymatter
\chapter{Title of chapter}
\section{Title of section}
\stopbodymatter
\stoptext
Instead, I get something like this (I
[chapter]
[alternative=vertical,
command=\ChapterList,
interaction=all]
\starttext
\completecontent
\chapter{One}
\chapter{Two}
\stoptext
I guess i should take a closer look at “horizontal” and “vertical”
because the label key has no effect for them.
Wolfgang
]
\define[3]\ChapterList
{\vbox{#1\crlf#2\hfill#3}}
\setuplist
[chapter]
[alternative=vertical,
command=\ChapterList,
interaction=all]
\starttext
\completecontent
\chapter{One}
\chapter{Two}
\stoptext
I guess i should take a closer look at “horizontal
][] so it gets included
in the TOC ?
That would be the easiest way of getting the three desired results.
Your own headings aren’t shown in the TOC because you use \completecontent
which lists only the default numbered headings (\part, \chapter etc.)
There are different solution:
1. Replace
[halfline]}
]
\starttext
\completecontent
\startbodymatter
\chapter{THIS VERY VERY VERY VERY VERY VERY VERY VERY LONG TITLE\\SHOULD BE
BOLD INTERLINE-SPACED (line=4.2ex)}
\section{THIS VERY VERY VERY VERY LONG TITLE SHOULD BE SINGLE INTERLINE-SPACED
(line=2.8ex)}
\subsection{THIS VERY VERY
={\setuplocalinterlinespace[line=2.8ex]\blank[halfline]}, margin=1.25cm,
after={\setuplocalinterlinespace[line=4.2ex]}, ] \starttext
\completecontent
\startbodymatter\chapter{THIS VERY VERY VERY VERY VERY VERY LONG TITLE SHOULD
BE SINGLE INTERLINE-SPACED (line=2.8ex)}\section{THIS VERY VERY
\completecontent
\start\setupinterlinespace[line=2.8ex]
\completecontent
\stop
Wolfgang
___
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
, alternative=command,command=\ChapterList, ]
\starttext
\completecontent
\start\setupinterlinespace[line=2.8ex]\completecontent\stop
Wolfgang
___
If your question is of interest to others as well, please add
\listdots\enspace #3\par }\setuplist[chapter][ margin=0cm,
% this line doesn't do anything label=yes, alternative=command,
command=\ChapterList,
]\setuplist[section][margin=0cm,width=1.25cm]\setuplist[subsection][margin=1.25cm,width=1.25cm]
\starttext
\completecontent
aligned, just like
everything else)
The following code used to do the job with MkII but it doesn't anymore with
MkIV :
\setuplabeltext[chapter=CHAPTER~]
\setuplist[chapter][label=yes, style={\blank[0cm]}]
\starttext
\startfrontmatter
\completecontent
\stopfrontmatter
)
The following code used to do the job with MkII but it doesn't anymore with
MkIV :
\setuplabeltext[chapter=CHAPTER~]\setuplist[chapter][label=yes,
style={\blank[0cm]}]\starttext
\startfrontmatter\completecontent\stopfrontmatter
\startbodymatter\chapter{Title of chapter}\section{Title of
section
:
\setuplabeltext[chapter=CHAPTER~]\setuplist[chapter][label=yes,
style={\blank[0cm]}]\starttext
\startfrontmatter\completecontent\stopfrontmatter
\startbodymatter\chapter{Title of chapter}\section{Title of
section}\stopbodymatter
\stoptext
Instead, I get something like this (I hope it turns out readable
\listdots\enspace
#3\par\blank[0.1cm]}\setupcombinedlist[content][level=3,alternative=c]\setuplist[chapter][
label=yes, alternative=command,command=\ChapterList, ]
\starttext
\completecontent
\startbodymatter\chapter{THIS VERY VERY VERY VERY VERY VERY VERY VERY LONG
TITLE SHOULD
Am 23.05.2011 um 04:06 schrieb Mathieu DUPONT:
Hi,
The following code :
\setuplabeltext[chapter=CHAPTER~]
\setuplabeltext[appendix=APPENDIX~]
\setuplist [chapter] [label=yes,style={\blank[0cm]}]
\starttext
\completecontent
\chapter{Title of a chapter}
\startappendices
Dear all,
is it possible to have entries in the table of contents not indented at all
whenever they stem from unnumbered headings? For example:
---
\starttext
\startfrontmatter
\completecontent
\chapter{Preface}
\stopfrontmatter
\startbodymatter
\part{Test}
\chapter
Am 23.05.2011 um 19:18 schrieb Oliver Buerschaper:
Dear all,
is it possible to have entries in the table of contents not indented at all
whenever they stem from unnumbered headings? For example:
---
\starttext
\startfrontmatter
\completecontent
\chapter{Preface
to do the job with MkII but it doesn't anymore with
MkIV :
\setuplabeltext[chapter=CHAPTER~]\setuplist[chapter][label=yes,
style={\blank[0cm]}]\starttext
\startfrontmatter\completecontent\stopfrontmatter
\startbodymatter\chapter{Title of chapter}\section{Title of
section}\stopbodymatter
://www.ntg.nl/pipermail/ntg-context/2011/058614.html
\setuplist[part] [label=part]
\setuplist[chapter][label=chapter]
\setuplist[section][label=section]
and use the \completecontent command without setting for label
because this will otherwise overwrite the settings above.
Wolfgang
Hi
With the latest beta (2011.04.22) I cannot compile my thesis any more.
I think I've narrowed it down to this minimal example:
%%%
\starttext
\startpart[title={Table of Contents}]
\completecontent[criterium=all]
\stoptext
%%%
! LuaTeX error /usr/share/texmf/tex/context/base/strc-lst.lua:496
={Part }] % no difference, Part is not shown
\setuplabeltext [en] [chapter={Chapter }]
\setuplabeltext [en] [section={Section }]
\starttext
\startfrontmatter
\completecontent [criterium=all,label=yes]
\stopfrontmatter
\startbodymatter
\startpart [title={Table of Contents}]
\startchapter [title
On 23-4-2011 6:25, Reviczky, Adam wrote:
Hi
With the latest beta (2011.04.22) I cannot compile my thesis any more.
I think I've narrowed it down to this minimal example:
%%%
\starttext
\startpart[title={Table of Contents}]
\completecontent[criterium=all]
\stoptext
%%%
! LuaTeX error /usr
=(,stopper=),width=6em]
\starttext
\startfrontmatter
\completecontent[label=no] % default
\completecontent[label=]
\completecontent[label=none]
\completecontent[label=yes]
\completecontent[label=section]
\stopfrontmatter
\startbodymatter
\chapter{Bodypart}
\stopbodymatter
\startappendices
\chapter
which can be used to see the problem and to test for the
correct result once the thing is resolved.
\setuplabeltext [chapter=Chapter ]
\setuplabeltext[appendix=Appendix ]
\setuplist[chapter][label=yes,width=5em]
\starttext
\startfrontmatter
\completecontent
\stopfrontmatter
and to test for the
correct result once the thing is resolved.
\setuplabeltext [chapter=Chapter ]
\setuplabeltext[appendix=Appendix ]
\setuplist[chapter][label=yes,width=5em]
\starttext
\startfrontmatter
\completecontent
\stopfrontmatter
\startbodymatter
\chapter{Bodypart
=5em]
\starttext
\startfrontmatter
\completecontent
\stopfrontmatter
\startbodymatter
\chapter{Bodypart}
\stopbodymatter
\startappendices
\chapter{Appendix}
\stopappendices
\stoptext
Wolfgang
___
If your question
Am 15.04.2011 um 06:24 schrieb Cecil Westerhof:
But why is there a difference between using \completecontent
immediately or later in the document.
The TOC is empty when you have \chapter commands before
\(complete|place)content, to flush the entries you have
to use now “criterium=all
2011/4/15 Wolfgang Schuster schuster.wolfg...@googlemail.com:
Am 15.04.2011 um 06:24 schrieb Cecil Westerhof:
But why is there a difference between using \completecontent
immediately or later in the document.
The TOC is empty when you have \chapter commands before
\(complete|place)content
Am 13.04.2011 um 22:47 schrieb Cecil Westerhof:
The following works as expected:
\starttext
\completecontent
\chapter{one}
\chapter{two}
\chapter{three}
\chapter{four}
\stoptext
But when I use the following:
\starttext
\chapter{one
2011/4/14 Wolfgang Schuster schuster.wolfg...@googlemail.com:
The following works as expected:
\starttext
\completecontent
\chapter{one}
\chapter{two}
\chapter{three}
\chapter{four}
\stoptext
But when I use the following:
\starttext
\chapter{one
The following works as expected:
\starttext
\completecontent
\chapter{one}
\chapter{two}
\chapter{three}
\chapter{four}
\stoptext
But when I use the following:
\starttext
\chapter{one}
\completecontent
\chapter{two}
\chapter{three
\completecontent
\starttext
% linebreak in title:
\chapter{Influences in the 20th century:\\{}an introduction}
% linebreak in ToC *and* title:
\chapter{Influences in the 20th century:\crlf an introduction}
\stoptext
Linebreak in the ToC only is required. Is there a new command?
TIA
=width]
\starttext
\completecontent [interaction=all]
\startchapter [title=Foo]
\stopchapter
\page
\startchapter [title=Bar]
\stopchapter
\stoptext
Marco
___
If your question is of interest to others as well, please
Hi,
this used to work before:
\setupcombinedlist[content][alternative=c]
\setupfootertexts[{should be en-dash: -- \hfill \pagenumber}]
\setupfooter[style=\ssbi] % -- comment out
\starttext
%text % -- comment in
\completecontent
\stoptext
Strange is, that the en-dash is there when either
={\blank[0.25in]}]
\stopstructureblockenvironment
\starttext
\startfrontmatter % errors if startfrontpart
%sample front matter
\input knuth
\completecontent[alternative=c,criterium=all]
\chapter{Preface}
\input knuth
\chapter{Introduction}
\input knuth
\stopfrontmatter
Thank you, Wolfgang. Your table is most helpful. This can probably be found
in the documentation but not where I looked. This probably relates to the
recent discussion regarding manuals for novices.
My observation is that \completecontent and \completeindex are treated like
chapter starts
Am 20.03.2011 um 16:46 schrieb Tom:
Thank you, Wolfgang. Your table is most helpful. This can probably be found
in the documentation but not where I looked. This probably relates to the
recent discussion regarding manuals for novices.
My observation is that \completecontent
Is it possible to generate only a TOC? (\completecontent) When creating a
document I like to have the 'stakeholders' to have an indication of what is
going on. For this a TOC is enough. I could create the document and cut out
the TOC, but it would be simpler if that could be auto generated
Am 18.03.2011 um 09:32 schrieb Cecil Westerhof:
Is it possible to generate only a TOC? (\completecontent) When creating a
document I like to have the 'stakeholders' to have an indication of what is
going on. For this a TOC is enough. I could create the document and cut out
the TOC
Cecil Westerhof cldwester...@gmail.com writes:
Is it possible to generate only a TOC? (\completecontent) When
creating a document I like to have the 'stakeholders' to have an
indication of what is going on. For this a TOC is enough. I could
create the document and cut out the TOC
On Fri, Mar 18, 2011 at 10:35 AM, Peter Münster pmli...@free.fr wrote:
Cecil Westerhof cldwester...@gmail.com writes:
Is it possible to generate only a TOC? (\completecontent) When
creating a document I like to have the 'stakeholders' to have an
indication of what is going on. For this a TOC
Dear Tom,
good to hear that minimal is working fine.
I had the same experience that you had with the Introduction not showing up
in the TOC. Do you know how to report a bug?
I think that completecontent doesn't recognize the user defined intro. It is
all what I can tell you.
If you have
]
\stopstructureblockenvironment
\starttext
\startfrontmatter
\completecontent[criterium=all]
\chapter{Intro}
\input tufte
\stopfrontmatter
\startbodymatter
\chapter{knuth}
\input knuth
\stopbodymatter
\stoptext
Mailing list is a good place for me to learn ConTeXt. There are so many things
which
]
\setupuserpagenumber[numberconversion=romannumerals]
\setuppagenumber[number=1]
\stopstructureblockenvironment
\startstructureblockenvironment[bodypart]
\setuppagenumber[number=1]
\stopstructureblockenvironment
\starttext
\startfrontmatter
\completecontent[criterium=all]
\chapter{Intro}
\input tufte
\input knuth
\completecontent[alternative=c,criterium=all]
\chapter{Preface}
\input knuth
\stopfrontmatter
\startbodymatter
\intro{Introduction}
\input knuth
\setupheadnumber[chapter][0] %resets first chapter number to 1
\setuppagenumbering
[state=start,
conversion=numbers, location
numbers not being converted to Roman numerals
\completecontent[alternative=c,criterium=all]
\chapter{Preface}
\input knuth
\stopfrontmatter
\startbodymatter
\intro{Introduction} %is not appearing in TOC
\input knuth %page number not being set to 1
\chapter{I Was Born}
\input knuth
]
\stopsectionblockenvironment
\startsectionblockenvironment[backmatter]
\stopsectionblockenvironment
\starttext
\setuppagenumber[state=start]
\startfrontmatter
%sample front matter
\input knuth
\completecontent[alternative=c,criterium=all]
\chapter{Preface}
\input knuth
\stopfrontmatter
\startsectionblockenvironment[backmatter]
\stopsectionblockenvironment
\starttext
\setuppagenumber[state=start]
\startfrontmatter
%sample front matter
\input knuth
\completecontent[alternative=c,criterium=all]
\chapter{Preface}
\input knuth
\stopfrontmatter
\startbodymatter
\setuppagenumber[state
Am 03.03.2011 um 14:30 schrieb Cecil Westerhof:
In a lot of e-books you see that when you are at the contents that the
chapters an sections can be clicked and you go to them. Can ConTeXt make this
kind of documents?
\setupinteraction[state=start]
\starttext
\completecontent[interaction
?
\setupinteraction[state=start]
\starttext
\completecontent[interaction=all] % can be also done with
\setuplist[...][interaction=all]
I like just \completecontent better. But thanks anyway.
--
Cecil Westerhof
___
If your
. Let's see how this works for
dedications that span multiple lines.
\stopalignment
\stopdedication
\completecontent
\intro{Introduction - Ag}
\input knuth
\chapter{First chapter - Ag}
\input knuth
\input knuth
\input knuth
\input knuth
\input knuth
\chapter{Second Chapter - Ag}
\input knuth
\stoptext
]}]
\starttext
\completecontent
\chapter{The First Chapter}
\input knuth
\chapter{The\\Second\\Chapter}
\input knuth
\stoptext
Tom Benjey
717-258-9733 voice
717-243-0074 fax
blog: www.TomBenjey.com
___
If your
[style={\switchtobodyfont[pagenumber]}]
\starttext
\dedication{Dedication}
\completecontent
\intro{Introduction - Ag}
\input knuth
\chapter{First chapter - Ag}
\input knuth
\chapter{Second Chapter - Ag}
\input knuth
\stoptext
Wolfgang
[content][intro,chapter,section]
% pagenumbers
\setuppagenumbering[style={\switchtobodyfont[pagenumber]}]
\starttext
\dedication{Dedication}
\completecontent
\intro{Introduction - Ag}
\input knuth
\chapter{First chapter - Ag}
\input knuth
\chapter{Second Chapter - Ag}
\input knuth
\stoptext
.
\stopdedication
\completecontent
\intro{Introduction - Ag}
\input knuth
\chapter{First chapter - Ag}
\input knuth
\input knuth
\input knuth
\input knuth
\input knuth
\chapter{Second Chapter - Ag}
\input knuth
\stoptext
Tom Benjey
717-258-9733 voice
717-243-0074 fax
blog: www.TomBenjey.com
umberstyle=\ss\bf,aligntitle=yes]
\setuplist [intro][headnumber=no]
\starttext
\completecontent
\intro{Introduction}
\input knuth
\chapter{First chapter}
\input knuth
\chapter{Second Chapter}
\input Knuth
\stoptext
Tom Benjey
717-258-9733 voice
717-243-0074 fax
blog: www.TomBenjey.com
.
Aligntitle seems to have no effect on anything from what I have seen.
\setuphead[chapter][style=sansbold]
\definehead[intro][chapter]
\setuphead [intro][number=no]
\definecombinedlist[content][intro,chapter,section]
\setupcombinedlist [content][style=sansbold]
\starttext
\completecontent
=sansbold]
\starttext
\completecontent
\intro{Introduction}
\input knuth
\chapter{First chapter}
\input knuth
\chapter{Second Chapter}
\input knuth
\stoptext
Wolfgang
___
If your question is of interest to others
]
\switchtobodyfont[serif]
\setuphead [chapter][style=sansbold, alternative=middle]
\definehead [intro][chapter]
\setuphead [intro][number=no]
\definecombinedlist [content][intro,chapter,section]
\setuphead[chapter][style=sansbold]
\starttext
{\cg Dedication}
\page
\completecontent
\intro{Introduction
Dear ConTeXt folks,
how do you set a title page? I took [1] as an example where `\title{}`
is formatted using `\setuphead[title][…]`. But then if I want to use `
\completecontent` to insert the table of contents [2] – I need it with
the title – then »Contents« is also formatted using
Am 05.02.2011 um 18:51 schrieb Paul Menzel:
Dear ConTeXt folks,
how do you set a title page? I took [1] as an example where `\title{}`
is formatted using `\setuphead[title][…]`. But then if I want to use `
\completecontent` to insert the table of contents [2] – I need it with
the title
}]\switchtobodyfont[20pt]},
after=\stopstandardmakeup,
align=middle,
prefix=no,
resetnumber=no]
\setuphead[chapter]
[header=empty]
\starttext
\completecontent
\part{Parte}
\chapter{Capitolo}
\section{Sezione}
\input knuth
\subsection{Sottosezione}
\input knuth
\input tufte
\section{Altra sezione
]
[placehead=yes,
before={\pagetype[chapter]\startstandardmakeup[align={middle,lohi}]\switchtobodyfont[20pt]},
after=\stopstandardmakeup,
align=middle,
prefix=no,
resetnumber=no]
\setuphead[chapter]
[header=empty]
\starttext
\completecontent
\part{Parte}
\chapter{Capitolo}
\section
project file is always
executed.
Consider the table of content call in the wiki a bad example. Mea culpa.
Change it.
Greetlings from Lake Constance!
Hraban
---
http://www.fiee.net/texnique/
http://wiki.contextgarden.net
https://www.cacert.org (I'm an assurer)
Okay, so the \completecontent should
\product prd_year2004-01
\completecontent[criterium=all]
\stopproject
%% EOF
%% env_mymag.tex
\startenvironment env_mymag
\setupindenting[medium, yes] %some random setup
\stopenvironment
%% EOF
%% prd_year2004-01
\startproduct prd_year2004-01
\project project_mymag
,numbercommand=\underbar,pagecommand=\ChapterPrefix]
\setuplist[section][]
\completecontent
\dorecurse{3}{\chapter{test} \dorecurse{4}{test \page}}
\stoptext
In MKII, I get a Missing number error.
I've isolated the problem : the value given to the \chapterprefix by the
pagecommand option seems to be a text
\translatednumber
\def\translatednumber[#1]%
{\number\numexpr(\normaltranslatednumber[#1]+1)/4\relax}
\starttext
\completecontent
\dorecurse{12}
{\chapter{Chapter #1}
\dorecurse{#1}{\input knuth\par}}
\stoptext
Wolfgang
?
A very dirty hack:
\setuppapersize[A6][A6]
\let\normaltranslatednumber\translatednumber
\def\translatednumber[#1]%
{\number\numexpr(\normaltranslatednumber[#1]+1)/4\relax}
\starttext
\completecontent
\dorecurse{12}
{\chapter{Chapter #1}
\dorecurse{#1}{\input knuth\par
Hi Hans,
lists ignore the sectionblock for the labeltext
\setuplabeltext[chapter=Chapter~,appendix=Appendix~]
\setuplist[chapter][label=yes,width=2cm]
\setuphead[chapter][bodypartlabel=appendix]
\starttext
\completecontent
\chapter{Foo}
\stoptext
Wolfgang
Am 28.09.2010 um 12:33 schrieb Mari Voipio:
On Tue, Sep 28, 2010 at 12:19, Steffen Wolfrum cont...@st.estfiles.de wrote:
\completecontent[pageboundaries={20.3,30}]
In current context it doesn't show any effect.
Is it obsolete in MkIV?
It works for me, even in the fairly complex files
On 29-9-2010 9:22, Steffen Wolfrum wrote:
Am 28.09.2010 um 12:33 schrieb Mari Voipio:
On Tue, Sep 28, 2010 at 12:19, Steffen Wolfrumcont...@st.estfiles.de wrote:
\completecontent[pageboundaries={20.3,30}]
In current context it doesn't show any effect.
Is it obsolete in MkIV?
It works
Am 29.09.2010 um 10:55 schrieb Hans Hagen:
On 29-9-2010 9:22, Steffen Wolfrum wrote:
Am 28.09.2010 um 12:33 schrieb Mari Voipio:
On Tue, Sep 28, 2010 at 12:19, Steffen Wolfrumcont...@st.estfiles.de
wrote:
\completecontent[pageboundaries={20.3,30}]
In current context it doesn't
Steffen Wolfrum cont...@st.estfiles.de wrote:
Hi,
somewhere I saw the code how to insert a pagebreak in the table of content.
I remember it somehow was related to the new structure model (one could
specify after which sections the table should break).
\completecontent[pageboundaries
should break).
\completecontent[pageboundaries={20.3,30}]
Yes, that's what I meant ;o)
Thank you!
Steffen
___
If your question is of interest to others as well, please add an entry to the
Wiki!
maillist : ntg
(one could
specify after which sections the table should break).
\completecontent[pageboundaries={20.3,30}]
In current context it doesn't show any effect.
Is it obsolete in MkIV?
Steffen
___
If your question
it somehow was related to the new structure model (one could
specify after which sections the table should break).
\completecontent[pageboundaries={20.3,30}]
In current context it doesn't show any effect.
It does here (updated minimals today) and in MkIV too. Do you have an
example that doesn't
a pagebreak in the table of
content.
I remember it somehow was related to the new structure model (one could
specify after which sections the table should break).
\completecontent[pageboundaries={20.3,30}]
In current context it doesn't show any effect.
It does here (updated minimals today
On Tue, Sep 28, 2010 at 12:19, Steffen Wolfrum cont...@st.estfiles.de wrote:
\completecontent[pageboundaries={20.3,30}]
In current context it doesn't show any effect.
Is it obsolete in MkIV?
It works for me, even in the fairly complex files that I recently
upgraded from MKII to MKIV. I
Am 19.09.2010 um 00:09 schrieb Corsair:
Hi all,
If I understand this right, \setupcombinedlist[content][level=section]
tells ConTeXt to list up to section level when doing \completecontent.
But it seems no matter what I set for `level', \completecontent lists
however deeply it can
\structureuservariable{author}}
\stopframedtext}
\setuphead
[chapter]
[command=\ChapterHead]
\starttext
\completecontent
\startchapter[title=Rom][date=12.06.2010,author=Knuth]
\input knuth
\stopchapter
\startchapter[title=Pisa][date=14.06.2010,author=Tufte]
\input tufte
\stopchapter
\stoptext
\doifsomething{\structureuservariable{author}}{\blank\structureuservariable{author}}
\stopframedtext}
\setuphead
[chapter]
[command=\ChapterHead]
\starttext
\completecontent
\startchapter[title=Rom][date=12.06.2010,author=Knuth]
\input knuth
\stopchapter
\startchapter[title
On Sun, Sep 19, 2010 at 08:06:05AM +0200, Wolfgang Schuster wrote:
Am 19.09.2010 um 00:09 schrieb Corsair:
Hi all,
If I understand this right, \setupcombinedlist[content][level=section]
tells ConTeXt to list up to section level when doing \completecontent.
But it seems no matter
Hi all,
If I understand this right, \setupcombinedlist[content][level=section]
tells ConTeXt to list up to section level when doing \completecontent.
But it seems no matter what I set for `level', \completecontent lists
however deeply it can. Here is a minimal example:
\setupcombinedlist
contextref for details. This then generates a TOC with
\completecontent which includes the unnumbered sections/headers.
Regarding the numbering, you might gleen that from the sample document here:
http://wiki.contextgarden.net/Biochemistry_textbook
It all kind of goes like this:
\starttext
Hi Martin,
I tried this
---
\starttext
\startfrontmatter
\setuppagenumbering[conversion=romannumerals]
\title{Title}
\subject{Abstract}
\subject{Acknowledgements}
\definecombinedlist [content][title,subject,chapter]
\completecontent
\stopfrontmatter
\startbodymatter
\setuppagenumbering
predefined list or combindedlist
content. Read contextref for details. This then generates a TOC with
\completecontent which includes the unnumbered sections/headers.
Regarding the numbering, you might gleen that from the sample document here:
http://wiki.contextgarden.net/Biochemistry_textbook
a \bookmark after \completecontent leads to no output at all.
Thanks for any pointers !
Martin
\setupinteraction[
state=start,
color=,
contrastcolor=]
\setupcombinedlist[content][interaction=all]
\placebookmarks[chapter,title][force=yes]
\setuphead[chapter][interaction=list]
\setuplabeltext
{%
Sect \currentheadnumber}
\def\Mynum#1{}
\starttext
\completecontent
\chapter{First chapter}
\section{First section}
Some text.
\chapter{Second chapter}
Introductory text.
\section{First section}
More text.
\section{Second section}
The end.
\stoptext
[AuthorComment]
\setuplist[AuthorComment][width=2em,alternative=d]
\starttext
\startfrontmatter
\completecontent[label=yes,alternative=c]
\placelist[SideNote]
\stopfrontmatter
% Seite 85
\chapter {Ein Kapitel}
Die Welt
\section {§ 14. Die Idee}
Das blah balh \inmargin[+][R63]{R. 63
]\ChapterNumberWords
{\determineheadnumber[chapter]\numstr{\currentheadnumber}}
\setuphead
[chapter]
[alternative=middle,
textstyle=sansbold,
numberstyle=sans,
deeptextcommand=\ChapterTextStretch,
deepnumbercommand=\ChapterNumberStretch]
\starttext
\completecontent
\chapter{Test
501 - 600 of 889 matches
Mail list logo