From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/31152 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Lyndon Drake Newsgroups: gmane.text.pandoc Subject: Re: Changing LaTeX output for citations inside footnotes Date: Sat, 30 Jul 2022 06:53:56 -0700 (PDT) Message-ID: <5d1a1315-d0df-4e28-b13b-8eb8e8d7f9c7n@googlegroups.com> References: <97765931b0a740ed8a84ba4337bed661@unibe.ch> <90c69f14-e16a-44d6-91ec-a6f6dca3ca45n@googlegroups.com> <8976ce00-3fbe-bf27-898f-0470cba1fec1@gmail.com> <0e10379f-d1c0-4024-b98a-5c7ba703f561n@googlegroups.com> <83a04bea-2e09-61d2-de0d-f399beb2ef79@gmail.com> <76a7fa0b-752b-496e-98a3-cc6ee8ef68b0n@googlegroups.com> <7ead9a3f-3aa9-fb2e-5ad5-c069d2aee315@gmail.com> Reply-To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_Part_116_810725261.1659189236656" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="8339"; mail-complaints-to="usenet@ciao.gmane.io" To: pandoc-discuss Original-X-From: pandoc-discuss+bncBCKOX6WY7EKBB5PPSSLQMGQEWB6FCBA-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Sat Jul 30 15:54:01 2022 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane-mx.org Original-Received: from mail-yw1-f187.google.com ([209.85.128.187]) by ciao.gmane.io with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1oHmun-000206-AW for gtp-pandoc-discuss@m.gmane-mx.org; Sat, 30 Jul 2022 15:54:01 +0200 Original-Received: by mail-yw1-f187.google.com with SMTP id 00721157ae682-31ea3f0e357sf61185177b3.16 for ; Sat, 30 Jul 2022 06:54:01 -0700 (PDT) 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; bh=wcNu/Lq7hDye2XzeUfmZI4HWpNm2rUpL7BM3HiUPk9Q=; b=Q7VJ8a+2JL7fIL0e3WJZtvHbt0ByY3pGJ+T7XeLxcbs7rRPmSjSKw6IGhHgkHzn18/ AfCqQeHwZD+AdsoMlpSFcavTNooPzKOrIfNS1AC7A7V+CX/EqOdi2r7Ek/O3shByJxN4 eyhAPA1psm5wJKGZRmManNySg0S/dk/pHSPTV2mrOxy/225Wc6MUbSKW8sgLk/Y9w5lW jLYaR+yu6nwb4GkxKDi696SecrQ1tNHGp5RlyImVmwO6MKecGxIBTUfo28TEXzmU0ONC wh68m/SoSDNOQ2Cx0I6el+kl7TkrPW3xmn5ILbL3gThdgjGJPDWOdkVbhf2Dp9/Mgs9f 40xg== 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; bh=wcNu/Lq7hDye2XzeUfmZI4HWpNm2rUpL7BM3HiUPk9Q=; b=C4qWgtVppTOAMDElvQ/fhqOGRHDi7Hxaps53lJ3G1ZKK9G8+z2763bWujl1gB6x1lO gcDI3QMJb6xfF16QMYvs+15D26wh6cD/sYvavIQcapF21thaF/DE3FwsXZlXtK/BKT+N 3Mtpbtk1MMZWyD3sCk7r0NNRKf+rcLBsSL9+9ASw0JP7cGqTPqZlzDUq8oEmU06RpXCz kbe4enBD4ELkUGBYKaLT+DditOzSNzERqs/RBQTFbfjNPP+QHOntmtoJgPeY49wPfs8r RzHh+415QH3Y9FmDQTM1rTr+88e4Y4uMhSlwY534LO438txvrDJE8xXqf3uldx2kIZz+ k9WQ== 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; bh=wcNu/Lq7hDye2XzeUfmZI4HWpNm2rUpL7BM3HiUPk9Q=; b=2ZG+b9gsRJ41e10ye/s+kaXEFoOy/Zova2GV36Wj+EMB6eUVKCcffDKsu3zB0APYVS 7yomCQSV9Xwb5rP7R6SM6+vVwzPJs/Kv4isSqsuua1gsTdoILRF24VYdVH49f2O2zIVN Z13O3m71ydP0qAHZ185yS1YexddhE9TKCN6O9P3Yx8oadeR1XJNtQxKIrqONjc2fscUn jhddhlXCYyY1d8bJ9hhjIMbl3WgfiKml2qBqPBQWzSlnu0jcKqoO6BvU/p1nTnjwNKbK v8VQiLvJiHURhDtOCRoX0ZU1NVDf24NDv51cApYCk/lMO8SnNyU1H5tEGn4Bm5BO36wX U/Yw== Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Gm-Message-State: ACgBeo2H09b8wIYHpgNdfs5FMGn/TlEpKuQXoll/HEgImgEktYQhhpdC XpbuGhz+asBQJyl0oUy/Q0E= X-Google-Smtp-Source: AA6agR6ntdnZne0l86ENi2iZAsEkqyXGIdp+xVKFsIjIlpeSQ1ZMFiySY0w+U/vvNz76PWUFwZsG9A== X-Received: by 2002:a81:a9c8:0:b0:31d:7685:406b with SMTP id g191-20020a81a9c8000000b0031d7685406bmr6478036ywh.109.1659189240252; Sat, 30 Jul 2022 06:54:00 -0700 (PDT) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 2002:a0d:dfd6:0:b0:31e:f1e:dbbc with SMTP id i205-20020a0ddfd6000000b0031e0f1edbbcls3342865ywe.2.-pod-prod-gmail; Sat, 30 Jul 2022 06:53:57 -0700 (PDT) X-Received: by 2002:a0d:da02:0:b0:31c:a0e9:4165 with SMTP id c2-20020a0dda02000000b0031ca0e94165mr6719380ywe.439.1659189237304; Sat, 30 Jul 2022 06:53:57 -0700 (PDT) In-Reply-To: <7ead9a3f-3aa9-fb2e-5ad5-c069d2aee315-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> X-Original-Sender: isenguard-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:31152 Archived-At: ------=_Part_116_810725261.1659189236656 Content-Type: multipart/alternative; boundary="----=_Part_117_1068243074.1659189236656" ------=_Part_117_1068243074.1659189236656 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Nice, the :gsub does the trick (once I replaced \n* with \n+). Thanks again, really appreciate the help with all this. Hopefully I can=20 start to build some more Lua filters/writers now. It's a great system=20 (thanks John MacFarlane!). On Saturday, 30 July 2022 at 14:06:10 UTC+1 suki...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org wrote: > I believe you can't create a pandoc document without any block. Two=20 > possibilities come to mind: > > 1. Round tripping: After fixing the citation, read it as LaTeX, and maybe= ,=20 > run pandoc.utils.blocks_to_inlines. (Hey, I never said it wouldn't be=20 > messy). May not work, even. > > 2. Simply delete all paragraph markers: in your case with:=20 > citetext:gsub("\n*", " ") > > Hth, > > Sukil > > > > El 30/07/2022 a las 14:39, Lyndon Drake escribi=C3=B3: > > Hi Sukil,=20 > > Thanks, you were quite correct about the second problem. I've amended tha= t=20 > and it now works, at least in the sense that it is altering the output in= =20 > the general way I want. > > On the first problem, I can just pandoc.stringify the prefix and suffix,= =20 > and concatenate. The problem with that is I will then lose any Markdown= =20 > formatting, which is not entirely uncommon in a prefix, and even=20 > occasionally in a suffix. I can work around it for this document, I guess= ,=20 > by just being careful not to use any Markdown formatting in these=20 > instances, but I'd love to find a way to take a set of Inlines and conver= t=20 > it to a format without adding a block. > > On Friday, 29 July 2022 at 19:04:51 UTC+1 suki...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org wrote: > >> Hi, >> >> For your first problem, when you do pandoc.write, as a minimum a block i= s=20 >> created, which, I believe, is normally a paragraph. So, don't call=20 >> pandoc.write. I guess you can concatenate the prefix, citation and suffi= x=20 >> and pass them to the pandoc.RawInline function.=20 >> >> >> For your second problem, I am guessing you are using --citeproc in your= =20 >> defaults file. If that is the case, try: 1) putting the defaults file af= ter=20 >> the filter; or 2) specifying --citeproc manually, also after the filter. >> >> Hth, >> >> Sukil >> >> >> El 29/07/2022 a las 16:58, Lyndon Drake escribi=C3=B3: >> >> Thanks for all the help - definitely getting somewhere now! >> >> I guess what I want to avoid is replicating in my not-great-Lua code all= =20 >> the work Pandoc already has to take a string of Markdown and convert it = to=20 >> LaTeX. I'm using pandoc.write to attempt that, and it seems to be workin= g=20 >> to some degree. The code as it is now is below. I have two problems:=20 >> >> 1. This Markdown input [@Haran1982 165 n. 9, 172] gets converted by my= =20 >> calling of pandoc.write into: >> >> ``` >> \cite[165 >> >> n.~9, >> >> 172]{Haran1982} >> ``` >> >> and I can't figure out why the blank lines are turning up. I imagine I= =20 >> need to do something more clever with the Inlines? >> >> >> 2. Despite the fact that my output in the terminal shows that I am=20 >> constructing the citetext variable as I am intending to, and I have this= =20 >> line of code: >> >> return pandoc.RawInline('latex', citetext) >> >> The output .tex file still has the normal Pandoc citations. In other=20 >> words, my writer is constructing a nice LaTeX string with what I want in= =20 >> it, and then discards it in favour of the normal Pandoc code, which is a= =20 >> little bit depressing. >> >> Can anyone spot what I'm missing now? >> >> Best, >> Lyndon >> >> ``` >> function Writer(doc, opts) >> local filter =3D { >> Note =3D function(el) >> return el:walk { >> Cite =3D function(el) >> -- processing logic >> local citetext =3D "" >> if #el.citations > 1 then >> if el.citations[1].mode =3D=3D "AuthorInText" th= en >> citetext =3D '\\textcites*' >> elseif el.citations[1].mode =3D=3D "SuppressAuth= or"=20 >> then >> citetext =3D '\\cites*' >> elseif el.citations[1].mode =3D=3D "NormalCitati= on"=20 >> then >> citetext =3D '\\cites' >> end >> else >> if el.citations[1].mode =3D=3D "AuthorInText" th= en >> citetext =3D '\\textcite*' >> elseif el.citations[1].mode =3D=3D "SuppressAuth= or"=20 >> then >> citetext =3D '\\cite*' >> elseif el.citations[1].mode =3D=3D "NormalCitati= on"=20 >> then >> citetext =3D '\\cite' >> end >> end >> for _, c in pairs(el.citations) do >> if #c.prefix > 0 then >> local doc =3D pandoc.Pandoc(c.prefix) >> local citeprefix =3D pandoc.write(doc, 'late= x') >> citetext =3D citetext .. '[' .. citeprefix .= .=20 >> ']' >> end >> if #c.suffix > 0 then >> local doc =3D pandoc.Pandoc(c.suffix) >> local citesuffix =3D pandoc.write(doc, 'late= x') >> citetext =3D citetext .. '[' .. citesuffix .= .=20 >> ']' >> end >> citetext =3D citetext .. '{' .. c.id .. '}' >> print(citetext) >> end >> return pandoc.RawInline('latex', citetext) >> end >> } >> end >> } >> return pandoc.write(doc:walk(filter), 'latex', opts) >> end >> ``` >> >> On Friday, 29 July 2022 at 10:49:18 UTC+1 suki...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org wrote: >> >>> I don't know, but the building blocks you'll need are `pandoc.stringify= `=20 >>> which takes any object and converts it into a string, and `pandoc.RawBl= ock`=20 >>> or `pandoc.RawInline` which convert a string into a raw block or inline= ,=20 >>> and take the format as first argument and the string as second. >>> >>> Hth, >>> >>> Sukil >>> >>> >>> El 29/07/2022 a las 10:58, Lyndon Drake escribi=C3=B3: >>> >>> So I have the citation prefix, which I guess I have to convert to a=20 >>> valid LaTeX string. How can I take an Inlines and LaTeX-ify it to a str= ing? >>> >>> On Friday, 29 July 2022 at 09:51:35 UTC+1 Lyndon Drake wrote: >>> >>>> Ah yep, that works. Next thing is I have to debug my obviously=20 >>>> incorrect code :-) >>>> >>>> On Friday, 29 July 2022 at 06:44:22 UTC+1 denis...-NSENcxR/0n0@public.gmane.org wrote: >>>> >>>>> That's the problem. This is a writer, not a filter. So you need to=20 >>>>> call it via=20 >>>>> -t latex-footcite.lua=20 >>>>> ________________________________________=20 >>>>> Von: pandoc-...-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org im=20 >>>>> Auftrag von Lyndon Drake =20 >>>>> Gesendet: Freitag, 29. Juli 2022 07:15:08=20 >>>>> An: pandoc-discuss=20 >>>>> Betreff: Re: Changing LaTeX output for citations inside footnotes=20 >>>>> >>>>> My command line is:=20 >>>>> >>>>> pandoc -dbookends-latex --template=20 >>>>> /Users/lyndon/.local/share/pandoc/templates/book.latex=20 >>>>> --lua-filter=3D/Users/lyndon/.local/share/pandoc/filters/latex-footci= te.lua=20 >>>>> -s -o thesis_jeremiah_32.tex jer-32-thesis.md=20 >>>>> >>>>> It's definitely picking up the lua file because if I have a syntax=20 >>>>> error, pandoc tells me. But I don't get any output.=20 >>>>> >>>>> On Thursday, 28 July 2022 at 21:32:06 UTC+1 denis...-NSENcxR/0n0@public.gmane.org wrote:= =20 >>>>> How do you run this ?=20 >>>>> I=E2=80=99ve tested with a minimal markdown file :=20 >>>>> >>>>> ```markdown=20 >>>>> asdf=20 >>>>> ```=20 >>>>> >>>>> Run with :=20 >>>>> pandoc asdf.md -t mylatex.lua=20 >>>>> >>>>> Result :=20 >>>>> got here=20 >>>>> asdf=20 >>>>> >>>>> So, it prints the first print statement of the writer.=20 >>>>> >>>>> Denis=20 >>>>> >>>>> Von: pandoc-...-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Im=20 >>>>> Auftrag von Lyndon Drake=20 >>>>> Gesendet: Donnerstag, 28. Juli 2022 19:17=20 >>>>> An: pandoc-discuss =20 >>>>> Betreff: Re: Changing LaTeX output for citations inside footnotes=20 >>>>> >>>>> Thanks for this - exactly what I needed. I've added my attempt at the= =20 >>>>> code below, but I must be missing some basic part of it because it do= esn't=20 >>>>> do anything. I added a couple of print statements that never get exec= uted:=20 >>>>> >>>>> ```=20 >>>>> function Writer(doc, opts)=20 >>>>> print "got here"=20 >>>>> local filter =3D {=20 >>>>> Note =3D function(el)=20 >>>>> return el:walk {=20 >>>>> Cite =3D function(el)=20 >>>>> -- processing logic=20 >>>>> print "got further"=20 >>>>> local citation =3D ""=20 >>>>> if #el.citations > 1 then=20 >>>>> if citations[1].mode =3D=3D "AuthorInText" then=20 >>>>> citation =3D '\\textcites*'=20 >>>>> elseif citations[1].mode =3D=3D "SuppressAuthor" then=20 >>>>> citation =3D '\\cites*'=20 >>>>> elseif citations[1].mode =3D=3D "NormalCitation" then=20 >>>>> citation =3D '\\cites'=20 >>>>> end=20 >>>>> else=20 >>>>> if citations[1].mode =3D=3D "AuthorInText" then=20 >>>>> citation =3D '\\textcite*'=20 >>>>> elseif citations[1].mode =3D=3D "SuppressAuthor" then=20 >>>>> citation =3D '\\cite*'=20 >>>>> elseif citations[1].mode =3D=3D "NormalCitation" then=20 >>>>> citation =3D '\\cite'=20 >>>>> end=20 >>>>> end=20 >>>>> for c in el.citations do=20 >>>>> if c.prefix ~=3D "" then=20 >>>>> citation =3D citation .. '[' .. c.prefix .. ']'=20 >>>>> end=20 >>>>> if c.suffix ~=3D "" then=20 >>>>> citation =3D citation .. '[' .. c.suffix .. ']'=20 >>>>> end=20 >>>>> citation =3D citation .. '{' .. c.id .. '}'=20 >>>>> end=20 >>>>> return pandoc.RawInline('latex', citation)=20 >>>>> end=20 >>>>> }=20 >>>>> end=20 >>>>> }=20 >>>>> return pandoc.write(doc:walk(filter), 'latex', opts)=20 >>>>> end=20 >>>>> ```=20 >>>>> >>>>> Apologies for what must be a very basic question, but what am I=20 >>>>> missing here?=20 >>>>> On Wednesday, 27 July 2022 at 11:27:32 UTC+1 denis...-NSENcxR/0n0@public.gmane.org wrote:= =20 >>>>> What kind of example do you need? I only know about the examples in= =20 >>>>> the documentation.=20 >>>>> >>>>> I think this here is a nice one :=20 >>>>> >>>>> https://pandoc.org/lua-filters.html#modifying-pandocs-manual.txt-for-= man-pages=20 >>>>> >>>>> Or : the new style writer=20 >>>>> https://pandoc.org/custom-writers.html#example-modified-markdown-writ= er=20 >>>>> >>>>> So, something like this here could be start:=20 >>>>> >>>>> ```=20 >>>>> function Writer(doc, opts)=20 >>>>> local filter =3D {=20 >>>>> Note =3D function(el)=20 >>>>> return el:walk {=20 >>>>> Cite =3D function(el)=20 >>>>> -- processing logic=20 >>>>> return pandoc.RawInline('latex', '\\cite[prenote][postnote]{key}')=20 >>>>> end=20 >>>>> }=20 >>>>> end=20 >>>>> }=20 >>>>> return pandoc.write(doc:walk(filter), 'latex', opts)=20 >>>>> end=20 >>>>> ```=20 >>>>> >>>>> I don=E2=80=99t think you can get the current writer in Lua.=20 >>>>> >>>>> >>>>> Von: pandoc-...-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Im=20 >>>>> Auftrag von Lyndon Drake=20 >>>>> Gesendet: Dienstag, 26. Juli 2022 11:00=20 >>>>> An: pandoc-discuss =20 >>>>> Betreff: Re: Changing LaTeX output for citations inside footnotes=20 >>>>> >>>>> Thanks for this. I can see how that could work.=20 >>>>> >>>>> Can you point me to another example that uses the walk function?=20 >>>>> >>>>> Regarding a new-style Lua writer, is there a way to get the current= =20 >>>>> LaTeX writer as Lua code? Or is it just the Haskell code? (I once kne= w=20 >>>>> Haskell but that was rather a long time ago.)=20 >>>>> On Monday, 25 July 2022 at 22:02:38 UTC+1 denis...-NSENcxR/0n0@public.gmane.org wrote:=20 >>>>> I can't come up with a code example now, bit you can use the walk=20 >>>>> function (https://pandoc.org/lua-filters.html#type-block:walk) to=20 >>>>> modify the citations with a given mode inside notes. You'll need to b= uild=20 >>>>> the citation via Pandoc.RawInline=20 >>>>> Maybe that would be a good example of a new style Lua writer.=20 >>>>> ________________________________________=20 >>>>> Von: pandoc-...-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org im=20 >>>>> Auftrag von Lyndon Drake =20 >>>>> Gesendet: Montag, 25. Juli 2022 21:46:28=20 >>>>> An: pandoc-discuss=20 >>>>> Betreff: Changing LaTeX output for citations inside footnotes=20 >>>>> >>>>> Hi,=20 >>>>> >>>>> So this is a slightly odd request, which really comes because of the= =20 >>>>> unusual behaviour of the specific BibLaTeX bibliography style I'm usi= ng. In=20 >>>>> that style, \textcite inside a footnote produces an unwanted result. = \cite=20 >>>>> produces the expected output. I have generally just gone through and= =20 >>>>> hand-edited my Pandoc-produced LaTeX files when they get to the final= copy=20 >>>>> stage, but that's painful, and I also thought that maybe this is poss= ible=20 >>>>> to do in a Lua filter.=20 >>>>> >>>>> But I don't quite know where to start - obviously this is a bit=20 >>>>> different from the internal Pandoc citations. I'm going to begin the = filter=20 >>>>> with this:=20 >>>>> >>>>> if FORMAT:match 'latex' then < >>>>> https://pandoc.org/lua-filters.html#cb9-3> function=20 >>>>> >>>>> but what would the function be? If it is Footnote, then I don't reall= y=20 >>>>> want the AST, I want the LaTeX that forms the footnote contents, and = I=20 >>>>> suppose then I can just replace any occurrences of the string \textci= te=20 >>>>> with the string \cite?=20 >>>>> >>>>> Any help would be awesome!=20 >>>>> >>>>> Best,=20 >>>>> Lyndon=20 >>>>> >>>>> --=20 >>>>> You received this message because you are subscribed to the Google=20 >>>>> Groups "pandoc-discuss" group.=20 >>>>> To unsubscribe from this group and stop receiving emails from it, sen= d=20 >>>>> an email to pandoc-discus...-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>>>> pandoc-discus...-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>.=20 >>>>> To view this discussion on the web visit=20 >>>>> https://groups.google.com/d/msgid/pandoc-discuss/bc06a6d8-9a34-4ca9-a= 05d-2526b23c6f6dn%40googlegroups.com >>>>> < >>>>> https://groups.google.com/d/msgid/pandoc-discuss/bc06a6d8-9a34-4ca9-a= 05d-2526b23c6f6dn%40googlegroups.com?utm_medium=3Demail&utm_source=3Dfooter= >.=20 >>>>> >>>>> --=20 >>>>> You received this message because you are subscribed to the Google=20 >>>>> Groups "pandoc-discuss" group.=20 >>>>> To unsubscribe from this group and stop receiving emails from it, sen= d=20 >>>>> an email to pandoc-discus...-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org=20 >>>>> To view this discussion on the web visit=20 >>>>> https://groups.google.com/d/msgid/pandoc-discuss/d25cee8b-7cb2-4fe9-b= 44d-f288a8fef728n%40googlegroups.com >>>>> < >>>>> https://groups.google.com/d/msgid/pandoc-discuss/d25cee8b-7cb2-4fe9-b= 44d-f288a8fef728n%40googlegroups.com?utm_medium=3Demail&utm_source=3Dfooter= >.=20 >>>>> >>>>> --=20 >>>>> You received this message because you are subscribed to the Google=20 >>>>> Groups "pandoc-discuss" group.=20 >>>>> To unsubscribe from this group and stop receiving emails from it, sen= d=20 >>>>> an email to pandoc-discus...-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org=20 >>>>> To view this discussion on the web visit=20 >>>>> https://groups.google.com/d/msgid/pandoc-discuss/90c69f14-e16a-44d6-9= 1ec-a6f6dca3ca45n%40googlegroups.com >>>>> < >>>>> https://groups.google.com/d/msgid/pandoc-discuss/90c69f14-e16a-44d6-9= 1ec-a6f6dca3ca45n%40googlegroups.com?utm_medium=3Demail&utm_source=3Dfooter= >.=20 >>>>> >>>>> >>>>> --=20 >>>>> You received this message because you are subscribed to the Google=20 >>>>> Groups "pandoc-discuss" group.=20 >>>>> To unsubscribe from this group and stop receiving emails from it, sen= d=20 >>>>> an email to pandoc-discus...-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>>>> pandoc-discus...-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>.=20 >>>>> To view this discussion on the web visit=20 >>>>> https://groups.google.com/d/msgid/pandoc-discuss/c4609f20-77f3-4427-8= 3ae-6c79ba48ed5bn%40googlegroups.com >>>>> < >>>>> https://groups.google.com/d/msgid/pandoc-discuss/c4609f20-77f3-4427-8= 3ae-6c79ba48ed5bn%40googlegroups.com?utm_medium=3Demail&utm_source=3Dfooter= >.=20 >>>>> >>>>> >>>> --=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/a1e38719-d239-44af-84b= 0-67a1764dbb70n%40googlegroups.com=20 >>> >>> . >>> >>> --=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/0e10379f-d1c0-4024-b98a= -5c7ba703f561n%40googlegroups.com=20 >> >> . >> >> --=20 > You received this message because you are subscribed to the Google Groups= =20 > "pandoc-discuss" group. > To unsubscribe from this group and stop receiving emails from it, send an= =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/76a7fa0b-752b-496e-98a3-= cc6ee8ef68b0n%40googlegroups.com=20 > > . > > --=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/5d1a1315-d0df-4e28-b13b-8eb8e8d7f9c7n%40googlegroups.com. ------=_Part_117_1068243074.1659189236656 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Nice, the :gsub does the trick (once I replaced \n* with \n+).

