From: David Arnold <dwarnold45@cox.net>
Subject: setupheadnumber loses table of contents
Date: Wed, 21 Dec 2005 20:08:02 -0800 [thread overview]
Message-ID: <27A32926-EAF6-4887-98D3-1DA307A1418E@cox.net> (raw)
All, in the following example, if I uncomment
%\setupheadnumber[chapter][2]
then I lose my table of contents. Should that be happening?
% output=pdf
\setupcaptions
[location=bottom,width=fit,align=right,headstyle=bold,style=slanted]
\setupcaption
[figure]
[way=bysection]
%\setupheadnumber[chapter][2]
\setuphead[section][number=no]
\starttext
\startuseMPgraphic{david}
draw unitsquare scaled 2cm withpen pencircle scaled 5mm withcolor red;
\stopuseMPgraphic
\startbuffer[table]
\starttable[|c|c|]
\HL
\VL This \VL is \VL\FR
\VL a \VL table \VL\LR
\HL
\stoptable
\stopbuffer
\completecontent
\chapter{The Process of\crlf Growing Wheat}
\input tufte
\startbuffer
\startcombination[2*1]
{\useMPgraphic{david}}{First caption}
{\useMPgraphic{david}}{Second caption}
\stopcombination
\stopbuffer
\placefigure[][fig:11]
{This is the caption of the figure.}
{\getbuffer}
\section{First Section}
\input tufte
\placefigure[][fig:1]
{This is an example of an extended caption.}
{\useMPgraphic{david}}
\input tufte
\placetable[][tab:4]
{A very simple example of a table.}
{\getbuffer[table]}
\input tufte
\placefigure[][fig:2]
{This is an example of an extended caption.}
{\useMPgraphic{david}}
\input tufte
\section{Second Section}
\input tufte
\placetable[][tab:1]
{A very simple example of a table.}
{\getbuffer[table]}
\input tufte
\placefigure[][fig:3]
{This is an example of an extended caption.}
{\useMPgraphic{david}}
\input tufte
\placetable[][tab:2]
{A very simple example of a table.}
{\getbuffer[table]}
In \in{Figure}[fig:1], we on page \at[fig:1] what the figure is \about
[fig:1].
\chapter{The Process of Baling Hay}
\input tufte
\section{First Section}
\input tufte
\placefigure[][fig:1]
{This is an example of an extended caption.}
{\useMPgraphic{david}}
\input tufte
\placetable[][tab:5]
{A very simple example of a table.}
{\getbuffer[table]}
\input tufte
\placefigure[][fig:2]
{This is an example of an extended caption.}
{\useMPgraphic{david}}
\input tufte
\section{Second Section}
\input tufte
\placetable[][tab:1]
{A very simple example of a table.}
{\getbuffer[table]}
\input tufte
\placefigure[][fig:3]
{This is an example of an extended caption.}
{\useMPgraphic{david}}
\input tufte
\placetable[][tab:2]
{A very simple example of a table.}
{\getbuffer[table]}
\stoptext
next reply other threads:[~2005-12-22 4:08 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-12-22 4:08 David Arnold [this message]
2005-12-22 10:55 ` Taco Hoekwater
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=27A32926-EAF6-4887-98D3-1DA307A1418E@cox.net \
--to=dwarnold45@cox.net \
--cc=ntg-context@ntg.nl \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).