ad[chapter][
page=yes,
before={\directsetup{FancyChapter}},
]
\setuppagenumbering[alternative=doublesided]
\starttext
\completecontent
\startchapter[title={My Normal Text}]
\input knuth
\stopchapter
\def\PreImg{Real}
\startbuffer[Quote]
I thought that was real.
\stopbuffer
\startchapter[title
> you can use the reported values and feed them into whatever
>
> i could add something to the select style but i guess then there is no
> uniformity in how users do this
Many thanks for the new stuff, Hans.
This could be an approach:
\starttext
\completecontent
\dorecurse{10}
le
>
> \setuplabeltext [chapter=Chapter ] % with trailing space; blank by default
> \setuplabeltext [appendix=Appendix ] % with trailing space; blank by default
> \setuphead [chapter] [placehead=yes]
> \setuplist [chapter] [label=yes,width=5em,alternative=c]
>
>
bers to words for the \chapter
logic but also converts chapter numbers to words in unwanted places such as
in the TOC and section numbers in the text.
\defineconversion[numstring][One,Two,Three,Four,Five,Six,Seven,Eight,Nine,Te
n,Eleven]
\setupsection[chapter]
[conversion=numstring]
\startt
erWords}}
\define[1]\ChapterNumberWords
{\determineheadnumber[chapter]\numstr{\currentheadnumber}}
\setuphead
[chapter]
[alternative=middle,
textstyle=sansbold,
numberstyle=sans,
deeptextcommand=\ChapterTextStretch,
deepnumbercommand=\ChapterNumberStretch]
\starttext
\completec
servariable{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=Pisa][date=14.06.2010,author=Tufte
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
ith
> the latest one:
>
> \definepagebreak[numberpagebreak][yes,header,footer,right]
> \setuphead[part][page=numberpagebreak,placehead=yes]
> \setuphead[chapter][page=numberpagebreak]
> \setuppagenumbering[alternative=doublesided,location=inmargin]
> \starttext
> \completecontent
&
tupinteraction[state=start]
\starttext
\completecontent
\page
\hbox
{\button {previous} [previouspage]\quad
\button {next} [nextpage]\quad
\button {index} [index]\quad
\button {table of contents} [content
e alternate?
% \filler[pavel-1]%
%\else
% \filler[pavel-2]%
%\fi}
\setuplistalternative[c][filler=\PavelFiller]
\starttext
\completecontent[alternative=c]
\dorecurse{10}{\expanded{\chapter{Chapter \recurselevel}}}
\stoptext
Wolfgang
_
\theChapterTitle \relax
\let\theChapterSubTitle\relax
\define[3]\Titel
{\def\theChapterAuthor {#1}%
\def\theChapterTitle {#2}%
\def\theChapterSubTitle{#3}%
\chapter{}}
\starttext
\completecontent
\Titel{Author}{Title}{Subtitle}
\stoptext
d{\footnote{Zapf \recurselevel}}
\input tufte\expanded{\footnote{Tufte \recurselevel}}
}
\completeindex % OK
\completecontent[criterium=all] % OK
\stoptext
Greetlings from Lake Constance!
Hraban
---
http://www.fiee.net/texnique/
http://wiki.contextgard
", etc and still get a
table of contents by means of a combined list. But whatever I tried,
no list is ever placed anywhere and even
\completecombinedlist[contents][level=subject] is seen as an
undefined control sequence.
\setupheads[incrementnumber=list]
\starttext
\completecontent
Xan wrote:
should work (i just fixed \about in mkiv and will make a new beta)
I running with the last version of MKII via minimals and I get the same
problem. With MKIV via minimals I get error (it hangs!).
So, please, can you let it a change: can you run context with this
source with th
On Wed, Oct 21, 2009 at 4:13 PM, luigi scarso wrote:
> Maybe stupid
> Consider this (you must have cow.pdf in the same dir):
>
> %%test-1.tex
> \setupcolors[state=start]
> \setupinteraction[state=start]
> \starttext
> \startfrontmatter
> \completecontent
> \stop
{something another thing}
{something {\bf another thing}}
}
\setupselector [title] [n=1]
\completecontent
\stoptext
Alan
___
If your question is of interest to others as well, please add an entry to the
gt; \placebookmarks
> [chapter,section,subsection]
>
> \startfrontmatter
> \completecontent
> \stopfrontmatter
>
> \startbodymatter
> \starttext
> \chapter{A \copyright}
> a a a
> \stopbodymatter
> \stoptext
>
> Regards,
> BG
> _
ent[para] \dontleavehmode \par
\defineXMLentities [tex] {tex} {\TeX}
\starttext
\completecontent
\startXMLdata
This is a testing &tex; chapter
Some meaningless text...
\stopXMLdata
\stoptext
Wolfgang
___
If your qu
Am 2007-12-15 um 17:33 schrieb Patrick Gundlach:
> \starttext
>
> \completecontent
> [alternative=c]
>
> \chapter{chapter1}
> \chapter{chapter2}
> \chapter{chapter3}
>
> \definehead[mychapter][chapter]
> \setuphead [mychapter][number=no,incrementnum
sectionsegments=chapter]
\setuphead[section][sectionsegments=chapter:section]
\starttext
\completecontent
\dorecurse{25}{\part{Part}
\chapter{Chapter}
\section{Section}
\section{Section}}
\stoptext
Pablo
--
http://www.ousia.tk
__
mmand?
\definelist[LastPages][criterium=all]
\starttext
\completecontent
\page
\completelist[LastPages]
\page
\dorecurse{10}{
\startchapter[title={This is my chapter}]
This is a chapter\par \dorecurse{6}{\input knuth } \input math-kontinuitet-sv
\writetolist[LastPages]{3.}{\namedstructurevariable{ch
on[state=start]
>> \definecombinedlist[content][chapter]
>> \setupcombinedlist[content][level=4, alternative=c]
>> \setbreakpoints[compound]
>> \starttext
>> \completecontent
>> \chapter{Noten bij de digitale (her)uitgave}
>> \chapter{Noten bij de digitale
;focus=width" is the problematic part. Replace it with "focus=standard"
and it will work better (it isn’t perfect either [there is a bug
reported before]).
\enabletrackers[*destinations*]
\setupinteraction[state=start, focus=standard]
\starttext
\completecontent
\ch
teraction[state=start, focus=standard]
>> \starttext
>> \completecontent
>> \chapter{Chapter}
>> \dorecurse{5}{\input knuth}
>> \stoptext
>>
>> It took me a while to realized the problem, because I didnâÂÂt have
>> continious view enabled in
ommented leads to an error
> \def\tit{Oops!}
>
> \def\Teil{\dodoubleempty\doTeil}
> \def\doTeil[#1][#2]#3{%
> \def\tit{#1}
> %...
> \startchapter[title={\tit},reference={#2}]
>#3
> \stopchapter
> %...
> }
>
>
> \protect
>
> \starttext
>
ample), when this doesn’t help send a minimal
example.
\starttext
\startfrontmatter
\completecontent
\chapter{Frontpart}
\writebetweenlist[chapter][location=here]{\thinrule}
\stopfrontmatter
\startbodymatter
\chapter{Bodypart}
\stopbodymatter
\stoptext
Wol
> \setupheadertexts
> [{\getmarking[section]}]
> [\pagenumber]
> [\pagenumber]
> [{Chapter \getmarking[chapternumber].\ \getmarking[chapter]}]
>
> \setuphead
> [chapter]
> [page={yes,header,footer,right},
>header=empty]
>
> \startfrontmatter
>
I think this is what you need:
\definestructureresetset[default][1,0,1][1]
\setuphead[chapter][sectionsegments=chapter]
\setuphead[section][sectionsegments=chapter:section]
\starttext
\completecontent
\dorecurse{5}{\part{Part}
\dorecurse{2}{\chapter{Chapter}
\dorecurse{2}{\section{Section
\stoptex
\completecontent
\mychapter{Vorwort}
\chapter{First Chapter}
\section{Some section in the first chapter}
\chapter{Second chapter}
\section{Some section in the second chapter}
\stoptext
The problem is now: Obviously the counter of mychapter and chapter is
the same. Because "first chapter" begins w
}]
\starttext
\completecontent
\startmychapter[ownnumber=0,title=Vorwort]
\chapter{First Chapter}
\section{Some section in the first chapter}
\chapter{Second chapter}
\section{Some section in the second chapter}
\stoptext
Still "first chapter" has the number 2 etc. Of course I could change al
Hi there,
two questions about formatting the TOC or the titles in the TOC:
1. How to formate the titles different in the text and in the TOC
respectively? I only mean line breaks.
E.g., see this minexample:
\starttext
\completecontent
\startsection[
title={Eine sehr, sehr lange
et to FitPage :-(
Preserving of zoom seems to be working for TOC only...
\setupinteraction[state=start,focus=standard]
\starttext
\startfrontmatter
\completecontent
\blank
\section{Primary}\index{primary}
Dummy text.
\stopbod
ll, just for testing
\placecontent
\setupinterlinespace[line=2.75ex]
%\setupinterlinespace[reset]
\startfrontmatter
\chapter{Intro}text
text
text
\startfrontmatter
\startbodymatter
\chapter{Chapter}text
\stopbodymatter
\startbackmatter
\chapter{Appendix}text
\stopbackmatter
\stoptext
I cannot use simply
parameter{width}}{flushright}},
> ]
>
> \starttext
> \completecontent
>
> \startfrontmatter
> \chapter{Preface}text
> \stopfrontmatter
>
> \startbodymatter
> \chapter{Chapter}text\index{primary}
> \stopbodymatter
>
> \startbackmatter
> \completeindex
> \
dexnames]
> \defineregister[indexsubject][indexsubjects]
> \setupheadtext[indexname=Name Index]
> \setupheadtext[indexsubject=Subject Index]
>
> \starttext
> \completecontent
> \chapter{Chapter}text\indexname{primary}\indexsubject{primary}
> \startbackmatter
> \completeindexname
rontmatter
\completecontent
\stopfrontmatter
\startbodymatter
\section{Primary}\index{primary}
Dummy text\footnote{footnote}.
\stopbodymatter
\startbackmatter
\completeindex
\stopbackmatter
\stoptext
Just generate the output, zoom the second or third page in and click any
hyperlink on that scaled page. It
> >
> > \setupinteraction[state=start,focus=standard]
> > \starttext
> > \startfrontmatter
> > \completecontent
> > \stopfrontmatter
> > \startbodymatter
> > \section{Primary}\index{primary}
> > Dummy text\footnote{footnote}.
> > \stopbod
t ../../../../_e-TZ.mkiv
2
3 \starttext
4 \completecontent
5 \page
6 >> \stoptext
7
backend > xmp > using file
'c:/Ctx-Beta/tex/texmf-context/tex/context/base/lpdf-pdx.xml'
I guess it has to do something with latest XML/Lua extension;
I don't have MnWE at the
}]\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
.0in]}]
\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
appendix=Appendix ]
\setuplist[chapter][label=yes,width=5em]
\starttext
\startfrontmatter
\completecontent
\stopfrontmatter
\startbodymatter
\chapter{Bodypart}
\stopbodymatter
\startappendices
\chapter{Appendix}
\stopappendices
\stoptext
Wolfgang
___
\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 BE
dlist
[content]
[level=section,width=\textwidth,alternative=a]
\starttext
\completecontent[level=section]
\chapter[one]{One}
\page[yes]
\chapter[two]{One}
\stoptext
I tried to set interaction=all within the \setupcombinedlist, but no
interaction possible from the table of contents within the gene
other
references, to figures, tables etc. makes the action disappear! Clicking then
does nothing, although the links to the figures and tables can be used.
The link works when the code above is placed BEFORE \completecontent. But
becomes incative when put BEHIND it. The index however has links transf
def\transformtitle#1%
{\ctxlua{userdata.mytransform([==[#1]==])}}
\setuplist[chapter][textcommand=\transformtitle]
\starttext
\completecontent
\startchapter[title={Sample Chapter}]
\stopchapter
\stoptext
When I print the actual title that is passed to mytransform, all I get is
\currentli
,
style=WORD]
\setuplist
[chapter]
[label=yes,
style=bold,
width=fit,
distance=\spaceamount]
\setuplist
[section]
[margin=3em,
width=1.5em]
\starttext
\completecontent
...
\stoptext
Wolfgang
placelist[section] % this doesn’t work
\def\name{aa}
\placelist[section]
\startsection[title=\name, list=\expanded\name] \stopsection
\def\name{bb}
\startsection[title=\name, list=\expanded\name] \stopsection
\completecontent
\stoptext
tless.)
"focus=standard" in \setupinteraction.
With a minimal sample:
\setupinteraction[state=start, focus=standard]
\enabledirectives[references.bookmarks.preroll]
\placebookmarks[chapter]
\starttext
\completecontent
\chapter{The concept
er
> \startchapter[reference=moreover,title=oof]
> \stopchapter
>
> and --pages=whatever,moreover will give you the info you need to call
> context --extra=copy or whatever with the right arguments
Hans,
real-world needs may be complex, such as in the following sample:
\startte
aligned.
Compiling the same document with MkIV leads to correct alignment of the filler
dots in both instances. Here is an MWE:
\setuplistalternative[c][width=2em]
\starttext
\completecontent[alternative=c]
\chapter{Short title}
Lorem ipsum \hskip.5em\gleaders\hbox to
.5\emwidth{\hss.\hss
f\Myhead#1{%
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.
> {\startframedtext[frame=off,width=\textwidth,offset=0pt,align=middle]
>
> \doifsomething{\structureuservariable{date}}{\structureuservariable{date}\blank}
> #2
>
> \doifsomething{\structureuservariable{author}}{\blank\structureuservariable{author}}
> \stopframedt
u help me to resolve this issue ?
A very dirty hack:
\setuppapersize[A6][A6]
\let\normaltranslatednumber\translatednumber
\def\translatednumber[#1]%
{\number\numexpr(\normaltranslatednumber[#1]+1)/4\relax}
\starttext
\completecontent
\dorecurse{1
rnative
"g" is meant for?
I thought it should be something like that:
\setupinteraction[state=start,focus=standard]
\setupcombinedlist[content][interaction=all]
\setuplist[part][alternative=g]
\setuplist[section][alternative=d]
\starttext
tuplist[part][alternative=g]
> \setuplist[chapter][alternative=d]
> \starttext
> \completecontent
> \part{part}
> \chapter{chapter}
> \part{part}
> \stoptext
>
> The second \part should start a new line. I now that you told me that I
> was misusing “alternative=g”, beca
pretium fringilla dui dui odio, pellentesque arcu
leo id. Malesuada curabitur, urna nostrum mauris lobortis, ante luctus
donec a, congue arcu placerat dictum non integer, nulla non.}
\completecontent[criterium=all]
\stoptext
n=middle,
background=screen,
frame=on,
width=broad,
style=smallbold,
color=]
\startinteractionmenu[right]
\startbut [content]Content \stopbut
\startbut [index] Index \stopbut
\vfill
\startbut [ExitViewer] Stop\stopbut
\stopinteractionmenu
\starttext
\c
3!}
\chapter{Laberbla}
\input tufte\footnote{Tufte 4!}
\index{Lalala}
\completeindex
\completecontent
\stoptext
- table of contents is empty, as reported
- I get no chapter name in the header
- footnotes are numbered like "3.2"
- the footnote marker is missing in the text
I need to
r][label=yes]
\setuplist[part,chapter,section,subsection,subsubsection]
[partnumber=no,interaction=all,alternative=c]
% number – title – dots – pagenumber
\starttext
\startfrontmatter
\completecontent
\chapter{Introduction} % in content, no number
\sto
[default][prefixsegments=2:100]
% uncomment to get the correct result for references in the text, brr
%\definestructureseparatorset [default][,(][]
\starttext
\completecontent
\chapter[sec:knuth]{Knuth}
\input knuth
\section[sec:ward]{Ward}
\input ward
\page
see \in{section}[sec:ward] at \at{
nd the mode is "FullScreen"
>> - and when clicking on a reference, the zoom-level does *not* change
>>
>> Since this is possible with LaTeX, I believe that it should be also
>> possible with ConTeXt, for example like this:
>>
>> \setupoutput[pdf]
>>
.
Hi,
maybe that the use of \nomarking is an option. However this will place
an ellipsis in the title
\setupheadertexts[][{\getmarking[section][current]}]
\starttext
\completecontent
\chapter{Chapter number one\footnote{Footnote of chapter one}}
\input tufte
\section{Section
\dorecurse{12}
> > {\input knuth\par}}
> >
> > \stoptext
>
> Beautifull. One problem arise, if you put a \placecontent after \starttext
> the first chapter will stil have the frame on.
do you mean
\starttext
\placecontent
\chapter{Knuth}
\stoptext
I see only a
ust change \jobname to {somename.tuo}
I guess when my TUO normally is called test.tuo I should copy it to a
testtest.tuo
and next, instead of \completecontent I use \placecombinedlist
[content][file=testtest] .
This works, but takes long too, as again all chapters are processed.
So I comme
setuphead. Your methods give me more choices.
Then the \completecontent and \completeindex follows the above setup
of chapters.
My question was how to make the head title setup of contents and of
indices free from the chapter setup?
Now, I find that the prefix{"(a character)
e]
%% Hier fängt der Text an
\starttext
\startfrontmatter
\setuppagenumbering[conversion=romannumerals]
\setuppagenumber[number=1]
\completecontent
\stopfrontmatter
%% Haupttext
\startbodymatter
\setuppagenumbering[conversion=numbers]
\setuppagenumber[number=1]
\part[allgemeines]{Allgemeines}
f contents. A sample
zzz.tex file looks like this:
\starttext
\completecontent
\chapter{Some chapter}
\section{One section}
\section{Another section}
\chapter{And one more chapter}
\section{And one more section}
\stoptext
After running such a code with command
c=1.728,
> l=8.916
> ]%
> %
>
> \setuplabeltext[chapter=\strut]
> \setuphead[chapter][style=\ssc,placehead=yes,expansion=yes,page=yes,
> numbercommand=\groupedcommand{}{\blank[1cm]},
> alternative=middle,
> numberstyle=ssl,
> numbercolor=green,
> strut=yes]
>
oject project_teoada
\starttext
\start
\startstandardmakeup \ss
\hairline \start
\switchtobodyfont[20pt]\bf
\leftaligned{TEOADA}%
\stop \hairline \blank[line]\rightaligned{Gerben Wierda}%
\blank[10cm]\start\leftskip=10cm\hairline\stop
\rightaligned{2005}%
\stopstandardmakeup
\stop
\startfrontmatter
ome syntax that one can use in:
>
> \placetable or \placefigure
>
> to control the Table of Figure Title appearing in:
>
> \completelistoftables and \completelistoffigures
>
>
> At the moment one can do this for the output of:
>
> \completecontent
>
>
> On 28 Sep 2022, at 09:18, Sylvain Hubert via ntg-context
> wrote:
>
> Dear list,
>
> \usemodule[ipsum]
> \setupinteraction[state=start]
>
> \starttext
> \completecontent
> \section{s1}\ipsum
> \section{s2}\ipsum
> \sec
On 3/11/2015 6:52 PM, Pablo Rodriguez wrote:
On 03/10/2015 10:12 PM, Hans Hagen wrote:
On 3/10/2015 6:04 PM, Pablo Rodriguez wrote:
Hans,
I have the following sample:
\setupinteraction[state=start, focus=standard]
\starttext
\completecontent
\chapter{Chapter 1
owing advice from Pablo I’ve swapped over to generating XHTML and
> using the XML mapping ability to generate ConTeXt and the PDF. Using
> this route the TOC looks the same but it’s no longer there in the
> outline panel.
>
> What do I need in addition to
> \completecontent
>
g way?
> \setuplist[chapter][pagestyle={\feature[=][tabularnumbers]}]
>
> \definefontfeature[default][default][onum=yes]
>
> \setupbodyfont[pagella]
>
> \starttext
>
> \setcounter[userpage][100]
>
> \completecontent
>
> \dorecurse{20}{\expanded{\chapter{
Cheers, Henri
>> \setupinteraction[state=start]
>> \placebookmarks[chapter,title][force=yes]
>> \starttext
>> \completecontent
>> \stoptext
> Wolfgang
>
>
> ___
> If your que
, setups=lsect]
\starttext
\completecontent
\dorecurse{5}{\chapter{Knuth}\input knuth
\dorecurse{8}{\section{Zapf}\input zapf}}
\stoptext
I cannot set the interline space for \setuplist[section]. Wolfgang
kindly provided me with a workaround:
\setuppapersize[A6
le leads to a "TeX capacity exceeded" error:
>
> \setupcombinedlist[content][%
> list={chapter,section},]
>
> \setuplist[chapter][
> before=,
> after={\placecombinedlist[content][criterium=local]},]
>
> \starttext
>
> \completecontent
>
> \chapter{One}
>
> \
It took me quite a while to find the solution for this problem. By posting it
here, I hope this will be useful to others.
\completecontent set the list composed of the chapters with a previous call to:
\setupcombinedlist[content][list=chapter]
and the list of chapters and included sections
combinedlist[content][list=chapter, alternative=c]
\starttext
\completecontent
\chapter{Foo}text
\chapter{Bar}text
\stoptext
Thanks, Jan
___
If your question is of interest to others as well, please add an entry to
ction][width=15mm,headnumber=no]
\setuplist[subsubsection][width=20mm,style=slanted,pagestyle=normal]
\starttext
\completecontent
\page[yes]
\section{First section}
\subsection{First subsection}
\subsubsection{First subsubsection}
\subsubsubsection{First subsubsubsection}
\section{Second se
\chapter{0}
\startpart[title={A}]
\chapter{1}
\chapter{2}
\stoppart
\startpart[title={B}]
\chapter{3}
\chapter{4}
\chapter{5}
\chapter{6}
\chapter{7}
\chapter{8}
\chapter{9}
\chapter{10}
\stoppart
\completecontent[criterium=all]
\stoptext
ConTeXt would generate a file in which the
main chunk
1 \environment ../../../../_e-TZ.mkiv
2
3 \starttext
4 \completecontent
5 \page
6 >> \stoptext
7
backend > xmp > using file
'c:/Ctx-Beta/tex/texmf-context/tex/context/base/lpdf-pdx.xml'
I guess it has to do something with latest X
ox{#2\crlf\ChapterSubTitle}}
>
> \let\ChapterSubTitle\relax
>
> \protect
>
> \setuphead
> [chapter]
> [incrementnumber=no,
>command=\ChapterCommand]
>
> \starttext
> \completecontent
> \startsectionworld[chapter][author=Hans,text=Chapter
; \component images
>
> \startfrontmatter
> \environment fmatter
> \completecontent
> \stopfrontmatter
>
> \startbodymatter
> \environment body
> \component intro
> \component osbasics
> \stopbodymatter
>
> \startbackmatter
> \comp
t;
> \stopproject
>
>
> % Product
> \startproduct book
>
> \project atkmom
>
> \component images
>
> \startfrontmatter
>\environment fmatter
>\completecontent
> \stopfrontmatter
>
> \startbodymatter
>\environment body
>
acecontent
and \completecontent (in the frontpart) generate a ToC with the 1st chapter
heading displayed
twice, aka
Chapter 1 heading (2)
Chapter 1 heading
Chapter 1 - Section 1 heading
Chapter 1 - Section 2 heading
etc...
Chapter 2 heading
Chapter 2 -
> >
> > - \startsectionblockenvironment[frontpart]% contains
> > ToC
> > \setupheader[state=start]
> >\stopsectionblockenvironment
> >
> > - \setuphead[chapter][header=empty] (1)
> >
> > - for some bodyfonts
rlay[whatever][]}]
> \setuphead[chapter][before={\pagetype[chapter]}]
>
> \setuphead[part]
> [placehead=yes,
> before={\pagetype[chapter]\startstandardmakeup[align={middle,lohi}]\switchtobodyfont[20pt]},
> after=\stopstandardmakeup,
> align=middle,
> prefix=no,
> rese
tyle=\ss\bf,pagestyle=\ss\bf,n
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-00
]
\setuppagenumber[number=1]
\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. The
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
before={\blank[line]},after={\blank[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-SPACE
his:
>
> \setupinteraction[state=start]
>
> \define[3]\ChapterList
> {\vbox{#1\crlf#2\hfill#3}}
>
> \setuplist
> [chapter]
> [alternative=vertical,
>command=\ChapterList,
>interaction=all]
>
> \starttext
>
> \completecontent
>
Thanks to the great expertise of folk on this mailgroup, I have my chapter
headings set so that each one comes out as
Chapter n
Name of Chapter
However, I have a few more questions. First: if I use "completecontent" to
display the contents, how can I have the "Contents" titl
=author]
\setuppublications[alternative=apa, criterium=all] % Show reference
numbers in the generated list.
\setupheadtext[de][pus=Quellen]
\starttext
\completecontent
\section{Example}
As \cite[hh2010b] already indicated, bibtex is a \LaTeX
bottom" and I don't always want that
\def\Lines#1{\dorecurse{#1}{\dorecurse{17}{text }}\par}
\def\Table#1{\starttable[|l|]\dorecurse{#1}{\NC bla \NC\AR}\stoptable}
\showframe
\starttext
\completecontent
\section{bla}
\Lines{10}
\Lines3
\section{bla}
\Table9
\section{bla}
\subsection{bla}
\L
Am 28.09.2010 um 12:33 schrieb Mari Voipio:
> On Tue, Sep 28, 2010 at 12:19, Steffen Wolfrum wrote:
>>>> \completecontent[pageboundaries={20.3,30}]
>>
>>
>> In current context it doesn't show any effect.
>> Is it obsolete in MkIV?
>
> It wor
parturient ipsum, consequuntur
malesuada.}
\section{Vestibulum ut pretium fringilla dui dui odio, pellentesque arcu
leo id. Malesuada curabitur, urna nostrum mauris lobortis, ante luctus
donec a, congue arcu placerat dictum non integer, nulla non.}
\completecontent[criterium=all]
\stoptext
[chapter][header=empty]
\setupfootertexts[][pagenumber]
\starttext
\startstandardmakeup
\title{title}
\stopstandardmakeup
\startfrontmatter
\setuppagenumbering[conversion=romannumerals]
\completecontent
\stopfrontmatter
\startbodymatter
\setuppagenumber[number=1]
\chapter{body}
bla
\stopbodymatter
argin=.5em]
\setuplistalternative[c][filler={\filler[pavel]}]
\starttext
\completecontent[alternative=c]
\chapter{First chapter}
\chapter{Second chapter}
\stoptext
Wolfgang
___
Is that a complete MWE? It doesn't work on ConTeXt ver: 2013.01.10
01:04 MKIV.
I get:
---
! Un
601 - 700 of 947 matches
Mail list logo