From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/31766 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: =?UTF-8?Q?Lu=C3=ADs_de_Sousa?= Newsgroups: gmane.text.pandoc Subject: Re: Multiple HTML file (chunked) output with template Date: Thu, 17 Nov 2022 06:36:10 -0800 (PST) Message-ID: <0a29b118-ae0f-448f-8e3e-39cc96ef5d8an@googlegroups.com> References: <264eeee0-68c8-4389-a5c5-12563c6926f6n@googlegroups.com> <1ef6858a-0a37-4f5f-a88b-eff2479a8130n@googlegroups.com> <539db8b9-47f4-43b8-83d1-4b4c99dc3b3fn@googlegroups.com> <7f4b28ec-1e91-4228-ab03-fe58a2e5cf18n@googlegroups.com> <5e290d88-1c47-407d-819b-34a094d8b48fn@googlegroups.com> <20b2a20b-69ad-4b93-863a-c70db01d45een@googlegroups.com> Reply-To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_Part_1502_1374511162.1668695770624" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="27981"; mail-complaints-to="usenet@ciao.gmane.io" To: pandoc-discuss Original-X-From: pandoc-discuss+bncBCOZLZGK4QDBBXEN3GNQMGQENQPZFKI-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Thu Nov 17 15:36:16 2022 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane-mx.org Original-Received: from mail-oo1-f57.google.com ([209.85.161.57]) by ciao.gmane.io with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1ovfzz-00073b-W6 for gtp-pandoc-discuss@m.gmane-mx.org; Thu, 17 Nov 2022 15:36:16 +0100 Original-Received: by mail-oo1-f57.google.com with SMTP id g28-20020a4a251c000000b0049c515643ecsf992434ooa.14 for ; Thu, 17 Nov 2022 06:36:15 -0800 (PST) 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-sender :mime-version:subject:references:in-reply-to:message-id:to:from:date :sender:from:to:cc:subject:date:message-id:reply-to; bh=+h2pNWyG8+SR4cPfJhc6dxSjB7SQSgICZkgVRXN+E3Q=; b=eTLcsBp3MFS70rarOHJqXvM58gpths8d5/T9PTjbtdkN+f5ECyCixYCkKdQQ+3tW2e 5OQNTUUNqFnwgo1GXFGviNrY7YeGe8bu1st/D/JyZzE9CtFQvWhg/PJF4m2HtRKjKc24 ZD5cnTZCD3IhHnsM83FABVceY5OyDVMxBelzFe78hC1dn/osa2oQ2aZBI2Jwxqm8zklU b7U88aNEwVFYcxe1cXyyl6TFqm+u0kkV7TrNPjkFEwO75GETuXT7FXCRPvulylWfL9Th t4h6hjYWNpJAGTQHVNG+yUTBGXXmApR51FbLdi7dP8kRneqjcyKKnta8sl6x5gTr9JbC eugg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :list-id:mailing-list:precedence:reply-to:x-original-sender :mime-version:subject:references:in-reply-to:message-id:to:from:date :from:to:cc:subject:date:message-id:reply-to; bh=+h2pNWyG8+SR4cPfJhc6dxSjB7SQSgICZkgVRXN+E3Q=; b=APlo7jZd50zSAWO9XRsMCY6Cn5RP6TpeOd43oBYoBRuQSwZXaMNKOSIwx1R8vletn4 sARtLmZg+nvMiP7s9UtJUvrSjIbjloGVv1iV56DEd7LAlWnfiM4AuU+VJW384sQuUjVx KypUxtnjeHqDRS1AuQEVEeF3KYOlIRj1FZx/YkMeNL0oynYekhkIt/s2wGkUwR9CYu/Q Mj9IJrb5B3Lhp7oeALZ8qWLw7wpM67YfnsMt8J/lqSc18QYO9+WDnGqfrReAAR1c2eu9 MT+ZxWXMiTGGLbHHbniXs6fIkSpR/n1VLLwDyqimVIb66E+lwVBMIiFM3+wDOYi9nE7J Geag== 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-sender:mime-version:subject:references:in-reply-to :message-id:to:from:date:x-gm-message-state:sender:from:to:cc :subject:date:message-id:reply-to; bh=+h2pNWyG8+SR4cPfJhc6dxSjB7SQSgICZkgVRXN+E3Q=; b=japPvy3NgqXeQqWxkmrqHcTthpi1Z0PsgmlKiKJVvtwhLBcBbTXoofwb/VGzCx3X0h C+3WaYVcxdOV+Kc8LXF4nmpsA6A6D5eDg34vlAHkHdwUyXS9Gna6HF16D5VnMk5zU8jQ ZK904IaST+AChoOWPCJvl1kGJny2bg5jeTeViL1G3v0wYM1Kt3BLYzMXKyKeMUDokLvo QkrujJh4sWp2/UBvqTBcSvcRedmXuCy8PBgkOQsiWCyCsQQPECg6/VNNII/iRD2FFXTf KNeqCDe6NiTfaSP+nYe5IUS/wcOxqUk3nsbZ8yRsmz0uNNLf8orKUNjXi7P1PGTnVRom V+zA== Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Gm-Message-State: ANoB5pk3lwzwWKS+ovzm8ISoxJlfbBg2O1N6ft1AyBf1AI2mF4dm5PMW o9c/rCyEo3h2oaYN1USCDqM= X-Google-Smtp-Source: AA0mqf76rpagQwyv8a4d3qxFGJ4dN8XXvt1VQHkcBa4wjbhRFs0zvkGb7Yjhr3kx+FaBLUBcakZEwA== X-Received: by 2002:a05:6830:3498:b0:66d:8a3d:e2e9 with SMTP id c24-20020a056830349800b0066d8a3de2e9mr1591862otu.94.1668695774392; Thu, 17 Nov 2022 06:36:14 -0800 (PST) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 2002:a05:6808:181c:b0:35a:6687:ef26 with SMTP id bh28-20020a056808181c00b0035a6687ef26ls604902oib.4.-pod-prod-gmail; Thu, 17 Nov 2022 06:36:11 -0800 (PST) X-Received: by 2002:a05:6808:8f6:b0:35a:ce21:ecf0 with SMTP id d22-20020a05680808f600b0035ace21ecf0mr1356197oic.10.1668695771428; Thu, 17 Nov 2022 06:36:11 -0800 (PST) In-Reply-To: X-Original-Sender: Luis.A.de.Sousa-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org 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:31766 Archived-At: ------=_Part_1502_1374511162.1668695770624 Content-Type: multipart/alternative; boundary="----=_Part_1503_1531946829.1668695770624" ------=_Part_1503_1531946829.1668695770624 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hi again Will, I managed to get a well formatted output with a few tweaks to the CSS in=20 the repo. However, I need to add the references to CSS files by hand. I=20 understand this might be beyond the original scope of this thread, but what= =20 is the canonical method to automatically include these files in the pandoc= =20 compilation? If that is possible. Thank you. On Wednesday, 16 November 2022 at 10:25:37 UTC+1 wlu...-QSt+ys/nuMyEUIsrzH9SikB+6BGkLq7r@public.gmane.org= =20 wrote: > Probably, yes! > > The details depend on the template variable values (and on the CSS too of= =20 > course; for example, the "sidebar" ToC is all done using CSS). > > If you go to the example that I gave earlier ( > https://usp.technology/specification) and then to corresponding place in= =20 > the GitHub repo ( > https://github.com/BroadbandForum/usp/tree/master/docs/specification) you= =20 > can see all the final products, including the CSS. > > On Wed, 16 Nov 2022 at 08:32, Lu=C3=ADs de Sousa w= rote: > >> Hello again. I am now certain the template is being applied as you=20 >> showed. However the output page is in all similar to the default, same= =20 >> font, colours and the absence of a TOC (a screen capture of the two side= by=20 >> side is attached). I was expecting to see something more akin to what yo= u=20 >> pointed to upthread and thought it was not functioning:=20 >> https://usp.technology/specification . So I would just ask you to=20 >> confirm the output in the screen capture is the expected. >> >> Thank you. >> >> On Tuesday, 15 November 2022 at 19:29:14 UTC+1 wlu...-QSt+ys/nuMyEUIsrzH9SisXa4x6EXUF0@public.gmane.org= g=20 >> wrote: >> >>> Well not really, apart from using a very simple input file. See below= =20 >>> for an example (I've downloaded the template from the gist to=20 >>> github-template-gist.html and put it in the current directory). >>> >>> I'm wondering whether your problem might be that you're not supplying= =20 >>> the needed metadata, so it _looks_ as though it's using the default=20 >>> template but in fact it isn't. I hope that you noted this comment in th= e=20 >>> README: >>> >>> - This is intended as a demo just to show the approach. It is not=20 >>> likely to be directly usable. In particular, all generated YAML file= s will=20 >>> currently be empty. >>> >>> Have you tried editing the template, e.g., to insert some arbitrary=20 >>> HTML, so you can be absolutely sure whether it's being used or not? >>> >>> % cat temp.md >>> Document. >>> >>> % pandoc temp.md=20 >>>

Document.