Thanks again, really appreciate the help with all this. Hopefully I = can start to build some more Lua filters/writers now. It's a great system (= thanks John MacFarlane!).

On Saturday, 30 July 2022 at 14:06:10 UTC+1 = suki...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org wrote:
=20 =20 =20

I believe you can't create a pandoc document without any block. Two possibilities come to mind:

1. Round tripping: After fixing the citation, read it as LaTeX, and maybe, run pandoc.utils.blocks_to_inlines. (Hey, I never said it wouldn't be messy). May not work, even.

2. Simply delete all paragraph markers: in your case with: citetext:gsub("\n*", " ")

Hth,

Sukil



El 30/07/2022 a las 14:39, Lyndon Drake escribi=C3=B3:

=20 Hi Sukil,

Thanks, you were quite correct about the second problem. I'v= e amended that and it now works, at least in the sense that it is altering the output in the general way I want.

On the first problem, I can just pandoc.stringify the prefix and suffix, and concatenate. The problem with that is I will then lose any Markdown formatting, which is not entirely uncommon in a prefix, and even occasionally in a suffix. I can work around it for this document, I guess, by just being careful not to use any Markdown formatting in these instances, but I'd love to find a way to take a set of Inlines and convert it to a format without adding a block.

On Friday, 29 July 2022 at 19:04:51 UTC+1 suki...= @gmail.com wrote:

Hi,

For your first problem, when you do pandoc.write, as a minimum a block is created, which, I believe, is normally a paragraph. So, don't call pandoc.write. I guess you can concatenate the prefix, citation and suffix and pass them to the pandoc.RawInline function.


For your second problem, I am guessing you are using --citeproc in your defaults file. If that is the case, try: 1) putting the defaults file after the filter; or 2) specifying --citeproc manually, also after the filter.

