public inbox archive for pandoc-discuss@googlegroups.com
 help / color / mirror / Atom feed
* Issue with references using pandoc 2.11.0.4
@ 2020-11-03 10:17 Alberto F. Martín Huertas
       [not found] ` <0a6561b4-3c06-4274-8ebb-996f33377f28n-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
  0 siblings, 1 reply; 2+ messages in thread
From: Alberto F. Martín Huertas @ 2020-11-03 10:17 UTC (permalink / raw)
  To: pandoc-discuss


[-- Attachment #1.1: Type: text/plain, Size: 1817 bytes --]

Dear all,

after updating from pandoc 2.10 to pandoc 2.11.0.4, I have observed that, 
for citation styles that add a number to the left of each reference in the 
list of references, in the resulting PDF there is too much space among the 
number and the reference itself up to a point that the right margin is 
exceeded. This effect is illustrated in the attached picture.  This 
behaviour was not observed with pandoc 2.10.

I am running pandoc as:

pandoc report.md --number-sections \
--filter pandoc-crossref --citeproc \
--resource-path=./../figures \
--from=markdown+tex_math_single_backslash+citations \
--variable linkcolor:blue \
--variable geometry:a4paper \
--variable geometry:"top=1.0cm, bottom=1.2cm, left=1.0cm, right=1.0cm" \
--variable fontsize=12pt \
--output=../built-pdfs/report.pdf \
--pdf-engine=xelatex

The header of markdown file looks like:

---
title: Fully-automatic numerical approximation of large-scale PDEs on 
complex domains
date: \today
author: XXX
affiliation: YYY
output: pdf_document
bibliography: refs.bib
csl: ../src/bit-numerical-mathematics.csl
link-citations: true
header-includes:
  - \usepackage{unicode-math}
  - \usepackage{amsmath}
  - \usepackage{graphicx}
  - \setmainfont{Times New Roman}
---

After reporting this as a potential issue in the pandoc github repo, do u 
know whether this is a known issue/caveat of pandoc 2.11?

Thanks!
Regards,
 Alberto.


-- 
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/0a6561b4-3c06-4274-8ebb-996f33377f28n%40googlegroups.com.

[-- Attachment #1.2: Type: text/html, Size: 3394 bytes --]

[-- Attachment #2: Screenshot from 2020-11-03 21-03-05.png --]
[-- Type: image/png, Size: 74488 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Issue with references using pandoc 2.11.0.4
       [not found] ` <0a6561b4-3c06-4274-8ebb-996f33377f28n-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
@ 2020-11-03 18:19   ` John MacFarlane
  0 siblings, 0 replies; 2+ messages in thread
From: John MacFarlane @ 2020-11-03 18:19 UTC (permalink / raw)
  To: Alberto F. Martín Huertas, pandoc-discuss


Oh yes, thanks for reporting.  This needs to be fixed in
the default latex template.  I'll do that right away.

Alberto F. Martín Huertas <amartinhuertas-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> writes:

> Dear all,
>
> after updating from pandoc 2.10 to pandoc 2.11.0.4, I have observed that, 
> for citation styles that add a number to the left of each reference in the 
> list of references, in the resulting PDF there is too much space among the 
> number and the reference itself up to a point that the right margin is 
> exceeded. This effect is illustrated in the attached picture.  This 
> behaviour was not observed with pandoc 2.10.
>
> I am running pandoc as:
>
> pandoc report.md --number-sections \
> --filter pandoc-crossref --citeproc \
> --resource-path=./../figures \
> --from=markdown+tex_math_single_backslash+citations \
> --variable linkcolor:blue \
> --variable geometry:a4paper \
> --variable geometry:"top=1.0cm, bottom=1.2cm, left=1.0cm, right=1.0cm" \
> --variable fontsize=12pt \
> --output=../built-pdfs/report.pdf \
> --pdf-engine=xelatex
>
> The header of markdown file looks like:
>
> ---
> title: Fully-automatic numerical approximation of large-scale PDEs on 
> complex domains
> date: \today
> author: XXX
> affiliation: YYY
> output: pdf_document
> bibliography: refs.bib
> csl: ../src/bit-numerical-mathematics.csl
> link-citations: true
> header-includes:
>   - \usepackage{unicode-math}
>   - \usepackage{amsmath}
>   - \usepackage{graphicx}
>   - \setmainfont{Times New Roman}
> ---
>
> After reporting this as a potential issue in the pandoc github repo, do u 
> know whether this is a known issue/caveat of pandoc 2.11?
>
> Thanks!
> Regards,
>  Alberto.
>
>
> -- 
> 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/0a6561b4-3c06-4274-8ebb-996f33377f28n%40googlegroups.com.

-- 
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/m2k0v2l2w1.fsf%40MacBook-Pro.hsd1.ca.comcast.net.


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2020-11-03 18:19 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-11-03 10:17 Issue with references using pandoc 2.11.0.4 Alberto F. Martín Huertas
     [not found] ` <0a6561b4-3c06-4274-8ebb-996f33377f28n-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2020-11-03 18:19   ` John MacFarlane

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).