all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* There is no line to end here at LaTeX org-ref export
@ 2016-08-30  8:22 Florian Lindner
  2016-08-31  7:45 ` Florian Lindner
  2016-08-31  7:48 ` Florian Lindner
  0 siblings, 2 replies; 10+ messages in thread
From: Florian Lindner @ 2016-08-30  8:22 UTC (permalink / raw)
  To: emacs-orgmode

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

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2016-09-06 10:14 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-08-30  8:22 There is no line to end here at LaTeX org-ref export Florian Lindner
2016-08-31  7:45 ` Florian Lindner
2016-09-01  6:02   ` Nick Dokos
2016-09-02 13:04     ` Florian Lindner
     [not found]     ` <97bdf173ef3049a9871038d52cd55df7@HE1PR01MB1898.eurprd01.prod.exchangelabs.com>
2016-09-02 13:12       ` Eric S Fraga
2016-09-02 16:01         ` Nick Dokos
2016-09-05 20:55         ` Florian Lindner
2016-09-05 21:34           ` John Kitchin
     [not found]         ` <f07593c389194c028f4a2ca0a5933e13@HE1PR01MB1898.eurprd01.prod.exchangelabs.com>
2016-09-06  6:41           ` Eric S Fraga
2016-08-31  7:48 ` Florian Lindner

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.