ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Duncan Hothersall <dh@capdm.com>
To: ntg-context@ntg.nl
Subject: Creating a PDF named destination
Date: Mon, 25 Apr 2011 16:31:32 +0100	[thread overview]
Message-ID: <4DB593D4.7030506@capdm.com> (raw)

  Hello all,

This seems to be a very obvious FAQ but I can't find an answer anywhere. 
How can one create a named destination in an output PDF file such that 
an HTML link to <filename>.pdf#nameddest=<name> will work?

I'm using Mk II in case that is relevant. I kinda assumed that a section 
title with an ID would automatically create a named destination with the 
same ID, but that doesn't appear to be the case.

So given a file generated from


\starttext
\chapter[myid]{My chapter}
Blah blah.
\section[myotherid]{My section}
Blah blah.
\stoptext


I'd like to be able to link from an HTML file to the named destinations 
myid and myotherid using the #nameddest URL construct above.

Hope it makes sense and thanks for any help.

Duncan
___________________________________________________________________________________
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:[~2011-04-25 15:31 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-04-25 15:31 Duncan Hothersall [this message]
2011-04-26  8:40 ` Hans Hagen
2011-04-26  9:00   ` Duncan Hothersall
2011-04-26  9:27     ` Hans Hagen
2011-04-26  9:38       ` Duncan Hothersall
2011-04-26 10:26         ` Hans Hagen

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=4DB593D4.7030506@capdm.com \
    --to=dh@capdm.com \
    --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).