From mboxrd@z Thu Jan 1 00:00:00 1970 From: Florian Lindner Subject: Re: There is no line to end here at LaTeX org-ref export Date: Wed, 31 Aug 2016 09:45:05 +0200 Message-ID: <3972cc9c-6ee5-25eb-a460-50e52eeaa490@xgm.de> References: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:39421) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bf0Cu-0003Mi-8A for emacs-orgmode@gnu.org; Wed, 31 Aug 2016 03:45:13 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bf0Cp-0004cB-W2 for emacs-orgmode@gnu.org; Wed, 31 Aug 2016 03:45:11 -0400 Received: from astarte.centershock.net ([5.45.98.111]:35967) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bf0Cp-0004aR-Pr for emacs-orgmode@gnu.org; Wed, 31 Aug 2016 03:45:07 -0400 Received: from [129.69.213.139] (lapsgs09.informatik.uni-stuttgart.de [129.69.213.139]) by astarte.centershock.net (Postfix) with ESMTPSA id 89F88100085 for ; Wed, 31 Aug 2016 09:45:03 +0200 (CEST) In-Reply-To: List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: "Emacs-orgmode" To: emacs-orgmode@gnu.org 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 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