From: Florian Lindner <mailinglists@xgm.de>
To: emacs-orgmode@gnu.org
Subject: Re: There is no line to end here at LaTeX org-ref export
Date: Wed, 31 Aug 2016 09:48:42 +0200 [thread overview]
Message-ID: <nq624p$n01$1@blaine.gmane.org> (raw)
In-Reply-To: <nq3fo2$5gr$1@blaine.gmane.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
>
>
>
prev parent reply other threads:[~2016-09-01 9:18 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
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 [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='nq624p$n01$1@blaine.gmane.org' \
--to=mailinglists@xgm.de \
--cc=emacs-orgmode@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.