From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/30994 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 02:01:15 -0700 (PDT) Message-ID: <2f1b62af-3a08-487e-9a44-3e8ed0d3cd5en@googlegroups.com> References: Reply-To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_Part_2660_1833784588.1658048475679" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="39254"; mail-complaints-to="usenet@ciao.gmane.io" To: pandoc-discuss Original-X-From: pandoc-discuss+bncBD6M3P4AXQHRBXE7Z6LAMGQE3CEP4FI-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Sun Jul 17 11:01:20 2022 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane-mx.org Original-Received: from mail-yb1-f189.google.com ([209.85.219.189]) by ciao.gmane.io with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1oD09Q-000A1E-NK for gtp-pandoc-discuss@m.gmane-mx.org; Sun, 17 Jul 2022 11:01:20 +0200 Original-Received: by mail-yb1-f189.google.com with SMTP id m11-20020a5b040b000000b0066fcc60d1a0sf6574198ybp.19 for ; Sun, 17 Jul 2022 02:01:20 -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=g0OdOrjcNXE4Nss4ECkGOnSAs3eWw8t/zUHPScLT2hM=; b=OpjSpVP5BGZ+e+oGJpjDPtavkFi6A5d5RxMv/SR2EML1Xalb0SSB/8YLwnszmCF02y p3ZvKpEqybnGv6NH24qBerXXOnX80MZ6x13uJ7VMzdjmd5qbyoxjXA04FkAfyW7GHXL9 Xa9hHqBV9fgcwsIFMrTL6dq1pqMz4XC0WVO1XLH9wokaytuwpiI4WPRoApRpw6W0w1b3 U/JVGKJXgjWhjpCKcBDAevWOQWCkfXhTFbFtjcOU/9fNLRcAj8pEdQDummiGew4jgvwn YQgq6mfe+Hmy5YY0WAoJ0kr0C0W/P35KeyYarzDfVMXKShI9MtMwTaedEocB+su5Tq0O lgbA== 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=g0OdOrjcNXE4Nss4ECkGOnSAs3eWw8t/zUHPScLT2hM=; b=mxcNarmKg3O6EhTw9+EX8pg8zKZtbDsMVn9TbObHK83AeIHqUi5bXAmfBXX+uwn9XT cBj55PAeJXbqy4ub9yrEj51OE2WF6wILUTtuu7SM4B92t3xA+8hpA7NrRTpvThLvIxpA p5FGbEM+t4fHz9a/2y1YNZU8h85rlEJ0sUcCph8yFmzoA1Jrew5W99YcD0dVuK/x6vLG zhv5gStULuJrrm/FbhEfxM1Bf0UyYMI5AkOlWPDPTRCU3y8P0VSEeM2HmiCuakQOndNN 7owW6hj/CdXeh0nDca34uSURb8t/ishIGRkYQPuTAl2ju+WaXFbbx0b3PM4zNamGpqMM GYnA== X-Gm-Message-State: AJIora/tpngVqW5r9JpgApae9JjevaJIUQ4UzZnbe8cc9X/XbayU5dr0 J57le2wweUzcAW5TebC/lPk= X-Google-Smtp-Source: AGRyM1vIN++CtZHikJ49ik8Z/cbZAXvZ8V343AuYQ9S3F2oUzpj+mpPGpt71ZO2yoyR08bc5ggDJAg== X-Received: by 2002:a81:6ccd:0:b0:31d:c77:73e5 with SMTP id h196-20020a816ccd000000b0031d0c7773e5mr23755284ywc.314.1658048479700; Sun, 17 Jul 2022 02:01:19 -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-20020a0dc647000000b002fedfecf7d8ls913775ywd.5.-pod-prod-gmail; Sun, 17 Jul 2022 02:01:16 -0700 (PDT) X-Received: by 2002:a81:188a:0:b0:31c:86ee:2cf5 with SMTP id 132-20020a81188a000000b0031c86ee2cf5mr23635363ywy.471.1658048476378; Sun, 17 Jul 2022 02:01:16 -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:30994 Archived-At: ------=_Part_2660_1833784588.1658048475679 Content-Type: multipart/alternative; boundary="----=_Part_2661_1688034416.1658048475679" ------=_Part_2661_1688034416.1658048475679 Content-Type: text/plain; charset="UTF-8" Some more explanations, to provoke an answer. I need inline References, 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={Articles 22022},pdfauthor={myself},pdfsubject={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 wrote: > > I am compiling with pandoc markdown with documentclass scrartcl over 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 footnotes 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=block|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=section \ > --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, send an email 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/2f1b62af-3a08-487e-9a44-3e8ed0d3cd5en%40googlegroups.com. ------=_Part_2661_1688034416.1658048475679 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Some more explanations, to provoke an answer. I need inline References, wic= h 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]: Fir= st Footnote

is printed nothing. In the pdf-fil= e the anchor seems to be linked, but on click leading to nothing.

in my Header includes is also 

___

- \usepackage{hyperref}
- \hypersetup{pdf= title=3D{Articles 22022},pdfauthor=3D{myself},pdfsubject=3D{Subjects}}
<= /div>

___

Are these informa= tions sufficient to help me out?

I would be very g= rateful for any hint in the right direction


marek




<= /div>

On Saturday, July 16, 2022 at 10:20:50 AM UTC+2 Marek Stepanek w= rote:

I a= m compiling with pandoc markdown with documentclass scrartcl over LaTeX to = pdf. I have several articles in one file and would like to print the footno= tes at the end of each article.

I tried pandoc-crossref, but apparen= tly it is not supporting footnotes and needs in the anchor a leading keywor= d like `@fig:` or `@sec:` `@lst:`. But footnotes are not supported (please = correct me).

I tried with `--reference-location=3Dblock|section|docu= ment` in my Makefile like follows:

```
all: save typeset open
=
.PHONY: all
save:
=C2=A0 =C2=A0 w

typeset:
=C2=A0 =C2= =A0 pandoc =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 =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 =C2=A0 --fr= om =C2=A0 =C2=A0 =C2=A0 =C2=A0 markdown =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 =C2=A0 =C2= =A0 \
=C2=A0 =C2=A0 =C2=A0 --to =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 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 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0\
=C2= =A0 =C2=A0 =C2=A0 --out =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 articles.= pdf =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 =C2=A0 \
=C2=A0 =C2=A0 =C2=A0 --pdf-engine = =C2=A0 =C2=A0 =C2=A0pdflatex =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 =C2=A0 =C2=A0 \
=C2= =A0 =C2=A0 =C2=A0 --bibliography articles.bib =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 \
= =C2=A0 =C2=A0 =C2=A0 -F pandoc-crossref =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 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 \
=C2=A0 =C2=A0 =C2=A0 --reference-location=3Dsection = =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 \
=C2=A0 =C2=A0 =C2=A0 --citeproc =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 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0\<= br>=C2=A0 =C2=A0 =C2=A0 --csl =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0csl/din-150= 5-2-numeric-alphabetical.csl \
=C2=A0 =C2=A0 =C2=A0 --lua-filter =C2=A0 = pandoc-gls.lua =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 =C2=A0\
=C2=A0 =C2=A0 =C2=A0 arti= cles.md

open:
=C2=A0 =C2=A0 open articles.pdf
```

Prob= ably wrong idea. Perhaps somebody could point me to the right direction
=
marek

--
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/2f1b62af-3a08-487e-9a44-3e8ed0d3cd5en%40googlegroups.= com.
------=_Part_2661_1688034416.1658048475679-- ------=_Part_2660_1833784588.1658048475679--