From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/116085 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Sylvain Hubert via ntg-context Newsgroups: gmane.comp.tex.context Subject: TOC colors and in-page anchors Date: Wed, 28 Sep 2022 16:18:09 +0800 Message-ID: Reply-To: mailing list for ConTeXt users Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0452201380852702212==" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="15522"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Sylvain Hubert To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Wed Sep 28 10:19:08 2022 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane-mx.org Original-Received: from zapf.boekplan.nl ([5.39.185.232] helo=zapf.ntg.nl) by ciao.gmane.io with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1odSHc-0003t8-37 for gctc-ntg-context-518@m.gmane-mx.org; Wed, 28 Sep 2022 10:19:08 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id CADCE360E63; Wed, 28 Sep 2022 10:18:26 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at zapf.boekplan.nl Original-Received: from zapf.ntg.nl ([127.0.0.1]) by localhost (zapf.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id OBSRcHJhTV86; Wed, 28 Sep 2022 10:18:24 +0200 (CEST) Original-Received: from zapf.ntg.nl (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 10F4C360E5E; Wed, 28 Sep 2022 10:18:24 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 9F3A1360E5D for ; Wed, 28 Sep 2022 10:18:22 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at zapf.boekplan.nl Original-Received: from zapf.ntg.nl ([127.0.0.1]) by localhost (zapf.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id yGsNnRs0q0kB for ; Wed, 28 Sep 2022 10:18:21 +0200 (CEST) Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=209.85.218.54; helo=mail-ej1-f54.google.com; envelope-from=champignoom@gmail.com; receiver= Original-Received: from mail-ej1-f54.google.com (mail-ej1-f54.google.com [209.85.218.54]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by zapf.ntg.nl (Postfix) with ESMTPS id 9DB77360C78 for ; Wed, 28 Sep 2022 10:18:21 +0200 (CEST) Original-Received: by mail-ej1-f54.google.com with SMTP id rk17so12317031ejb.1 for ; Wed, 28 Sep 2022 01:18:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=to:subject:message-id:date:from:mime-version:from:to:cc:subject :date; bh=DPK6XCZR3ysGl0Mpt9ySFd4dJFU957taAwo0000Qsek=; b=Z+ocZet3XCCL7gQO02PlSPA5kXczTDDEJGI+hgyrZDCpotrmxd8pVEMr6Ce/Rx/SRd 8V3iCkhR33jJqS1zAeMEK3Y5qVtbliAeLBhZJ69n2tVcoa+Z8mSApzvRg5rYQzqV9epR qz1tw5dgtn74TCR/69EGfbxPfaqUVksv+auDiFHCGWzLhGDePlovDls4Zhhfg7Ad8q6g 476gxr8U13vV4jDVeFpwii5EsEmKsdLzkZ1OV0qUPO7QK5l5eoSZCTBu0gGlw3Q4btmY zWn7qmm4MakGPXlfcU9THo/7CanF2iG2cBLLl3sRmMG0Eoxc7PhHouf9CrVPzL+dYmSf ktcg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=to:subject:message-id:date:from:mime-version:x-gm-message-state :from:to:cc:subject:date; bh=DPK6XCZR3ysGl0Mpt9ySFd4dJFU957taAwo0000Qsek=; b=sNM87GLoW+spWLurtZBu5rtJMVScOUyDWZQvFKjTO+FvEA97JZxRHf5nsVex9g7Slf wGiotJcyNovTARhGFwvueuC+LsqPNLo2v5oZQMqAMYcaJk6FM4QbijQ4361uyfgsi//l hN+KWmXLIYbTqBYUswR5LKxk/9JYY8W+YS6k+gOY3uQg/3W4S7+CZvyIvGKe+RjbhPU0 lJjvykCkXAqIXH7uJ/vJMHb4LbzezG/M4xYZ/CHwasns+id8QaPrt4t2SyYW1dnms5OB qCiuYVM4NfG+Jx9AZjzupu/SFdAZjZiKG5xJawHkEcszJAGWIRM0fG0jgXxFDt1d6AVw mGIA== X-Gm-Message-State: ACrzQf3KDOTub5pGxZwo/T+zzQjA9Ctql7mJ8SZswrLoxdLAIhC6tqX3 7m6OK1b7jWFFXMO4Y7TgGfQLbTAc+RfuwjmwAcCws1zhoNc9j4uK X-Google-Smtp-Source: AMsMyM6jauEknaC+E0HeLpSY1sAAY5VGyDKanFuXZNOuS6y7JR1bONcWtgbn9CgWgWQIXZEB0E1jObewgEG5iTfBjbg= X-Received: by 2002:a17:907:7614:b0:787:9dfb:e5a3 with SMTP id jx20-20020a170907761400b007879dfbe5a3mr200139ejc.468.1664353100942; Wed, 28 Sep 2022 01:18:20 -0700 (PDT) X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.26 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: ntg-context-bounces@ntg.nl Original-Sender: "ntg-context" Xref: news.gmane.io gmane.comp.tex.context:116085 Archived-At: --===============0452201380852702212== Content-Type: multipart/alternative; boundary="0000000000005cd2b605e9b86786" --0000000000005cd2b605e9b86786 Content-Type: text/plain; charset="UTF-8" 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 --0000000000005cd2b605e9b86786 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Dear list,

=C2=A0 =C2=A0 \usemodule[ips= um]
=C2=A0 =C2=A0 \setupinteraction[state=3Dstart]
=C2=A0 =C2=A0=C2= =A0
=C2=A0 =C2=A0 \starttext
=C2=A0 =C2=A0 \completecontent
=C2=A0= =C2=A0 \section{s1}\ipsum
=C2=A0 =C2=A0 \section{s2}\ipsum
=C2=A0 = =C2=A0 \section{s3}\ipsum
=C2=A0 =C2=A0 \section{s4}\ipsum
=C2=A0 =C2= =A0 \section{s5}\ipsum
=C2=A0 =C2=A0 \section{s6}\ipsum
=C2=A0 =C2=A0= \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 s= ection 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=C2=A0appreciated.

Sylvain
--0000000000005cd2b605e9b86786-- --===============0452201380852702212== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX18KSWYgeW91ciBxdWVzdGlvbiBpcyBvZiBpbnRlcmVz dCB0byBvdGhlcnMgYXMgd2VsbCwgcGxlYXNlIGFkZCBhbiBlbnRyeSB0byB0aGUgV2lraSEKCm1h aWxsaXN0IDogbnRnLWNvbnRleHRAbnRnLm5sIC8gaHR0cHM6Ly93d3cubnRnLm5sL21haWxtYW4v bGlzdGluZm8vbnRnLWNvbnRleHQKd2VicGFnZSAgOiBodHRwczovL3d3dy5wcmFnbWEtYWRlLm5s IC8gaHR0cDovL2NvbnRleHQuYWFuaGV0Lm5ldAphcmNoaXZlICA6IGh0dHBzOi8vYml0YnVja2V0 Lm9yZy9waGcvY29udGV4dC1taXJyb3IvY29tbWl0cy8Kd2lraSAgICAgOiBodHRwczovL2NvbnRl eHRnYXJkZW4ubmV0Cl9fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fCg== --===============0452201380852702212==--