Hth,

Sukil


El 29/07/2022 a las 16:58, Lyndon Drake escribi=C3=B3:
Thanks for all the help - definitely getting somewhere now!

I guess what I want to avoid is replicating in my not-great-Lua code all the work Pandoc already has to take a string of Markdown and convert it to LaTeX. I'm using pandoc.write to attempt that, and it seems to be working to some degree. The code as it is now is below. I have two problems:

1. This Markdown input [@Haran1982 165 n. 9, 172] gets converted by my calling of pandoc.write into:

```
\cite[165

n.~9,

172]{Haran1982}
```

and I can't figure out why the blank lines are turning up. I imagine I need to do something more clever with the Inlines?


2. Despite the fact that my output in the terminal shows that I am constructing the citetext variable as I am intending to, and I have this line of code:

=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 return pandoc.RawInline('latex', citetext)

The output .tex file still has the normal Pandoc citations. In other words, my writer is constructing a nice LaTeX string with what I want in it, and then discards it in favour of the normal Pandoc code, which is a little bit depressing.

Can anyone spot what I'm missing now?

Best,
Lyndon

```
function Writer(doc, opts)
=C2=A0 =C2=A0 local filter =3D {
=C2=A0 =C2=A0 =C2=A0 =C2=A0 Note =3D function(el)
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 return el:walk = {
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 C= ite =3D function(el)
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 -- processing logic
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 local citetext =3D ""
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 if #el.citations > 1 then
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 if el.citations[1].mode =3D=3D "AuthorInText" then
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 citetext =3D '\\textcites*= 9;
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 elseif el.citations[1].mode =3D=3D "SuppressAuthor" then
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 citetext =3D '\\cites*' =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 elseif el.citations[1].mode =3D=3D "NormalCitation" then
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 citetext =3D '\\cites' =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 end
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 else
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 if el.citations[1].mode =3D=3D "AuthorInText" then
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 citetext =3D '\\textcite*'= ;
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 elseif el.citations[1].mode =3D=3D "SuppressAuthor" then
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 citetext =3D '\\cite*' =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 elseif el.citations[1].mode =3D=3D "NormalCitation" then
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 citetext =3D '\\cite'
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 end
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 end
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 for _, c in pairs(el.citations) do
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 if #c.prefix > 0 then
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 local doc =3D pandoc.Pandoc(c.prefix)
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 local citeprefix =3D pandoc.write(doc, 'latex')
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 citetext =3D citetext .. '[&#= 39; .. citeprefix .. ']'
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 end
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 if #c.suffix > 0 then
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 local doc =3D pandoc.Pandoc(c.suffix)
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 local citesuffix =3D pandoc.write(doc, 'latex')
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 citetext =3D citetext .. '[&#= 39; .. citesuffix .. ']'
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 end
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 citetext =3D citetext .. '{' .. c.id .. '}'
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 print(citetext)
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 end
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 return pandoc.RawInline('latex', citetext)
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 e= nd
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 }
=C2=A0 =C2=A0 =C2=A0 =C2=A0 end
=C2=A0 =C2=A0 }
=C2=A0 =C2=A0 return pandoc.write(doc:walk(filter), '= latex', opts)
end
```