>>> >>> % pandoc -s temp.md -o temp-default.html >>> [WARNING] This document format requires a nonempty element. >>> Defaulting to 'temp' as the title. >>> To specify a title, use 'title' in metadata or --metadata title=3D"..= .". >>> >>> % pandoc -s --template github-template-gist.html temp.md -o=20 >>> temp-github.html >>> [WARNING] This document format requires a nonempty <title> element. >>> Defaulting to 'temp' as the title. >>> To specify a title, use 'title' in metadata or --metadata title=3D"..= .". >>> >>> % diff -w temp-default.html temp-github.html=20 >>> 1a2 >>> > <!-- ORGANIZATION GitHub Pages pandoc template; modified from=20 >>> default.html template --> >>> 164a166 >>> > <!-- XXX header includes are included just before the ToC (below) -= -> >>> 165a168 >>> >=20 >>> 166a170,182 >>> > <section class=3D"page-header"> >>> > <h1 class=3D"project-name"> >>> > <a href=3D"" style=3D"text-decoration: none; color: white;"> >>> > <img src=3D"bbflogo-reverse-dark.png"/><br> >>> > =20 >>> > </a> >>> > </h1> >>> > <h2 class=3D"project-tagline"></h2> >>> > <p></p> >>> > <p></p> >>> > </section> >>> >=20 >>> > <section class=3D"main-content"> >>> 167a184,194 >>> > <div style=3D"clear: both;"/> >>> > <footer class=3D"site-footer"> >>> > <span class=3D"site-footer-owner"> >>> > </span> >>> > <span class=3D"site-footer-credits"> >>> > This page was generated by <a href=3D"https://pandoc.org >>> ">pandoc</a> >>> > and <a href=3D"https://pages.github.com">GitHub Pages</a>. >>> > <span class=3D"release"/> >>> > </span> >>> > </footer> >>> > </section> >>> >>> On Tue, 15 Nov 2022 at 15:54, Lu=C3=ADs de Sousa <luis.a....-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>= =20 >>> wrote: >>> >>>> Hi again Will, sorry for bothering you further. I so far failed to get= =20 >>>> the template to work. I tried to add it to the data folder=20 >>>> ($HOME/.local/share/pandoc/templates/) but still nothing. Looks like t= he=20 >>>> default template is being applied no matter what. For instance, none o= f the=20 >>>> meta predicates in the head section ever make it to the final HTML.=20 >>>> >>>> Would you have any suggestion to debug this issue? >>>> >>>> Thank you. >>>> >>>> On Friday, 11 November 2022 at 15:30:17 UTC+1=20 >>>> wlu...-QSt+ys/nuMyEUIsrzH9SikB+6BGkLq7r@public.gmane.org wrote: >>>> >>>>> Inline... >>>>> >>>>> On Fri, 11 Nov 2022 at 14:01, Lu=C3=ADs de Sousa <luis.a....-Re5JQEeQqe8@public.gmane.org= m>=20 >>>>> wrote: >>>>> >>>>>> Alright, it is working now, many thanks. The output HTML looks prett= y=20 >>>>>> solid and well linked. Two questions:=20 >>>>> >>>>> >>>>> Great! >>>>> >>>>> 1. What is the purpose of the /dev/null bit in the second compile=20 >>>>>> command? >>>>>> >>>>> >>>>> That's what this remark in the README is referring to (rather=20 >>>>> obliquely): >>>>> >>>>> > Including the HTML via --include-in-header was a workaround I think= ,=20 >>>>> and might no longer be necessary. >>>>> >>>>> I think there was a problem with parsing HTML at one point, and this= =20 >>>>> was a way of injecting HTML without passing it through pandoc. >>>>> =20 >>>>> >>>>>> 2. Could you share an HTML template? It would greatly facilitate the= =20 >>>>>> design work. >>>>>> >>>>> >>>>> I've added github-template.html=20 >>>>> <https://gist.github.com/wlupton/2fc23fc1c4e4b4899121bfafc0fea4bf#fil= e-github-template-html> (somewhat=20 >>>>> anonymised) to the gist. >>>>> >>>>> Next I will give it a try with a more elaborate document including=20 >>>>>> cross-references, citations, etc. Will report back on that. >>>>>> >>>>> >>>>> You'll probably have noted that the writer attempts to fix=20 >>>>> cross-references so they reference the correct output file.=20 >>>>> >>>>> Regards. >>>>>> >>>>>> On Friday, 11 November 2022 at 13:58:28 UTC+1=20 >>>>>> wlu...-QSt+ys/nuMyEUIsrzH9SikB+6BGkLq7r@public.gmane.org wrote: >>>>>> >>>>>>> Oh, I'm so sorry! I hadn't tested exactly what I gave you (I'd put= =20 >>>>>>> the contents of utils.lua into the writer for testing, but then put= it into=20 >>>>>>> a new file to share with you, so the writer didn't need to change),= but I=20 >>>>>>> forgot to put 'return utils' at the bottom. >>>>>>> >>>>>>> I've now added this line:=20 >>>>>>> https://gist.github.com/wlupton/2fc23fc1c4e4b4899121bfafc0fea4bf#fi= le-utils-lua-L51=20 >>>>>>> and this time I've tested it locally. Please try again. >>>>>>> >>>>>>> On Fri, 11 Nov 2022 at 12:33, Lu=C3=ADs de Sousa <luis.a....@gmail.= com>=20 >>>>>>> wrote: >>>>>>> >>>>>>>> Hello again. I confirm those are the contents in line 38. I assume= =20 >>>>>>>> utils.lua is being found, line 21 is now being parsed without err= or.=20 >>>>>>>> Anything else I can try?=20 >>>>>>>> >>>>>>>> Thank you. >>>>>>>> >>>>>>>> On Thursday, 10 November 2022 at 18:06:06 UTC+1=20 >>>>>>>> wlu...-QSt+ys/nuMyEUIsrzH9SikB+6BGkLq7r@public.gmane.org wrote: >>>>>>>> >>>>>>>>> can you confirm what's in line 38 of the writer? if you haven't= =20 >>>>>>>>> edited the file then it's this=20 >>>>>>>>> <https://gist.github.com/wlupton/2fc23fc1c4e4b4899121bfafc0fea4bf= #file-html-multi-writer-lua-L38> >>>>>>>>> : >>>>>>>>> >>>>>>>>> local output_file_dir, output_file_base =3D=20 >>>>>>>>> utils.path.split(output_file) >>>>>>>>> >>>>>>>>> can you confirm that you've also copied utils.lua and that it's= =20 >>>>>>>>> being found? it should be calling the function at this line:=20 >>>>>>>>> https://gist.github.com/wlupton/2fc23fc1c4e4b4899121bfafc0fea4bf#= file-utils-lua-L31 >>>>>>>>> >>>>>>>>> >>>>>>>>> On Thu, 10 Nov 2022 at 16:36, Lu=C3=ADs de Sousa <luis.a....@gmai= l.com>=20 >>>>>>>>> wrote: >>>>>>>>> >>>>>>>>>> Thank you once more for keeping this going. I made some progress= =20 >>>>>>>>>> but now there is an error with html-multi-writer.lua itself (log= below). I=20 >>>>>>>>>> never worked with Lua before, apologies if I am making something= dumb. >>>>>>>>>> >>>>>>>>>> $ wget=20 >>>>>>>>>> https://raw.githubusercontent.com/wlupton/pandoc-lua-logging/mai= n/logging.lua >>>>>>>>>> --2022-11-10 17:28:08-- =20 >>>>>>>>>> https://raw.githubusercontent.com/wlupton/pandoc-lua-logging/mai= n/logging.lua >>>>>>>>>> Resolving raw.githubusercontent.com (raw.githubusercontent.com).= ..=20 >>>>>>>>>> 185.199.111.133, 185.199.108.133, 185.199.110.133, ... >>>>>>>>>> Connecting to raw.githubusercontent.com ( >>>>>>>>>> raw.githubusercontent.com)|185.199.111.133|:443... connected. >>>>>>>>>> HTTP request sent, awaiting response... 200 OK >>>>>>>>>> Length: 8173 (8,0K) [text/plain] >>>>>>>>>> Saving to: =E2=80=98logging.lua=E2=80=99 >>>>>>>>>> >>>>>>>>>> logging.lua 100%[=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D>] =20 >>>>>>>>>> 7,98K --.-KB/s in 0s >>>>>>>>>> >>>>>>>>>> 2022-11-10 17:28:08 (42,0 MB/s) - =E2=80=98logging.lua=E2=80=99 = saved [8173/8173] >>>>>>>>>> >>>>>>>>>> $ mkdir -p $HOME/.local/share/pandoc/filters >>>>>>>>>> $ mv logging.lua $HOME/.local/share/pandoc/filters >>>>>>>>>> $ export LUA_PATH=3D"$HOME/.local/share/pandoc/filters/?.lua;;" >>>>>>>>>> $ pandoc multi-test.md -t html-multi-writer.lua -o=20 >>>>>>>>>> output/multi-test.html >>>>>>>>>> Error running Lua: >>>>>>>>>> html-multi-writer.lua:38: attempt to index a boolean value (loca= l=20 >>>>>>>>>> 'utils') >>>>>>>>>> stack traceback: >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> On Thursday, 10 November 2022 at 13:47:52 UTC+1=20 >>>>>>>>>> wlu...-QSt+ys/nuMyEUIsrzH9SikB+6BGkLq7r@public.gmane.org wrote: >>>>>>>>>> >>>>>>>>>>> I've updated the gist by adding utils.lua and updating the=20 >>>>>>>>>>> README. This should be sufficient for the writer to run without= error=20 >>>>>>>>>>> (please let me know if not). >>>>>>>>>>> >>>>>>>>>>> Note that you'll also need to get logging.lua as described, and= =20 >>>>>>>>>>> also note that any generated YAML files will be empty (I didn't= want to=20 >>>>>>>>>>> share my brain-dead YAML writer but there appear to be lua YAML= writers out=20 >>>>>>>>>>> there that might work... anyway you might decide that you don't= need the=20 >>>>>>>>>>> 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= =20 >>>>>>>>>>> _is_ a repo!) because I don't want (at this point) to provide a= ny support=20 >>>>>>>>>>> for it (questions are OK though). I'm providing the gist just a= s a demo of=20 >>>>>>>>>>> the approach. Maybe later... >>>>>>>>>>> >>>>>>>>>>> On Wed, 9 Nov 2022 at 18:28, William Lupton < >>>>>>>>>>> wlu...-QSt+ys/nuMyEUIsrzH9SikB+6BGkLq7r@public.gmane.org> wrote: >>>>>>>>>>> >>>>>>>>>>>> Oh sorry, yes, utils is one of mine! I'll look into this=20 >>>>>>>>>>>> tomorrow... >>>>>>>>>>>> >>>>>>>>>>>> On Wed, 9 Nov 2022, 16:03 Lu=C3=ADs de Sousa, <luis.a....@gmai= l.com>=20 >>>>>>>>>>>> wrote: >>>>>>>>>>>> >>>>>>>>>>>>> Thank you very much for sharing, that looks very promising. >>>>>>>>>>>>> >>>>>>>>>>>>> Pandoc can't run the script though, says it can't find the=20 >>>>>>>>>>>>> utils package. I installed luarocks and with it lua-utils but= the error=20 >>>>>>>>>>>>> prevails: >>>>>>>>>>>>> >>>>>>>>>>>>> $ pandoc multi-test.md -t html-multi-writer.lua -o=20 >>>>>>>>>>>>> output/multi-test.html >>>>>>>>>>>>> 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?= =20 >>>>>>>>>>>>> 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=20 >>>>>>>>>>>>> wlu...-QSt+ys/nuMyEUIsrzH9SikB+6BGkLq7r@public.gmane.org wrote: >>>>>>>>>>>>> >>>>>>>>>>>>>> I've created this gist:=20 >>>>>>>>>>>>>> https://gist.github.com/wlupton/2fc23fc1c4e4b4899121bfafc0fe= a4bf >>>>>>>>>>>>>> >>>>>>>>>>>>>> I added a README.md and hope that there's enough info to get= =20 >>>>>>>>>>>>>> going. Please let me know if not. >>>>>>>>>>>>>> >>>>>>>>>>>>>> (Please note that this writer does some other things too,=20 >>>>>>>>>>>>>> which might need to be stripped out. Also, it's an old-style= writer... I=20 >>>>>>>>>>>>>> haven't got around to updating it yet,) >>>>>>>>>>>>>> >>>>>>>>>>>>>> On Mon, 7 Nov 2022 at 09:22, Lu=C3=ADs de Sousa < >>>>>>>>>>>>>> luis.a....-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: >>>>>>>>>>>>>> >>>>>>>>>>>>>>> Hi there. That is precisely the kind of output I would like= =20 >>>>>>>>>>>>>>> to have. Similar to what tools like mdBook produce. I would= be glad if you=20 >>>>>>>>>>>>>>> could share more details on that custom writer. >>>>>>>>>>>>>>> >>>>>>>>>>>>>>> Thank you and regards. >>>>>>>>>>>>>>> >>>>>>>>>>>>>>> On Friday, 4 November 2022 at 17:51:24 UTC+1=20 >>>>>>>>>>>>>>> wlu...-QSt+ys/nuMyEUIsrzH9SikB+6BGkLq7r@public.gmane.org wrote: >>>>>>>>>>>>>>> >>>>>>>>>>>>>>>> See https://usp.technology/specification for an example of= =20 >>>>>>>>>>>>>>>> how the Broadband Forum has recently been publishing some = specs. This=20 >>>>>>>>>>>>>>>> output is generated via an html-multi-writer.lua custom wr= iter that=20 >>>>>>>>>>>>>>>> contains the logic for splitting the output into multiple = files (based on=20 >>>>>>>>>>>>>>>> header level and/or specific classes). The writer also tak= es care of=20 >>>>>>>>>>>>>>>> generating the navigation bar that you see at the top and = bottom of the=20 >>>>>>>>>>>>>>>> pages. The multiple files are then passed through pandoc a= gain (to add the=20 >>>>>>>>>>>>>>>> overall sidebar ToC and the top/bottom navigation bars, an= d to generate=20 >>>>>>>>>>>>>>>> multiple standalone docs). >>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>> Please let me know if you'd like more details (the overall= =20 >>>>>>>>>>>>>>>> setup is not very easily shareable, because it's heavily d= ependent on=20 >>>>>>>>>>>>>>>> rather complicated make rules, but I could probably share = the custom writer=20 >>>>>>>>>>>>>>>> and give some example command lines.) >>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>> 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 serve= d=20 >>>>>>>>>>>>>>>>> as a web page. The single file output is becoming too slo= w and cumbersome=20 >>>>>>>>>>>>>>>>> for readers. I am aware this functionality is not availab= le, but a Feature=20 >>>>>>>>>>>>>>>>> Request is open [0].=20 >>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>> In that issue there are some hints to this issue being=20 >>>>>>>>>>>>>>>>> addressable with a template [1]. I have tried many HTML t= emplates, but=20 >>>>>>>>>>>>>>>>> never seen one that would split a long document in a set = of small files.=20 >>>>>>>>>>>>>>>>> Would there be an example somewhere I could follow? Other= wise, could=20 >>>>>>>>>>>>>>>>> someone provide a general idea of how such template would= function? >>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>> Thank you. >>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>> [0] https://github.com/jgm/pandoc/issues/6122 >>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>> [1]=20 >>>>>>>>>>>>>>>>> https://github.com/jgm/pandoc/issues/6122#issuecomment-58= 3593340 >>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>> --=20 >>>>>>>>>>>>>>>>> You received this message because you are subscribed to= =20 >>>>>>>>>>>>>>>>> the Google Groups "pandoc-discuss" group. >>>>>>>>>>>>>>>>> To unsubscribe from this group and stop receiving emails= =20 >>>>>>>>>>>>>>>>> from it, send an email to=20 >>>>>>>>>>>>>>>>> pandoc-discus...-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org >>>>>>>>>>>>>>>>> To view this discussion on the web visit=20 >>>>>>>>>>>>>>>>> https://groups.google.com/d/msgid/pandoc-discuss/264eeee0= -68c8-4389-a5c5-12563c6926f6n%40googlegroups.com=20 >>>>>>>>>>>>>>>>> <https://groups.google.com/d/msgid/pandoc-discuss/264eeee= 0-68c8-4389-a5c5-12563c6926f6n%40googlegroups.com?utm_medium=3Demail&utm_so= urce=3Dfooter> >>>>>>>>>>>>>>>>> . >>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>> --=20 >>>>>>>>>>>>>>> You received this message because you are subscribed to the= =20 >>>>>>>>>>>>>>> Google Groups "pandoc-discuss" group. >>>>>>>>>>>>>>> To unsubscribe from this group and stop receiving emails=20 >>>>>>>>>>>>>>> from it, send an email to pandoc-discus...-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org= . >>>>>>>>>>>>>>> >>>>>>>>>>>>>> To view this discussion on the web visit=20 >>>>>>>>>>>>>>> https://groups.google.com/d/msgid/pandoc-discuss/cb3753d7-e= 845-4a72-a1aa-e93086a32f11n%40googlegroups.com=20 >>>>>>>>>>>>>>> <https://groups.google.com/d/msgid/pandoc-discuss/cb3753d7-= e845-4a72-a1aa-e93086a32f11n%40googlegroups.com?utm_medium=3Demail&utm_sour= ce=3Dfooter> >>>>>>>>>>>>>>> . >>>>>>>>>>>>>>> >>>>>>>>>>>>>> --=20 >>>>>>>>>>>>> You received this message because you are subscribed to the= =20 >>>>>>>>>>>>> Google Groups "pandoc-discuss" group. >>>>>>>>>>>>> To unsubscribe from this group and stop receiving emails from= =20 >>>>>>>>>>>>> it, send an email to pandoc-discus...-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org >>>>>>>>>>>>> To view this discussion on the web visit=20 >>>>>>>>>>>>> https://groups.google.com/d/msgid/pandoc-discuss/1ef6858a-0a3= 7-4f5f-a88b-eff2479a8130n%40googlegroups.com=20 >>>>>>>>>>>>> <https://groups.google.com/d/msgid/pandoc-discuss/1ef6858a-0a= 37-4f5f-a88b-eff2479a8130n%40googlegroups.com?utm_medium=3Demail&utm_source= =3Dfooter> >>>>>>>>>>>>> . >>>>>>>>>>>>> >>>>>>>>>>>> --=20 >>>>>>>>>> You received this message because you are subscribed to the=20 >>>>>>>>>> Google Groups "pandoc-discuss" group. >>>>>>>>>> To unsubscribe from this group and stop receiving emails from it= ,=20 >>>>>>>>>> send an email to pandoc-discus...-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org >>>>>>>>>> >>>>>>>>> To view this discussion on the web visit=20 >>>>>>>>>> https://groups.google.com/d/msgid/pandoc-discuss/539db8b9-47f4-4= 3b8-83d1-4b4c99dc3b3fn%40googlegroups.com=20 >>>>>>>>>> <https://groups.google.com/d/msgid/pandoc-discuss/539db8b9-47f4-= 43b8-83d1-4b4c99dc3b3fn%40googlegroups.com?utm_medium=3Demail&utm_source=3D= footer> >>>>>>>>>> . >>>>>>>>>> >>>>>>>>> --=20 >>>>>>>> You received this message because you are subscribed to the Google= =20 >>>>>>>> Groups "pandoc-discuss" group. >>>>>>>> To unsubscribe from this group and stop receiving emails from it,= =20 >>>>>>>> send an email to pandoc-discus...-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org >>>>>>>> >>>>>>> To view this discussion on the web visit=20 >>>>>>>> https://groups.google.com/d/msgid/pandoc-discuss/7f4b28ec-1e91-422= 8-ab03-fe58a2e5cf18n%40googlegroups.com=20 >>>>>>>> <https://groups.google.com/d/msgid/pandoc-discuss/7f4b28ec-1e91-42= 28-ab03-fe58a2e5cf18n%40googlegroups.com?utm_medium=3Demail&utm_source=3Dfo= oter> >>>>>>>> . >>>>>>>> >>>>>>> --=20 >>>>>> You received this message because you are subscribed to the Google= =20 >>>>>> Groups "pandoc-discuss" group. >>>>>> To unsubscribe from this group and stop receiving emails from it,=20 >>>>>> send an email to pandoc-discus...-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org >>>>>> >>>>> To view this discussion on the web visit=20 >>>>>> https://groups.google.com/d/msgid/pandoc-discuss/5e290d88-1c47-407d-= 819b-34a094d8b48fn%40googlegroups.com=20 >>>>>> <https://groups.google.com/d/msgid/pandoc-discuss/5e290d88-1c47-407d= -819b-34a094d8b48fn%40googlegroups.com?utm_medium=3Demail&utm_source=3Dfoot= er> >>>>>> . >>>>>> >>>>> --=20 >>>> You received this message because you are subscribed to the Google=20 >>>> Groups "pandoc-discuss" group. >>>> To unsubscribe from this group and stop receiving emails from it, send= =20 >>>> an email to pandoc-discus...-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org >>>> >>> To view this discussion on the web visit=20 >>>> https://groups.google.com/d/msgid/pandoc-discuss/20b2a20b-69ad-4b93-86= 3a-c70db01d45een%40googlegroups.com=20 >>>> <https://groups.google.com/d/msgid/pandoc-discuss/20b2a20b-69ad-4b93-8= 63a-c70db01d45een%40googlegroups.com?utm_medium=3Demail&utm_source=3Dfooter= > >>>> . >>>> >>> --=20 >> You received this message because you are subscribed to the Google Group= s=20 >> "pandoc-discuss" group. >> To unsubscribe from this group and stop receiving emails from it, send a= n=20 >> email to pandoc-discus...-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org >> > To view this discussion on the web visit=20 >> https://groups.google.com/d/msgid/pandoc-discuss/fbe785d6-57dc-45a5-a4da= -cc275638cd6dn%40googlegroups.com=20 >> <https://groups.google.com/d/msgid/pandoc-discuss/fbe785d6-57dc-45a5-a4d= a-cc275638cd6dn%40googlegroups.com?utm_medium=3Demail&utm_source=3Dfooter> >> . >> > --=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/0a29b118-ae0f-448f-8e3e-39cc96ef5d8an%40googlegroups.com. ------=_Part_1503_1531946829.1668695770624 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hi again Will,<div><br></div><div>I managed to get a well formatted output = with a few tweaks to the CSS in the repo. However, I need to add the refere= nces to CSS files by hand. I understand this might be beyond the original s= cope of this thread, but what is the canonical method to automatically incl= ude these files in the pandoc compilation? If that is possible.</div><div><= br></div><div>Thank you.<br><br></div><div class=3D"gmail_quote"><div dir= =3D"auto" class=3D"gmail_attr">On Wednesday, 16 November 2022 at 10:25:37 U= TC+1 wlu...-QSt+ys/nuMyEUIsrzH9SikB+6BGkLq7r@public.gmane.org wrote:<br/></div><blockquote class=3D"gmail= _quote" style=3D"margin: 0 0 0 0.8ex; border-left: 1px solid rgb(204, 204, = 204); padding-left: 1ex;"><div dir=3D"ltr">Probably, yes!<div><br></div><di= v>The details depend on the template variable values (and on the CSS too of= course; for example, the "sidebar" ToC is all done using CSS).</= div><div><br></div><div>If you go to the example that I gave earlier (<a hr= ef=3D"https://usp.technology/specification" target=3D"_blank" rel=3D"nofoll= ow" data-saferedirecturl=3D"https://www.google.com/url?hl=3Den-GB&q=3Dh= ttps://usp.technology/specification&source=3Dgmail&ust=3D1668778848= 194000&usg=3DAOvVaw0vzkHR-fpuCqM-Y_NNBIP3">https://usp.technology/speci= fication</a>) and then to corresponding place in the GitHub repo (<a href= =3D"https://github.com/BroadbandForum/usp/tree/master/docs/specification" t= arget=3D"_blank" rel=3D"nofollow" data-saferedirecturl=3D"https://www.googl= e.com/url?hl=3Den-GB&q=3Dhttps://github.com/BroadbandForum/usp/tree/mas= ter/docs/specification&source=3Dgmail&ust=3D1668778848194000&us= g=3DAOvVaw3o4pbT-7QNck9gI0g037RZ">https://github.com/BroadbandForum/usp/tre= e/master/docs/specification</a>) you can see all the final products, includ= ing the CSS.</div></div><br><div class=3D"gmail_quote"></div><div class=3D"= gmail_quote"><div dir=3D"ltr" class=3D"gmail_attr">On Wed, 16 Nov 2022 at 0= 8:32, Lu=C3=ADs de Sousa <<a href data-email-masked rel=3D"nofollow">lui= s.a....-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org</a>> wrote:<br></div></div><div class=3D"gmail_quote">= <blockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-= left:1px solid rgb(204,204,204);padding-left:1ex">Hello again. I am now cer= tain the template is being applied as you showed. However the output page i= s in all similar to the default, same font, colours and the absence of a TO= C (a screen capture of the two side by side is attached). I was expecting t= o see something more akin to what you pointed to upthread and thought it wa= s not functioning:=C2=A0<a href=3D"https://usp.technology/specification" ta= rget=3D"_blank" rel=3D"nofollow" data-saferedirecturl=3D"https://www.google= .com/url?hl=3Den-GB&q=3Dhttps://usp.technology/specification&source= =3Dgmail&ust=3D1668778848194000&usg=3DAOvVaw0vzkHR-fpuCqM-Y_NNBIP3"= >https://usp.technology/specification</a>=C2=A0. So I would just ask you to= confirm the output in the screen capture is the expected.<br><br><div>Than= k you.</div><div><br></div><div class=3D"gmail_quote"><div dir=3D"auto" cla= ss=3D"gmail_attr">On Tuesday, 15 November 2022 at 19:29:14 UTC+1 <a href da= ta-email-masked rel=3D"nofollow">wlu...-QSt+ys/nuMyEUIsrzH9SikB+6BGkLq7r@public.gmane.org</a> wrote:<br><= /div><blockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;bo= rder-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir=3D"ltr">Wel= l not really, apart from using a very simple input file. See below for an e= xample (I've downloaded the template from the gist to=C2=A0<span style= =3D"font-family:monospace">github-template-gist.html</span>=C2=A0and put it= in the current directory).<div><br></div><div>I'm wondering whether yo= ur problem might be that you're not supplying the needed metadata, so i= t _looks_ as though it's using the default template but in fact it isn&= #39;t. I hope that you noted this comment in the README:</div><div><ul><li>= This is intended as a demo just to show the approach. It is not likely to b= e directly usable. In particular, all generated YAML files will currently b= e empty.</li></ul></div><div>Have you tried editing the template, e.g., to = insert some arbitrary HTML, so you can be absolutely sure whether it's = being used or not?</div><div><br><div><div><div><font face=3D"monospace">% = cat temp.md<br>Document.<br><br></font></div><div><font face=3D"monospace">= % pandoc temp.md <br><p>Document.</p><br><br></font></div><div>= <font face=3D"monospace">% pandoc -s temp.md -o temp-default.html<br>[WARNI= NG] This document format requires a nonempty <title> element.<br>=C2= =A0 Defaulting to 'temp' as the title.<br>=C2=A0 To specify a title= , use 'title' in metadata or --metadata title=3D"...".<br= ><br></font></div><div><font face=3D"monospace">%=C2=A0pandoc -s --template= github-template-gist.html temp.md -o temp-github.html<br>[WARNING] This do= cument format requires a nonempty <title> element.<br>=C2=A0 Defaulti= ng to 'temp' as the title.<br>=C2=A0 To specify a title, use 't= itle' in metadata or --metadata title=3D"...".<br><br></font>= </div><div><font face=3D"monospace">% diff -w temp-default.html temp-github= .html <br>1a2<br>> <!-- ORGANIZATION GitHub Pages pandoc template; mo= dified from default.html template --><br>164a166<br>> =C2=A0 <!-- = XXX header includes are included just before the ToC (below) --><br>165a= 168<br>> <br>166a170,182<br>> =C2=A0 <section class=3D"page-h= eader"><br>> =C2=A0 =C2=A0 <h1 class=3D"project-name&quo= t;><br>> =C2=A0 =C2=A0 =C2=A0 <a href=3D"" style=3D"= ;text-decoration: none; color: white;"><br>> =C2=A0 =C2=A0 =C2= =A0 =C2=A0 <img src=3D"bbflogo-reverse-dark.png"/><br>= ;<br>> =C2=A0 =C2=A0 =C2=A0 =C2=A0 <br>> =C2=A0 =C2=A0 =C2=A0 </a&= gt;<br>> =C2=A0 =C2=A0 </h1><br>> =C2=A0 =C2=A0 <h2 class=3D= "project-tagline"></h2><br>> =C2=A0 =C2=A0 <p>&= lt;/p><br>> =C2=A0 =C2=A0 <p></p><br>> =C2=A0 </sec= tion><br>> <br>> =C2=A0 <section class=3D"main-content&quo= t;><br>167a184,194<br>> =C2=A0 =C2=A0 <div style=3D"clear: bo= th;"/><br>> =C2=A0 =C2=A0 <footer class=3D"site-footer&q= uot;><br>> =C2=A0 =C2=A0 =C2=A0 <span class=3D"site-footer-ow= ner"><br>> =C2=A0 =C2=A0 =C2=A0 </span><br>> =C2=A0 =C2= =A0 =C2=A0 <span class=3D"site-footer-credits"><br>> =C2= =A0 =C2=A0 =C2=A0 =C2=A0 This page was generated by <a href=3D"<a h= ref=3D"https://pandoc.org" rel=3D"nofollow" target=3D"_blank" data-saferedi= recturl=3D"https://www.google.com/url?hl=3Den-GB&q=3Dhttps://pandoc.org= &source=3Dgmail&ust=3D1668778848194000&usg=3DAOvVaw1N5t6sxaqAtt= -Ts9EmjpIV">https://pandoc.org</a>">pandoc</a><br>> =C2=A0= =C2=A0 =C2=A0 =C2=A0 and <a href=3D"<a href=3D"https://pages.githu= b.com" rel=3D"nofollow" target=3D"_blank" data-saferedirecturl=3D"https://w= ww.google.com/url?hl=3Den-GB&q=3Dhttps://pages.github.com&source=3D= gmail&ust=3D1668778848194000&usg=3DAOvVaw2X2s4d75Ga40nNhuPe83ay">ht= tps://pages.github.com</a>">GitHub Pages</a>.<br>> =C2=A0 = =C2=A0 =C2=A0 =C2=A0 <span class=3D"release"/><br>> =C2= =A0 =C2=A0 =C2=A0 </span><br>> =C2=A0 =C2=A0 </footer><br>&g= t; =C2=A0 </section></font><br></div></div></div></div></div><br><div= class=3D"gmail_quote"></div><div class=3D"gmail_quote"><div dir=3D"ltr" cl= ass=3D"gmail_attr">On Tue, 15 Nov 2022 at 15:54, Lu=C3=ADs de Sousa <<a = rel=3D"nofollow">luis.a....-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org</a>> wrote:<br></div></div><div cl= ass=3D"gmail_quote"><blockquote class=3D"gmail_quote" style=3D"margin:0px 0= px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hi ag= ain Will, sorry for bothering you further. I so far failed to get the templ= ate to work. I tried to add it to the data folder ($HOME/.local/share/pando= c/templates/) but still nothing. Looks like the default template is being a= pplied no matter what. For instance, none of the meta predicates in the hea= d section ever make it to the final HTML.=C2=A0<div><br></div><div>Would yo= u have any suggestion to debug this issue?</div><div><br></div><div>Thank y= ou.<br><div><br></div></div><div class=3D"gmail_quote"><div dir=3D"auto" cl= ass=3D"gmail_attr">On Friday, 11 November 2022 at 15:30:17 UTC+1 <a rel=3D"= nofollow">wlu...-QSt+ys/nuMyEUIsrzH9SikB+6BGkLq7r@public.gmane.org</a> wrote:<br></div><blockquote class= =3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-left:1px solid rg= b(204,204,204);padding-left:1ex"><div dir=3D"ltr"><div dir=3D"ltr"><div>Inl= ine...</div><div><br></div></div><div class=3D"gmail_quote"></div></div><di= v dir=3D"ltr"><div class=3D"gmail_quote"><div dir=3D"ltr" class=3D"gmail_at= tr">On Fri, 11 Nov 2022 at 14:01, Lu=C3=ADs de Sousa <<a rel=3D"nofollow= ">luis.a....-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org</a>> wrote:<br></div><blockquote class=3D"gmail_q= uote" style=3D"margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,2= 04);padding-left:1ex">Alright, it is working now, many thanks. The output H= TML looks pretty solid and well linked. Two questions:=C2=A0</blockquote><d= iv><br></div></div></div><div dir=3D"ltr"><div class=3D"gmail_quote"><div>G= reat!</div></div></div><div dir=3D"ltr"><div class=3D"gmail_quote"><div><br= ></div><blockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;= border-left:1px solid rgb(204,204,204);padding-left:1ex"><div>1. What is th= e purpose of the /dev/null bit in the second compile command?</div></blockq= uote><div><br></div></div></div><div dir=3D"ltr"><div class=3D"gmail_quote"= ><div>That's what this remark in the README is referring to (rather obl= iquely):</div><div><br></div><div>>=C2=A0Including the HTML via --includ= e-in-header was a workaround I think, and might no longer be necessary.</di= v><div><br></div><div>I think there was a problem with parsing HTML at one = point, and this was a way of injecting HTML without passing it through pand= oc.</div></div></div><div dir=3D"ltr"><div class=3D"gmail_quote"><div>=C2= =A0</div><blockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8e= x;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div>2. Could yo= u share an HTML template? It would greatly facilitate the design work.</div= ></blockquote><div><br></div></div></div><div dir=3D"ltr"><div class=3D"gma= il_quote"><div>I've added=C2=A0<a href=3D"https://gist.github.com/wlupt= on/2fc23fc1c4e4b4899121bfafc0fea4bf#file-github-template-html" rel=3D"nofol= low" target=3D"_blank" data-saferedirecturl=3D"https://www.google.com/url?h= l=3Den-GB&q=3Dhttps://gist.github.com/wlupton/2fc23fc1c4e4b4899121bfafc= 0fea4bf%23file-github-template-html&source=3Dgmail&ust=3D1668778848= 195000&usg=3DAOvVaw24UPJ509Q3cYB2XEQHnCM5">github-template.html</a>=C2= =A0(somewhat anonymised) to the gist.</div></div></div><div dir=3D"ltr"><di= v class=3D"gmail_quote"><div><br></div><blockquote class=3D"gmail_quote" st= yle=3D"margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padd= ing-left:1ex"><div>Next I will give it a try with a more elaborate document= including cross-references, citations, etc. Will report back on that.<br><= /div></blockquote><div><br></div></div></div><div dir=3D"ltr"><div class=3D= "gmail_quote"><div>You'll probably have noted that the writer attempts = to fix cross-references so they reference the correct output file.=C2=A0</d= iv><div><br></div><blockquote class=3D"gmail_quote" style=3D"margin:0px 0px= 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"></block= quote></div></div><div dir=3D"ltr"><div class=3D"gmail_quote"><blockquote c= lass=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-left:1px soli= d rgb(204,204,204);padding-left:1ex"><div>Regards.<br><div><br></div></div>= <div class=3D"gmail_quote"><div dir=3D"auto" class=3D"gmail_attr">On Friday= , 11 November 2022 at 13:58:28 UTC+1 <a rel=3D"nofollow">wlu...@broadband-f= orum.org</a> wrote:<br></div><blockquote class=3D"gmail_quote" style=3D"mar= gin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1= ex"><div dir=3D"ltr">Oh, I'm so sorry! I hadn't tested exactly what= I gave you (I'd put the contents of utils.lua into the writer for test= ing, but then put it into a new file to share with you, so the writer didn&= #39;t need to change), but I forgot to put 'return utils' at the bo= ttom.<div><br></div><div>I've now added this line:=C2=A0<a href=3D"http= s://gist.github.com/wlupton/2fc23fc1c4e4b4899121bfafc0fea4bf#file-utils-lua= -L51" rel=3D"nofollow" target=3D"_blank" data-saferedirecturl=3D"https://ww= w.google.com/url?hl=3Den-GB&q=3Dhttps://gist.github.com/wlupton/2fc23fc= 1c4e4b4899121bfafc0fea4bf%23file-utils-lua-L51&source=3Dgmail&ust= =3D1668778848195000&usg=3DAOvVaw2ZeuidyBYWXqR618oqA5Gl">https://gist.gi= thub.com/wlupton/2fc23fc1c4e4b4899121bfafc0fea4bf#file-utils-lua-L51</a> an= d this time I've tested it locally. Please try again.</div></div><br><d= iv class=3D"gmail_quote"></div><div class=3D"gmail_quote"><div dir=3D"ltr" = class=3D"gmail_attr">On Fri, 11 Nov 2022 at 12:33, Lu=C3=ADs de Sousa <<= a rel=3D"nofollow">luis.a....-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org</a>> wrote:<br></div></div><div = class=3D"gmail_quote"><blockquote class=3D"gmail_quote" style=3D"margin:0px= 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hel= lo again. I confirm those are the contents in line 38. I assume utils.lua i= s being found, line 21 is now being=C2=A0 parsed without error. Anything el= se I can try?=C2=A0<div><br></div><div>Thank you.<br><br></div><div class= =3D"gmail_quote"><div dir=3D"auto" class=3D"gmail_attr">On Thursday, 10 Nov= ember 2022 at 18:06:06 UTC+1 <a rel=3D"nofollow">wlu...-QSt+ys/nuMyEUIsrzH9SikB+6BGkLq7r@public.gmane.org= </a> wrote:<br></div><blockquote class=3D"gmail_quote" style=3D"margin:0px = 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div= dir=3D"ltr">can you confirm what's in line 38 of the writer? if you ha= ven't edited the file then it's <a href=3D"https://gist.github.com/= wlupton/2fc23fc1c4e4b4899121bfafc0fea4bf#file-html-multi-writer-lua-L38" re= l=3D"nofollow" target=3D"_blank" data-saferedirecturl=3D"https://www.google= .com/url?hl=3Den-GB&q=3Dhttps://gist.github.com/wlupton/2fc23fc1c4e4b48= 99121bfafc0fea4bf%23file-html-multi-writer-lua-L38&source=3Dgmail&u= st=3D1668778848195000&usg=3DAOvVaw0PbdBR0Y5YCQtog_iDyjEK">this</a>:<div= ><br></div><div><font face=3D"monospace">local output_file_dir, output_file= _base =3D utils.path.split(output_file)<br></font></div><div><br></div><div= >can you confirm that you've also copied utils.lua and that it's be= ing found? it should be calling the function at this line:=C2=A0<a href=3D"= https://gist.github.com/wlupton/2fc23fc1c4e4b4899121bfafc0fea4bf#file-utils= -lua-L31" rel=3D"nofollow" target=3D"_blank" data-saferedirecturl=3D"https:= //www.google.com/url?hl=3Den-GB&q=3Dhttps://gist.github.com/wlupton/2fc= 23fc1c4e4b4899121bfafc0fea4bf%23file-utils-lua-L31&source=3Dgmail&u= st=3D1668778848195000&usg=3DAOvVaw3nYfaQrTJoeUEja9SO93oY">https://gist.= github.com/wlupton/2fc23fc1c4e4b4899121bfafc0fea4bf#file-utils-lua-L31</a><= /div><div><br></div></div><br><div class=3D"gmail_quote"></div><div class= =3D"gmail_quote"><div dir=3D"ltr" class=3D"gmail_attr">On Thu, 10 Nov 2022 = at 16:36, Lu=C3=ADs de Sousa <<a rel=3D"nofollow">luis.a....-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org</= a>> wrote:<br></div></div><div class=3D"gmail_quote"><blockquote class= =3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-left:1px solid rg= b(204,204,204);padding-left:1ex">Thank you once more for keeping this going= . I made some progress but now there is an error with html-multi-writer.lua= itself (log below). I never worked with Lua before, apologies if I am maki= ng something dumb.<div><br></div><div>$ wget <a href=3D"https://raw.githubu= sercontent.com/wlupton/pandoc-lua-logging/main/logging.lua" rel=3D"nofollow= " target=3D"_blank" data-saferedirecturl=3D"https://www.google.com/url?hl= =3Den-GB&q=3Dhttps://raw.githubusercontent.com/wlupton/pandoc-lua-loggi= ng/main/logging.lua&source=3Dgmail&ust=3D1668778848195000&usg= =3DAOvVaw05adesm4EaY8CZIhEROORh">https://raw.githubusercontent.com/wlupton/= pandoc-lua-logging/main/logging.lua</a><br>--2022-11-10 17:28:08-- =C2=A0<a= href=3D"https://raw.githubusercontent.com/wlupton/pandoc-lua-logging/main/= logging.lua" rel=3D"nofollow" target=3D"_blank" data-saferedirecturl=3D"htt= ps://www.google.com/url?hl=3Den-GB&q=3Dhttps://raw.githubusercontent.co= m/wlupton/pandoc-lua-logging/main/logging.lua&source=3Dgmail&ust=3D= 1668778848195000&usg=3DAOvVaw05adesm4EaY8CZIhEROORh">https://raw.github= usercontent.com/wlupton/pandoc-lua-logging/main/logging.lua</a><br>Resolvin= g <a href=3D"http://raw.githubusercontent.com" rel=3D"nofollow" target=3D"_= blank" data-saferedirecturl=3D"https://www.google.com/url?hl=3Den-GB&q= =3Dhttp://raw.githubusercontent.com&source=3Dgmail&ust=3D1668778848= 195000&usg=3DAOvVaw0m_gYhjz1Lh9NcDrhF2LGO">raw.githubusercontent.com</a= > (<a href=3D"http://raw.githubusercontent.com" rel=3D"nofollow" target=3D"= _blank" data-saferedirecturl=3D"https://www.google.com/url?hl=3Den-GB&q= =3Dhttp://raw.githubusercontent.com&source=3Dgmail&ust=3D1668778848= 195000&usg=3DAOvVaw0m_gYhjz1Lh9NcDrhF2LGO">raw.githubusercontent.com</a= >)... 185.199.111.133, 185.199.108.133, 185.199.110.133, ...<br>Connecting = to <a href=3D"http://raw.githubusercontent.com" rel=3D"nofollow" target=3D"= _blank" data-saferedirecturl=3D"https://www.google.com/url?hl=3Den-GB&q= =3Dhttp://raw.githubusercontent.com&source=3Dgmail&ust=3D1668778848= 195000&usg=3DAOvVaw0m_gYhjz1Lh9NcDrhF2LGO">raw.githubusercontent.com</a= > (<a href=3D"http://raw.githubusercontent.com" rel=3D"nofollow" target=3D"= _blank" data-saferedirecturl=3D"https://www.google.com/url?hl=3Den-GB&q= =3Dhttp://raw.githubusercontent.com&source=3Dgmail&ust=3D1668778848= 195000&usg=3DAOvVaw0m_gYhjz1Lh9NcDrhF2LGO">raw.githubusercontent.com</a= >)|185.199.111.133|:443... connected.<br>HTTP request sent, awaiting respon= se... 200 OK<br>Length: 8173 (8,0K) [text/plain]<br>Saving to: =E2=80=98log= ging.lua=E2=80=99<br><br>logging.lua =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 100%[=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D>] =C2=A0 7,98K =C2=A0--.-KB/s =C2=A0 =C2=A0in 0= s<br><br>2022-11-10 17:28:08 (42,0 MB/s) - =E2=80=98logging.lua=E2=80=99 sa= ved [8173/8173]<br><br>$ mkdir -p $HOME/.local/share/pandoc/filters<br>$ mv= logging.lua $HOME/.local/share/pandoc/filters<br>$ export LUA_PATH=3D"= ;$HOME/.local/share/pandoc/filters/?.lua;;"<br>$ pandoc multi-test.md = -t html-multi-writer.lua -o output/multi-test.html<br>Error running Lua:<br= >html-multi-writer.lua:38: attempt to index a boolean value (local 'uti= ls')<br>stack traceback:<br></div><div><br><br></div><div class=3D"gmai= l_quote"><div dir=3D"auto" class=3D"gmail_attr">On Thursday, 10 November 20= 22 at 13:47:52 UTC+1 <a rel=3D"nofollow">wlu...-QSt+ys/nuMyEUIsrzH9SikB+6BGkLq7r@public.gmane.org</a> wro= te:<br></div><blockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px = 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir=3D"= ltr">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).<div><br></div><div>Note that you'll also need to get l= ogging.lua as described, and also note that any generated YAML files will b= e empty=C2=A0(I didn't want to share my brain-dead YAML writer but ther= e appear to be lua YAML writers out there that might work... anyway you mig= ht decide that you don't need the generated YAML... this depends on how= you set up the make rules).</div><div><br></div><div>I don't really wa= nt to create a repo for this (well... a gist _is_ a repo!) because I don= 9;t want (at this point) to provide any support for it (questions are OK th= ough). I'm providing the gist just as a demo of the approach. Maybe lat= er...</div></div><div dir=3D"ltr"></div><br><div class=3D"gmail_quote"><div= dir=3D"ltr" class=3D"gmail_attr">On Wed, 9 Nov 2022 at 18:28, William Lupt= on <<a rel=3D"nofollow">wlu...-QSt+ys/nuMyEUIsrzH9SikB+6BGkLq7r@public.gmane.org</a>> wrote:<br></d= iv><blockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;bord= er-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir=3D"auto">Oh s= orry, yes, utils is one of mine! I'll look into this tomorrow...</div><= br><div class=3D"gmail_quote"><div dir=3D"ltr" class=3D"gmail_attr">On Wed,= 9 Nov 2022, 16:03 Lu=C3=ADs de Sousa, <<a rel=3D"nofollow">luis.a....@g= mail.com</a>> wrote:<br></div><blockquote class=3D"gmail_quote" style=3D= "margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-le= ft:1ex">Thank you very much for sharing, that looks very promising.<div><br= ></div><div>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:</div><div><br></div><div>$ pandoc multi-test.md -t html-multi-wr= iter.lua -o output/multi-test.html<br>Error running Lua:<br>html-multi-writ= er.lua:21: module 'utils' not found:<br>=C2=A0 =C2=A0 no field pack= age.preload['utils']<br>=C2=A0 =C2=A0 no file '/usr/local/share= /lua/5.4/utils.lua'<br>=C2=A0 =C2=A0 no file '/usr/local/share/lua/= 5.4/utils/init.lua'<br>=C2=A0 =C2=A0 no file '/usr/local/lib/lua/5.= 4/utils.lua'<br>=C2=A0 =C2=A0 no file '/usr/local/lib/lua/5.4/utils= /init.lua'<br>=C2=A0 =C2=A0 no file './utils.lua'<br>=C2=A0 =C2= =A0 no file './utils/init.lua'<br>=C2=A0 =C2=A0 no file '/usr/l= ocal/lib/lua/5.4/utils.so'<br>=C2=A0 =C2=A0 no file '/usr/local/lib= /lua/5.4/loadall.so'<br>=C2=A0 =C2=A0 no file './utils.so'<br>s= tack traceback:<br>=C2=A0 =C2=A0 html-multi-writer.lua:21: in main chunk<br= ><br></div><div>P.S.: would you consider creating a repository for this wor= k? I would like to automate the second stage with bash, shouldn't be to= o hard.</div><div><br></div><div class=3D"gmail_quote"><div dir=3D"auto" cl= ass=3D"gmail_attr">On Monday, 7 November 2022 at 15:46:58 UTC+1 <a rel=3D"n= oreferrer nofollow">wlu...-QSt+ys/nuMyEUIsrzH9SikB+6BGkLq7r@public.gmane.org</a> wrote:<br></div><blockqu= ote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-left:1px= solid rgb(204,204,204);padding-left:1ex"><div dir=3D"ltr">I've created= this gist:=C2=A0<a href=3D"https://gist.github.com/wlupton/2fc23fc1c4e4b48= 99121bfafc0fea4bf" rel=3D"nofollow noreferrer" target=3D"_blank" data-safer= edirecturl=3D"https://www.google.com/url?hl=3Den-GB&q=3Dhttps://gist.gi= thub.com/wlupton/2fc23fc1c4e4b4899121bfafc0fea4bf&source=3Dgmail&us= t=3D1668778848195000&usg=3DAOvVaw1gsh-A92gKyjXYMtCude-p">https://gist.g= ithub.com/wlupton/2fc23fc1c4e4b4899121bfafc0fea4bf</a><div><br></div><div>I= added a README.md and hope that there's enough info to get going. Plea= se=C2=A0let me know if not.</div><div><br></div><div>(Please note that this= writer does some other things too, which might need to be stripped out. Al= so, it's an old-style writer... I haven't got around to updating it= yet,)</div></div><br><div class=3D"gmail_quote"></div><div class=3D"gmail_= quote"><div dir=3D"ltr" class=3D"gmail_attr">On Mon, 7 Nov 2022 at 09:22, L= u=C3=ADs de Sousa <<a rel=3D"nofollow noreferrer">luis.a....-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org</= a>> wrote:<br></div></div><div class=3D"gmail_quote"><blockquote class= =3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-left:1px solid rg= b(204,204,204);padding-left:1ex">Hi there. That is precisely the kind of ou= tput I would like to have. Similar to what tools like mdBook produce. I wou= ld be glad if you could share more details on that custom writer.<div><br><= /div><div>Thank you and regards.<br><br><div class=3D"gmail_quote"><div dir= =3D"auto" class=3D"gmail_attr">On Friday, 4 November 2022 at 17:51:24 UTC+1= <a rel=3D"nofollow noreferrer">wlu...-QSt+ys/nuMyEUIsrzH9SikB+6BGkLq7r@public.gmane.org</a> wrote:<br></= div><blockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;bor= der-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir=3D"ltr"><div= >See=C2=A0<a href=3D"https://usp.technology/specification" rel=3D"nofollow = noreferrer" target=3D"_blank" data-saferedirecturl=3D"https://www.google.co= m/url?hl=3Den-GB&q=3Dhttps://usp.technology/specification&source=3D= gmail&ust=3D1668778848195000&usg=3DAOvVaw1Lt7EULZB9Sdoc22VHIhgv">ht= tps://usp.technology/specification</a> 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 the logic for splitti= ng the output into multiple files (based on header level and/or specific cl= asses). The writer also takes care of generating the navigation bar that yo= u see at the top and bottom of the pages. The multiple files are then passe= d through pandoc again (to add the overall sidebar ToC and the top/bottom n= avigation=C2=A0bars, and to generate multiple standalone docs).</div><div><= br></div><div>Please let me know if you'd like more details=C2=A0(the o= verall setup is not very easily shareable, because it's heavily depende= nt on rather=C2=A0complicated make rules, but I could probably share the=C2= =A0custom writer and give some example command=C2=A0lines.)</div></div><br>= <div class=3D"gmail_quote"></div><div class=3D"gmail_quote"><div dir=3D"ltr= " class=3D"gmail_attr">On Fri, 4 Nov 2022 at 12:45, Lu=C3=ADs de Sousa <= <a rel=3D"nofollow noreferrer">luis.a....-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org</a>> wrote:<br></div= ></div><div class=3D"gmail_quote"><blockquote class=3D"gmail_quote" style= =3D"margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding= -left:1ex">Dear all,<div><br></div><div>I am currently working on a long do= cument that must served as a web page. The single file output is becoming t= oo slow and cumbersome for readers. I am aware this functionality is not av= ailable, but a Feature Request is open [0].=C2=A0</div><div><br></div><div>= In that issue there are some hints to this issue being addressable with a t= emplate [1]. I have tried many HTML templates, but never seen one that woul= d split a long document in a set of small files. Would there be an example = somewhere I could follow? Otherwise, could someone provide a general idea o= f how such template would function?</div><div><br></div><div>Thank you.</di= v><div><br></div><div>[0]=C2=A0<a href=3D"https://github.com/jgm/pandoc/iss= ues/6122" rel=3D"nofollow noreferrer" target=3D"_blank" data-saferedirectur= l=3D"https://www.google.com/url?hl=3Den-GB&q=3Dhttps://github.com/jgm/p= andoc/issues/6122&source=3Dgmail&ust=3D1668778848195000&usg=3DA= OvVaw05VeJR-djWxuu_G3vIF-3f">https://github.com/jgm/pandoc/issues/6122</a><= /div><div><br></div><div>[1]=C2=A0<a href=3D"https://github.com/jgm/pandoc/= issues/6122#issuecomment-583593340" rel=3D"nofollow noreferrer" target=3D"_= blank" data-saferedirecturl=3D"https://www.google.com/url?hl=3Den-GB&q= =3Dhttps://github.com/jgm/pandoc/issues/6122%23issuecomment-583593340&s= ource=3Dgmail&ust=3D1668778848195000&usg=3DAOvVaw1eqiaX8mkaDSn-bAmr= tbwm">https://github.com/jgm/pandoc/issues/6122#issuecomment-583593340</a><= /div> <p></p></blockquote></div><div class=3D"gmail_quote"><blockquote class=3D"g= mail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204= ,204,204);padding-left:1ex"> -- <br> You received this message because you are subscribed to the Google Groups &= quot;pandoc-discuss" group.<br> To unsubscribe from this group and stop receiving emails from it, send an e= mail to <a rel=3D"nofollow noreferrer">pandoc-discus...-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org</a= >.<br> To view this discussion on the web visit <a href=3D"https://groups.google.c= om/d/msgid/pandoc-discuss/264eeee0-68c8-4389-a5c5-12563c6926f6n%40googlegro= ups.com?utm_medium=3Demail&utm_source=3Dfooter" rel=3D"nofollow norefer= rer" target=3D"_blank" data-saferedirecturl=3D"https://www.google.com/url?h= l=3Den-GB&q=3Dhttps://groups.google.com/d/msgid/pandoc-discuss/264eeee0= -68c8-4389-a5c5-12563c6926f6n%2540googlegroups.com?utm_medium%3Demail%26utm= _source%3Dfooter&source=3Dgmail&ust=3D1668778848195000&usg=3DAO= vVaw34ylI2OZrIYSaX1SANfZeT">https://groups.google.com/d/msgid/pandoc-discus= s/264eeee0-68c8-4389-a5c5-12563c6926f6n%40googlegroups.com</a>.<br> </blockquote></div> </blockquote></div></div> <p></p> -- <br> You received this message because you are subscribed to the Google Groups &= quot;pandoc-discuss" group.<br> To unsubscribe from this group and stop receiving emails from it, send an e= mail to <a rel=3D"nofollow noreferrer">pandoc-discus...-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org</a= >.<br></blockquote></div><div class=3D"gmail_quote"><blockquote class=3D"gm= ail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,= 204,204);padding-left:1ex"> To view this discussion on the web visit <a href=3D"https://groups.google.c= om/d/msgid/pandoc-discuss/cb3753d7-e845-4a72-a1aa-e93086a32f11n%40googlegro= ups.com?utm_medium=3Demail&utm_source=3Dfooter" rel=3D"nofollow norefer= rer" target=3D"_blank" data-saferedirecturl=3D"https://www.google.com/url?h= l=3Den-GB&q=3Dhttps://groups.google.com/d/msgid/pandoc-discuss/cb3753d7= -e845-4a72-a1aa-e93086a32f11n%2540googlegroups.com?utm_medium%3Demail%26utm= _source%3Dfooter&source=3Dgmail&ust=3D1668778848195000&usg=3DAO= vVaw3ROWv77vOO8cUp8Kl_ZhxV">https://groups.google.com/d/msgid/pandoc-discus= s/cb3753d7-e845-4a72-a1aa-e93086a32f11n%40googlegroups.com</a>.<br> </blockquote></div> </blockquote></div> <p></p> -- <br> You received this message because you are subscribed to the Google Groups &= quot;pandoc-discuss" group.<br> To unsubscribe from this group and stop receiving emails from it, send an e= mail to <a rel=3D"noreferrer nofollow">pandoc-discus...-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org</a= >.<br> To view this discussion on the web visit <a href=3D"https://groups.google.c= om/d/msgid/pandoc-discuss/1ef6858a-0a37-4f5f-a88b-eff2479a8130n%40googlegro= ups.com?utm_medium=3Demail&utm_source=3Dfooter" rel=3D"noreferrer nofol= low" target=3D"_blank" data-saferedirecturl=3D"https://www.google.com/url?h= l=3Den-GB&q=3Dhttps://groups.google.com/d/msgid/pandoc-discuss/1ef6858a= -0a37-4f5f-a88b-eff2479a8130n%2540googlegroups.com?utm_medium%3Demail%26utm= _source%3Dfooter&source=3Dgmail&ust=3D1668778848195000&usg=3DAO= vVaw0xMpP-THmezIT1hj796RQE">https://groups.google.com/d/msgid/pandoc-discus= s/1ef6858a-0a37-4f5f-a88b-eff2479a8130n%40googlegroups.com</a>.<br> </blockquote></div> </blockquote></div> </blockquote></div> <p></p> -- <br> You received this message because you are subscribed to the Google Groups &= quot;pandoc-discuss" group.<br> To unsubscribe from this group and stop receiving emails from it, send an e= mail to <a rel=3D"nofollow">pandoc-discus...-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org</a>.<br></blo= ckquote></div><div class=3D"gmail_quote"><blockquote class=3D"gmail_quote" = style=3D"margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);pa= dding-left:1ex"> To view this discussion on the web visit <a href=3D"https://groups.google.c= om/d/msgid/pandoc-discuss/539db8b9-47f4-43b8-83d1-4b4c99dc3b3fn%40googlegro= ups.com?utm_medium=3Demail&utm_source=3Dfooter" rel=3D"nofollow" target= =3D"_blank" data-saferedirecturl=3D"https://www.google.com/url?hl=3Den-GB&a= mp;q=3Dhttps://groups.google.com/d/msgid/pandoc-discuss/539db8b9-47f4-43b8-= 83d1-4b4c99dc3b3fn%2540googlegroups.com?utm_medium%3Demail%26utm_source%3Df= ooter&source=3Dgmail&ust=3D1668778848196000&usg=3DAOvVaw20m0Yo6= llpFCE58vQ-evN-">https://groups.google.com/d/msgid/pandoc-discuss/539db8b9-= 47f4-43b8-83d1-4b4c99dc3b3fn%40googlegroups.com</a>.<br> </blockquote></div> </blockquote></div> <p></p> -- <br> You received this message because you are subscribed to the Google Groups &= quot;pandoc-discuss" group.<br> To unsubscribe from this group and stop receiving emails from it, send an e= mail to <a rel=3D"nofollow">pandoc-discus...-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org</a>.<br></blo= ckquote></div><div class=3D"gmail_quote"><blockquote class=3D"gmail_quote" = style=3D"margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);pa= dding-left:1ex"> To view this discussion on the web visit <a href=3D"https://groups.google.c= om/d/msgid/pandoc-discuss/7f4b28ec-1e91-4228-ab03-fe58a2e5cf18n%40googlegro= ups.com?utm_medium=3Demail&utm_source=3Dfooter" rel=3D"nofollow" target= =3D"_blank" data-saferedirecturl=3D"https://www.google.com/url?hl=3Den-GB&a= mp;q=3Dhttps://groups.google.com/d/msgid/pandoc-discuss/7f4b28ec-1e91-4228-= ab03-fe58a2e5cf18n%2540googlegroups.com?utm_medium%3Demail%26utm_source%3Df= ooter&source=3Dgmail&ust=3D1668778848196000&usg=3DAOvVaw0URd4kD= -uDhhOmv5LE96I0">https://groups.google.com/d/msgid/pandoc-discuss/7f4b28ec-= 1e91-4228-ab03-fe58a2e5cf18n%40googlegroups.com</a>.<br> </blockquote></div> </blockquote></div> <p></p> -- <br> You received this message because you are subscribed to the Google Groups &= quot;pandoc-discuss" group.<br> To unsubscribe from this group and stop receiving emails from it, send an e= mail to <a rel=3D"nofollow">pandoc-discus...-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org</a>.<br></blo= ckquote></div></div><div dir=3D"ltr"><div class=3D"gmail_quote"><blockquote= class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-left:1px so= lid rgb(204,204,204);padding-left:1ex"> To view this discussion on the web visit <a href=3D"https://groups.google.c= om/d/msgid/pandoc-discuss/5e290d88-1c47-407d-819b-34a094d8b48fn%40googlegro= ups.com?utm_medium=3Demail&utm_source=3Dfooter" rel=3D"nofollow" target= =3D"_blank" data-saferedirecturl=3D"https://www.google.com/url?hl=3Den-GB&a= mp;q=3Dhttps://groups.google.com/d/msgid/pandoc-discuss/5e290d88-1c47-407d-= 819b-34a094d8b48fn%2540googlegroups.com?utm_medium%3Demail%26utm_source%3Df= ooter&source=3Dgmail&ust=3D1668778848196000&usg=3DAOvVaw0oL11gw= d5CeAkxHheJZabj">https://groups.google.com/d/msgid/pandoc-discuss/5e290d88-= 1c47-407d-819b-34a094d8b48fn%40googlegroups.com</a>.<br> </blockquote></div></div> </blockquote></div> <p></p> -- <br> You received this message because you are subscribed to the Google Groups &= quot;pandoc-discuss" group.<br> To unsubscribe from this group and stop receiving emails from it, send an e= mail to <a rel=3D"nofollow">pandoc-discus...-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org</a>.<br></blo= ckquote></div><div class=3D"gmail_quote"><blockquote class=3D"gmail_quote" = style=3D"margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);pa= dding-left:1ex"> To view this discussion on the web visit <a href=3D"https://groups.google.c= om/d/msgid/pandoc-discuss/20b2a20b-69ad-4b93-863a-c70db01d45een%40googlegro= ups.com?utm_medium=3Demail&utm_source=3Dfooter" rel=3D"nofollow" target= =3D"_blank" data-saferedirecturl=3D"https://www.google.com/url?hl=3Den-GB&a= mp;q=3Dhttps://groups.google.com/d/msgid/pandoc-discuss/20b2a20b-69ad-4b93-= 863a-c70db01d45een%2540googlegroups.com?utm_medium%3Demail%26utm_source%3Df= ooter&source=3Dgmail&ust=3D1668778848196000&usg=3DAOvVaw2tncGRl= Y_yDmC8UBkqtBSo">https://groups.google.com/d/msgid/pandoc-discuss/20b2a20b-= 69ad-4b93-863a-c70db01d45een%40googlegroups.com</a>.<br> </blockquote></div> </blockquote></div> <p></p> -- <br> You received this message because you are subscribed to the Google Groups &= quot;pandoc-discuss" group.<br> To unsubscribe from this group and stop receiving emails from it, send an e= mail to <a href data-email-masked rel=3D"nofollow">pandoc-discus...@googleg= roups.com</a>.<br></blockquote></div><div class=3D"gmail_quote"><blockquote= class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-left:1px so= lid rgb(204,204,204);padding-left:1ex"> To view this discussion on the web visit <a href=3D"https://groups.google.c= om/d/msgid/pandoc-discuss/fbe785d6-57dc-45a5-a4da-cc275638cd6dn%40googlegro= ups.com?utm_medium=3Demail&utm_source=3Dfooter" target=3D"_blank" rel= =3D"nofollow" data-saferedirecturl=3D"https://www.google.com/url?hl=3Den-GB= &q=3Dhttps://groups.google.com/d/msgid/pandoc-discuss/fbe785d6-57dc-45a= 5-a4da-cc275638cd6dn%2540googlegroups.com?utm_medium%3Demail%26utm_source%3= Dfooter&source=3Dgmail&ust=3D1668778848196000&usg=3DAOvVaw0l53N= tG8D62pQm72wSp2FI">https://groups.google.com/d/msgid/pandoc-discuss/fbe785d= 6-57dc-45a5-a4da-cc275638cd6dn%40googlegroups.com</a>.<br> </blockquote></div> </blockquote></div> <p></p> -- <br /> You received this message because you are subscribed to the Google Groups &= quot;pandoc-discuss" group.<br /> To unsubscribe from this group and stop receiving emails from it, send an e= mail to <a href=3D"mailto:pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org">pand= oc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org</a>.<br /> To view this discussion on the web visit <a href=3D"https://groups.google.c= om/d/msgid/pandoc-discuss/0a29b118-ae0f-448f-8e3e-39cc96ef5d8an%40googlegro= ups.com?utm_medium=3Demail&utm_source=3Dfooter">https://groups.google.com/d= /msgid/pandoc-discuss/0a29b118-ae0f-448f-8e3e-39cc96ef5d8an%40googlegroups.= com</a>.<br /> ------=_Part_1503_1531946829.1668695770624-- ------=_Part_1502_1374511162.1668695770624--