From: Alessandro Bertulli <alessandro.bertulli96@gmail.com> To: e.fraga@ucl.ac.uk, bdarcus@gmail.com Cc: emacs-orgmode@gnu.org Subject: Re: Org-cite/Citar cannot recognize neither biblatex nor natbib Date: Fri, 13 May 2022 15:15:06 +0200 [thread overview] Message-ID: <87wnepfuat.fsf@gmail.com> (raw) Ok, I think I got something. Indeed, setting org-latex-pdf-process to '("pdflatex -output-directory %o %f" "bibtex %b" "pdflatex -output-directory %o %f" "pdflatex -output-directory %o %f") produces the correct pdf output. I think I have a hint of the reason for this. When exporting to a LaTeX file, and then compiling, the keybinding "C-c C-a" invokes TeX-command-run-all, which in turn invokes TeX-command-sequence, which in turn invokes TeX-command-default: this is an elisp function that basically replaces the work of latexmk, checking the timestamps of files and deciding wether to use bibtex or biber. Here's the snippet: (if (bound-and-true-p LaTeX-using-Biber) TeX-command-Biber TeX-command-BibTeX)) So, latexmk is never actually called! The point is that natbib needs bibtex to be called: in fact setting org-latex-pdf-process to manually call it produces the correct output, and setting it to call biber instead produces the "(?)" (as well as an empty .bbl file). So, shall we conclude that latexmk has an issue with correctly recognizing natbib and calling bibtex? Alessandro
next reply other threads:[~2022-05-13 13:17 UTC|newest] Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top 2022-05-13 13:15 Alessandro Bertulli [this message] 2022-05-13 13:20 ` Bruce D'Arcus -- strict thread matches above, loose matches on Subject: below -- 2022-05-13 17:20 Alessandro Bertulli 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 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: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style 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=87wnepfuat.fsf@gmail.com \ --to=alessandro.bertulli96@gmail.com \ --cc=bdarcus@gmail.com \ --cc=e.fraga@ucl.ac.uk \ --cc=emacs-orgmode@gnu.org \ --subject='Re: Org-cite/Citar cannot recognize neither biblatex nor natbib' \ /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
Code repositories for project(s) associated with this inbox: https://git.savannah.gnu.org/cgit/emacs/org-mode.git 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).