From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/31000 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Bastien DUMONT Newsgroups: gmane.text.pandoc Subject: Re: Print footnote at the end of each chapter Date: Sun, 17 Jul 2022 20:58:20 +0000 Message-ID: References: <2f1b62af-3a08-487e-9a44-3e8ed0d3cd5en@googlegroups.com> <53b53720-9cfc-449f-a3a9-e7948c7b3f21n@googlegroups.com> <4af3664b-3552-4f66-b86e-b63bad2d59e9n@googlegroups.com> Reply-To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="6jfjprhxAHUx4NU1" Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="19023"; mail-complaints-to="usenet@ciao.gmane.io" To: 'Marek Stepanek' via pandoc-discuss Original-X-From: pandoc-discuss+bncBDCINCES2QJRB37P2GLAMGQE4OKMXWI-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Sun Jul 17 22:58:27 2022 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane-mx.org Original-Received: from mail-wm1-f59.google.com ([209.85.128.59]) by ciao.gmane.io with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1oDBLP-0004mu-4t for gtp-pandoc-discuss@m.gmane-mx.org; Sun, 17 Jul 2022 22:58:27 +0200 Original-Received: by mail-wm1-f59.google.com with SMTP id v123-20020a1cac81000000b003a02a3f0beesf7688860wme.3 for ; Sun, 17 Jul 2022 13:58:27 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1658091506; cv=pass; d=google.com; s=arc-20160816; b=p1vy+qY9/FPQg7iJn5LWZqxb+ht1/EzG3w1NRhyGae5iRbl0vib0ej1BeWQHONFjZE N417tugcwbgXfeetmBypUMRUgr4kTTxJW3Y5jlfyw6zJ308opVi2pL+/pLyXag0NVuLV /okAT64GlsZs1t4ZP54woPi7baVgN4yrfbzNUjptriDcUglepBz88t3NNMTwQLIOiBb5 lr/kqxz7viZQhJXisRbvLcGGXsPZguAUtCB5AozFT4LwfqC7a84G7+TzK4lC7VrmoOrp ldMG/q8LWjdW6kJx+MP0amhuoneAcqBc3eQG5EnUEGdqeScIZimC7AkkQcvEQDmfMPFY JZQA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :list-id:mailing-list:precedence:reply-to:in-reply-to :content-transfer-encoding:content-disposition:mime-version :references:message-id:subject:to:from:date:sender:dkim-signature; bh=daYoaMLxxsCgmE/UgIWOie/pbfR+GGDy6usrWDGQUnA=; b=dIXuB3ugow9x6/4rSgGB5L7kOz3hTrQ35FHGc/f2YIcICLjCJmW1fhlzZX1nu60439 8+Mrp+0SPwBaTSxffiMzJsgyysBm/+gh4pOySaEpHUYpTVx+LQTzJPfDZSYbA2tyyGqs zTTFeR6O5C4nDZt0Gg/fGxuqJ47ulrbeM6XRwslVpCqg6bcIijubjPmN3TmcO79IueIM 3T7li4UC3ZBuf97L9X73j/YDm5b4fIbr9VRawNxRgd6QalDb4u2P1R39H1wqUkD/8vrG JaY9+t2CTi+P6nM+/emfSUJlyA/qBRB5CwhYAvwa+n+9w7QEiF48YO4gjcjCwvdLVjHa t3LQ== ARC-Authentication-Results: i=2; gmr-mx.google.com; dkim=pass header.i=@posteo.net header.s=2017 header.b=MGY42YZi; spf=pass (google.com: domain of bastien.dumont-VwIFZPTo/vqsTnJN9+BGXg@public.gmane.org designates 185.67.36.65 as permitted sender) smtp.mailfrom=bastien.dumont-VwIFZPTo/vqsTnJN9+BGXg@public.gmane.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=posteo.net DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20210112; h=sender:date:from:to:subject:message-id:references:mime-version :content-disposition:content-transfer-encoding:in-reply-to :x-original-sender:x-original-authentication-results:reply-to :precedence:mailing-list:list-id:list-post:list-help:list-archive :list-subscribe:list-unsubscribe; bh=daYoaMLxxsCgmE/UgIWOie/pbfR+GGDy6usrWDGQUnA=; b=R2N7fkmlJMUpJXHAY7Q+8K6JzW2Ggbzz6Ttcs02P3/eCuJvmkZR0d23Wa71es31pvw qFWVA7EFTzPcc/0Sjr9ZnbOoTWYHX4ptLFTYkts9pi8O3uRIopy47YM7IoyxcurkTAE+ Y5cOUUY6GjcEcsMUqn3bPvLjsiDuidS612sx7UEbnVOv8s8l7366bILOzrsXXuuNv7o+ FplgfXwrJhWsf3Zo9CDdWZwKovM4kENqkoyR1lWcqh8v6Jeb76ilgjgXIEIJP2InXeZ/ 0ik/am9FSiePOOfOUTKnv0Bx+W3FV4gOSt1jQprQPM55yVf7B8e+3xdfMN+uPFXnoArj lKXA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=sender:x-gm-message-state:date:from:to:subject:message-id :references:mime-version:content-disposition :content-transfer-encoding:in-reply-to:x-original-sender :x-original-authentication-results:reply-to:precedence:mailing-list :list-id:x-spam-checked-in-group:list-post:list-help:list-archive :list-subscribe:list-unsubscribe; bh=daYoaMLxxsCgmE/UgIWOie/pbfR+GGDy6usrWDGQUnA=; b=IGd94IpkEi6qdkO1bSG5vH3GPZhEgEf6asmLc49hC6jjtg4pb8HoG1rrwXU9g4j6lD s9YWNoY7W1xwFZc87GvVnVvhTerkhslB8FLTF3zM3CjPKtThhMl6RraW18UUiJGsp9Xj d/dZZhjmGJSaqgYXfHwc8fSPavYBBwzV7rFyrqSySidO/UVd7N1reHGMRHDY29o+d9RQ jY0d2r+XCmO27uS8KsOXZ+hsok8sWW0ywN3SS69LufstE17xMhlom5wD5WMXl4va3j4A oBzSwI/6yod07Szcn+UELOAdMOmCmtMcwAvF3PlJXFkL Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Gm-Message-State: AJIora/VMw/OKjf0VTgU6bGKSAlQsBYpjwdSRho2fumWyVeFK1JrG1yT pZq+tBCWq+SH0zUV5UwuXX0= X-Google-Smtp-Source: AGRyM1s6jNetjTKn7d1OEr1dl1WE2CveWsXr8+6lcadNbWy3R+7yUmF7kce+bZxmdjkG6vCfFzZQWA== X-Received: by 2002:a05:600c:3506:b0:3a2:feb0:9f8e with SMTP id h6-20020a05600c350600b003a2feb09f8emr20707999wmq.42.1658091506615; Sun, 17 Jul 2022 13:58:26 -0700 (PDT) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 2002:a05:6000:1849:b0:21d:9b2c:2273 with SMTP id c9-20020a056000184900b0021d9b2c2273ls2529242wri.1.gmail; Sun, 17 Jul 2022 13:58:22 -0700 (PDT) X-Received: by 2002:adf:d1e2:0:b0:21d:bca6:2371 with SMTP id g2-20020adfd1e2000000b0021dbca62371mr19664237wrd.315.1658091502574; Sun, 17 Jul 2022 13:58:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1658091502; cv=none; d=google.com; s=arc-20160816; b=Nbr1dFByslmVLAnB+l8GeuOmPa+rK70nIH0LXttaUWL5p/PRJa62v+8+oZ22c5qSNd NjD1r120A8op7HJPpMuR4KKctRGKTsVPBEIFfPFPiGTdEkKTboMdni15c70mwugtfPLv 4yyXbl+8iI3GVur9Rd4hAqgNukjeyjfFGDZGgmFdYYCGhdpCOnfMP+oa6TAgvXy/N4AQ 4/T0mLXIPyMbZWv6uRsr0QRP/j7MVNIcZmPEHxcVEtCdE5vEvwSCQgmDTv02WGLIa+q8 HzEMhZYIiosoyj8fRT/i3XHNzGjojZrm9eBN4QQYh7hrRcYtrJrYB6sLgTBCfkNOMSLi h1KQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-transfer-encoding:content-disposition :mime-version:references:message-id:subject:to:from:date :dkim-signature; bh=++SXwBY5/tHS5vKiQrUtrmdJdShIbdBW7Wq4Jh5DYqY=; b=XYzb6f3hxuKR5QwL5tVan8+2u9Cp1iFOWeFO6MzPBh120nNBgVgyIgGiqZh7XoSYJm A/o5fMY0B92B2xZFDGMbcV/BpVO9PF/tFVJh3T/svj7qLJsJCpuPOAJZcPfup2x5a8M9 ai7Wm0VFr128AGFJQ//Z/WurXkiwgMO5R4vpwidDDjDiJlZKpbrw88YcIL8BqUYYRl0h 0g6biNoZbDJmUFMPlkRSijYROTG/Vh2LcC3s6haaogpOfx0GxmzvgK2Wq51ez+wtj5fj xbCUXFhJ8FwyL/cMUyFbhQHMGPLcse2Unld9fwB4VhVnATH6ajDiHVmIl3ymEm5AOisw gJuA== ARC-Authentication-Results: i=1; gmr-mx.google.com; dkim=pass header.i=@posteo.net header.s=2017 header.b=MGY42YZi; spf=pass (google.com: domain of bastien.dumont-VwIFZPTo/vqsTnJN9+BGXg@public.gmane.org designates 185.67.36.65 as permitted sender) smtp.mailfrom=bastien.dumont-VwIFZPTo/vqsTnJN9+BGXg@public.gmane.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=posteo.net Original-Received: from mout01.posteo.de (mout01.posteo.de. [185.67.36.65]) by gmr-mx.google.com with ESMTPS id s8-20020a05600c384800b0039c903985c6si463073wmr.2.2022.07.17.13.58.22 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 17 Jul 2022 13:58:22 -0700 (PDT) Received-SPF: pass (google.com: domain of bastien.dumont-VwIFZPTo/vqsTnJN9+BGXg@public.gmane.org designates 185.67.36.65 as permitted sender) client-ip=185.67.36.65; Original-Received: from submission (posteo.de [185.67.36.169]) by mout01.posteo.de (Postfix) with ESMTPS id 23AE9240027 for ; Sun, 17 Jul 2022 22:58:22 +0200 (CEST) Original-Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4LmHW11zq7z6tqy for ; Sun, 17 Jul 2022 22:58:21 +0200 (CEST) Content-Disposition: inline In-Reply-To: <4af3664b-3552-4f66-b86e-b63bad2d59e9n-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org> X-Original-Sender: bastien.dumont-VwIFZPTo/vqsTnJN9+BGXg@public.gmane.org X-Original-Authentication-Results: gmr-mx.google.com; dkim=pass header.i=@posteo.net header.s=2017 header.b=MGY42YZi; spf=pass (google.com: domain of bastien.dumont-VwIFZPTo/vqsTnJN9+BGXg@public.gmane.org designates 185.67.36.65 as permitted sender) smtp.mailfrom=bastien.dumont-VwIFZPTo/vqsTnJN9+BGXg@public.gmane.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=posteo.net 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:31000 Archived-At: --6jfjprhxAHUx4NU1 Content-Type: text/plain; charset="UTF-8" Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Fortunately for John MacFarlane, he will not need shouting on you, for you = can do all this one a more simple way! See the attached file. Le Sunday 17 July 2022 =C3=A0 01:44:07PM, 'Marek Stepanek' via pandoc-discu= ss a =C3=A9crit : > Thx again. `texman endnotes` does not tell anything about a package. I tr= ied > but an error pops up:=20 > One moment! I tried again. Apparently I inserted the wrong package name i= n > singular. Now it is working!=20 >=20 > For other users to resume: >=20 > in the=20 >=20 > header-includes: > - \usepackage{endnotes} > - | > ```{=3Dlatex} > \let\footnote=3D\endnote > ``` > In the text body: >=20 > text text text \endnote[1]{This is a footnote at the end} >=20 > New Paragraph \endnote[2]{This is a footnote at the end} with text >=20 > And in the Sources & Footnotes Chapter >=20 > ```{=3Dlatex} > \theendnotes > ``` >=20 > Inconvenient although is: you have to number your footnotes yourself! And= John > MacFarlane will be shouting on me, mixing up markup with LaTeX... >=20 >=20 > On Sunday, July 17, 2022 at 9:36:19 PM UTC+2 Bastien Dumont wrote: >=20 > Did you add "\usepackage{endnotes}" before "\let\footnote=3D\endnote"= ? > Unfortunately (or fortunately) no, I never had to use endnotes... > pandoc-crossref will not help you here, you must configure this in La= TeX. >=20 > Le Sunday 17 July 2022 =C3=A0 11:34:22AM, 'Marek Stepanek' via pandoc= -discuss a > =C3=A9crit : > > Merci infiniment Bastien, > > > > Did you succeeded to implement `\endnotes` into a mark-down documen= t? > What I > > did so far: I added in my Yaml Meta Datablock > > > > - | > > ```{=3Dlatex} > > \let\footnote=3D\endnote > > ``` > > > > In my text body > > > > ```{=3Dlatex} > > \endnote[1]{This is a footnote at the end} > > ``` > > > > And in my Sources chapter > > > > ```{=3Dlatex} > > \theendnotes > > ``` > > > > With and without the enclosing ```{=3Dlatex} ... pandoc does not li= ke `\ > endnote` > > > > Perhaps `pandoc-crossref` is the way to go? > > > > > > marek > > > > > > > > On Sunday, July 17, 2022 at 4:28:03 PM UTC+2 Bastien Dumont wrote: > > > > Have you tried to use a dedicated LaTeX package such as endnotes ([= 1] > https: > > //[1]ctan.org/pkg/endnotes)? > > > > Le Sunday 17 July 2022 =C3=A0 02:01:15AM, 'Marek Stepanek' via pand= oc-discuss > a > > =C3=A9crit : > > > Some more explanations, to provoke an answer. I need inline Refer= ences, > > wich > > > are collected at the end of each article. I tried with [1] or [(1= )] or > > [1] > > > [Fn:1] etc > > > > > > But in my section: > > > > > > ## References and sources > > > > > > [1]: First Footnote > > > [(1)]: First Footnote > > > [Fn:1]: First Footnote > > > > > > is printed nothing. In the pdf-file the anchor seems to be linked= , but > on > > click > > > leading to nothing. > > > > > > in my Header includes is also > > > > > > ___ > > > > > > - \usepackage{hyperref} > > > - \hypersetup{pdftitle=3D{Articles 22022},pdfauthor=3D{myself},pd= fsubject=3D > > > {Subjects}} > > > > > > ___ > > > > > > Are these informations sufficient to help me out? > > > > > > I would be very grateful for any hint in the right direction > > > > > > > > > marek > > > > > > > > > > > > > > > > > > On Saturday, July 16, 2022 at 10:20:50 AM UTC+2 Marek Stepanek wr= ote: > > > > > > > > > I am compiling with pandoc markdown with documentclass scrartcl o= ver > > LaTeX > > > to pdf. I have several articles in one file and would like to pri= nt the > > > footnotes at the end of each article. > > > > > > I tried pandoc-crossref, but apparently it is not supporting foot= notes > > and > > > needs in the anchor a leading keyword like `@fig:` or `@sec:` `@l= st:`. > > But > > > footnotes are not supported (please correct me). > > > > > > I tried with `--reference-location=3Dblock|section|document` in m= y > Makefile > > > like follows: > > > > > > ``` > > > all: save typeset open > > > > > > .PHONY: all > > > save: > > > w > > > > > > typeset: > > > pandoc \ > > > --from markdown \ > > > --to latex \ > > > --out articles.pdf \ > > > --pdf-engine pdflatex \ > > > --bibliography articles.bib \ > > > -F pandoc-crossref \ > > > --reference-location=3Dsection \ > > > --citeproc \ > > > --csl csl/din-1505-2-numeric-alphabetical.csl \ > > > --lua-filter pandoc-gls.lua \ > > > articles.md > > > > > > open: > > > open articles.pdf > > > ``` > > > > > > Probably wrong idea. Perhaps somebody could point me to the right > > direction > > > > > > marek > > > > > > -- > > > You received this message because you are subscribed to the Googl= e > Groups > > > "pandoc-discuss" group. > > > To unsubscribe from this group and stop receiving emails from it,= send > an > > email > > > to [1][2]pandoc-discus...-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > > > To view this discussion on the web visit [2][3][2]https:// > groups.google.com/ > > d/msgid/ > > > pandoc-discuss/2f1b62af-3a08-487e-9a44-3e8ed0d3cd5en%[4] > > [3]40googlegroups.com. > > > > > > References: > > > > > > [1] mailto:[5]pandoc-discus...-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org > > > [2] [6][4]https://groups.google.com/d/msgid/pandoc-discuss/ > > 2f1b62af-3a08-487e-9a44-3e8ed0d3cd5en%[5]40googlegroups.com?utm_med= ium=3D > email& > > 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, s= end an > email > > to [7]pandoc-discus...-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > > To view this discussion on the web visit [8][6]https://groups.googl= e.com/ > d/msgid/ > > pandoc-discuss/53b53720-9cfc-449f-a3a9-e7948c7b3f21n%[7] > 40googlegroups.com. > > > > References: > > > > [1] [8]https://ctan.org/pkg/endnotes > > [2] - > > [3] [9]https://groups.google.com/d/msgid/ > > [4] [10]http://40googlegroups.com/ > > [5] - > > [6] [11]https://groups.google.com/d/msgid/pandoc-discuss/ > 2f1b62af-3a08-487e-9a44-3e8ed0d3cd5en%40googlegroups.com?utm_medium= =3Demail& > utm_source=3Dfooter > > [7] mailto:pandoc-discus...-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org > > [8] [12]https://groups.google.com/d/msgid/pandoc-discuss/ > 53b53720-9cfc-449f-a3a9-e7948c7b3f21n%40googlegroups.com?utm_medium= =3Demail& > utm_source=3Dfooter >=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 [13]pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > To view this discussion on the web visit [14]https://groups.google.com/d/= msgid/ > pandoc-discuss/4af3664b-3552-4f66-b86e-b63bad2d59e9n%40googlegroups.com. >=20 > References: >=20 > [1] http://ctan.org/pkg/endnotes > [2] https://groups.google.com/ > [3] http://40googlegroups.com/ > [4] https://groups.google.com/d/msgid/pandoc-discuss/ > [5] http://40googlegroups.com/?utm_medium=3Demail& > [6] https://groups.google.com/d/msgid/ > [7] http://40googlegroups.com/ > [8] https://ctan.org/pkg/endnotes > [9] https://groups.google.com/d/msgid/ > [10] http://40googlegroups.com/ > [11] https://groups.google.com/d/msgid/pandoc-discuss/2f1b62af-3a08-487e-= 9a44-3e8ed0d3cd5en%40googlegroups.com?utm_medium=3Demail&utm_source=3Dfoote= r > [12] https://groups.google.com/d/msgid/pandoc-discuss/53b53720-9cfc-449f-= a3a9-e7948c7b3f21n%40googlegroups.com?utm_medium=3Demail&utm_source=3Dfoote= r > [13] mailto:pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org > [14] https://groups.google.com/d/msgid/pandoc-discuss/4af3664b-3552-4f66-= b86e-b63bad2d59e9n%40googlegroups.com?utm_medium=3Demail&utm_source=3Dfoote= r --=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/YtR37GLB2Uze9uvi%40localhost. --6jfjprhxAHUx4NU1 Content-Type: text/markdown; charset=utf-8 Content-Disposition: attachment; filename="test.md" --- header-includes: - | ``` {=latex} \usepackage{endnotes} \let\footnote\endnote ``` --- Lorem ipsum dolor sit amet^[First footnote], consectetuer adipiscing elit. Ut purus elit, vestibulum ut, placerat ac, adipiscing vitae, felis^[Second footnote]. Curabitur dictum gravida mauris. Nam arcu libero, nonummy eget, consectetuer id, vulputate a, magna. \theendnotes --6jfjprhxAHUx4NU1--