Re: [NTG-context] Wrong numeration of titles

2016-07-24 Thread Marcus Vinicius Mesquita
Thank you, Hans. The \setuphead [section] [placehead=empty] is almost
​ ​
what I want, but although not showing in the bookmarks and in the text, the
section numbers still appear in the TOC. How do I make them go too?
___
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
___

Re: [NTG-context] Wrong numeration of titles

2016-07-24 Thread Hans Hagen

On 7/24/2016 2:55 PM, Marcus Vinicius Mesquita wrote:

Dear List

I'm using the
​ ​
​ConTeXt
​ ​
​mkiv version 2016.07.23.
In the MWE below, the numbers in TOC are OK, but in the bookmarks and in
the text they appear messed up. A bug?

\setupinteraction[state=start]

\placebookmarks[chapter,section,subsection]
\setuphead [section] [placehead=hidden]
\setuphead [subsection] [placehead=yes]
\starttext
\completecontent
\dorecurse{10}{\expanded{
\chapter{Chapter}
\dorecurse{3}{\expanded{
\section{Section}
\dorecurse{3}{\expanded{
\subsection{Subsection}
}}

\stoptext


use

\setuphead [section][placehead=empty]

or

\setuphead [section][placehead=list]



-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
   tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl
-
___
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
___