ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* [NTG-context] Log entries about confusing level change
@ 2024-03-08  2:38 Rik Kabel
  2024-03-08  9:28 ` [NTG-context] " Hans Hagen
  0 siblings, 1 reply; 2+ messages in thread
From: Rik Kabel @ 2024-03-08  2:38 UTC (permalink / raw)
  To: mailing list for ConTeXt users


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

Hello all,

The following example produces two log entries that seem a bit odd. The 
log entries are:

    backend         > bookmarks > confusing level change at level 3
    around '1 body1'
    backend         > bookmarks > confusing level change at level 3
    around 'back1'

and they refer to the first chapter of the bodymatter and the first 
chapter of the backmatter, respectively.

The example:

    \setupinteraction [state=start]
    \placebookmarks   [chapter]
    \starttext
       \startfrontmatter
         \startchapter [title=front1]
           \samplefile {knuth-gpt}
         \stopchapter
       \stopfrontmatter
       \startbodymatter
         \startchapter [title=body1]
           \samplefile {knuth-gpt}
         \stopchapter
       \stopbodymatter
       \startbackmatter
         \startchapter [title=back1]
           \samplefile {knuth-gpt}
         \stopchapter
       \stopbackmatter
    \stoptext

Does the level change message suggest that something is missing in the 
document?

-- 
Rik

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

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

___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl
webpage  : https://www.pragma-ade.nl / https://context.aanhet.net (mirror)
archive  : https://github.com/contextgarden/context
wiki     : https://wiki.contextgarden.net
___________________________________________________________________________________

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

* [NTG-context] Re: Log entries about confusing level change
  2024-03-08  2:38 [NTG-context] Log entries about confusing level change Rik Kabel
@ 2024-03-08  9:28 ` Hans Hagen
  0 siblings, 0 replies; 2+ messages in thread
From: Hans Hagen @ 2024-03-08  9:28 UTC (permalink / raw)
  To: ntg-context

On 3/8/2024 3:38 AM, Rik Kabel wrote:
> Hello all,
> 
> The following example produces two log entries that seem a bit odd. The 
> log entries are:
> 
>     backend         > bookmarks > confusing level change at level 3
>     around '1 body1'
>     backend         > bookmarks > confusing level change at level 3
>     around 'back1'
> 
> and they refer to the first chapter of the bodymatter and the first 
> chapter of the backmatter, respectively.
> 
> The example:
> 
>     \setupinteraction [state=start]
>     \placebookmarks   [chapter]
>     \starttext
>        \startfrontmatter
>          \startchapter [title=front1]
>            \samplefile {knuth-gpt}
>          \stopchapter
>        \stopfrontmatter
>        \startbodymatter
>          \startchapter [title=body1]
>            \samplefile {knuth-gpt}
>          \stopchapter
>        \stopbodymatter
>        \startbackmatter
>          \startchapter [title=back1]
>            \samplefile {knuth-gpt}
>          \stopchapter
>        \stopbackmatter
>     \stoptext
> 
> Does the level change message suggest that something is missing in the 
> document?
normally harmless so i can add an extra check but bookmarks can be a 
pain when less structure is used (somewhat weird low level pdf stuff)

Hans

-----------------------------------------------------------------
                                           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 / https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl
webpage  : https://www.pragma-ade.nl / https://context.aanhet.net (mirror)
archive  : https://github.com/contextgarden/context
wiki     : https://wiki.contextgarden.net
___________________________________________________________________________________

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

end of thread, other threads:[~2024-03-08  9:31 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-03-08  2:38 [NTG-context] Log entries about confusing level change Rik Kabel
2024-03-08  9:28 ` [NTG-context] " Hans Hagen

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