From: Rasmus <rasmus@gmx.us>
To: mail@nicolasgoaziou.fr
Cc: emacs-orgmode@gnu.org
Subject: Re: [patch, ox-latex] captions and latex-environments
Date: Fri, 24 Mar 2017 17:25:33 +0100 [thread overview]
Message-ID: <878tnu63r6.fsf@gmx.us> (raw)
In-Reply-To: <8737e49dd1.fsf@nicolasgoaziou.fr> (Nicolas Goaziou's message of "Thu, 23 Mar 2017 17:17:30 +0100")
Nicolas Goaziou <mail@nicolasgoaziou.fr> writes:
> Hello,
>
> Rasmus <rasmus@gmx.us> writes:
>
>>>> Another danger is that someone writes something like,
>>>>
>>>> \begin{center}
>>>> \begin{table}
>>>> ...
>>>
>>> You can start the regexp with "\\`[ \t]*..."
>>
>> The point is, that the env. will be center rather than table. So the code
>> would detect the wrong environment.
>
> But in this case, the caption is ambiguous anyway. Therefore, I see
> nothing wrong here.
I pushed a simplified version that doesn't consider
org-latex-custom-lang-environments. If anyone ever needs that we can add
it. I expect it’s mainly useful for tables and images anyway.
Let me know if there’s any problems.
Rasmus
--
Warning: Everything saved will be lost
next prev parent reply other threads:[~2017-03-24 16:25 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-03-16 12:02 [patch, ox-latex] captions and latex-environments Rasmus
2017-03-16 12:09 ` Rasmus
2017-03-17 7:22 ` Nicolas Goaziou
2017-03-17 9:23 ` Rasmus
2017-03-18 9:44 ` Nicolas Goaziou
2017-03-20 14:34 ` Rasmus
2017-03-23 16:17 ` Nicolas Goaziou
2017-03-24 16:25 ` Rasmus [this message]
2017-03-27 12:02 ` Nicolas Goaziou
2017-03-27 12:30 ` Rasmus
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=878tnu63r6.fsf@gmx.us \
--to=rasmus@gmx.us \
--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).