I cc this this to the org mailing list as I have forgotten this the last time. John Kitchin writes: > Rainer M Krug writes: > > I am not sure I understand what you are asking. To export to LaTeX, you > just use the regular latex export, e.g. C-c C-e C-b l L will show a > buffer of the body converted to LaTeX. Sorry for not being clear. I can export to LaTeX / pdf, but the references are not found. I am using latexmk -pvc -pdf ./reftest.tex to compile the tex file. I assume I am missing some LaTeX headers which I have to add in org. reftest.org is as follow: --8<---------------cut here---------------start------------->8--- # -*- mode: org ; mode:visual-line; -*- #+TITLE: reftest #+DATE: \today #+AUTHOR: Rainer M. Krug #+EMAIL: Rainer@krugs.de #+OPTIONS: ':nil *:t -:t ::t <:t H:3 \n:nil ^:t arch:headline #+OPTIONS: author:t c:nil creator:comment d:(not "LOGBOOK") date:t #+OPTIONS: e:t email:nil f:t inline:t num:t p:nil pri:nil prop:nil #+OPTIONS: stat:t tags:t tasks:t tex:t timestamp:t toc:t todo:t |:t #+DESCRIPTION: #+KEYWORDS: #+LANGUAGE: en #+SELECT_TAGS: export #+EXCLUDE_TAGS: noexport #+CREATOR: Emacs 24.3.1 (Org mode beta_8.3) #+LATEX_CLASS: article #+LATEX_CLASS_OPTIONS: #+LATEX_HEADER: #+LATEX_HEADER_EXTRA: * Introduction ** Here comes the test Some test refs ([[cite:Vallet2011,Paquette2011,Lebourgeois2013,Forrester2013]]). And one more [[cite:Vila2013]], plus one more [[cite:Charru2011]]. * References [[bibliography:~/Documents/Projects/IFN/ProductivityMixedStands/prodMixStands.bib]] * File Local Variables :noexport: # Local Variables: # org-ref-default-bibliography: ~/Documents/Projects/IFN/ProductivityMixedStands/prodMixStands.bib # reftex-default-bibliography: ~/Documents/Projects/IFN/ProductivityMixedStands/prodMixStands.bib # End: --8<---------------cut here---------------end--------------->8--- I attach the .bib file and the resulting pdf Thanks for any suggestions, Rainer > > E.g. > > cite:armiento-2014-high,daza-2014-carbon-dioxid > > autocite:daza-2014-carbon-dioxid > > [[bibliography:~/Dropbox/bibliography/references.bib]] > > > > exports to this: > \cite{armiento-2014-high,daza-2014-carbon-dioxid} > > \autocite{daza-2014-carbon-dioxid} > > \bibliography{~/Dropbox/bibliography/references} > > The rest of the setup is the same as in org-mode, you need to say what > the Latex class is, what packages to use, etc... > >> Hi >> >> I must say org-ref looks really useful to me - I am organising my >> references with Mendeley which can zync to a bibtex file, so this is >> perfect for me. >> >> I am trying to get into org-ref, but as I haven't used any pure LaTeX >> that often, I am struggling with a few things and have two questions: >> >> 1) I have a managed to export to html, but I want to use LaTeX - what do >> I have to add to the .org file to be able to do this? >> >> 2) Is there somewhere a small working example which uses the different >> citation formats and exports to LaTeX but also html? >> >> Cheers, >> >> Rainer -- Rainer M. Krug, PhD (Conservation Ecology, SUN), MSc (Conservation Biology, UCT), Dipl. Phys. (Germany) Centre of Excellence for Invasion Biology Stellenbosch University South Africa Tel : +33 - (0)9 53 10 27 44 Cell: +33 - (0)6 85 62 59 98 Fax : +33 - (0)9 58 10 27 44 Fax (D): +49 - (0)3 21 21 25 22 44 email: Rainer@krugs.de Skype: RMkrug PGP: 0x0F52F982