From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/30997 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: "'Marek Stepanek' via pandoc-discuss" Newsgroups: gmane.text.pandoc Subject: Re: Print footnote at the end of each chapter Date: Sun, 17 Jul 2022 11:34:22 -0700 (PDT) Message-ID: <53b53720-9cfc-449f-a3a9-e7948c7b3f21n@googlegroups.com> References: <2f1b62af-3a08-487e-9a44-3e8ed0d3cd5en@googlegroups.com> Reply-To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_Part_1954_375527278.1658082862958" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="26292"; mail-complaints-to="usenet@ciao.gmane.io" To: pandoc-discuss Original-X-From: pandoc-discuss+bncBD6M3P4AXQHRBMFM2GLAMGQE7OHHU2A-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Sun Jul 17 20:34:27 2022 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane-mx.org Original-Received: from mail-yb1-f190.google.com ([209.85.219.190]) by ciao.gmane.io with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1oD963-0006ab-NG for gtp-pandoc-discuss@m.gmane-mx.org; Sun, 17 Jul 2022 20:34:27 +0200 Original-Received: by mail-yb1-f190.google.com with SMTP id w15-20020a25ac0f000000b0066e50e4a553sf7372821ybi.16 for ; Sun, 17 Jul 2022 11:34:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20210112; h=date:from:to:message-id:in-reply-to:references:subject:mime-version :x-original-sender:reply-to:precedence:mailing-list:list-id :list-post:list-help:list-archive:list-subscribe:list-unsubscribe; bh=hpqwimHEInlYhRG+jVBA+ZKyw+iGH54AQUK/lpExIqs=; b=AjV+2uWcAjZ42XgSvbkJcdU1fa2aexBCxAD0k9+Jq/XWJL7NKn/xEmFEHp6pXeiVBQ 77n5yh+QyOOE+OHDocNM+/Ck/2gWDCzzK3mtI09AHJnfkEqljFBwhr68wmAAJSJ0vkkY sLo86Hipeqn4Ma3hoFjL84JP7klJ3XOgdB8LtlYIYN4Jaowe4/H5wOCgCxKXBJIOpso0 zTbG6pB9wmRb3zCB3mJBws5363OnOW+Q2yqZpO/71IboPoyBKfRovd3GSAI1GPHygoen qIbEXKavbx0IE3G71J6fKQXOIJp/X+VuhV+cN4W7f5Gxz9dEw3PGdlLumcu/rdAGo1wa hsBQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:from:to:message-id:in-reply-to:references :subject:mime-version:x-original-sender:reply-to:precedence :mailing-list:list-id:x-spam-checked-in-group:list-post:list-help :list-archive:list-subscribe:list-unsubscribe; bh=hpqwimHEInlYhRG+jVBA+ZKyw+iGH54AQUK/lpExIqs=; b=xIweSAceb/AI6wTCUUTl7S/NV6/KOi5e8WKS7fWd/tI0pQUk8koenDuBsqRPW4Yc4k 8yJAY1iuypyb6HiHyhVzFzzV61u21f82WhK5TBxtaJDJnfAhsHdnF0TP43MHXODjSOLc 0FgwEkhCBp4lpPvVZnhgJgW/nG0NlXRvjoJPj7QP7V7IWPSynjvUGJ3vfy0LIs/KLL2v L5rWJojY/0S7dWlv/z8RknoYHTTT/4TvmlimUTxUYJ0TXLh/fEVcS/EhZ+A8s55tUBuK nn5i0+Re0ZJUeE/tvxJdtX65hQQ7ba8r1AHFB+g4RkQzlZ1emcaokqoRllhnVgOcDENa V99Q== X-Gm-Message-State: AJIora+HfdxF+C/LVcfzrVwWiPZ+ZiLFXk/aEmY85BWA1grWG4vRj/TN ltaXnCU97RqG8F7p6mRPojQ= X-Google-Smtp-Source: AGRyM1uQaFj2Hv+WX31upDRA8Va21K5ag7o/WDE9PbedeTpFmTyfiTqlPnQAMSWLh8i+ekEIYXBwDg== X-Received: by 2002:a81:63d4:0:b0:31c:ad0f:1cc5 with SMTP id x203-20020a8163d4000000b0031cad0f1cc5mr27603876ywb.137.1658082866663; Sun, 17 Jul 2022 11:34:26 -0700 (PDT) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 2002:a0d:c647:0:b0:2fe:dfec:f7d8 with SMTP id i68-20020a0dc647000000b002fedfecf7d8ls198777ywd.5.-pod-prod-gmail; Sun, 17 Jul 2022 11:34:23 -0700 (PDT) X-Received: by 2002:a81:188a:0:b0:31c:86ee:2cf5 with SMTP id 132-20020a81188a000000b0031c86ee2cf5mr25579204ywy.471.1658082863563; Sun, 17 Jul 2022 11:34:23 -0700 (PDT) In-Reply-To: X-Original-Sender: mstep.germany-gM/Ye1E23mwN+BqQ9rBEUg@public.gmane.org X-Original-From: Marek Stepanek 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:30997 Archived-At: ------=_Part_1954_375527278.1658082862958 Content-Type: multipart/alternative; boundary="----=_Part_1955_1505010552.1658082862958" ------=_Part_1955_1505010552.1658082862958 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Merci infiniment Bastien, Did you succeeded to implement `\endnotes` into a mark-down document? What= =20 I did so far: I added in my Yaml Meta Datablock=20 - | ```{=3Dlatex} \let\footnote=3D\endnote ``` In my text body ```{=3Dlatex} \endnote[1]{This is a footnote at the end} ``` And in my Sources chapter=20 ```{=3Dlatex} \theendnotes ``` With and without the enclosing ```{=3Dlatex} ... pandoc does not like=20 `\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 ( > https://ctan.org/pkg/endnotes)?=20 > > Le Sunday 17 July 2022 =C3=A0 02:01:15AM, 'Marek Stepanek' via pandoc-dis= cuss a=20 > =C3=A9crit :=20 > > Some more explanations, to provoke an answer. I need inline References,= =20 > wich=20 > > are collected at the end of each article. I tried with [1] or [(1)] or= =20 > [1]=20 > > [Fn:1] etc=20 > >=20 > > But in my section:=20 > >=20 > > ## References and sources=20 > >=20 > > [1]: First Footnote=20 > > [(1)]: First Footnote=20 > > [Fn:1]: First Footnote=20 > >=20 > > is printed nothing. In the pdf-file the anchor seems to be linked, but= =20 > on click=20 > > leading to nothing.=20 > >=20 > > in my Header includes is also=20 > >=20 > > ___=20 > >=20 > > - \usepackage{hyperref}=20 > > - \hypersetup{pdftitle=3D{Articles 22022},pdfauthor=3D{myself},pdfsubje= ct=3D=20 > > {Subjects}}=20 > >=20 > > ___=20 > >=20 > > Are these informations sufficient to help me out?=20 > >=20 > > I would be very grateful for any hint in the right direction=20 > >=20 > >=20 > > marek=20 > >=20 > >=20 > >=20 > >=20 > >=20 > > On Saturday, July 16, 2022 at 10:20:50 AM UTC+2 Marek Stepanek wrote:= =20 > >=20 > >=20 > > I am compiling with pandoc markdown with documentclass scrartcl over=20 > LaTeX=20 > > to pdf. I have several articles in one file and would like to print the= =20 > > footnotes at the end of each article.=20 > >=20 > > I tried pandoc-crossref, but apparently it is not supporting footnotes= =20 > and=20 > > needs in the anchor a leading keyword like `@fig:` or `@sec:` `@lst:`.= =20 > But=20 > > footnotes are not supported (please correct me).=20 > >=20 > > I tried with `--reference-location=3Dblock|section|document` in my=20 > Makefile=20 > > like follows:=20 > >=20 > > ```=20 > > all: save typeset open=20 > >=20 > > .PHONY: all=20 > > save:=20 > > w=20 > >=20 > > typeset:=20 > > pandoc \=20 > > --from markdown \=20 > > --to latex \=20 > > --out articles.pdf \=20 > > --pdf-engine pdflatex \=20 > > --bibliography articles.bib \=20 > > -F pandoc-crossref \=20 > > --reference-location=3Dsection \=20 > > --citeproc \=20 > > --csl csl/din-1505-2-numeric-alphabetical.csl \=20 > > --lua-filter pandoc-gls.lua \=20 > > articles.md=20 > >=20 > > open:=20 > > open articles.pdf=20 > > ```=20 > >=20 > > Probably wrong idea. Perhaps somebody could point me to the right=20 > direction=20 > >=20 > > marek=20 > >=20 > > --=20 > > You received this message because you are subscribed to the Google=20 > Groups=20 > > "pandoc-discuss" group.=20 > > To unsubscribe from this group and stop receiving emails from it, send= =20 > an email=20 > > to [1]pandoc-discus...-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org=20 > > To view this discussion on the web visit [2] > https://groups.google.com/d/msgid/=20 > > pandoc-discuss/2f1b62af-3a08-487e-9a44-3e8ed0d3cd5en%40googlegroups.com= .=20 > > >=20 > > References:=20 > >=20 > > [1] mailto:pandoc-discus...-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org=20 > > [2]=20 > 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 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/53b53720-9cfc-449f-a3a9-e7948c7b3f21n%40googlegroups.com. ------=_Part_1955_1505010552.1658082862958 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Merci infiniment Bastien,

