From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-0.7 required=5.0 tests=DKIM_INVALID,DKIM_SIGNED, MAILING_LIST_MULTI,URIBL_SBL_A autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 8939 invoked from network); 4 Sep 2023 22:45:55 -0000 Received: from cgl.ntg.nl (5.39.185.202) by inbox.vuxu.org with ESMTPUTF8; 4 Sep 2023 22:45:55 -0000 Received: from localhost (localhost [127.0.0.1]) by cgl.ntg.nl (Postfix) with ESMTP id 4A397482F4C for ; Tue, 5 Sep 2023 00:44:44 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at cgl.ntg.nl Received: from cgl.ntg.nl ([127.0.0.1]) by localhost (cgl.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id V_u7W-NzX4oI for ; Tue, 5 Sep 2023 00:44:44 +0200 (CEST) Received: from cgl.ntg.nl (localhost [127.0.0.1]) by cgl.ntg.nl (Postfix) with ESMTP id C506B482F69 for ; Tue, 5 Sep 2023 00:44:15 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by cgl.ntg.nl (Postfix) with ESMTP id 7A988482D99 for ; Tue, 5 Sep 2023 00:43:50 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at cgl.ntg.nl Received: from cgl.ntg.nl ([127.0.0.1]) by localhost (cgl.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id eE6Kesvo74yR for ; Tue, 5 Sep 2023 00:43:49 +0200 (CEST) Received: from mail-pl1-f179.google.com (mail-pl1-f179.google.com [209.85.214.179]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by cgl.ntg.nl (Postfix) with ESMTPS id EE51F482D96 for ; Tue, 5 Sep 2023 00:43:49 +0200 (CEST) Received: by mail-pl1-f179.google.com with SMTP id d9443c01a7336-1bf5c314a57so9084125ad.1 for ; Mon, 04 Sep 2023 15:43:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=telus.net; s=google; t=1693867428; x=1694472228; darn=ntg.nl; h=mime-version:user-agent:content-transfer-encoding:in-reply-to:date :to:from:subject:message-id:from:to:cc:subject:date:message-id :reply-to; bh=5MZ6o/vfvFVkw3m52sdHq3LmQgYCShj4EaTERfKa5y4=; b=hxjyDyAPR7Qz0eoR1l29YDnk4GtNJlZ+zyHV1AkF5/IkRWE2Fb5AyjzCnWRMi3LPY/ Up5bvBB57E5+gZ0y/Tr1Y0DCQponYqC3l5F5MMLDSZVDDhpUIonqLhHzJJXhueUsz4cy jZcKOWuLmYKpXe93seyGVtzwAfoMp9PSxplfPxwoormFk5Nxu5zmd6b6bYV5m/SeQn0/ 5Y/iq9aK0d9g1sn2W7/sjUwJaIwzB7zVa9UjtifrJ9eaa9/ko8EFpEiGci6Cn0IKZUm5 eGllX2TMnuHkYjoejzrLK7+XGHY7Yuel7FntSqCLiZLdL+b79kkiHGH0Ety/uIEulmQz nEOA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1693867428; x=1694472228; h=mime-version:user-agent:content-transfer-encoding:in-reply-to:date :to:from:subject:message-id:x-gm-message-state:from:to:cc:subject :date:message-id:reply-to; bh=5MZ6o/vfvFVkw3m52sdHq3LmQgYCShj4EaTERfKa5y4=; b=AcutrX2fcZ2j95sIr5CNRMegRNeHOQRZ/s2g9o6SZfU3yexHK1moKE+1QqGBUo+n2G qNuM6aqaCqOxWfK/4zIaox5AN6SEkIQoFvTu2Nv+ox441BGjjxvqQ13qlvR9f8QAYl7e A+QoME9DeUWsUcRdzL9L2e2cR6BH93jC6cMHK3u9vgICBEsJ6MK001MH4yl3XifR4n5M 1XKBXkuKul/LDNrmcKnUArSd4a3/EH1XDuqZXrsEG4RStLz12v2Lofxhy6UDlwCjgh/z DdD2bu5ovfOTm0AbwmI4HR7s9/K2HQDmBUzoneCUXdbX1yegNNLts0NJ/WhYrXeLw0qz VK7Q== X-Gm-Message-State: AOJu0YxL2AJu4XuVfEd09PcJ7otyHa7EZBvrTieAbpT5l28qRwtt4DGt +7g8uORPruIkvSEvFeDYZehi1uFJuiaMCSJmcQo= X-Google-Smtp-Source: AGHT+IF96l4Iq/zVx+tzRGwnvxTsrB8oYdl/JWZ+BxPZjYWznEiwtRLTIwPsqe6ZKneO3BRGkLBgeQ== X-Received: by 2002:a17:903:182:b0:1b7:f64b:378a with SMTP id z2-20020a170903018200b001b7f64b378amr11640444plg.16.1693867427944; Mon, 04 Sep 2023 15:43:47 -0700 (PDT) Received: from ?IPv6:2001:56a:7254:2400::834? ([2001:56a:7254:2400::834]) by smtp.gmail.com with ESMTPSA id x11-20020a1709028ecb00b001b89a6164desm8007737plo.118.2023.09.04.15.43.47 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 04 Sep 2023 15:43:47 -0700 (PDT) Message-ID: <4379a82c71c9ad272d4c380397e7fb3fbc831f72.camel@telus.net> From: Max Chernoff To: ntg-context@ntg.nl Date: Mon, 04 Sep 2023 16:43:46 -0600 In-Reply-To: <1bdc6df5-84e0-b4cf-3d83-e85ba817a683@gmail.com> User-Agent: Evolution 3.48.4 (3.48.4-1.fc38) MIME-Version: 1.0 Message-ID-Hash: CPFW774CEZN3PLY3WBNYLNG6HWPNH3BW X-Message-ID-Hash: CPFW774CEZN3PLY3WBNYLNG6HWPNH3BW X-MailFrom: mseven@telus.net X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header X-Mailman-Version: 3.3.8 Precedence: list Reply-To: mailing list for ConTeXt users Subject: [NTG-context] Re: TOC with sections titles and page numbers like a paragraph beneath chapter List-Id: mailing list for ConTeXt users Archived-At: List-Archive: List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Hi Julian, > I am attempting to get a TOC that looks like the following (in other > words with section titles and their relative page numbers in a block > below the chapter): > Has > anyone put together a TOC of this kind and might be able to give me a > hint to follow? This is fairly close to what you're looking for I think (the manual, not the package itself): http://mirrors.ctan.org/macros/luatex/generic/lua-widow-control/lua-widow-control.pdf The source is a little messy, but I've used it in a bunch of other documents and it seems fairly robust: https://github.com/gucci-on-fleek/lua-widow-control/blob/7c4544/docs/manual/lwc-manual.mkxl#L167-L234 There aren't any page numbers for the subsections in that, but you should be able to add those inside the definition of \SubsectionTOCcommand with either #3 or \currentlistentrypagenumber. Thanks, -- Max ___________________________________________________________________________________ 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 ___________________________________________________________________________________