On Friday, 29 July 2022 at 10:49:18 UTC+1 suki...@gmail.= com wrote:

I don't know, but the building blocks you'll= need are `pandoc.stringify` which takes any object and converts it into a string, and `pandoc.RawBlock` or `pandoc.RawInline` which convert a string into a raw block or inline, and take the format as first argument and the string as second.

Hth,

Sukil


El 29/07/2022 a las 10:58, Lyndon Drake escribi=C3=B3:
So I have the citation prefix, which I guess I have to convert to a valid LaTeX string. How can I take an Inlines and LaTeX-ify it to a string?

On Friday, 2= 9 July 2022 at 09:51:35 UTC+1 Lyndon Drake wrote:
Ah yep, that works. Next thing is I have to debug my obviously incorrect code :-)

On Friday, 29 July 2022 at 06:44:22 UTC+1 denis...-NSENcxR/0n0@public.gmane.org wrote:
Tha= t's the problem. This is a writer, not a filter. So you need to call it via
-t latex-footcite.lua
________________________________________
Von: pandoc-...@googlegro= ups.com <pandoc-...@googlegrou= ps.com> im Auftrag von Lyndon Drake <isen...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
Gesendet: Freitag, 29. Juli 2022 07:15:08
An: pandoc-discuss
Betreff: Re: Changing LaTeX output for citations inside footnotes

