ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* two bugs in the latest beta of context mkiv
@ 2012-12-02  9:28 Jannik Voges
  0 siblings, 0 replies; only message in thread
From: Jannik Voges @ 2012-12-02  9:28 UTC (permalink / raw)
  To: ntg-context

Hello,


I want to report two bugs in the latest beta of context mkiv.

When I  typeset the following example, I get the sectionnumber 1 for the second subsection. I would expect the sectionnumber 2.0.1 for that subsection. This problem (wrong sectionnumber) also appears in the table of contents.

\starttext
\chapter{A Chapter}
\section{A Section}
\subsection{A Subsection}

\chapter{Another Chapter}
\subsection{Another Subsection}
\stoptext

In my attempt to circumvent this problem I tried to write my own table of contents (the number in the headlines were easy to fix) with \writetolist[toc]{number}{text}. But \writetolist seems to be broken, because the sectionnumber is missing. As an minimal example you can use the example from the context-wiki:

\definelist[Reprints][criterium=all]

\starttext
  \section{Sec 1}
  \writetolist[Reprints]{1.}{List entry A}%
  \writetolist[Reprints]{}{With no number}%
  \subsection{Subsec 1}
  \writebetweenlist[Reprints]{\hrule}
  \writetolist[Reprints]{2.}{List entry B}%
  \completelist[Reprints]
\stoptext

As you see, the horizontal line appears at the top of the list and not after the second entry. So there seems to be an additional bug.


Sincerely

Jannik
___________________________________________________________________________________
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:[~2012-12-02  9:28 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-12-02  9:28 two bugs in the latest beta of context mkiv Jannik Voges

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).