emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[O] There is no line to end here at LaTeX org-ref export


From: Florian Lindner
Subject: [O] There is no line to end here at LaTeX org-ref export
Date: Tue, 30 Aug 2016 10:22:27 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.2.0

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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]