public inbox archive for pandoc-discuss@googlegroups.com
 help / color / mirror / Atom feed
From: John MacFarlane <jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org>
To: "Clément Aubert"
	<aubert.clement-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
Cc: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
Subject: Re: Citing inside latex block with citeproc
Date: Fri, 29 Oct 2021 16:23:13 -0700	[thread overview]
Message-ID: <yh480kh7cz4dr2.fsf@johnmacfarlane.net> (raw)
In-Reply-To: <CAPGHSez6NfusgPkOzr+XCPwpnWhs833BNKibELak8MS-4GbPHg-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>


The manual is a bit misleading on this. Before we added the
latexmk option for --pdf-engine, there was indeed no way
to use --biblatex with direct output to pdf, because pandoc
doesn't run bibtex/biber in producing a pdf.  But latexmk
will do this automatically, so it should work in that way.

Clément Aubert <aubert.clement-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> writes:

> Ok, now I'm confused.
> The documentation reads (my emphasis):
>
>> Use biblatex <https://ctan.org/pkg/biblatex> for citations in LaTeX
>> output. This option is not for use with the --citeproc
>> <https://pandoc.org/MANUAL.html#option--citeproc> option *or with PDF
>> output*. It is intended for use in producing a LaTeX file that can be
>> processed with bibtex <https://ctan.org/pkg/bibtex> or biber
>> <https://ctan.org/pkg/biber>.
>>
> How does that align with the command
>
> pandoc test.md --biblatex -o test.pdf --pdf-engine=latexmk
>
> ?
>
>
> Le ven. 29 oct. 2021 à 13:03, John MacFarlane <jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org> a écrit :
>
>> Clément Aubert <aubert.clement-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> writes:
>>
>> > Ok, thanks a lot.
>> >
>> > A "reasonable" pipe-line would be
>> > pandoc test.md -t latex --biblatex | pandoc --pdf-engine=latexmk -o
>> test.pdf
>>
>> No, not like that.  Either
>>
>> pandoc test.md -t latex -s --biblatex -o test.tex
>> pdflatex test
>> biber test
>> pdflatex test
>> pdflatex test
>>
>> Or, easier
>>
>> pandoc test.md --biblatex -o test.pdf --pdf-engine=latexmk
>>
>> (which should run biber for you, if I'm not mistaken.)
>>

-- 
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/yh480kh7cz4dr2.fsf%40johnmacfarlane.net.


  parent reply	other threads:[~2021-10-29 23:23 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-10-29 13:40 Clément Aubert
     [not found] ` <CAPGHSewQHSJ4O3i-PUpEw8iSw_2sfyHum0acE=i0uAHaQvgk1A-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2021-10-29 16:46   ` John MacFarlane
     [not found]     ` <m28rybn5i7.fsf-d8241O7hbXoP5tpWdHSM3tPlBySK3R6THiGdP5j34PU@public.gmane.org>
2021-10-29 16:53       ` Clément Aubert
     [not found]         ` <CAPGHSex4ezmFVkRyV7MnDZ5Hk2DKKRR9zOnkDa8iAgZYTQkWQw-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2021-10-29 17:02           ` John MacFarlane
     [not found]             ` <m25ytfn4qr.fsf-d8241O7hbXoP5tpWdHSM3tPlBySK3R6THiGdP5j34PU@public.gmane.org>
2021-10-29 17:08               ` Clément Aubert
     [not found]                 ` <CAPGHSez6NfusgPkOzr+XCPwpnWhs833BNKibELak8MS-4GbPHg-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2021-10-29 23:23                   ` John MacFarlane [this message]
     [not found]                     ` <yh480kh7cz4dr2.fsf-pgq/RBwaQ+zq8tPRBa0AtqxOck334EZe@public.gmane.org>
2021-10-30  4:58                       ` Clément Aubert

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=yh480kh7cz4dr2.fsf@johnmacfarlane.net \
    --to=jgm-tvlzxgkolnx2fbvcvol8/a@public.gmane.org \
    --cc=aubert.clement-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org \
    --cc=pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).