My command line is:

pandoc -dbookends-latex --template /Users/lyndon/.local/share/pandoc/templates/b= ook.latex --lua-filter=3D/Users/lyndon/.local/share/pandoc/filters/latex-footcite.lua -s -o thesis_jeremiah_32.tex jer-32-thesis.md

It's definitely picking up the lua file because if I have a syntax error, pandoc tells me. But I don't get any output.
On Thursday, 28 July 2022 at 21:32:06 UTC+1 denis...-NSENcxR/0n0@public.gmane.org wrote:
How do you run this ?
I=E2=80=99ve tested with a minimal markdown f= ile :

```markdown
asdf
```

Run with :
pandoc asdf.md -t mylatex.lua

Result :
got here
asdf

So, it prints the first print statement of the writer.

Denis

Von:
pandoc-...@googlegro= ups.com <pandoc-...@googlegrou= ps.com> Im Auftrag von Lyndon Drake
Gesendet: Donnerstag, 28. Juli 2022 19:17
An: pandoc-discuss <pa= ndoc-...-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
Betreff: Re: Changing LaTeX output for citations inside footnotes

Thanks for this - exactly what I needed. I've added my attempt at the code below, but I must be missing some basic part of it because it doesn't do anything. I adde= d a couple of print statements that never get executed:

