ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Wrong numeration of titles
@ 2016-07-24 12:55 Marcus Vinicius Mesquita
  2016-07-24 21:12 ` Hans Hagen
  0 siblings, 1 reply; 3+ messages in thread
From: Marcus Vinicius Mesquita @ 2016-07-24 12:55 UTC (permalink / raw)
  To: mailing list for ConTeXt users


[-- Attachment #1.1: Type: text/plain, Size: 557 bytes --]

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

[-- Attachment #1.2: Type: text/html, Size: 869 bytes --]

[-- Attachment #2: MWE.tex --]
[-- Type: application/x-tex, Size: 344 bytes --]

[-- Attachment #3: MWE.pdf --]
[-- Type: application/pdf, Size: 21962 bytes --]

[-- Attachment #4: Type: text/plain, Size: 485 bytes --]

___________________________________________________________________________________
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] 3+ messages in thread

* Re: Wrong numeration of titles
  2016-07-24 12:55 Wrong numeration of titles Marcus Vinicius Mesquita
@ 2016-07-24 21:12 ` Hans Hagen
  2016-07-24 23:54   ` Marcus Vinicius Mesquita
  0 siblings, 1 reply; 3+ messages in thread
From: Hans Hagen @ 2016-07-24 21:12 UTC (permalink / raw)
  To: ntg-context

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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Wrong numeration of titles
  2016-07-24 21:12 ` Hans Hagen
@ 2016-07-24 23:54   ` Marcus Vinicius Mesquita
  0 siblings, 0 replies; 3+ messages in thread
From: Marcus Vinicius Mesquita @ 2016-07-24 23:54 UTC (permalink / raw)
  To: mailing list for ConTeXt users


[-- Attachment #1.1: Type: text/plain, Size: 226 bytes --]

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?

[-- Attachment #1.2: Type: text/html, Size: 364 bytes --]

[-- Attachment #2: Type: text/plain, Size: 485 bytes --]

___________________________________________________________________________________
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] 3+ messages in thread

end of thread, other threads:[~2016-07-24 23:54 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-07-24 12:55 Wrong numeration of titles Marcus Vinicius Mesquita
2016-07-24 21:12 ` Hans Hagen
2016-07-24 23:54   ` Marcus Vinicius Mesquita

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