[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
- [O] [patch, ox-latex] captions and latex-environments, Rasmus, 2017/03/16
- Re: [O] [patch, ox-latex] captions and latex-environments, Rasmus, 2017/03/16
- Re: [O] [patch, ox-latex] captions and latex-environments, Nicolas Goaziou, 2017/03/17
- Re: [O] [patch, ox-latex] captions and latex-environments, Rasmus, 2017/03/17
- Re: [O] [patch, ox-latex] captions and latex-environments, Nicolas Goaziou, 2017/03/18
- Re: [O] [patch, ox-latex] captions and latex-environments, Rasmus, 2017/03/20
- Re: [O] [patch, ox-latex] captions and latex-environments, Nicolas Goaziou, 2017/03/23
- Re: [O] [patch, ox-latex] captions and latex-environments,
Rasmus <=
- Re: [O] [patch, ox-latex] captions and latex-environments, Nicolas Goaziou, 2017/03/27
- Re: [O] [patch, ox-latex] captions and latex-environments, Rasmus, 2017/03/27