* writetolist doesn't include sectionnumber in mkiv?
@ 2014-02-15 21:31 Sanjoy Mahajan
0 siblings, 0 replies; only message in thread
From: Sanjoy Mahajan @ 2014-02-15 21:31 UTC (permalink / raw)
To: ntg-context
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2014-02-15 21:31 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-02-15 21:31 writetolist doesn't include sectionnumber in mkiv? Sanjoy Mahajan
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).