emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Alessandro Bertulli <alessandro.bertulli96@gmail.com>
To: bdarcus@gmail.com, yantar92@gmail.com, e.fraga@ucl.ac.uk
Cc: emacs-orgmode@gnu.org
Subject: Re: Org-cite/Citar cannot recognize neither biblatex nor natbib
Date: Fri, 13 May 2022 19:20:42 +0200	[thread overview]
Message-ID: <87lev5wdqt.fsf@gmail.com> (raw)


I think I spotted the problem. It's difficult to be sure, but
apparently, since version 4.31, latexmk automatically detects and run
biber as a citation engine (see this post
https://tex.stackexchange.com/a/231351/259874). In fact, in the latexmk
man page, it is said to use the option -bibtex to use BibTeX.

Indeed, if I try to run "latexmk -pdf -bibtex -f" (the -f option is
needed due to some errors given by whitespaces in the citations), it all
works fine. From my point of view, the problem here is that the variable
org-LaTeX-pdf-process doesn't track any of this!
+ If the variable cite_export is set to basic or to csl, the formatting
is external to LaTeX, so no problem.
+ If it is set to biblatex, then biber is automatically called by
+ If it is set to natbib, LaTeX needs BibTeX to be called, but it is

So I'd say this is a bug of the org-LaTeX-pdf-process variable. Should
it be buffer-local, and set when exporting? This is not something I'm
expert of, to be honest. As I was saying, using AuCTeX there's no
problem, because the compilation command is an elisp function that
checks which one of the two is needed. May that be helpful?


             reply	other threads:[~2022-05-13 17:22 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-05-13 17:20 Alessandro Bertulli [this message]
  -- strict thread matches above, loose matches on Subject: below --
2022-05-13 13:32 Alessandro Bertulli
2022-05-13 13:48 ` Bruce D'Arcus
2022-05-13 14:07   ` Ihor Radchenko
2022-05-13 15:42   ` Eric S Fraga
2022-05-13 13:15 Alessandro Bertulli
2022-05-13 13:20 ` Bruce D'Arcus
2022-05-13 10:01 Alessandro Bertulli
2022-05-13  9:55 Alessandro Bertulli
2022-05-13 10:54 ` Eric S Fraga
2022-05-13 11:03   ` Bruce D'Arcus
2022-05-12 18:31 Alessandro Bertulli
2022-05-12 18:38 ` Bruce D'Arcus
2022-05-13  6:45 ` Eric S Fraga
2022-05-12 14:48 Alessandro Bertulli
2022-05-12 14:54 ` Bruce D'Arcus

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:

  List information: https://www.orgmode.org/

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

  git send-email \
    --in-reply-to=87lev5wdqt.fsf@gmail.com \
    --to=alessandro.bertulli96@gmail.com \
    --cc=bdarcus@gmail.com \
    --cc=e.fraga@ucl.ac.uk \
    --cc=emacs-orgmode@gnu.org \
    --cc=yantar92@gmail.com \
    --subject='Re: Org-cite/Citar cannot recognize neither biblatex nor natbib' \


* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

Code repositories for project(s) associated with this inbox:


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 read-only IMAP folder(s) and NNTP newsgroup(s).