[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Orgmode] Differences html/pdf
From: |
Nick Dokos |
Subject: |
Re: [Orgmode] Differences html/pdf |
Date: |
Wed, 28 Oct 2009 18:23:25 -0400 |
Bastien <address@hidden> wrote:
> Carsten Dominik <address@hidden> writes:
>
> >> In the latex version they're not exported for some reasons...
> >
> > That is correct, we have not implemented keeping all line breaks in
> > LaTeX.
>
> I've searched around a bit, and to my big surprise, I cannot find a
> LaTeX package preserving line breaks. I understand such a function
> doesn't come along nicely with the general LaTeX philosophy, but it
> should be possible after all...
>
> Did anyone already tried to find such a package ?
>
Not a package, but there is \obeylines (plain TeX) that will
preserve line breaks - e.g. Knuth[1] suggests that it be used for
typesetting poetry:
{\obeylines\smallskip
Roses are red,
\quad Violets are blue;
Rhymes can be typeset
\quad with boxes and glue.
\smallskip}
It apparently works by pretending that the newline is a \par token.
Nick
[1] Knuth, "The TeXbook", p. 94