Am 30.08.2016 um 10:22 schrieb Florian Lindner:
> 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.
An example without org-ref that produces this error:
#+BEGIN_SRC python :exports results :results file
import matplotlib.pyplot as plt, numpy as np
x = np.linspace(-2, 2, 1000)
plt.plot(x, np.exp(-np.power(4*x, 2)), label="shape-parameter=4")
plt.savefig('rbf-gaussian-4.pdf')
return "rbf-gaussian-4.pdf"
#+END_SRC
#+NAME: fig:org_fig
#+CAPTION: Org Fig
#+RESULTS: fig:org_fig
[[file:rbf-gaussian-4.pdf]]
Some text
Gives, when compiled to latex gives also: There is no line here to end:
ERROR: LaTeX Error: There's no line here to end.
--- TeX said ---
See the LaTeX manual or LaTeX Companion for explanation.
Type H <return> for immediate help.
...
l.40 S
ome text \\
--- HELP ---
A \newline or \\ command appears between paragraphs, where it makes no
sense. If you're trying to ``leave a blank line'', use a \vspace
command.
Thanks,
Florian