emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] [patch, ox-latex] captions and latex-environments


From: Rasmus
Subject: Re: [O] [patch, ox-latex] captions and latex-environments
Date: Fri, 24 Mar 2017 17:25:33 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.50 (gnu/linux)

Nicolas Goaziou <address@hidden> writes:

> Hello,
>
> Rasmus <address@hidden> 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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]