```
function Writer(doc, opts)
print "got here"
local filter =3D {
Note =3D function(el)
return el:walk {
Cite =3D function(el)
-- processing logic
print "got further"
local citation =3D ""
if #el.citations > 1 then
if citations[1].mode =3D=3D "AuthorInTex= t" then
citation =3D '\\textcites*'
elseif citations[1].mode =3D=3D "SuppressAuthor" then
citation =3D '\\cites*'
elseif citations[1].mode =3D=3D "NormalCitation" then
citation =3D '\\cites'
end
else
if citations[1].mode =3D=3D "AuthorInTex= t" then
citation =3D '\\textcite*'
elseif citations[1].mode =3D=3D "SuppressAuthor" then
citation =3D '\\cite*'
elseif citations[1].mode =3D=3D "NormalCitation" then
citation =3D '\\cite'
end
end
for c in el.citations do
if c.prefix ~=3D "" then
citation =3D citation .. '[' .. c.pre= fix .. ']'
end
if c.suffix ~=3D "" then
citation =3D citation .. '[' .. c.suf= fix .. ']'
end
citation =3D citation .. '{' .. c.= id<http://c.id> .. '}'
end
return pandoc.RawInline('latex', cita= tion)
end
}
end
}
return pandoc.write(doc:walk(filter), 'latex', opts)
end
```

