From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/33217 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: "tri...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org" Newsgroups: gmane.text.pandoc Subject: Re: Possible Pandoc development - Inline footnote output format for markdown Date: Tue, 24 Oct 2023 07:41:24 -0700 (PDT) Message-ID: References: <280d8b25-dbf8-4fab-b096-e5d6dc5342fcn@googlegroups.com> Reply-To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_Part_10612_1898980044.1698158484212" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="38475"; mail-complaints-to="usenet@ciao.gmane.io" To: pandoc-discuss Original-X-From: pandoc-discuss+bncBD4N5VPWTMERBFNP36UQMGQEVS6D5VI-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Tue Oct 24 16:41:29 2023 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane-mx.org Original-Received: from mail-oa1-f57.google.com ([209.85.160.57]) by ciao.gmane.io with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1qvIb2-0009qW-UT for gtp-pandoc-discuss@m.gmane-mx.org; Tue, 24 Oct 2023 16:41:28 +0200 Original-Received: by mail-oa1-f57.google.com with SMTP id 586e51a60fabf-1c8c1f34aadsf6141990fac.3 for ; Tue, 24 Oct 2023 07:41:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20230601; t=1698158487; x=1698763287; darn=m.gmane-mx.org; 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=E0APUJ56RkwtuQOHG3ASTxklCOlk47IAJwP+8cUZuAs=; b=VqVsbg/Hn10EuRn6vvQ80T2ZWjn74D5ZdBhxSysBIuZkH4V+oh3EcGrfci6UeCY+r6 8CPblT8eK8kn6UUiIH7JCi+csOeucWE3UjCf5SPQtZtPm29taNycEiHi2pT1ZOsNpmE5 21MERQVwD1za7eX8skGPkW8kxCxTyyc5nd5oKZlaqDY0NtSbal516Yhog9xGOiejiGzK xH1xcyMZ2KLD2ANe3w/VyRBV7pHNxRiqnu9OsZPx5tGl56WUhMiUZHhwfAMjMJ3HET6y UafP/rQIquCBDHAN38eZ3pY+H75YMqz4kuY2ECU1KaaUr0tLol3+Yv0qwcz9M4cp0cbJ ztAg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1698158487; x=1698763287; darn=m.gmane-mx.org; 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=E0APUJ56RkwtuQOHG3ASTxklCOlk47IAJwP+8cUZuAs=; b=AAYrdhd2Ozo19OyRRiXgdUe1smJtuj8630X4cZl91TSC/egAln9S653lLWxhK53eNP 17KcU7f7Kgnsq9rn+CW40R4bSyyrGr1ZBcp9ChjaxmAj3HZOE6csG1s+ts4I8pczFitS Nha7lFdU/ESwpiUGTpgqyMsGreSK1jMwbVvEeq/MxCRD8OzrRkvxvdKrkk4j8wPSFRWS XmtXUPD7T7TvyLlKc3e9nnmDnXfZS0ja/yAQeD1jPTwd1IZxnjkYPYgxfLI438VVPGRZ SRwDvA4BNjickLGGrn1QFMCa+QcFBpuB1cxSixIWTAFxb6LXCk7J/cP23NCAVVWYeSND /FGg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1698158487; x=1698763287; 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-beenthere:x-gm-message-state:sender:from :to:cc:subject:date:message-id:reply-to; bh=E0APUJ56RkwtuQOHG3ASTxklCOlk47IAJwP+8cUZuAs=; b=XVmh6wrSGIfcsmlbzdJkXHJRbIWAHYRxPdjMrUwCSP1xi9cxkSnIAZ0mpg8d3J8mHN Ebwn7o6xzzxCwKZSRyRTjXlC91PUUoRmt4096cjufmv/HAbXL6fIK/eKEEnqBu1494cr Jv7fnGc7HBlMSUqfxKH3RxW40RJOhHwSDogkHt98anzsSItXUbp/k8hXXKoI/ib7kdK2 9DRAfgQljBlGYr8jN02vC/23BtMRRp/a9y+dSb3hlwfxqpC0OATIXec3zPqX0xRCyj+b TNIJhKzRaL2gNHcY0IhuAAnplT1p/8Yyh7OG28a1Cj04rreOlI Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Gm-Message-State: AOJu0YxKdAQqxJRuYJArPfuHqti+9T8pqxbpywePspKydSnjx3DGjP5E 4u9U9K31bkAKHrFKyqLvSaE= X-Google-Smtp-Source: AGHT+IEVSYoSqauH76jbytYOwQYQjl+Jsw6uWrg7kRxCuC5TTQK25l3cPqszZmuuVgw7TvKYOi1XXA== X-Received: by 2002:a05:6870:b698:b0:1bb:c0ee:5536 with SMTP id cy24-20020a056870b69800b001bbc0ee5536mr13432803oab.47.1698158487663; Tue, 24 Oct 2023 07:41:27 -0700 (PDT) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 2002:a05:6871:608:b0:1dd:651a:720f with SMTP id w8-20020a056871060800b001dd651a720fls2468539oan.0.-pod-prod-07-us; Tue, 24 Oct 2023 07:41:25 -0700 (PDT) X-Received: by 2002:a05:6808:350f:b0:3a7:86b2:1950 with SMTP id cn15-20020a056808350f00b003a786b21950mr4167811oib.0.1698158484977; Tue, 24 Oct 2023 07:41:24 -0700 (PDT) In-Reply-To: X-Original-Sender: tridral-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:33217 Archived-At: ------=_Part_10612_1898980044.1698158484212 Content-Type: multipart/alternative; boundary="----=_Part_10613_218056393.1698158484212" ------=_Part_10613_218056393.1698158484212 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Dear John, Thank you very much for making the time to reply. I quite understand if=20 you think the extra complexity is not worthwhile. best regards, '=C3=B6-Dzin On Saturday, 21 October 2023 at 17:57:19 UTC+1 John MacFarlane wrote: > Not all footnotes can be inline -- inline footnotes can't contain=20 > block-level formatting. > That's why we use reference notes in the writer. > > In principle it would be possible to add an option that uses inline notes= =20 > when possible > (not always), but I'd prefer not to: I don't think the additional=20 > complexity is > worth it in this case. > > > On Oct 21, 2023, at 2:13 AM, tri...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org wrote: > >=20 > > Pandoc can read both Markdown reference footnotes and inline footnotes,= =20 > but is only able to write reference footnotes when producing a Markdown= =20 > file. > >=20 > > Is it possible to enable Pandoc to write inline footnotes in Markdown? > >=20 > > Last year i received help in converting reference footnotes to inline= =20 > footnotes from Christophe Demko, who produced a combination of a Lua filt= er=20 > and sed editor code which enabled me to convert reference footnotes to=20 > inline. I'm very grateful to Christophe for this facility. > >=20 > > (See=20 > https://groups.google.com/g/pandoc-discuss/c/_5-8TRJhhqo/m/NDvoWc-XAQAJ) > >=20 > > I would like to know whether it would be possible for Pandoc to directl= y=20 > support the writing of inline footnotes. Could this be a future developme= nt? > >=20 > > Many thanks, > >=20 > > '=C3=B6-Dzin > >=20 > >=20 > >=20 > >=20 > >=20 > >=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/280d8b25-dbf8-4fab-b096-= e5d6dc5342fcn%40googlegroups.com > . > > --=20 You received this message because you are subscribed to the Google Groups "= pandoc-discuss" group. To unsubscribe from this group and stop receiving emails from it, send an e= mail to pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To view this discussion on the web visit https://groups.google.com/d/msgid/= pandoc-discuss/de2f164c-1ab0-49ed-b0f5-f08aceb209b5n%40googlegroups.com. ------=_Part_10613_218056393.1698158484212 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Dear John,

