this when you replace \GotoPar with
a different mechanism.
begin example
\showgrid
\definelist[chaptertext][style=\itx]
\define[1]\ChapterAbstract{\doflushatpar{\writetolist[chaptertext]{}{#1}}}
\starttext
\title{\headtext{content}}
\placelist[chapter,chaptertext]
\chapter{Knuth
Dear list,
I have the following sample:
\setupinteraction[state=start]
\starttext
\placelist[chapter]
%~ \uppercasestring{context}\to\ascii
%~ \chapter{\getvalue{\ascii}}
\chapter{ConTeXt}
\stoptext
ConTeXt complains about an error in the first line.
What am I doing
On 3/21/2015 10:49 PM, Pablo Rodriguez wrote:
Dear list,
I have the following sample:
\setupinteraction[state=start]
\starttext
\placelist[chapter]
%~ \uppercasestring{context}\to\ascii
%~ \chapter{\getvalue{\ascii}}
\chapter{ConTeXt}
\stoptext
ConTeXt
scrutinize or question.\crlf
{\tf Stephen Jay Gould}
\stopbuffer
\noheaderandfooterlines
\start
\title[h:toc]{Contents}
\setuppagenumber[number=3]
\placelist[chapter,chaptertext]
\stop
\component c_loosely
\stopfrontmatter
\startbodymatter
\component
to figure out how to include the
titles at all.)
\setuphead
[title]
[incrementnumber=list]
\placelist
[title,chapter,section]
[criterium=all,alternative=c]
But why is there less space in front of a \title{...} in TOC than in
front of a \chapter{…}?
You can use
to include both chapters and titles. Is this the
proper way to go? (It took me a while to figure out how to include the
titles at all.)
\setuphead
[title]
[incrementnumber=list]
\placelist
[title,chapter,section]
[criterium=all,alternative=c]
But why is there less
the
titles at all.)
\setuphead
[title]
[incrementnumber=list]
\placelist
[title,chapter,section]
[criterium=all,alternative=c]
But why is there less space in front of a \title{...} in TOC than in
front of a \chapter{…}?
You can use the “margin” key
]
\placelist
[title,chapter,section]
[criterium=all,alternative=c]
But why is there less space in front of a \title{...} in TOC than in
front of a \chapter{...}?
2.) How can I define a different width for appendices in TOC (to
reserve enough space for the word Appendix)?
I use
are in the list for the “content” list.
To print additional headers which are defined with \definehead in your document
you can either use \placelist[chapter,MYHEADER,section,…] instead of
\placecontent
or you extend the list for “content” with
\setupcombinedlist[content][list={chapter,MYHEADER
sections also.
[...]
Any suggestions?
Hi John,
I guess that the following might achieve what you want:
\starttext
\title{Contents}\placelist[chapter]
\title{More Contents}\placelist[chapter,section]
\dorecurse{5}{\chapter{Chapter}
\dorecurse{5}{\section{Section
also.
Using mkiv I came up with this:
\startmakeup
\setupcombinedlist[content][list={chapter}]
\placelist[content]
\stopmakeup
\startmakeup
\setupcombinedlist[content][list={chapter,section}]
\completecontent[content]
\stopmakeup
\startmakeup
\null
\stopmakeup
I get no results at all, just blank
with this:
\startmakeup
\setupcombinedlist[content][list={chapter}]
\placelist[content]
\stopmakeup
\startmakeup
\setupcombinedlist[content][list={chapter,section}]
\completecontent[content]
\stopmakeup
\startmakeup
\null
\stopmakeup
I get no results at all, just blank pages.
Any suggestions?
--
John Culleton
This works, but not completely. I’ve added this to my environments file:
\definelist[chaptertext]
\setuplist[chaptertext][style=\itx,margin=3em,pagecommand=\gobbleoneargument]
and the contents list is created by
\title[h:toc]{Contents}
\placelist[chapter,chaptertext
, but not completely. I’ve added this to my environments file:
\definelist[chaptertext]
\setuplist[chaptertext][style=\itx,margin=3em,pagecommand=\gobbleoneargument]
and the contents list is created by
\title[h:toc]{Contents}
\placelist[chapter,chaptertext
for chaptertext influences the style of chapter
G
Minimal example:
\definelist[chaptertext]
\setuplist[chaptertext][style=\itx,margin=3em,pagecommand=\gobbleoneargument]
\setuplist[chapter][style=\tfa,before={\blank[big]}]
\starttext
\placelist[chapter,chaptertext]
\chapter{This is a chapter
[chaptertext][pagecommand=\gobbleoneargument]
\define[1]\ChapterAbstract{\writetolist[chaptertext]{}{\start\itx#1\stop}}
\starttext
\placelist[chapter,chaptertext]
\chapter{This is a chapter}
\ChapterAbstract{This is a small description of this chapter: \input ward }
\input knuth.tex
\stoptext
Hi Gerben,
As Wolfgang said, you can use something like this (example given by him some
months ago on the mailing list):
\definelist[chaptertext]
\setuplist[chaptertext][style=\tfx,margin=3em,pagecommand=\gobbleoneargument]
\starttext
\placelist[chapter,chaptertext]
\chapter
On 11/25/2014 8:18 AM, Otared Kavian wrote:
Hi Gerben,
As Wolfgang said, you can use something like this (example given by him some
months ago on the mailing list):
\definelist[chaptertext]
\setuplist[chaptertext][style=\tfx,margin=3em,pagecommand=\gobbleoneargument]
\starttext
\placelist
]
\definestructureconversionset[sectionnumbers]
[0,n,a][n]
\setupheads[sectionconversionset=sectionnumbers]
\setuplist[section][alternative=d]
\starttext
\placelist[section][criterium=all]
\dorecurse{20}{\section{section}}
\es\setupheadnumber[section][0]
\dorecurse
:
\definedescription[definition]
\starttext
\title{Sumario}\placelist[part,chapter][crierium=all]
\chapter{Prólogo}
\definition{Definition}\footnote{Footnote.}.
\stoptext
Definition and footnote are now part of the TOC.
Could you fix this?
Many thanks for your help again,
Pablo
Hans,
many thanks for the fix in latest beta from 2014.11.08 15:07.
I still experience a bug that it wasn’t there before beta from
2014.11.06 14:55.
Here you have the sample:
\startsetups[placelist:section]
\start
\setupinterlinespace[line=2.8ex]
\placelist[section][alternative=d
Dear list,
using latest beta from 2014.11.06 14:55, TOC is missing from this sample:
\starttext
\title{Sumario}\placelist[part,chapter]
\startfrontmatter
\chapter{Prólogo}
\part{Introducción}
\chapter{\ConTeXt\ y la tipografía digital}
\stopfrontmatter
\stoptext
I think this is a bug.
Many
On 11/6/2014 6:24 PM, Pablo Rodriguez wrote:
Dear list,
using latest beta from 2014.11.06 14:55, TOC is missing from this sample:
\starttext
\title{Sumario}\placelist[part,chapter]
\startfrontmatter
\chapter{Prólogo}
\part{Introducción}
\chapter{\ConTeXt\ y la tipografía digital
On 11/6/2014 6:24 PM, Pablo Rodriguez wrote:
Dear list,
using latest beta from 2014.11.06 14:55, TOC is missing from this sample:
\starttext
\title{Sumario}\placelist[part,chapter]
\startfrontmatter
\chapter{Prólogo}
\part{Introducción}
\chapter{\ConTeXt\ y la tipografía digital
Hi,
As we needed it for a project, I made this:
\showinjector
\setinjector[register][3][\column]
\setinjector[list][2][{\blank[3*big]}]
\starttext
\placelist[section][criterium=text]
\blank[3*big]
\placeregister[index][criterium=text]
\page
\startsection[title=Alpha
}{%
\startchapter[title=Chapter]
\placelist[section][criterium=chapter]
\startsection[title=Section]
\placelist[subsection][criterium=section]
\ManualSubsection{\recurselevel-1}
\ManualSubsection{\recurselevel-2}
\stopsection
\startsection[title=Section]
\placelist[subsection][criterium=section
-command, what you’re looking for is
\placelist[chapter][criterium=local].
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
(criterium=local) in the
same argument
of a setup-command, what you’re looking for is
\placelist[chapter][criterium=local].
Wolfgang
Thanks, got it: \placelist[section][criterium=local] places the list of
sections included in the chapter.
Still, how to do the same with subsections manually
,criterium=local] % local TOC OK
You can’t put a keyword (chapter) and a assignment (criterium=local) in the
same argument
of a setup-command, what you’re looking for is
\placelist[chapter][criterium=local].
Wolfgang
Thanks, got it: \placelist[section][criterium=local] places the list
a limit for the width of the list entry.
\definelist[chaptertext]
%\setuplist [chaptertext][maxwidth=8cm]
\starttext
\placelist[chapter,chaptertext]
\chapter{This is a chapter}
\writetolist[chaptertext]{}{\input ward }
\stoptext
Wolfgang
the maxwidth key to set a limit for the width of the list
entry.
\definelist[chaptertext]
%\setuplist [chaptertext][maxwidth=8cm]
\starttext
\placelist[chapter,chaptertext]
\chapter{This is a chapter}
\writetolist[chaptertext]{}{\input ward }
\stoptext
Wolfgang
without maxwidth indented on the right?
When you enable the pagenumber context puts some space between the number and
the text.
\definelist[chaptertext]
\setuplist [chaptertext][margin=2em,pagecommand=\gobbleoneargument]
%\setuplist [chaptertext][margin=2em,pagenumber=no]
\starttext
\placelist
indented on the right?
When you enable the pagenumber context puts some space between the
number and the text.
\definelist[chaptertext]
\setuplist [chaptertext][margin=2em,pagecommand=\gobbleoneargument]
%\setuplist [chaptertext][margin=2em,pagenumber=no]
\starttext
\placelist[chapter,chaptertext
to do this?
\definehead[silentsection][section]
\starttext
\placelist[chapter,section]
\chapter{first}
\section{first}
\chapter{first}
\silentsection{first}
\stoptext
If instead I want one depth for all body matter parts and a different
depth for the appendices
, it does not get set.
Is this the best way to do this?
\definehead[silentsection][section]
\starttext
\placelist[chapter,section]
\chapter{first}
\section{first}
\chapter{first}
\silentsection{first}
\stoptext
Yes, that is just what I do now, except that I use
configuration values for any sectioning command.
The file strc-lst.mkvi contains the code for \setuplist and \placelist command
but the default settings for chapter, section etc. entries are set in
strc-def.mkiv.
Many thanks for your reply, Wolfgang.
This is exactly what I was looking for.
Pablo
command.
The file strc-lst.mkvi contains the code for \setuplist and \placelist command
but the default settings for chapter, section etc. entries are set in
strc-def.mkiv.
Wolfgang
___
If your question is of interest
]
{}
{\hbox{\pagereference[workaroundref-2]\externalfigure[cow.pdf]}}
See \at{page}[workaroundref-1] or \at{page}[regularref-1]
See \at{page}[workaroundref-2] or \at{page}[regularref-2]
\blank
\placelist[figure][criterium=text]
\stoptext
Hi,
I can confirm this…
This is probably due to the new features Hans added today.
Also, the new feature
\placelist[figure][criterium=text]
places indeed the list of the figures, but the names of the figures, or rather
their captions are all indicated by the word « list ».
Best
xml:demo:b
\start
\bf \xmlflush{#1}
\stop
\stopxmlsetups
\starttext
\placelist[Fitxa][criterium=all]
\page
\xmlprocessfile{demo}{./x.xml}{}
\stoptext
?xml version='1.0' standalone='yes' encoding=UTF-8?
d
tnormal bbold/b/t
tsome more/t
/d
]
\enabledirectives[destinations.log]
\enabledirectives[references.border]
% \enabledirectives[references.border=darkgray]
% \enabledirectives[references.border=darkyellow]
\starttext
\placelist[chapter]
\chapter{one}
\chapter{two}
\stoptext
So, no key in a setup but a backend
][title,subject,subsubject,subsubsubject]
\setuphead[chapter][color=red]
\setuphead[section][color=green]
\setuphead[subsection][color=blue]
\define\PlaceList
{\startsectionlevel[extra][title=List]
%
\stopsectionlevel}
\starttext
\startsectionlevel[title=Chapter 1]
\PlaceList
I have specified the headnumber of chapter to be the Number chpt.
By using \setuplist and \placelist with the attributes label=yes,
I could get a content with the label as what I want.
But the headnumber of chapter label on bookmarks is still using Number
intead of the Number chpt.
What should
][chapter]
\setuphead [prechapter][number=no,incrementnumber=list]
\starttext
\prechapter{Unnumbered chapter}
\title{Contents}
\placelist[prechapter,chapter]
\chapter{Numbered chapter}
\stoptext
Wolfgang
___
If your
, in the FrontMatter before the ToC, but still
mentioned in the ToC?
\definehead[prechapter][chapter]
\setuphead [prechapter][number=no,incrementnumber=list]
\starttext
\prechapter{Unnumbered chapter}
\title{Contents}
\placelist[prechapter,chapter]
\chapter{Numbered chapter}
\stoptext
\xmlsetsetup{demo}{document|section|p}{xml:demo:*}
add content|title
\stopxmlsetups
\xmlregisterdocumentsetup{demo}{xml:demo:base}
\startxmlsetups xml:demo:document
\title{Contents}
\placelist[chapter]
\page
\xmlflush{#1}
\stopxmlsetups
\startxmlsetups xml:demo:section
\chapter{\xmlfirst
xml:demo:document
\title{Contents}
\placelist[chapter]
\page
\xmlflush{#1}
\stopxmlsetups
\startxmlsetups xml:demo:section
\chapter{\xmlfirst{#1}{/title}}
\xmlfirst{#1}{/content}
\stopxmlsetups
\startxmlsetups xml:demo:p
\xmlflush{#1}\endgraf
\stopxmlsetups
\xmlprocessfile{demo}{demo.xml
a lot going on with section heading so having a copy of the same
is non trivial as one should decide what gets copied (think of all kind
of references).
Here's a cheat:
\starttext
\placelist[chapter][criterium=all]
\startchapter[ownnumber=1,title=chap 1] \startsection[title=sec
1]\input
{\overview}{\currentlistentrynumber}}%
\stopcurrentlistentrywrapper
\listalternativeparameter\c!after}
{}%
\stopsetups
\unexpanded\def\placeoverviewpage
{\startstandardmakeup[\c!align=\v!middle]
\placelist
[\overviewsection]
[\c!criterium=\v!all,
\c
#Flushing_section_head_data_without_typesetting_them_in_the_text
seems to not work for me.
Thanks for help.
\definehead[test][section]
\setuphead
[test]
[placehead=empty,
before=,
after=]
\setupheadertexts[test]
\starttext \showframe
\placelist[test]
\test{Knuth}
\dorecurse{10}{\input knuth\par
.
Also how do you set the last heading level included in the table of contents.
I think I came across this, but am having trouble finding it again.
You can use \placelist where list only the headings which should appear, e.g.
\placelist[chapter,section]
or you change the list
heading level included in the table of contents.
I think I came across this, but am having trouble finding it again.
You can use \placelist where list only the headings which should appear, e.g.
\placelist[chapter,section]
or you change the list for the \completecontent.
\setupcombinedlist
the Content header but is empty otherwise.
\startfrontmatter
\completelist[content][criterium=chapter]
\stopfrontmatter
I tried various possibilities from the reference manual, like
\placelist[section][criterium=chapter]. But either this doesn't work (anymore?)
or I am doing something very stupid
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
manual, like
\placelist[section][criterium=chapter]. But either this doesn't work (anymore?)
or I am doing something very stupid. But these call do nothing.
It seems so simple: use the \complete.. mechanism (because this wraps the TOC
nicely) to typeset a selection from the TOC using the criterium
.
\startplacefigure[location=here,reference=fifth,title=fifth,group=alpha,groupsuffix=.c]
\externalfigure[dummy][height=2cm]
\stopplacefigure
Last line: \in[first] / \in[second] / \in[third] / \in[fourth] / \in[fifth].
\page
\placelist[figure]
\stoptext
(beware: it's groupsuffix
][MediumCow1]{{\bf b}. A larger cow.}
{\externalfigure[MediumCow]}
And here comes a mill.
\placefigure[here][Mill1]{A mill.}
{\externalfigure[Mill]}
\page
{\bf List of Figures}
\placelist[figure]
\completecontent
\stoptext
%
This way a and b
]
\externalfigure[dummy][height=2cm]
\stopplacefigure
Last line: \in[first] / \in[second] / \in[third] / \in[fourth] / \in[fifth].
\page
\placelist[figure]
\stoptext
(beware: it's groupsuffix, and not suffix as that will add another one
not tracked in the lists)
Hans
number errors (in the toc).
Use
\placelist[chapter,intro,section,…]
to flush a list with your intro heading or extend \completecontent with \intro:
\definecombinedlist[content][chapter,intro,section,…]
Wolfgang
, as does
\setuphead [title] [incrementnumber=yes,number=no]
trying coupling=no gives missing number errors (in the toc).
Use
\placelist[chapter,intro,section,…]
to flush a list with your intro heading or extend \completecontent with
\intro:
\definecombinedlist[content
[intro] [number=no]
will increment the chapter number, as does
\setuphead [title] [incrementnumber=yes,number=no]
trying coupling=no gives missing number errors (in the toc).
Use
\placelist[chapter,intro,section,…]
to flush a list with your intro heading or extend \completecontent
topic (in the topic list)
% I like white, because it attaches the current topic to the
% main area; but perhaps you prefer pale yellow?
% \definecolor[colCurrentTopic][r=1,g=1,b=0.7] % pale yellow
\definecolor[colCurrentTopic][r=1,g=1,b=1] % white
% When \placelist[MyTopics] is called, it calls
,
command=\FancyEntry]
\setuptexttexts[margin][\vbox{\placelist[MyTopics]}][]
\starttext
\Topic[First]
First Topic
\page
\Topic[Second]
Second Topic
\stoptext
The problem is that the \doifelse always evaluates to false, even when
\MyMark is defined and equal to the topic; I hope
=no,
alternative=command,
command=\FancyEntry]
\setuptexttexts[margin][\vbox{\placelist[MyTopics]}][]
\starttext
\Topic[First]
First Topic
\page
\Topic[Second]
Second Topic
\stoptext
but I can not get the right pdf, please check the attachment!
context version: 2013.01.08 01:19
LuaTeX
{criterium=all} \blank
\placelist[chapter][criterium=all]
\blank \type{criterium=frontmatter:all} \blank
\placelist[chapter][criterium=frontpart:all]
\blank \type{criterium=bodymatter:all} \blank
\placelist[chapter][criterium=bodypart:all]
\chapter{Intro
=no]
\setupsubformulas[conversion=romannumerals]
\starttext
\title{List of formulas}
\placelist[formula][criterium=all,alternative=c]
\framed{not ok}
\chapter{Chapter One}
\chapter{Chapter Two}
\subject{math - formula}
Expected formular number: (1):
\placenamedformula[one]{Der einfache Test
Using ConTeXt ver: 2012.11.14 11:37 MKIV, the following does not
produce a table of content, in fact, it doesn't produce a *.tuc file at all:
\setuppapersize[A5][A4,landscape]
\setuparranging[2SIDE]
\starttext
\placelist
\startchapter[title=chapter]
\input knuth
\stopchapter
\stoptext
.
\setupheadertexts
[\setups{headlist}]
\startsetups [headlist]
\framed[align=normal, frame=off]
{\placelist [chapter] [alternative=f, criterium=all]}
\stopsetups
\setupinteraction
[state=start,
color=lightgray,
contrastcolor=darkgreen]
\starttext
\startchapter
2012-11-08 Wolfgang Schuster:
Hi Wolfgang!
\startsetups [headlist]
\framed[align=normal, frame=off]
{\placelist [chapter] [alternative=highlight, criterium=all]}
\stopsetups
\definelistalternative
[highlight]
[renderingsetup=list:highlight]
I like the flexibility
On 11/8/2012 11:06 AM, Marco Patzer wrote:
2012-11-08 Wolfgang Schuster:
Hi Wolfgang!
\startsetups [headlist]
\framed[align=normal, frame=off]
{\placelist [chapter] [alternative=highlight, criterium=all]}
\stopsetups
\definelistalternative
[highlight]
[renderingsetup
On 11/8/2012 12:06 PM, Hans Hagen wrote:
On 11/8/2012 11:06 AM, Marco Patzer wrote:
2012-11-08 Wolfgang Schuster:
Hi Wolfgang!
\startsetups [headlist]
\framed[align=normal, frame=off]
{\placelist [chapter] [alternative=highlight, criterium=all]}
\stopsetups
\definelistalternative
2012-11-08 Wolfgang Schuster:
\setupheadertexts
[\setups{headlist}]
\startsetups [headlist]
\framed[align=normal, frame=off]
{\placelist [chapter] [alternative=highlight, criterium=all]}
\stopsetups
\definelistalternative
[highlight]
[renderingsetup=list:highlight]
Why
]
[background=layer:chapter]
\setupbackgrounds
[page]
[background=layer:chapter, setups=setups:headlayer]
\setlayer
[layer:chapter]
{\placelist [chapter] [alternative=f, criterium=all]}%% works
%% {\placelist [chapter] [alternative=highlight, criterium=all]} %% fails
Am 08.11.2012 um 22:37 schrieb Marco Patzer home...@lavabit.com:
2012-11-08 Wolfgang Schuster:
\setupheadertexts
[\setups{headlist}]
\startsetups [headlist]
\framed[align=normal, frame=off]
{\placelist [chapter] [alternative=highlight, criterium=all]}
\stopsetups
On 11/8/2012 10:48 PM, Wolfgang Schuster wrote:
Am 08.11.2012 um 22:37 schrieb Marco Patzer home...@lavabit.com:
2012-11-08 Wolfgang Schuster:
\setupheadertexts
[\setups{headlist}]
\startsetups [headlist]
\framed[align=normal, frame=off]
{\placelist [chapter] [alternative=highlight
]
\framed[align=normal, frame=off]
{\placelist [chapter] [alternative=f, criterium=all]}
\stopsetups
\setupinteraction
[state=start,
color=lightgray,
contrastcolor=darkgreen]
\starttext
\startchapter [title=alpha] \stopchapter
\startchapter [title=beta
hi!
I am a newer. I am studying the context. I think the context is very
good. I had study the latex in past years.
I have a question: there is a null string line above the \placelist, I
don't want it. who can help me?
\framed[background=frame_mp,frame=on,align=middle,width
On 24-10-2012 09:53, feng wrote:
hi!
I am a newer. I am studying the context. I think the context is
very good. I had study the latex in past years.
I have a question: there is a null string line above the \placelist,
I don't want it. who can help me?
\framed[background=frame_mp
Original Message
Subject: Re: [NTG-context] something about the placelist
Date: Wed, 24 Oct 2012 10:43:00 +0200
From: Hans Hagen pra...@wxs.nl
To: feng fengi...@gmail.com
On 24-10-2012 10:23, feng wrote:
在 Wed, 24 Oct 2012 16:03:53 +0800,Hans Hagen pra...@wxs..nl 写道:
sorry
] something about the placelist
Date: Wed, 24 Oct 2012 10:43:00 +0200
From: Hans Hagen pra...@wxs.nl
To: feng fengi...@gmail.com
On 24-10-2012 10:23, feng wrote:
在 Wed, 24 Oct 2012 16:03:53 +0800,Hans Hagen pra...@wxs..nl 写道:
sorry, there is still a null string line.But I find
to do:
\placelist[enumeration:listname]
for example. I was able to do \placelist[blah], however. After scouring
this mailing list and consulting the source code, I haven't been able to
find anything that would give me this functionality in MkIV. Was this
intentional, or is there another way
. In MkIV, I noticed that this
functionality doesn't work, or at least not in the same way. I was not able
to do:
\placelist[enumeration:listname]
for example. I was able to do \placelist[blah], however. After scouring
this mailing list and consulting the source code, I haven't been able
not in the same way. I was not
able to do:
\placelist[enumeration:listname]
for example. I was able to do \placelist[blah], however. After scouring
this mailing list and consulting the source code, I haven't been able to
find anything that would give me this functionality in MkIV
,
headstyle=bold,
numberconversionset=testconversion,
numberseparatorset=testseparator]
\starttext
\placelist[test]
\starttest[title={Knuth}]
\input knuth
\stoptest
\startsubtest[title={Zapf}]
\input zapf
\stopsubtest
\stoptext
Wolfgang
][teststyle-number]
\defineenumeration
[test]
[text=Test,
headstyle=bold,
numberconversionset=testconversion,
numberseparatorset=testseparator]
\starttext
\placelist[test]
\starttest[title={Knuth}]
\input knuth
\stoptest
\startsubtest[title={Zapf}]
\input zapf
}}%
\hbox to 2em{#1\hss}%
#2\hfill
\hbox to 2em{\hss#3}%
\blank}
\setuplist[figure][alternative=command,command=\FigureListEntry]
\placelist[figure]
\stoptext
Of course, the 'command' is not that nice looking but that's for others
to improve.
(In a similar fashion one can associate
-visual.mkiv#l234
\unexpanded\def\ipsumthesis
{\setupsystem[random=1234]
\title{\ipsum[alternative=lines, n=1]} % the first line from the sample text
\placelist[chapter,section]
\dorecurse{3}
{\chapter{\ipsum[alternative=lines, n=random]} % random sentence
from the sample text
=normal,
continue=no,
page=right,
style=\tfc,
before={\blank[2*big]},
after={\blank[2*big]},
command=\HeadTitle]
I want a local TOC after each chapter title. If I manually put
\placelist[section][criterium=chapter]
immediately after \chapter command then it does not work. Please help.
--
Best
Dear all,
I'm quite new to ConTeXt and I'm just trying to set up a template for my
first project. I'm using MkIV and the ConTeXt Standalone nightlies. I've
encountered the problem that I was not able to create a table of
contents (neither \placelist,\placecontents, with setuplist or without
\placelist,\placecontents, with setuplist or without worked). I do
not get any error, but there is also no list generated. I think, I tried
every hint I found on this list.
It’s a bug in the current beta (or the syntax changed, I don’t think so...)
Wait for the next one.
Greetlings, Hraban
dozens of answers to this question but here it
is again.
\starttext
\title{Contents} % use \title{\headtext{content}} to get a language dependent
title
\placelist[chapter,section]
…
\stoptext
or
\definecombinedlist[content][chapter,section]
\starttext
\completecontent
…
\stoptext
Wolfgang
it is again.
\starttext
\title{Contents} % use \title{\headtext{content}} to get a language dependent
title
\placelist[chapter,section]
…
\stoptext
or
\definecombinedlist[content][chapter,section]
\starttext
\completecontent
…
\stoptext
There two additional ways
Ok, here we are:
\starttext
\placelist[chapter,section]
hello\footnote{ciao}
\chapter{Hello\footnote{weird!}}
\section{Hello\footnote{another fn}}
hello\footnote{ciao}
\stoptext
The first footnote will start at 3 by itself.
There is some weird interference between the placelist
Am 28.05.2012 um 19:36 schrieb Marco Pessotto:
Ok, here we are:
\starttext
\placelist[chapter,section]
hello\footnote{ciao}
\chapter{Hello\footnote{weird!}}
\section{Hello\footnote{another fn}}
hello\footnote{ciao}
\stoptext
The first footnote will start at 3 by itself
Wolfgang Schuster schuster.wolfg...@googlemail.com writes:
Am 28.05.2012 um 19:36 schrieb Marco Pessotto:
Ok, here we are:
\starttext
\placelist[chapter,section]
hello\footnote{ciao}
\chapter{Hello\footnote{weird!}}
\section{Hello\footnote{another fn}}
hello\footnote{ciao
To: ntg-context@ntg.nl
Subject: Re: [NTG-context] \footnote numbering starting with 3
Message-ID: 87zk8sjed7@universe.krase.net
Content-Type: text/plain; charset=us-ascii
Wolfgang Schuster writes:
Am 28.05.2012 um 19:36 schrieb Marco Pessotto:
Ok, here we are:
\starttext
\placelist[chapter
Am 2012-05-16 um 22:41 schrieb Henning Hraban Ramm:
Hi again,
seems like it’s impossible to setup the level for combined lists
anymore. (MkIV, latest beta).
While \placelist[part,chapter] works, I didn’t find a way to
\setupcombinedlist[content] just down to chapter level, not deeper
Hi again,
seems like it’s impossible to setup the level for combined lists
anymore. (MkIV, latest beta).
While \placelist[part,chapter] works, I didn’t find a way to
\setupcombinedlist[content] just down to chapter level, not deeper.
The level key is gone in MkIV, and part,chapter
] [alternative=command,command=\MyListEntry]
\starttext
\writetolist[MyList]{First}{Second}
\placelist[MyList]
\stoptext
It generates the following error three times, once per argument in
\MyListEntry, I suppose.
ConTeXt ver: 2012.05.14 16:00 MKIV fmt: 2012.5.16 int: english/english
On Mon, 2012-04-09 at 00:08 -0400, Aditya Mahajan wrote:
\def\loaddatafile#1%
{\ctxlua {
job.initialize(#1.tuc,#1.tua)
}}%
\loaddatafile{full-book} %with the .tex extension
\starttext
\placelist[chapter]
\stoptext
Thanks Aditya, but I tried doing that. ConTeXt
201 - 300 of 635 matches
Mail list logo