Apologies for what must be a very basic question, but what am I missing here?
On Wednesday, 27 July 2022 at 11:27:32 UTC+1 denis...-NSENcxR/0n0@public.gmane.org wrote:
What kind of example do you need? I only know about the examples in the documentation.

I think this here is a nice one :
https://pandoc.org/lua-filters.html#modifying-pandocs-m= anual.txt-for-man-pages

Or : the new style writer
https://pandoc.org/custom-writers.html#example-modified-markdown-writer=

So, something like this here could be start:

```
function Writer(doc, opts)
local filter =3D {
Note =3D function(el)
return el:walk {
Cite =3D function(el)
-- processing logic
return pandoc.RawInline('latex', '\\cite[prenote][postnote]{key}') end
}
end
}
return pandoc.write(doc:walk(filter), 'latex', opts)
end
```

I don=E2=80=99t think you can get the current writer in Lua.


Von: pandoc-...@googlegro= ups.com <pandoc-...@googlegrou= ps.com> Im Auftrag von Lyndon Drake
Gesendet: Dienstag, 26. Juli 2022 11:00
An: pandoc-discuss <pa= ndoc-...-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
Betreff: Re: Changing LaTeX output for citations inside footnotes

Thanks for this. I can see how that could work.

Can you point me to another example that uses the walk function?

