From mboxrd@z Thu Jan 1 00:00:00 1970 From: Florian Lindner Subject: Re: There is no line to end here at LaTeX org-ref export Date: Wed, 31 Aug 2016 09:48:42 +0200 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:55667) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bfO8q-0001cZ-AO for emacs-orgmode@gnu.org; Thu, 01 Sep 2016 05:18:37 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bfO8l-0005Bb-7T for emacs-orgmode@gnu.org; Thu, 01 Sep 2016 05:18:35 -0400 Received: from [195.159.176.226] (port=39224 helo=blaine.gmane.org) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bfO8l-0005AI-1k for emacs-orgmode@gnu.org; Thu, 01 Sep 2016 05:18:31 -0400 Received: from list by blaine.gmane.org with local (Exim 4.84_2) (envelope-from ) id 1bf0GO-0000EQ-PK for emacs-orgmode@gnu.org; Wed, 31 Aug 2016 09:48:48 +0200 In-Reply-To: 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 org-version is Org-mode version 8.3.5 (8.3.5-4-g2dfdaf-elpa @ /home/florian/.emacs.d/elpa/org-20160829/) Am 30.08.2016 um 10:22 schrieb Florian Lindner: > 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 > > >