[Top][All Lists]

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

Re: [Orgmode] Re: [Babel] Need for an extra literal block construct

From: Thomas S. Dye
Subject: Re: [Orgmode] Re: [Babel] Need for an extra literal block construct
Date: Fri, 19 Nov 2010 10:38:45 -1000

Aloha Sébastien,

Just a side comment on the LaTeX output of your example: it is usually not a good idea to put markup like \vspace in the .tex file. Commands like \vspace work there, but they defeat the document design of the style or class file. In the ideal case, commands like \vspace are confined to style and class files and do not appear in tex files.

Perhaps the \vspace could be eliminated on the way to squashing your bug?

All the best,

On Nov 19, 2010, at 10:26 AM, Sébastien Vauban wrote:

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?

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

is translated into

<p class="verse">
&gt;&gt; Does it work?<br/>
&gt; Yes, if you:<br/>

&gt; - update <code>this-var</code><br/>
&gt; - restart<br/>
OK. Confirmed, but you need to:<br/>
delete the <code>cache</code>.<br/>

redo it.<br/>
Thanks to:<br/>

** 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---
Does it work?\\
Yes, if you:\\
- update \url{this-var}\\
- restart\\
OK. Confirmed, but you need to:\\
\item delete the \url{cache}.\\
\item redo it.\\

Thanks to:\\
\item you\\
\item me\\

--8<---------------cut here---------------end--------------->8---

So are the CODE inlined words (delimited by =equal= signs).

- Bug, or
- on purpose?

Best regards,

Sébastien Vauban

Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.

reply via email to

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