From: Sylvain Hubert via ntg-context <ntg-context@ntg.nl>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Cc: Sylvain Hubert <champignoom@gmail.com>
Subject: TOC colors and in-page anchors
Date: Wed, 28 Sep 2022 16:18:09 +0800 [thread overview]
Message-ID: <CACNy3NBHoXQ_LNFQF8vVLQg8J+s54bAY-=Kb_UgnNdFrC0bF0w@mail.gmail.com> (raw)
[-- Attachment #1.1: Type: text/plain, Size: 621 bytes --]
Dear list,
\usemodule[ipsum]
\setupinteraction[state=start]
\starttext
\completecontent
\section{s1}\ipsum
\section{s2}\ipsum
\section{s3}\ipsum
\section{s4}\ipsum
\section{s5}\ipsum
\section{s6}\ipsum
\stoptext
In the table of contents, s1 and s2 (at page 1) are rendered in red, while
others in green.
Moreover, when I click s4, it jumps to page 2 without locating the section
precisely within the page.
This is not the case when using the latex hyperref package.
Does anyone know how to make the colors uniform and the links precise?
Any help is appreciated.
Sylvain
[-- Attachment #1.2: Type: text/html, Size: 864 bytes --]
[-- Attachment #2: Type: text/plain, Size: 496 bytes --]
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl / https://www.ntg.nl/mailman/listinfo/ntg-context
webpage : https://www.pragma-ade.nl / http://context.aanhet.net
archive : https://bitbucket.org/phg/context-mirror/commits/
wiki : https://contextgarden.net
___________________________________________________________________________________
next reply other threads:[~2022-09-28 8:18 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-09-28 8:18 Sylvain Hubert via ntg-context [this message]
2022-09-28 8:43 ` Bruce Horrocks via ntg-context
2022-09-28 10:20 ` Sylvain Hubert via ntg-context
2022-09-28 15:30 ` Pablo Rodriguez via ntg-context
2022-10-11 10:06 ` Sylvain Hubert via ntg-context
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='CACNy3NBHoXQ_LNFQF8vVLQg8J+s54bAY-=Kb_UgnNdFrC0bF0w@mail.gmail.com' \
--to=ntg-context@ntg.nl \
--cc=champignoom@gmail.com \
/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).