[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] There is no line to end here at LaTeX org-ref export
From: |
Florian Lindner |
Subject: |
Re: [O] There is no line to end here at LaTeX org-ref export |
Date: |
Wed, 31 Aug 2016 09:48:42 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.2.0 |
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
>
>
>
- Re: [O] There is no line to end here at LaTeX org-ref export,
Florian Lindner <=