From: Sanjoy Mahajan <sanjoy@olin.edu>
To: <ntg-context@ntg.nl>
Subject: writetolist doesn't include sectionnumber in mkiv?
Date: Sat, 15 Feb 2014 16:31:32 -0500 [thread overview]
Message-ID: <8738jkhxl7.fsf@approx.mit.edu> (raw)
With MkIV, I'm having trouble getting \writetolist to include
sectionnumbers. Or at least, I cannot get the typeset list to include
the sectionnumbers (but maybe writetolist sent in the information).
Here's a minimal example, which is almost exactly the example from the
wiki at <http://wiki.contextgarden.net/Command/setuplist>. The only change
is that I've included [order=command] so that the \hrule ends up at the
right place.
\definelist[Reprints][criterium=all]
\starttext
\section{Sec 1}
\writetolist[Reprints]{1.}{List entry A}
\subsection{Subsec 1}
\writebetweenlist[Reprints]{\hrule}
\writetolist[Reprints]{2.}{List entry B}
\completelist[Reprints][order=command]
\stoptext
When typeset (I'm using the 2014.02.14 beta), the completelist looks
like:
List entry A 1
--------------------
List entry B 1
But the 1. and 2. didn't show up in the left column.
I tried adding \setuplist[Reprints][sectionnumber=yes] but that didn't
help. Does one need to define an alternative that includes
sectionnumbers?
-Sanjoy
___________________________________________________________________________________
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-context
webpage : http://www.pragma-ade.nl / http://tex.aanhet.net
archive : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________
reply other threads:[~2014-02-15 21:31 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=8738jkhxl7.fsf@approx.mit.edu \
--to=sanjoy@olin.edu \
--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).