From mboxrd@z Thu Jan 1 00:00:00 1970 From: Florian Lindner Subject: There is no line to end here at LaTeX org-ref export Date: Tue, 30 Aug 2016 10:22:27 +0200 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:53248) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1beelV-0003GC-85 for emacs-orgmode@gnu.org; Tue, 30 Aug 2016 04:51:34 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1beelM-0000pN-RH for emacs-orgmode@gnu.org; Tue, 30 Aug 2016 04:51:28 -0400 Received: from [195.159.176.226] (port=34715 helo=blaine.gmane.org) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1beelM-0000oC-Kx for emacs-orgmode@gnu.org; Tue, 30 Aug 2016 04:51:20 -0400 Received: from list by blaine.gmane.org with local (Exim 4.84_2) (envelope-from ) id 1beeJX-0002Be-Mj for emacs-orgmode@gnu.org; Tue, 30 Aug 2016 10:22:35 +0200 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: "Emacs-orgmode" To: emacs-orgmode@gnu.org Hello, I learn to use org-ref and try to export a simple document: * Section label:Testlabel Some citations cite:Bungartz2015 and cite:Torres2009 and a reference to a label ref:Testlabel bibliographystyle:unsrt [[bibliography:/home/florian/Mendeley/library.bib]] This exports to: \section{Section} \label{sec-1} \label{Testlabel} Some citations \cite{Bungartz2015} and \cite{Torres2009} and a reference to a label \ref{Testlabel} \\ \bibliographystyle{unsrt} \\ \bibliography{../../Mendeley/library} \\ % Emacs 24.5.1 (Org mode 8.2.10) \end{document} Compilation gives: LaTeX Error: There's no line here to end. Removing the last two double slashes after \bibliography and \bibliographystyle fixes it. In https://github.com/jkitchin/org-ref/issues/279 the author says it probably not related to org-ref, however I was unable to reproduce it without it. All I configured when it comes to org / latex is: org-latex-packages-alist '(("" "listings") ("" "color")) org-latex-pdf-process '("latexmk -f -pdf %f") org-latex-table-caption-above nil However, I was doing the compile manually, so pdf-process is irrelevant here. Any ideas how to fix that? Thanks! Florian