From mboxrd@z Thu Jan 1 00:00:00 1970 From: Takeshi Teshima Subject: Re: Latex export error: There's no line here to end, with an image with a caption Date: Thu, 19 Jan 2017 12:01:33 +0900 Message-ID: References: <87eg00yowm.fsf@nicolasgoaziou.fr> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:36261) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cU2yw-0003KX-CA for emacs-orgmode@gnu.org; Wed, 18 Jan 2017 22:01:47 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cU2yr-0000PQ-HF for emacs-orgmode@gnu.org; Wed, 18 Jan 2017 22:01:46 -0500 Received: from mail-pg0-x22c.google.com ([2607:f8b0:400e:c05::22c]:33959) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1cU2yr-0000Om-CL for emacs-orgmode@gnu.org; Wed, 18 Jan 2017 22:01:41 -0500 Received: by mail-pg0-x22c.google.com with SMTP id 14so9790914pgg.1 for ; Wed, 18 Jan 2017 19:01:39 -0800 (PST) In-Reply-To: <87eg00yowm.fsf@nicolasgoaziou.fr> 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: Nicolas Goaziou Cc: emacs-orgmode@gnu.org Hello Mr. Goaziou, Thank you for the reply! Wow, thank you. It worked. The problem seems to stem from my own config. It worked as I turned my personal settings off. Best, Takeshi On 2017/01/19 7:38, Nicolas Goaziou wrote: > Hello, > > Takeshi Teshima writes: > >> When I try to export an org-mode file **that contains a figure with >> a caption** with `#+OPTIONS: \n:t`, (See minimal example files) >> >> to a pdf via latex-export, the exported latex file doesn't compile and >> I get the following error: >> >> ``` >> >> LaTeX Error: There's no line here to end. >> >> ``` >> >> in the `*Org PDF LaTeX Output*` buffer. Thus this is an error from the >> command line. >> >> ## [2] >> >> So I go to the line of the .tex file that's specified in the error, >> and the line always says: >> >> ``` latex >> >> \end{figure}\\ >> >> ``` > It is fixed. Could you confirm it behaves as expected in non-trivial > cases? > > Regards, >