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_ADSP_CUSTOM_MED, DKIM_INVALID,DKIM_SIGNED,FREEMAIL_FROM,MAILING_LIST_MULTI,URIBL_SBL_A autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 9129 invoked from network); 4 Sep 2023 22:51:52 -0000 Received: from cgl.ntg.nl (5.39.185.202) by inbox.vuxu.org with ESMTPUTF8; 4 Sep 2023 22:51:52 -0000 Received: from localhost (localhost [127.0.0.1]) by cgl.ntg.nl (Postfix) with ESMTP id ECC6348303C for ; Tue, 5 Sep 2023 00:51:21 +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 Tz8OTb3W5AOH for ; Tue, 5 Sep 2023 00:51:21 +0200 (CEST) Received: from cgl.ntg.nl (localhost [127.0.0.1]) by cgl.ntg.nl (Postfix) with ESMTP id 9A50E482F0E for ; Tue, 5 Sep 2023 00:50:58 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by cgl.ntg.nl (Postfix) with ESMTP id 2F7E3482E3B for ; Tue, 5 Sep 2023 00:50:41 +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 5SRnr_xqZmYp for ; Tue, 5 Sep 2023 00:50:40 +0200 (CEST) Received: from mail-pl1-f171.google.com (mail-pl1-f171.google.com [209.85.214.171]) (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 CE896482E39 for ; Tue, 5 Sep 2023 00:50:40 +0200 (CEST) Received: by mail-pl1-f171.google.com with SMTP id d9443c01a7336-1bf092a16c9so14421845ad.0 for ; Mon, 04 Sep 2023 15:50:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1693867839; x=1694472639; darn=ntg.nl; h=content-transfer-encoding:in-reply-to:from:content-language :references:to:subject:user-agent:mime-version:date:message-id:from :to:cc:subject:date:message-id:reply-to; bh=5s+E55lVd8gaASbctY0UWoAM2FrrJwkV43+cdQPpZGA=; b=AwqNc5+mLnKCjO6T3/Sk8N7qecey9g/YBvUCBNXPXXnntuf/TpJuixSy8t4sYHzcrQ 8TwZX4/VbValSnhgLm1yu7bqRH7jm5BcbY8IOM1oNyIzp81ckzQ82XSAJwnu/wIj35h/ 2QEOY7bh2AXAhuVKuSPIOKXprUPXMOX8q/mZSU/CjeEAAJ6zrpL8K7dNfJiZzJ1BHYfA 4EoluPJSnIXQfP4eJ0qRjdw2YrCAlSHumR+s02O59fgrYidHYKbsEZCf31mKjPUAqnUg bvlAJEGw6QsxZCyUu+TEGuYbB73dTmB6hoA8EQjWLF2AurB6KIPL+JBux48Cz0sGqLBJ q+vg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1693867839; x=1694472639; h=content-transfer-encoding:in-reply-to:from:content-language :references:to:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=5s+E55lVd8gaASbctY0UWoAM2FrrJwkV43+cdQPpZGA=; b=f4kDeoE69FIRlSloYXiQZYexhgDCK8vJoXnXpi4in4ZT3w/yW+mUZraxjrcTMmxIIU UKYQRyRviwxKPL0vIvQaM6lx93Ajp7T2gjOuT+xCT1vdW2tvRKqkZV31HMoB4lpfjblG pMBF4PyXEOlT8A0YuUfIclJWEFHOu1uWu36JplNrnfGhkCFRC8g+/tK0EzWyxUPha3NT TahjWv+pBvvtjMJlMJiETw/7hfE0QyzygON+0TbO9Jdd3YX+DWNf1lUNC0JJDBwexNyO RWXWQV3B6gNCB01UvgZVS3VpSkXf4/NvJHtJkBPwg96lf66QkHgofqj8jogce9IAUvwR flQQ== X-Gm-Message-State: AOJu0Yw2jp08d0pKvK0JZS3GSsHzsNzHZsPpKZ/3lXOaOpS/jLiXvojw ekZjtlBnPcCzkqrAIy9hgsFlyG9rr1sdMw== X-Google-Smtp-Source: AGHT+IHuuWmjdbrjyq1JB4miHiB1Gr+u5hwgHN3wcoyfsr/Q4iEmDxJHEPm+pFt0LP6FOOdkraxDYg== X-Received: by 2002:a17:902:d2c9:b0:1c3:4b24:d89d with SMTP id n9-20020a170902d2c900b001c34b24d89dmr1774606plc.40.1693867839175; Mon, 04 Sep 2023 15:50:39 -0700 (PDT) Received: from [192.168.1.5] ([101.115.151.59]) by smtp.gmail.com with ESMTPSA id f12-20020a17090274cc00b001bc5dc0cd75sm7999299plt.180.2023.09.04.15.50.36 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 04 Sep 2023 15:50:38 -0700 (PDT) Message-ID: <53bfd2ce-e14b-b6a3-e3bb-9fc33bbeeb97@gmail.com> Date: Tue, 5 Sep 2023 08:50:32 +1000 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.13.0 To: Max Chernoff , mailing list for ConTeXt users References: <4379a82c71c9ad272d4c380397e7fb3fbc831f72.camel@telus.net> Content-Language: en-AU From: jbf In-Reply-To: <4379a82c71c9ad272d4c380397e7fb3fbc831f72.camel@telus.net> Message-ID-Hash: QHUHO2D2ABT3CNCZXCZWOTRP56U4Y5EQ X-Message-ID-Hash: QHUHO2D2ABT3CNCZXCZWOTRP56U4Y5EQ X-MailFrom: roma83537@gmail.com 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"; format="flowed" Content-Transfer-Encoding: 7bit That's kind of you Max, and I will definitely take a look at that, both for the current book I am working on, but also for the variations it can offer for other titles. In the meantime, Wolfgang gently reminded me that I had overlooked one various obvious (and simple) approach using alternative=d, which I confess I had entirely overlooked! Julian On 5/9/23 08:43, Max Chernoff wrote: > 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 > ___________________________________________________________________________________ ___________________________________________________________________________________ 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 ___________________________________________________________________________________