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: Re: Placing arbitrary pdf bookmarks
Date: Sat, 22 Mar 2014 20:00:57 +0100	[thread overview]
Message-ID: <532DDDE9.5080303@gmx.es> (raw)
In-Reply-To: <0C35D60C-4456-4244-BE1B-2A055A409317@ecp.fr>

On 03/22/2014 07:11 PM, Jean-Philippe Rey wrote:
> [...]
> Very good hint, thank you. It works perfectly fine with MkII. With
> MkIV, although the head is not printed, some whitespace is added that
> disturbs the layout. I tried
> 
> 	\setuphead[chapter,section][placehead=hidden]
> 
> and got rid of the spurious whitespace ... but also of the pdf bookmarks :-(
> 
> 	\setuphead[chapter,section][placehead=no,page=no,before=,after=]
> 
> don't work either.

Jean-Philippe,

my fault, this is the right head configuration:

    \setuphead[chapter,section][placehead=empty,before=,after=,]

This should work now:

    \showgrid
    \setupinteraction[state=start]
    \placebookmarks[chapter,section]
    \setuphead[chapter,section][placehead=empty,before=,after=,]
    \starttext

    \chapter{B1}
    \section{A1}

    Sticker 1

    Sticker 2

    \page

    Sticker 3

    \section{A2}

    Sticker 4

    \page
    \chapter{B2}

    Sticker 5

    \section{A3}

    Sticker 6

    \stoptext

I hope it helps now,


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-03-22 19:00 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-03-22 15:35 Jean-Philippe Rey
2014-03-22 16:31 ` Pablo Rodriguez
2014-03-22 18:11   ` Jean-Philippe Rey
2014-03-22 19:00     ` Pablo Rodriguez [this message]
2014-03-22 21:07       ` Jean-Philippe Rey

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=532DDDE9.5080303@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).