[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Orgmode] Re: [BUG] nested blocks aren't protected on export
From: |
Eric Schulte |
Subject: |
Re: [Orgmode] Re: [BUG] nested blocks aren't protected on export |
Date: |
Mon, 28 Jun 2010 08:04:11 -0700 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.2 (gnu/linux) |
Hi Carsten,
Carsten Dominik <address@hidden> writes:
[...]
>
> The above patch looks definitely right to me. In fact, I think the
> org-if-unprotected should be around the entire content of the while
> loop - with an additional fix to make sure search is resumed not
> from the beginning of location of a match that has not been processed,
> that would create in infinite loop.
>
Great, I've just applied this patch with the fix you described.
>
>>
>> From d422f564163e37c51d0727e2992b24b85caf54ea Mon Sep 17 00:00:00 2001
>> From: Eric Schulte <address@hidden>
>> Date: Sun, 27 Jun 2010 19:36:14 -0700
>> Subject: [PATCH 2/2] org-latex: check for protection before wrapping
>> ": " lines as verbatim
[...]
>
> I am not quite certain why this second patch is needed?
>
This second patch ensures that we do not nest verbatim environments on
latex export, for example w/o this patch the following org-mode
--8<---------------cut here---------------start------------->8---
#+begin_src org
,* escaped org-mode markup
,this should be exported as is
,#+results: escaping-example
,: 24
#+end_src
--8<---------------cut here---------------end--------------->8---
exports to the following LaTeX
--8<---------------cut here---------------start------------->8---
\begin{verbatim}
* escaped org-mode markup
this should be exported as is
#+results: escaping-example
\begin{verbatim}
24
\end{verbatim}
\end{verbatim}
--8<---------------cut here---------------end--------------->8---
I'll wait to hear from you before doing anything with this second patch.
Thanks -- Eric
>
> - Carsten
- [Orgmode] [BUG] nested blocks aren't protected on export, Eric Schulte, 2010/06/25
- [Orgmode] Re: [BUG] nested blocks aren't protected on export, Eric Schulte, 2010/06/27
- Re: [Orgmode] Re: [BUG] nested blocks aren't protected on export, Carsten Dominik, 2010/06/28
- Re: [Orgmode] Re: [BUG] nested blocks aren't protected on export,
Eric Schulte <=
- Re: [Orgmode] Re: [BUG] nested blocks aren't protected on export, Carsten Dominik, 2010/06/28
- Re: [Orgmode] Re: [BUG] nested blocks aren't protected on export, Eric Schulte, 2010/06/28
- Re: [Orgmode] Re: [BUG] nested blocks aren't protected on export, Eric Schulte, 2010/06/28
- Re: [Orgmode] Re: [BUG] nested blocks aren't protected on export, Carsten Dominik, 2010/06/29
- Re: [Orgmode] Re: [BUG] nested blocks aren't protected on export, Eric Schulte, 2010/06/29
- Re: [Orgmode] Re: [BUG] nested blocks aren't protected on export, Nicolas Goaziou, 2010/06/28
- Re: [Orgmode] Re: [BUG] nested blocks aren't protected on export, Eric Schulte, 2010/06/28
- Re: [Orgmode] Re: [BUG] nested blocks aren't protected on export, Nicolas Goaziou, 2010/06/28