Did you succeeded to implement= `\endnotes` into a mark-down document? What I did so far: I added in my Ya= ml Meta Datablock 

- |
  ```{=3Dlatex= }
    \let\footnote=3D\endnote
  ```
In my text body

```{=3Dlatex}
\endn= ote[1]{This is a footnote at the end}
```

And in my So= urces chapter 

```{=3Dlatex}
\theendnotes<= br>```

With and without the enclosing ```{=3Dl= atex} ... pandoc does not like `\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 s= uch as endnotes (https://ctan.org/pkg/en= dnotes)?

Le Sunday 17 July 2022 =C3=A0 02:01:15AM, 'Marek Stepanek' via pandoc-d= iscuss a =C3=A9crit :
> Some more explanations, to provoke an answer. I need inline Refere= nces, wich
> are collected at the end of each article. I tried with [1] or [(1)= ] or [1]
> [Fn:1] etc
>=20
> But in my section:
>=20
> ## References and sources=20
>=20
> [1]: First Footnote=20
> [(1)]: First Footnote
> [Fn:1]: First Footnote
>=20
> is printed nothing. In the pdf-file the anchor seems to be linked,= but on click
> leading to nothing.
>=20
> in my Header includes is also=20
>=20
> ___
>=20
> - \usepackage{hyperref}
> - \hypersetup{pdftitle=3D{Articles 22022},pdfauthor=3D{myself},pdf= subject=3D
> {Subjects}}
>=20
> ___
>=20
> Are these informations sufficient to help me out?
>=20
> I would be very grateful for any hint in the right direction
>=20
>=20
> marek
>=20
>=20
>=20
>=20
>=20
> On Saturday, July 16, 2022 at 10:20:50 AM UTC+2 Marek Stepanek wro= te:
>=20
>=20
> I am compiling with pandoc markdown with documentclass scrartc= l over LaTeX
> to pdf. I have several articles in one file and would like to = print the
> footnotes at the end of each article.
>=20
> I tried pandoc-crossref, but apparently it is not supporting f= ootnotes and
> needs in the anchor a leading keyword like `@fig:` or `@sec:` = `@lst:`. But
> footnotes are not supported (please correct me).
>=20
> I tried with `--reference-location=3Dblock|section|document` i= n my Makefile
> like follows:
>=20
> ```
> all: save typeset open
>=20
> .PHONY: all
> save:
>     w
>=20
> typeset:
>     pandoc            =                     &nbs= p;                  \
>       --from         markdo= wn                     &n= bsp;           \
>       --to           l= atex                     =                    \
>       --out           =   articles.pdf                =               \
>       --pdf-engine      pdflatex=                     &nbs= p;           \
>       --bibliography articles.bib    =                     &nbs= p;   \
>       -F pandoc-crossref       &= nbsp;                    =         \
>       --reference-location=3Dsection   &nb= sp;                     &= nbsp;   \
>       --citeproc         &n= bsp;                     =                \
>       --csl          c= sl/din-1505-2-numeric-alphabetical.csl \
>       --lua-filter   pandoc-gls.lua  =                     &nbs= p;      \
>       articles.md
>=20
> open:
>     open articles.pdf
> ```
>=20
> Probably wrong idea. Perhaps somebody could point me to the ri= ght direction
>=20
> marek
>=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 [1]pandoc-= discus...-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
> To view this discussion on the web visit [2]https://groups.google.com/d/msgid/
> pandoc-discuss/2f1b62af-3a08-487e-9a44-3e8ed0d3cd5en%40googlegroups.com.
>=20
> References:
>=20
> [1] mailto:pa= ndoc-discus...-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
> [2] https://groups= .google.com/d/msgid/pandoc-discuss/2f1b62af-3a08-487e-9a44-3e8ed0d3cd5en%40= googlegroups.com?utm_medium=3Demail&utm_source=3Dfooter

--
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/53b53720-9cfc-449f-a3a9-e7948c7b3f21n%40googlegroups.= com.
------=_Part_1955_1505010552.1658082862958-- ------=_Part_1954_375527278.1658082862958--