ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Pablo Rodriguez <oinos@gmx.es>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: still buggy TOC generation
Date: Sat, 08 Nov 2014 21:19:04 +0100	[thread overview]
Message-ID: <545E7AB8.1090600@gmx.es> (raw)

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, pagenumber=no] \par
  \stop
\stopsetups
\setuplist
  [chapter]
  [before={\blank[big]}, after=\directsetup{placelist:section}]
\starttext
\title{Inside}\placelist[part,chapter][criterium=all]

\chapter{Foreword}
\dorecurse{10}{\section{Section from Foreword}}

\part{Introduction}

\chapter{\ConTeXt\ and digital typography}
\dorecurse{10}{\section{Section from Introduction}}

\chapter{Chapter 1}
\dorecurse{10}{\section{Section from Chapter 1}}

\chapter{Chapter 2}
\dorecurse{10}{\section{Section from Chapter 2}}
\stoptext

Only the latest stable version (beta from 2014.01.03 00:40) generates
the right TOC, if I remove [criterium=all] from \placelist[part,chapter].

With [criterium=all], I get all section titles in each chapter entry in
the TOC.

With latest beta from today and removing [criterium=all], the first two
chapters listed in items have the section titles from both chapters
(which is wrong).

Sorry, but isn’t this caused by the changes introduced in beta from
2014.11.06 14:55?

Many thanks for your help,


Pablo
-- 
http://www.ousia.tk
___________________________________________________________________________________
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-11-08 20:19 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-11-08 20:19 Pablo Rodriguez [this message]
2014-11-09 14:20 ` Hans Hagen
2014-11-09 16:30   ` Pablo Rodriguez

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=545E7AB8.1090600@gmx.es \
    --to=oinos@gmx.es \
    --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).