From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/105249 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: "Jairo A. del Rio" Newsgroups: gmane.comp.tex.context Subject: Sectionwise page range in ConTeXt TOC Date: Sat, 12 Oct 2019 02:07:19 -0500 Message-ID: Reply-To: mailing list for ConTeXt users Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============5359152439819972598==" Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="4301"; mail-complaints-to="usenet@blaine.gmane.org" To: ntg-context@ntg.nl Original-X-From: ntg-context-bounces@ntg.nl Sat Oct 12 09:07:47 2019 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from zapf.boekplan.nl ([5.39.185.232] helo=zapf.ntg.nl) by blaine.gmane.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1iJBVC-0000xI-SX for gctc-ntg-context-518@m.gmane.org; Sat, 12 Oct 2019 09:07:46 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 8F9E7161ABD; Sat, 12 Oct 2019 09:07:33 +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 HHdfISEM3L9z; Sat, 12 Oct 2019 09:07:32 +0200 (CEST) Original-Received: from zapf.ntg.nl (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id AEE45161AF0; Sat, 12 Oct 2019 09:07:32 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id DAFD0161ABD for ; Sat, 12 Oct 2019 09:07:31 +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 BOE9UyBIfLNX for ; Sat, 12 Oct 2019 09:07:31 +0200 (CEST) Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=209.85.221.43; helo=mail-wr1-f43.google.com; envelope-from=jairoadelrio6@gmail.com; receiver= Original-Received: from mail-wr1-f43.google.com (mail-wr1-f43.google.com [209.85.221.43]) (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 1DF2916185B for ; Sat, 12 Oct 2019 09:07:31 +0200 (CEST) Original-Received: by mail-wr1-f43.google.com with SMTP id v8so14119595wrt.2 for ; Sat, 12 Oct 2019 00:07:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=9NBRPRkKwfHNzDN+Xp+5d/CxUxM6bU5nXEtWE5GVla0=; b=ZLx8S89q8eTWRGGBUBh6kLxUpPFQI2DCJxyk3ncRvQhLSW+NvmuByrmF/K5M1gLR8z Szk3ZAjCMLZlDk0I7h5t5841sNO9Z59u6pFtyErD1ASzjE1mqyjsECh2pBUWSdnMK87u ShHUuyaghRjKI4UBkfwyNNmUFdwrVDgIliT0sAP1vcAOPAcUF78WK0LesEr+uVk/FeBD VaFAzqKjaVbOR4sVUMpqQUc7o/eTPlBluhw1fSfLOTJHfQNxuJFMTqjJ+bfSMV3hChco CiHGc7eWfZfB9dgfm7q7aS10dqXEHuR8kGAw6nCO0Zw+CtrPTyrayIUiev8M+1b7Oztn Hbug== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=9NBRPRkKwfHNzDN+Xp+5d/CxUxM6bU5nXEtWE5GVla0=; b=TgkQSLD3m9DgytPmn9OclmAIWfJv79jboKAOL5Zx/+84US/Ky4ztYaO72NxT57KEUV jHKnW99yjeFsMBnSVrATuCmujW5zrzp1ASWzQI+F/nydoB7d+CMTyoWcYHtwIog9wB/0 V3/bjR/3lM9cUfutTOskrFXsoBX7iY6GL+WJzOoW2YIZdhyqsdXjDLDoEQtimYmvS3WH l0i4KKrrM8H7lT7bGLjNo8WrbtzVVxwjectIgTajKTd/0szBPdjivLMUXVaP8vW6xkXJ 5n8HzTX7Rr5m3l4vDwLnkzFVZeYwxGFiffMxYDQxuiUtx8WEg+B37lnzLEucvcqmO1xF dwSQ== X-Gm-Message-State: APjAAAVQowY5DbHAHNQ5mDpTS9mYN+xnWSpMjyUmv4Fiuy10hc9T9bbR MPCf4HlCXghdfHXDLlUt+AROPfZCMnBaPSZpB+tBPeKYJ3o= X-Google-Smtp-Source: APXvYqwgJVMi6ravcGWUgD/0sLdCGIwdwNctLkFzJdB//JesGVd1SihAWBUUZzFlg4UGSq1NV71TWH+dA4Itdf72hrc= X-Received: by 2002:a5d:4aca:: with SMTP id y10mr5508821wrs.292.1570864050466; Sat, 12 Oct 2019 00:07:30 -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.org gmane.comp.tex.context:105249 Archived-At: --===============5359152439819972598== Content-Type: multipart/alternative; boundary="000000000000b7f2f10594b149cd" --000000000000b7f2f10594b149cd Content-Type: text/plain; charset="UTF-8" I know ConTeXt TOC is quite customizable. However, I don't figure out how to include a page range next to section labels. For instance, something like that: 1. Chapter . . . 1 - 4 1.1 Section . . . 1 - 3 1.2 Section . . . 3 - 4 2. Chapter . . . 4 - 7 I've seen a LaTeX implementation here: https://tex.stackexchange.com/a/145206 Is something similar (or maybe better) possible? Thanks in advance. --000000000000b7f2f10594b149cd Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
I know ConTeXt TOC is quite customizable. However, I = don't figure out how to include a page range next to section labels. Fo= r instance, something like that:

1. Chapter=C2=A0 . . . 1= - 4
=C2=A01.1 Section . . . 1 - 3
=C2=A01.2 Section . = . . 3 - 4
2. Chapter . . . 4 - 7

I've seen= a LaTeX implementation here: https://tex.stackexchange.com/a/145206
Is something= similar (or maybe better) possible? Thanks in advance.

<= /div>
--000000000000b7f2f10594b149cd-- --===============5359152439819972598== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX18KSWYgeW91ciBxdWVzdGlvbiBpcyBvZiBpbnRlcmVz dCB0byBvdGhlcnMgYXMgd2VsbCwgcGxlYXNlIGFkZCBhbiBlbnRyeSB0byB0aGUgV2lraSEKCm1h aWxsaXN0IDogbnRnLWNvbnRleHRAbnRnLm5sIC8gaHR0cDovL3d3dy5udGcubmwvbWFpbG1hbi9s aXN0aW5mby9udGctY29udGV4dAp3ZWJwYWdlICA6IGh0dHA6Ly93d3cucHJhZ21hLWFkZS5ubCAv IGh0dHA6Ly9jb250ZXh0LmFhbmhldC5uZXQKYXJjaGl2ZSAgOiBodHRwczovL2JpdGJ1Y2tldC5v cmcvcGhnL2NvbnRleHQtbWlycm9yL2NvbW1pdHMvCndpa2kgICAgIDogaHR0cDovL2NvbnRleHRn YXJkZW4ubmV0Cl9fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fCg== --===============5359152439819972598==--