[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Orgmode] Re: [Babel] Need for an extra literal block construct
From: |
Sébastien Vauban |
Subject: |
[Orgmode] Re: [Babel] Need for an extra literal block construct |
Date: |
Fri, 19 Nov 2010 21:26:37 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.1.50 (windows-nt) |
Hi all,
Sébastien Vauban wrote:
> Christian Moe wrote:
>>> Along this (still open -- at least, I hope so) discussion, I have a request
>>> for a new literal block.
>>>
>>> Currently, when looking at http://orgmode.org/manual/Literal-examples.html,
>>> we
>>> see we only have two "environments" that keep line breaks as they are in the
>>> Org buffer, that is SRC and EXAMPLE, both mapped in HTML to PRE.
>>
>> There's VERSE, too.
>
> #+TITLE: Is VERSE a real PRE environment?
>
> #+begin_verse
>>> Does it work?
>>
>> Yes, if you:
>> - update =this-var=
>> - restart
>
> OK. Confirmed, but you need to:
> 1. delete the =cache=.
> 2. redo it.
>
> Thanks to:
> - you
> - me
> #+end_verse
>
> is translated into
>
> #+begin_example
> <p class="verse">
> >> Does it work?<br/>
> ><br/>
> > Yes, if you:<br/>
>
> > - update <code>this-var</code><br/>
> > - restart<br/>
> <br/>
> OK. Confirmed, but you need to:<br/>
> </p><ol>
> <li>
> delete the <code>cache</code>.<br/>
> </li>
>
> <li>
> redo it.<br/>
> <br/>
> Thanks to:<br/>
> </li>
> <li>
> you<br/>
> </li>
> <li>
> me<br/>
> </p>
> #+end_example
>
> ** Right thing or wrong thing?
>
> The verse "mail" is badly translated into HTML: lists are not copied
> "verbatim" in the PRE
*Same for PDF*: the lists in the VERSE environment are interpreted:
--8<---------------cut here---------------start------------->8---
\begin{verse}
>> Does it work?\\
>\\
> Yes, if you:\\
> - update \url{this-var}\\
> - restart\\
\vspace*{1em}
OK. Confirmed, but you need to:\\
\begin{enumerate}
\item delete the \url{cache}.\\
\item redo it.\\
\end{enumerate}
\vspace*{1em}
Thanks to:\\
\begin{itemize}
\item you\\
\item me\\
\end{itemize}
\end{verse}
--8<---------------cut here---------------end--------------->8---
So are the CODE inlined words (delimited by =equal= signs).
- Bug, or
- on purpose?
Best regards,
Seb
--
Sébastien Vauban
- [Orgmode] [Babel] Need for an extra literal block construct, Sébastien Vauban, 2010/11/19
- Re: [Orgmode] Re: [Babel] Need for an extra literal block construct, Eric Schulte, 2010/11/19
- Re: [Orgmode] Re: [Babel] Need for an extra literal block construct, Eric Schulte, 2010/11/19
- [Orgmode] Re: [Babel] Need for an extra literal block construct, Sébastien Vauban, 2010/11/20
- [Orgmode] Re: [Babel] Need for an extra literal block construct, Sébastien Vauban, 2010/11/22
- Re: [Orgmode] Re: [Babel] Need for an extra literal block construct, Eric Schulte, 2010/11/22
- [Orgmode] Re: [Babel] Need for an extra literal block construct, Sébastien Vauban, 2010/11/23