Regarding a new-style Lua writer, is there a way to get the current LaTeX writer as Lua code? Or is it just the Haskell code? (I once knew Haskell but that was rather a long time ago.)
On Monday, 25 July 2022 at 22:02:38 UTC+1 denis...-NSENcxR/0n0@public.gmane.org wrote:
I can't come up with a code example now, bit you can use the walk function (https://pandoc.org/lua-filters.html#type-block:walk) to modify the citations with a given mode inside notes. You'll need to build the citation via Pandoc.RawInline
Maybe that would be a good example of a new style Lua writer.
________________________________________
Von: pandoc-...@googlegro= ups.com <pandoc-...@googlegrou= ps.com> im Auftrag von Lyndon Drake <isen...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
Gesendet: Montag, 25. Juli 2022 21:46:28
An: pandoc-discuss
Betreff: Changing LaTeX output for citations inside footnotes

Hi,

So this is a slightly odd request, which really comes because of the unusual behaviour of the specific BibLaTeX bibliography style I'm using. In that style, \textcite inside a footnote produces an unwanted result. \cite produces the expected output. I have generally just gone through and hand-edited my Pandoc-produced LaTeX files when they get to the final copy stage, but that's painful, and I also thought that maybe this is possible to do in a Lua filter.

But I don't quite know where to start - obviously this is a bit different from the internal Pandoc citations. I'm going to begin the filter with this:

if FORMAT:match 'latex' then <https://pando= c.org/lua-filters.html#cb9-3> function

but what would the function be? If it is Footnote, then I don't really want the AST, I want the LaTeX that forms the footnote contents, and I suppose then I can just replace any occurrences of the string \textcite with the string \cite?

Any help would be awesome!

Best,
Lyndon

--
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...@googlegr= oups.com<mailto:pandoc-discus...-/JYPxA39Uh4Ykp1iOSErHA@public.gmane.org= m>.
To view this discussion on the web visit https://groups.google.com/d/msgid/pan= doc-discuss/bc06a6d8-9a34-4ca9-a05d-2526b23c6f6dn%40googlegroups.com<= ;https://groups.google.c= om/d/msgid/pandoc-discuss/bc06a6d8-9a34-4ca9-a05d-2526b23c6f6dn%40googlegro= ups.com?utm_medium=3Demail&utm_source=3Dfooter>.
--
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...@googlegr= oups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/pan= doc-discuss/d25cee8b-7cb2-4fe9-b44d-f288a8fef728n%40googlegroups.com<= ;https://groups.google.c= om/d/msgid/pandoc-discuss/d25cee8b-7cb2-4fe9-b44d-f288a8fef728n%40googlegro= ups.com?utm_medium=3Demail&utm_source=3Dfooter>.
--
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...@googlegr= oups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/pan= doc-discuss/90c69f14-e16a-44d6-91ec-a6f6dca3ca45n%40googlegroups.com<= ;https://groups.google.c= om/d/msgid/pandoc-discuss/90c69f14-e16a-44d6-91ec-a6f6dca3ca45n%40googlegro= ups.com?utm_medium=3Demail&utm_source=3Dfooter>.

--
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...@googlegr= oups.com<mailto:pandoc-discus...-/JYPxA39Uh4Ykp1iOSErHA@public.gmane.org= m>.
To view this discussion on the web visit https://groups.google.com/d/msgid/pan= doc-discuss/c4609f20-77f3-4427-83ae-6c79ba48ed5bn%40googlegroups.com<= ;https://groups.google.c= om/d/msgid/pandoc-discuss/c4609f20-77f3-4427-83ae-6c79ba48ed5bn%40googlegro= ups.com?utm_medium=3Demail&utm_source=3Dfooter>.
--
You received this message because you are subscribed to the Google Groups "pandoc-discuss&= quot; group.
To unsubscribe from this group and stop receiving emails from it, send an email to = pandoc-discus...-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
--
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..= .@googlegroups.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-di= scus...-/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 pand= oc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
To view this discussion on the web visit https://groups.google.com/d= /msgid/pandoc-discuss/5d1a1315-d0df-4e28-b13b-8eb8e8d7f9c7n%40googlegroups.= com.
------=_Part_117_1068243074.1659189236656-- ------=_Part_116_810725261.1659189236656--