From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/30998 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 19:36:13 +0000 Message-ID: References: <2f1b62af-3a08-487e-9a44-3e8ed0d3cd5en@googlegroups.com> <53b53720-9cfc-449f-a3a9-e7948c7b3f21n@googlegroups.com> Reply-To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="36647"; mail-complaints-to="usenet@ciao.gmane.io" To: 'Marek Stepanek' via pandoc-discuss Original-X-From: pandoc-discuss+bncBDCINCES2QJRBL6J2GLAMGQE6HAOSCI-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Sun Jul 17 21:36:21 2022 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane-mx.org Original-Received: from mail-lj1-f183.google.com ([209.85.208.183]) by ciao.gmane.io with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1oDA3w-0009Mi-C6 for gtp-pandoc-discuss@m.gmane-mx.org; Sun, 17 Jul 2022 21:36:20 +0200 Original-Received: by mail-lj1-f183.google.com with SMTP id k3-20020a2ea283000000b0025bcd580d43sf1599155lja.2 for ; Sun, 17 Jul 2022 12:36:20 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1658086579; cv=pass; d=google.com; s=arc-20160816; b=gEHFrSOPHiVRP3t6NdF2Fyschku67hms8Hn7+cqL6uv6+zMls1DtAUsuxMtKIdQHdS 6p3AoXeKIinyG7Mpf0JLvscCliGIMvvO2GRJovwcMLsVFMjdhGxbwbAPtmYR8mkfXgbl UULeQSQkyoOl9OFNGS3Ny6kdK8cBsDMPPldrAMpb8TBv/hucS8cixEBCt42b+0fT5E5X mQWXln34AjauKtlhbtDey7Fc9GZMuUrUy7mh0qUTASe27DQzHzTPqS3Pgi6bF0Pi2Mib wfSiG+gXbrqRLscefK+k375TvVgV4PSJ5OnOCdsa2bQaOZ/WX2nKSuGpdQKHV12Wx5t9 nqjw== 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=ljt56wdl9nhWqDcqmk6vcUgijOkb6OSncFviGGc4Lm0=; b=IoAhfdQDLikmB7ybWUP9icPQvdic8Nrw2rTXk25PHDyl+DrEhAYX/kyUNU3SJ9mOvt uw8Kw2I6qiF4BOezoMxOU7znA59OyUVOpDZQIsbaO6qLAivgznC7CtHBtuhjmWqsbrVf siZcZm4dH01tE2c9G/y5m0fyaRQEPuVwbdqAd4VinGw6G7pR3LRiSIxvwhSS+wEr/TjF uAgRmmw9QGBzonLuDmYsoPp1bvUYt3aWD+OziSr7mVLMfyS+lOqYeywjWuegUwpVXxvn hbGBUnJJ2l2S3J68Jz4ToInTjuo/BNl/Dgt1RQdPu6GlBk7VwIokjjLV82s+Vmu6o3eQ JZlQ== ARC-Authentication-Results: i=2; gmr-mx.google.com; dkim=pass header.i=@posteo.net header.s=2017 header.b=dl+vF5n9; 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=ljt56wdl9nhWqDcqmk6vcUgijOkb6OSncFviGGc4Lm0=; b=XlkKP9Y/3CoHxIEIcbg/q5yY0fv4lQgHcZI+zq8BaNQ17HS9giagbR51qO3qQ3u0yo WMdNue0LSdO06uutZaiJOPsq+IXDqcT5nMglS9M1FB5HiZZGI5qHonXdC1oAmpqZSSKT ewcsI39czHSEauC4YRvvC7HuzraEgeHvgdmD9WVYv/m5PjnouxgZqtPKmhAGDmY964KV LDFWwGXPQ+MaqdgVp/QtggkUcEnEoVcivUnZR4cu2jVVBm5WvNZMbQJLHkbieSYUMfNJ JOLBLdVFNesoNO0/7Td+Pm0eruBx08wcW9/nSynfvNwVn13kaiL/HnqryxxdQvQYB0JS 9QOg== 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=ljt56wdl9nhWqDcqmk6vcUgijOkb6OSncFviGGc4Lm0=; b=5eWJxgjFiTwO+vZ3pKwaxAs9E4ngLzgXfKwalRL78l+snxHd9PqKSUzr2rG7Pnc9lZ 9Ndr5FDB4Gc0RTI/vcYGMDT4zCZe+Xwm8+fKXYZ1VflDWfDPSL5MlUoUZc+dWv9cCG1m Kc1548sctt/0hRNJQwwebauIdlKiCNAO72/QaEm0NNe9l1JT9X1MUbaMG4toBt9r867N U4AnjPrjDgBNQMQ/eE8bn6hm3ES5neNMT8Ta1yVDMli7cfAJoEwIH4VbIOVKYW+/b0GT pNnDU51La1x09Ab/ULRI9wFasMEAyF07p9BI+HTPlbQU Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Gm-Message-State: AJIora9VBl2p4klN7XHD6u5nx2kfADp7iRMEQDbQnIGrV8aVzjSApIPH gU0URglaebzQos5dFfUT6b4= X-Google-Smtp-Source: AGRyM1vVapln1QSsQ0KswLz5O2sEuMtO+UcZssXt+RwK31SJEQbXvZH84rzXYqvUQMBLN+IyJABAAQ== X-Received: by 2002:a2e:7815:0:b0:25d:ab68:29da with SMTP id t21-20020a2e7815000000b0025dab6829damr3472624ljc.260.1658086579698; Sun, 17 Jul 2022 12:36:19 -0700 (PDT) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 2002:a05:6512:3ac:b0:488:e12b:17e9 with SMTP id v12-20020a05651203ac00b00488e12b17e9ls3743455lfp.2.gmail; Sun, 17 Jul 2022 12:36:15 -0700 (PDT) X-Received: by 2002:a05:6512:23aa:b0:489:ddb4:6f84 with SMTP id c42-20020a05651223aa00b00489ddb46f84mr12883945lfv.683.1658086574960; Sun, 17 Jul 2022 12:36:14 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1658086574; cv=none; d=google.com; s=arc-20160816; b=os2Ab4/kinkoer7iA4Z1Iu9do66yKBn011sSc9gUWxnrt0zXtiy3FegrthUPdg61kf 64yuBn6+y4XHG7Hejpx2dZKe2od7MFx7dvjFfwjUAVIGDzWnVSga9oRMRcNCqeZXoCy/ vg4sMy7rqDmuoPK55BgSbumd3L/wH4YTZBfmp4NQKZrjkHbw/YbhPinTDI5M4WD3/6a3 xXmIl5H6VzrjYlxAw9sr9RmMBr0yeg4epEdw2LdpbdbqToeNIpAFBmd7V5NChKNcErEQ Px/EjpI76SHqytOGyypo380a8TspvpTqw80a4ROPeCnoh2q2MZzDS9qPYs8ZA1fwkwFI ORhA== 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=CmipJqr2+SM4y4/s67npAwuV8oxFUeep87z44zixdMg=; b=CdtKzEiRKaiZS2dzZ86DkEr8vJU42eXQYIbfLslLMAeR28tzxHe0qrkYh0D5Rv8HZQ zoNwdgw15/KCbu6j4jEuujUeR8t7h0c23CmLNW6o5ECqtf0ohLMgUTcu35yNupVCgX1u /IT/MtCQzfY0YMBX0A4ZRfq6NVoRvC9idliG9vuRJs76ie5PUx3JXZUUaN516d0xJlSc shKmW4TXWOMOouUwMluQbroMVrmEpnrKJn8EB0Q4bZRYn3JA7l0ljyhe1iJHvwgKMeIt RxU/D9nSX8evIaBu/n5wusP44Ibyi2hRiDHL37d/trPhhAjA8moddAlAvJgC2FIaCW8/ +fKw== ARC-Authentication-Results: i=1; gmr-mx.google.com; dkim=pass header.i=@posteo.net header.s=2017 header.b=dl+vF5n9; 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 k18-20020a05651c10b200b0025a70508721si294795ljn.7.2022.07.17.12.36.14 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 17 Jul 2022 12:36:14 -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 3047024002B for ; Sun, 17 Jul 2022 21:36:14 +0200 (CEST) Original-Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4LmFhF5bG5z6tmL for ; Sun, 17 Jul 2022 21:36:13 +0200 (CEST) Content-Disposition: inline In-Reply-To: <53b53720-9cfc-449f-a3a9-e7948c7b3f21n-/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=dl+vF5n9; 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:30998 Archived-At: Did you add "\usepackage{endnotes}" before "\let\footnote=3D\endnote"? Unfo= rtunately (or fortunately) no, I never had to use endnotes... pandoc-crossr= ef will not help you here, you must configure this in LaTeX. Le Sunday 17 July 2022 =C3=A0 11:34:22AM, 'Marek Stepanek' via pandoc-discu= ss a =C3=A9crit : > Merci infiniment Bastien, >=20 > Did you succeeded to implement `\endnotes` into a mark-down document? Wha= t I > did so far: I added in my Yaml Meta Datablock=20 >=20 > - | > ```{=3Dlatex} > \let\footnote=3D\endnote > ``` >=20 > In my text body >=20 > ```{=3Dlatex} > \endnote[1]{This is a footnote at the end} > ``` >=20 > And in my Sources chapter=20 >=20 > ```{=3Dlatex} > \theendnotes > ``` >=20 > With and without the enclosing ```{=3Dlatex} ... pandoc does not like `\e= ndnote` >=20 > Perhaps `pandoc-crossref` is the way to go? >=20 >=20 > marek >=20 >=20 >=20 > On Sunday, July 17, 2022 at 4:28:03 PM UTC+2 Bastien Dumont wrote: >=20 > Have you tried to use a dedicated LaTeX package such as endnotes ([1]= https: > //ctan.org/pkg/endnotes)? >=20 > Le Sunday 17 July 2022 =C3=A0 02:01:15AM, 'Marek Stepanek' via pandoc= -discuss a > =C3=A9crit : > > Some more explanations, to provoke an answer. I need inline Referen= ces, > 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},pdfs= ubject=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 wrot= e: > > > > > > I am compiling with pandoc markdown with documentclass scrartcl ove= r > LaTeX > > to pdf. I have several articles in one file and would like to print= the > > footnotes at the end of each article. > > > > I tried pandoc-crossref, but apparently it is not supporting footno= tes > and > > needs in the anchor a leading keyword like `@fig:` or `@sec:` `@lst= :`. > But > > footnotes are not supported (please correct me). > > > > I tried with `--reference-location=3Dblock|section|document` in my = 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 Google = Groups > > "pandoc-discuss" group. > > To unsubscribe from this group and stop receiving emails from it, s= end an > email > > to [1][2]pandoc-discus...-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > > To view this discussion on the web visit [2][3]https://groups.googl= e.com/ > d/msgid/ > > pandoc-discuss/2f1b62af-3a08-487e-9a44-3e8ed0d3cd5en%[4] > 40googlegroups.com. > > > > References: > > > > [1] mailto:[5]pandoc-discus...-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org > > [2] [6]https://groups.google.com/d/msgid/pandoc-discuss/ > 2f1b62af-3a08-487e-9a44-3e8ed0d3cd5en%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 [7]pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > To view this discussion on the web visit [8]https://groups.google.com/d/m= sgid/ > pandoc-discuss/53b53720-9cfc-449f-a3a9-e7948c7b3f21n%40googlegroups.com. >=20 > References: >=20 > [1] https://ctan.org/pkg/endnotes > [2] - > [3] https://groups.google.com/d/msgid/ > [4] http://40googlegroups.com/ > [5] - > [6] https://groups.google.com/d/msgid/pandoc-discuss/2f1b62af-3a08-487e-9= a44-3e8ed0d3cd5en%40googlegroups.com?utm_medium=3Demail&utm_source=3Dfooter > [7] mailto:pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org > [8] https://groups.google.com/d/msgid/pandoc-discuss/53b53720-9cfc-449f-a= 3a9-e7948c7b3f21n%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/YtRkrV3w/fVsWl%2Bh%40localhost.