[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:45:05 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.2.0 |
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
- Re: [O] There is no line to end here at LaTeX org-ref export,
Florian Lindner <=