Thank you very much for ma= king the time to reply.=C2=A0 I quite understand if you think the extra com= plexity is not worthwhile.

best regards,

'=C3=B6-Dzin

On Saturday, 21 October= 2023 at 17:57:19 UTC+1 John MacFarlane wrote:
Not all footnotes can be inline -- inlin= e footnotes can't contain block-level formatting.
That's why we use reference notes in the writer.

In principle it would be possible to add an option that uses inline not= es when possible
(not always), but I'd prefer not to: I don't think the addition= al complexity is
worth it in this case.

> On Oct 21, 2023, at 2:13 AM, tri...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org <t= ri...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:
>=20
> Pandoc can read both Markdown reference footnotes and inline footn= otes, but is only able to write reference footnotes when producing a Markdo= wn file.
>=20
> Is it possible to enable Pandoc to write inline footnotes in Markd= own?
>=20
> Last year i received help in converting reference footnotes to inl= ine footnotes from Christophe Demko, who produced a combination of a Lua fi= lter and sed editor code which enabled me to convert reference footnotes to= inline. I'm very grateful to Christophe for this facility.
>=20
> (See https://groups= .google.com/g/pandoc-discuss/c/_5-8TRJhhqo/m/NDvoWc-XAQAJ)
>=20
> I would like to know whether it would be possible for Pandoc to di= rectly support the writing of inline footnotes. Could this be a future deve= lopment?
>=20
> Many thanks,
>=20
> '=C3=B6-Dzin
>=20
>=20
>=20
>=20
>=20
>=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 email to pandoc-discus..= .@googlegroups.com.
> To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/280d8b2= 5-dbf8-4fab-b096-e5d6dc5342fcn%40googlegroups.com.

--
You received this message because you are subscribed to the Google Groups &= quot;pandoc-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an e= mail to pand= oc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
To view this discussion on the web visit https://groups.google.com/d= /msgid/pandoc-discuss/de2f164c-1ab0-49ed-b0f5-f08aceb209b5n%40googlegroups.= com.
------=_Part_10613_218056393.1698158484212-- ------=_Part_10612_1898980044.1698158484212--