emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Takeshi Teshima <takeshi.diadochos@gmail.com>
To: Nicolas Goaziou <mail@nicolasgoaziou.fr>
Cc: emacs-orgmode@gnu.org
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	[thread overview]
Message-ID: <dbb65e6c-f926-3f23-b07e-e69589c11f02@gmail.com> (raw)
In-Reply-To: <87eg00yowm.fsf@nicolasgoaziou.fr>

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 <takeshi.diadochos@gmail.com> 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,
>

      reply	other threads:[~2017-01-19  3:01 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-01-06  8:32 Latex export error: There's no line here to end, with an image with a caption Takeshi Teshima
2017-01-18 22:38 ` Nicolas Goaziou
2017-01-19  3:01   ` Takeshi Teshima [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

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=dbb65e6c-f926-3f23-b07e-e69589c11f02@gmail.com \
    --to=takeshi.diadochos@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=mail@nicolasgoaziou.fr \
    /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 public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).