From mboxrd@z Thu Jan 1 00:00:00 1970 From: =?utf-8?Q?S=C3=A9bastien_Vauban?= Subject: Re: [Babel] Need for an extra literal block construct Date: Fri, 19 Nov 2010 21:26:37 +0100 Message-ID: <80tyjd2h6q.fsf@missioncriticalit.com> References: <87zkvhoh18.fsf@mundaneum.com> <87fwx5c98w.fsf@gmail.com> <87sk14p6y6.fsf@mundaneum.com> <87mxrbdyhs.fsf@gmail.com> <87tylfsd7h.fsf@mundaneum.com> <4C9D1196.8030309@gmail.com> <87r5gfppob.fsf@mundaneum.com> <8039qxmojd.fsf_-_@mundaneum.com> <4CE694F1.2050409@christianmoe.com> <8039qx3wff.fsf@missioncriticalit.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org-mXXj517/zsQ@public.gmane.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org-mXXj517/zsQ@public.gmane.org To: emacs-orgmode-mXXj517/zsQ@public.gmane.org Hi all, S=C3=A9bastien Vauban wrote: > Christian Moe wrote: >>> Along this (still open -- at least, I hope so) discussion, I have a req= uest >>> for a new literal block. >>> >>> Currently, when looking at http://orgmode.org/manual/Literal-examples.h= tml, we >>> see we only have two "environments" that keep line breaks as they are i= n 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 =3Dthis-var=3D >> - restart > > OK. Confirmed, but you need to: > 1. delete the =3Dcache=3D. > 2. redo it. > > Thanks to: > - you > - me > #+end_verse > > is translated into > > #+begin_example >

> >> Does it work?
> >
> > Yes, if you:
> > > - update this-var
> > - restart
>
> OK. Confirmed, but you need to:
>

    >
  1. > delete the cache.
    >
  2. > >
  3. > redo it.
    >
    > Thanks to:
    >
  4. >
  5. > you
    >
  6. >
  7. > me
    >

    > #+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 =3Dequal=3D signs). - Bug, or - on purpose? Best regards, Seb --=20 S=C3=A9bastien Vauban _______________________________________________ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode-mXXj517/zsQ@public.gmane.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode