From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/31728 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: "'William Lupton' via pandoc-discuss" Newsgroups: gmane.text.pandoc Subject: Re: Multiple HTML file (chunked) output with template Date: Thu, 10 Nov 2022 12:47:37 +0000 Message-ID: References: <264eeee0-68c8-4389-a5c5-12563c6926f6n@googlegroups.com> <1ef6858a-0a37-4f5f-a88b-eff2479a8130n@googlegroups.com> Reply-To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="0000000000002ac4dd05ed1d2eb9" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="25521"; mail-complaints-to="usenet@ciao.gmane.io" To: pandoc-discuss Original-X-From: pandoc-discuss+bncBCS4HJ6WSAHBB5PFWONQMGQEMKOC3XY-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Thu Nov 10 13:47:53 2022 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane-mx.org Original-Received: from mail-ot1-f59.google.com ([209.85.210.59]) by ciao.gmane.io with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1ot6yH-0006TV-8w for gtp-pandoc-discuss@m.gmane-mx.org; Thu, 10 Nov 2022 13:47:53 +0100 Original-Received: by mail-ot1-f59.google.com with SMTP id v17-20020a9d7d11000000b0066c33c3e0easf871875otn.11 for ; Thu, 10 Nov 2022 04:47:53 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1668084472; cv=pass; d=google.com; s=arc-20160816; b=jTzrNl+4qqSGmeX9ZSOARE+aJkiqoWKyt03mzKRUpbOGFolbI1Yx+kQ8smwJke7mRU FU3eyUfKePZlBRjO4eTmEFEES1PPsyHTl9x1CwOLx0LVa//n0BibYZnRuI2fwcvVvYNi bIdD7HhFmdglHoO3kaBoSCqEZ7D8xDJgMl/U8TNo1+32aR8GZkR6gLjbDfaIYyWuAQk9 rHUBrGtdjlR7angKUW+KnVHEVnoUY36ID3tBa0KjSuLsqXh174wxQKFNqqsphBy5N2qY N1UwOX6zdkcttcYfUZiP4OnqtuRuNcEPQACubb5LuZijY57vPuQAiMP4a8KKeac7Trxp P5ww== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :list-id:mailing-list:precedence:reply-to:to:subject:message-id:date :from:in-reply-to:references:mime-version:dkim-signature; bh=j1gpr3v01VQxKRN786dPYDuyLtglR7GhlUSjsZvnoU0=; b=YtWOlhd9Ew/TR634LB6nOR7gb2wNMTeLomGLDXCgDswBvA8a4oeAn1GF53HmLGuYyz vSdhCI/4G+PyA5edS8b/MvRDuLOROmnod9zAx2KIVz8vgJLmVJscjgHlTzF3uAYXuIJT L7j1CuFifdiSDd2jBGIL+GPokD/8eju00iRUJEwknqXJ/nNFK/BtRK8ECrse7qOx/4jo UrH3+Els+UGcfqaXp8qSxRFu21BPcZP2wi+M74acntqFdqHukwuCah/UWGrOllQPLsry WMH0krEhqBquXP4JgreEKzgH/4BaqHZpTHcmWUZpxj0NwKQhri64dJX7OUYjsW3PgV2A R92g== ARC-Authentication-Results: i=2; gmr-mx.google.com; dkim=pass header.i=@broadband-forum.org header.s=google header.b=Pf8Lm6L8; spf=pass (google.com: domain of wlupton-QSt+ys/nuMyEUIsrzH9SikB+6BGkLq7r@public.gmane.org designates 2607:f8b0:4864:20::b32 as permitted sender) smtp.mailfrom=wlupton-QSt+ys/nuMyEUIsrzH9SikB+6BGkLq7r@public.gmane.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=broadband-forum.org DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20210112; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :list-id:mailing-list:precedence:reply-to :x-original-authentication-results:x-original-sender:to:subject :message-id:date:from:in-reply-to:references:mime-version:from:to:cc :subject:date:message-id:reply-to; bh=j1gpr3v01VQxKRN786dPYDuyLtglR7GhlUSjsZvnoU0=; b=G8BV0xo2NyrlArt/UiBthnE3PtTmLnvRe9SvQxNy37iSpEkXdqvyZ4DR+bt7kq1mIs EFGtTMjyOZbo6TwHjzpqJJn6UKG3An5zcGd04l+i2e8fG0s+Z0D5JpFxThZpPhMZ3J+g dMJ8MVsFTERe9pP/UFVFg4x3yuZvWkO5LblVxWty7KuWRwqYPOiopgAGnrdtQLyCziZ/ aMQlVzwWYj1jxGtSYZFFqF4fkgIm06Leij42YVUQRmk9uMZqp112AiRIDgTpXSSOFmOa vtoIeyOULShG2wlQRxl6TUPTN6fGCmIndWFxIhXC7DGoO5Pmq1PsorBxi95glNUmIBR3 BW8A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :x-spam-checked-in-group:list-id:mailing-list:precedence:reply-to :x-original-authentication-results:x-original-sender:to:subject :message-id:date:from:in-reply-to:references:mime-version :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=j1gpr3v01VQxKRN786dPYDuyLtglR7GhlUSjsZvnoU0=; b=4Nmxp/KZyqnjVCyO/73ImWj47d7XjB9LmAw8eYJcmwd8rO8JakM1hAnqK8q8aexdXT PiO6lcORwwU8AdTdPW3NOJfQ1AlHqRxIaYY7Ykgmm71DkJrNQXhWR103ngP55knRGn8l Mm6jXO0bIEJ/wMyWKWa3HW7STNX5uMjNrx8zoe+lzZUDs9qY2dbZur9p34iHS5oLtip1 2Cahk7k1gwXM+UOR1cYb16v0I4NZNzVxviD+ZeYtSSo47BwIwiIKOxVTKRWnjU0QkZ0n Lup8MwIDnf+RUd4UnDTi1NWO++BlaOm98Be/8OZViE13V5TRTeQNndEYQNXL6az X-Gm-Message-State: ACrzQf2cPgIxRvjxuc6Wf/M51048R6VLnnqJIcL35AE3BybnzsQpZJwe roAEFUoj3qvd+4bQdjPvB+M= X-Google-Smtp-Source: AMsMyM5eLqwf46FeU6nePhHlCF+cwIZAzmHcoFhhAoHnjD3ZIonclEb+yWKi8a8B29yfEFA5T3H7TQ== X-Received: by 2002:a05:6870:b41b:b0:13b:1a98:6dfe with SMTP id x27-20020a056870b41b00b0013b1a986dfemr45346609oap.170.1668084472084; Thu, 10 Nov 2022 04:47:52 -0800 (PST) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 2002:a05:6870:1aaf:b0:13c:4c86:219f with SMTP id ef47-20020a0568701aaf00b0013c4c86219fls575078oab.7.-pod-prod-gmail; Thu, 10 Nov 2022 04:47:48 -0800 (PST) X-Received: by 2002:a05:6870:e3d1:b0:13c:5f3:c2b3 with SMTP id y17-20020a056870e3d100b0013c05f3c2b3mr1472023oad.4.1668084468871; Thu, 10 Nov 2022 04:47:48 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1668084468; cv=none; d=google.com; s=arc-20160816; b=JZSCd0uBEy52vGGcPu0+awRDwekM9WZNUdg4orZ4ER9zmozAByh7tZDAwvwr+kxvYP TPNZ8YXr4i6Yk8vceZPSge+3clk2dIQTxmQI3nbqitfaS7dk8lwtJehbI+aIbyNKkbcr O6bxgH7UDwCzzSDxA3NNBRZGvnbLe3MPmQYzDj0017o9RHZ7l4OCkzBoPE03Z3VGpEmy vQeNfJl9x6rScCaMHB9DcweDftAz0aLJqPiWhZ0pAcWuscii5arGJVewqGuqN5UiJOaM 4WQnr+E/9s0kq51sakWbttHgYtW3YDxwlCLQSD5qQgxx9FfWgdK6K3VUaVyQxJ2OWc5k SELw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=to:subject:message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=Dj7A7Wl6Djyc8PY9Ry9Sf79kRRrJFVif3rQozZz6ZeE=; b=e5Ie75dS8D9sNhjncYCxcfpmDfVMGBvsaTGmRrpZc6Kebu2BSoF08PXbnQURk64SEH 5zOjxsgYAw1r+KPWX4MdRX+2FpWS2vnWdofyK5gbN10uhpjSVN7xDZWCXnMnmHaG8Xn6 4zWKGwJ+s+mbWfXbS3Xf6bHcvM80/pgpu5Za0V68zX/FjbMhjhGsnNbU39gyrEHG24Pk QJzDGDYrgskywfn7Y9LbxbkswR5MOyRIMDksJlCaeI7ST/CyveBDcHNasRtW+k4mrPw2 kSRNaYkMzAufKJ9o668VjaS8oQO3iutA7cAvus9Wj0Kijw+JGBDT6w8V7D1udEnFss2M Lu5g== ARC-Authentication-Results: i=1; gmr-mx.google.com; dkim=pass header.i=@broadband-forum.org header.s=google header.b=Pf8Lm6L8; spf=pass (google.com: domain of wlupton-QSt+ys/nuMyEUIsrzH9SikB+6BGkLq7r@public.gmane.org designates 2607:f8b0:4864:20::b32 as permitted sender) smtp.mailfrom=wlupton-QSt+ys/nuMyEUIsrzH9SikB+6BGkLq7r@public.gmane.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=broadband-forum.org Original-Received: from mail-yb1-xb32.google.com (mail-yb1-xb32.google.com. [2607:f8b0:4864:20::b32]) by gmr-mx.google.com with ESMTPS id 3-20020a4ae1a3000000b00476ba3a3008si821279ooy.1.2022.11.10.04.47.48 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 10 Nov 2022 04:47:48 -0800 (PST) Received-SPF: pass (google.com: domain of wlupton-QSt+ys/nuMyEUIsrzH9SikB+6BGkLq7r@public.gmane.org designates 2607:f8b0:4864:20::b32 as permitted sender) client-ip=2607:f8b0:4864:20::b32; Original-Received: by mail-yb1-xb32.google.com with SMTP id n85so2207594yba.1 for ; Thu, 10 Nov 2022 04:47:48 -0800 (PST) X-Received: by 2002:a05:6902:1103:b0:6d4:d047:465e with SMTP id o3-20020a056902110300b006d4d047465emr26311796ybu.393.1668084467936; Thu, 10 Nov 2022 04:47:47 -0800 (PST) In-Reply-To: X-Original-Sender: wlupton-QSt+ys/nuMyEUIsrzH9SikB+6BGkLq7r@public.gmane.org X-Original-Authentication-Results: gmr-mx.google.com; dkim=pass header.i=@broadband-forum.org header.s=google header.b=Pf8Lm6L8; spf=pass (google.com: domain of wlupton-QSt+ys/nuMyEUIsrzH9SikB+6BGkLq7r@public.gmane.org designates 2607:f8b0:4864:20::b32 as permitted sender) smtp.mailfrom=wlupton-QSt+ys/nuMyEUIsrzH9SikB+6BGkLq7r@public.gmane.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=broadband-forum.org X-Original-From: William Lupton Precedence: list Mailing-list: list pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org; contact pandoc-discuss+owners-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org List-ID: X-Google-Group-Id: 1007024079513 List-Post: , List-Help: , List-Archive: , List-Unsubscribe: , Xref: news.gmane.io gmane.text.pandoc:31728 Archived-At: --0000000000002ac4dd05ed1d2eb9 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable I've updated the gist by adding utils.lua and updating the README. This should be sufficient for the writer to run without error (please let me know if not). Note that you'll also need to get logging.lua as described, and also note that any generated YAML files will be empty (I didn't want to share my brain-dead YAML writer but there appear to be lua YAML writers out there that might work... anyway you might decide that you don't need the generated YAML... this depends on how you set up the make rules). I don't really want to create a repo for this (well... a gist _is_ a repo!) because I don't want (at this point) to provide any support for it (questions are OK though). I'm providing the gist just as a demo of the approach. Maybe later... On Wed, 9 Nov 2022 at 18:28, William Lupton wrote: > Oh sorry, yes, utils is one of mine! I'll look into this tomorrow... > > On Wed, 9 Nov 2022, 16:03 Lu=C3=ADs de Sousa, > wrote: > >> Thank you very much for sharing, that looks very promising. >> >> Pandoc can't run the script though, says it can't find the utils package= . >> I installed luarocks and with it lua-utils but the error prevails: >> >> $ pandoc multi-test.md -t html-multi-writer.lua -o output/multi-test.htm= l >> Error running Lua: >> html-multi-writer.lua:21: module 'utils' not found: >> no field package.preload['utils'] >> no file '/usr/local/share/lua/5.4/utils.lua' >> no file '/usr/local/share/lua/5.4/utils/init.lua' >> no file '/usr/local/lib/lua/5.4/utils.lua' >> no file '/usr/local/lib/lua/5.4/utils/init.lua' >> no file './utils.lua' >> no file './utils/init.lua' >> no file '/usr/local/lib/lua/5.4/utils.so' >> no file '/usr/local/lib/lua/5.4/loadall.so' >> no file './utils.so' >> stack traceback: >> html-multi-writer.lua:21: in main chunk >> >> P.S.: would you consider creating a repository for this work? I would >> like to automate the second stage with bash, shouldn't be too hard. >> >> On Monday, 7 November 2022 at 15:46:58 UTC+1 wlu...-QSt+ys/nuMyEUIsrzH9SikB+6BGkLq7r@public.gmane.org >> wrote: >> >>> I've created this gist: >>> https://gist.github.com/wlupton/2fc23fc1c4e4b4899121bfafc0fea4bf >>> >>> I added a README.md and hope that there's enough info to get going. >>> Please let me know if not. >>> >>> (Please note that this writer does some other things too, which might >>> need to be stripped out. Also, it's an old-style writer... I haven't go= t >>> around to updating it yet,) >>> >>> On Mon, 7 Nov 2022 at 09:22, Lu=C3=ADs de Sousa = wrote: >>> >>>> Hi there. That is precisely the kind of output I would like to have. >>>> Similar to what tools like mdBook produce. I would be glad if you coul= d >>>> share more details on that custom writer. >>>> >>>> Thank you and regards. >>>> >>>> On Friday, 4 November 2022 at 17:51:24 UTC+1 wlu...-QSt+ys/nuMyEUIsrzH9SisXa4x6EXUF0@public.gmane.org= g >>>> wrote: >>>> >>>>> See https://usp.technology/specification for an example of how the >>>>> Broadband Forum has recently been publishing some specs. This output = is >>>>> generated via an html-multi-writer.lua custom writer that contains th= e >>>>> logic for splitting the output into multiple files (based on header l= evel >>>>> and/or specific classes). The writer also takes care of generating th= e >>>>> navigation bar that you see at the top and bottom of the pages. The >>>>> multiple files are then passed through pandoc again (to add the overa= ll >>>>> sidebar ToC and the top/bottom navigation bars, and to generate multi= ple >>>>> standalone docs). >>>>> >>>>> Please let me know if you'd like more details (the overall setup is >>>>> not very easily shareable, because it's heavily dependent on >>>>> rather complicated make rules, but I could probably share the custom = writer >>>>> and give some example command lines.) >>>>> >>>>> On Fri, 4 Nov 2022 at 12:45, Lu=C3=ADs de Sousa >>>>> wrote: >>>>> >>>>>> Dear all, >>>>>> >>>>>> I am currently working on a long document that must served as a web >>>>>> page. The single file output is becoming too slow and cumbersome for >>>>>> readers. I am aware this functionality is not available, but a Featu= re >>>>>> Request is open [0]. >>>>>> >>>>>> In that issue there are some hints to this issue being addressable >>>>>> with a template [1]. I have tried many HTML templates, but never see= n one >>>>>> that would split a long document in a set of small files. Would ther= e be an >>>>>> example somewhere I could follow? Otherwise, could someone provide a >>>>>> general idea of how such template would function? >>>>>> >>>>>> Thank you. >>>>>> >>>>>> [0] https://github.com/jgm/pandoc/issues/6122 >>>>>> >>>>>> [1] https://github.com/jgm/pandoc/issues/6122#issuecomment-583593340 >>>>>> >>>>>> -- >>>>>> You received this message because you are subscribed to the Google >>>>>> Groups "pandoc-discuss" group. >>>>>> To unsubscribe from this group and stop receiving emails from it, >>>>>> send an email to pandoc-discus...-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org >>>>>> To view this discussion on the web visit >>>>>> https://groups.google.com/d/msgid/pandoc-discuss/264eeee0-68c8-4389-= a5c5-12563c6926f6n%40googlegroups.com >>>>>> >>>>>> . >>>>>> >>>>> -- >>>> You received this message because you are subscribed to the Google >>>> Groups "pandoc-discuss" group. >>>> To unsubscribe from this group and stop receiving emails from it, send >>>> an email to pandoc-discus...-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org >>>> >>> To view this discussion on the web visit >>>> https://groups.google.com/d/msgid/pandoc-discuss/cb3753d7-e845-4a72-a1= aa-e93086a32f11n%40googlegroups.com >>>> >>>> . >>>> >>> -- >> You received this message because you are subscribed to the Google Group= s >> "pandoc-discuss" group. >> To unsubscribe from this group and stop receiving emails from it, send a= n >> email to pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org >> To view this discussion on the web visit >> https://groups.google.com/d/msgid/pandoc-discuss/1ef6858a-0a37-4f5f-a88b= -eff2479a8130n%40googlegroups.com >> >> . >> > --=20 You received this message because you are subscribed to the Google Groups "= pandoc-discuss" group. To unsubscribe from this group and stop receiving emails from it, send an e= mail to pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To view this discussion on the web visit https://groups.google.com/d/msgid/= pandoc-discuss/CAEe_xxiri0e6LHPZdxkjazM8nFU4cuA2FLL3UZ71-w4ro3WvYA%40mail.g= mail.com. --0000000000002ac4dd05ed1d2eb9 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
I've updated the gist by adding utils.lua and updating= the README. This should be sufficient for the writer to run without error = (please let me know if not).

Note that you'll also n= eed to get logging.lua as described, and also note that any generated YAML = files will be empty=C2=A0(I didn't want to share my brain-dead YAML wri= ter but there appear to be lua YAML writers out there that might work... an= yway you might decide that you don't need the generated YAML... this de= pends on how you set up the make rules).

I don'= ;t really want to create a repo for this (well... a gist _is_ a repo!) beca= use I don't want (at this point) to provide any support for it (questio= ns are OK though). I'm providing the gist just as a demo of the approac= h. Maybe later...

On Wed, 9 Nov 2022 at 18:28, = William Lupton <wlupton-QSt+ys/nuMyEUIsrzH9SikB+6BGkLq7r@public.gmane.org> wrote:
Oh sorry, yes, utils = is one of mine! I'll look into this tomorrow...

On Wed, 9 Nov 2022, 16:0= 3 Lu=C3=ADs de Sousa, <luis.a.de.sousa-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:
Thank you very much for sharing, tha= t looks very promising.

Pandoc can't run the script = though, says it can't find the utils package. I installed luarocks and = with it lua-utils but the error prevails:

$ pandoc= multi-test.md -t html-multi-writer.lua -o output/multi-test.html
Error = running Lua:
html-multi-writer.lua:21: module 'utils' not found:=
=C2=A0 =C2=A0 no field package.preload['utils']
=C2=A0 =C2= =A0 no file '/usr/local/share/lua/5.4/utils.lua'
=C2=A0 =C2=A0 n= o file '/usr/local/share/lua/5.4/utils/init.lua'
=C2=A0 =C2=A0 n= o file '/usr/local/lib/lua/5.4/utils.lua'
=C2=A0 =C2=A0 no file = '/usr/local/lib/lua/5.4/utils/init.lua'
=C2=A0 =C2=A0 no file &#= 39;./utils.lua'
=C2=A0 =C2=A0 no file './utils/init.lua'
= =C2=A0 =C2=A0 no file '/usr/local/lib/lua/5.4/utils.so'
=C2=A0 = =C2=A0 no file '/usr/local/lib/lua/5.4/loadall.so'
=C2=A0 =C2=A0= no file './utils.so'
stack traceback:
=C2=A0 =C2=A0 html-mul= ti-writer.lua:21: in main chunk

P.S.: would you consider = creating a repository for this work? I would like to automate the second st= age with bash, shouldn't be too hard.

On Monday, 7 November = 2022 at 15:46:58 UTC+1 wlu...-QSt+ys/nuMyEUIsrzH9SikB+6BGkLq7r@public.gmane.org wrote:
I'= ;ve created this gist:=C2=A0https://gist.github.com/wlupton/2fc23fc1c4e4b4899121bfafc0fea4bf
<= br>
I added a README.md and hope that there's enough info to = get going. Please=C2=A0let me know if not.

(Please= note that this writer does some other things too, which might need to be s= tripped out. Also, it's an old-style writer... I haven't got around= to updating it yet,)

On Mon, 7 Nov 2= 022 at 09:22, Lu=C3=ADs de Sousa <luis.a.= ...@gmail.com> wrote:
Hi there. That is precisely t= he kind of output I would like to have. Similar to what tools like mdBook p= roduce. I would be glad if you could share more details on that custom writ= er.

Thank you and regards.

On Friday, 4 November 2022 at 1= 7:51:24 UTC+1 wlu...-QSt+ys/nuMyEUIsrzH9SikB+6BGkLq7r@public.gmane.org= wrote:
See=C2=A0https://usp.technology/specifica= tion for an example of how the Broadband Forum has recently been publis= hing some specs. This output is generated via an html-multi-writer.lua cust= om writer that contains the logic for splitting the output into multiple fi= les (based on header level and/or specific classes). The writer also takes = care of generating the navigation bar that you see at the top and bottom of= the pages. The multiple files are then passed through pandoc again (to add= the overall sidebar ToC and the top/bottom navigation=C2=A0bars, and to ge= nerate multiple standalone docs).

Please let me kn= ow if you'd like more details=C2=A0(the overall setup is not very easil= y shareable, because it's heavily dependent on rather=C2=A0complicated = make rules, but I could probably share the=C2=A0custom writer and give some= example command=C2=A0lines.)

On Fri,= 4 Nov 2022 at 12:45, Lu=C3=ADs de Sousa <luis.a....-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:
Dear all,

I am currently working on a long document that must served as a web= page. The single file output is becoming too slow and cumbersome for reade= rs. I am aware this functionality is not available, but a Feature Request i= s open [0].=C2=A0

In that issue there are some hin= ts to this issue being addressable with a template [1]. I have tried many H= TML templates, but never seen one that would split a long document in a set= of small files. Would there be an example somewhere I could follow? Otherw= ise, could someone provide a general idea of how such template would functi= on?

Thank you.

[0]=C2=A0<= a href=3D"https://github.com/jgm/pandoc/issues/6122" rel=3D"nofollow norefe= rrer" target=3D"_blank">https://github.com/jgm/pandoc/issues/6122
=

--
You received this message because you are subscribed to the Google Groups &= quot;pandoc-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an e= mail to pandoc-discus...-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
To view this discussion on the web visit
https://groups.google.com/d/msgid/pandoc-discuss/264= eeee0-68c8-4389-a5c5-12563c6926f6n%40googlegroups.com.

--
You received this message because you are subscribed to the Google Groups &= quot;pandoc-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an e= mail to pandoc-discus...-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.

--
You received this message because you are subscribed to the Google Groups &= quot;pandoc-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an e= mail to pandoc-discuss+unsubscribe@googlegroups.c= om.
To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/1ef6858a-0a3= 7-4f5f-a88b-eff2479a8130n%40googlegroups.com.

--
You received this message because you are subscribed to the Google Groups &= quot;pandoc-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an e= mail to pand= oc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
To view this discussion on the web visit https://groups.= google.com/d/msgid/pandoc-discuss/CAEe_xxiri0e6LHPZdxkjazM8nFU4cuA2FLL3UZ71= -w4ro3WvYA%40mail.gmail.com.
--0000000000002ac4dd05ed1d2eb9--