When I export with org-latex-export-to-pdf, the pdf does not contain the nicely-formatted list of references as expected, and the citation is just [?] instead of an actual link. It's just the single page as in the screenshot below. Org-mode's tooltip seems to understand the link:

enter image description here

However, when exporting I get this warning: PDF file produced with warnings: [undefined citation].

How do I get a list of references at the end?

Here is my simple.org:

#+OPTIONS: html-postamble:nil toc:nil num:nil
this is a simple test with a citation cite:9422781.


Here is my simple.bib:

  author={Oleghe, Omogbai},
  journal={IEEE Access},
  title={Container Placement and Migration in Edge Computing: Concept and Scheduling Models},

Here is the simple.tex file produced:

% Created 2021-05-23 Sun 12:17
% Intended LaTeX compiler: pdflatex
\author{Firstname Lastname}
 pdfauthor={Firstname Lastname},
 pdfcreator={Emacs 27.1 (Org mode 9.5)}, 

this is a simple test with a citation \cite{9422781}.


This is what I get after exporting to pdf:

enter image description here

However, exporting to HTML seems to work (although I'd prefer something like 1 instead of the 9422781 link):

enter image description here

versions I'm using:

  • org-mode 9.5
  • emacs 27.1
  • org-ref 1.1.1
  • Mac OSX 10.14.6
  • doom-emacs v2.0.9
  • pdflatex 3.14159265-2.6-1.40.21 (TeX Live 2020)
  • latexmk 4.69a
  • It could be that your setup is not running bibtex when making the pdf. See github.com/jkitchin/org-ref/blob/master/… for hints. May 24 at 23:56
  • I have tried both of those values for org-latex-pdf-process, and get the same undefined reference issue. Like this question, if I do the steps manually in the terminal (outside of emacs) it all works. But within emacs it does not. Jun 12 at 18:06

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.