From: Nick Dokos <nicholas.dokos@hp.com>
To: Bastien <bastienguerry@googlemail.com>
Cc: emacs-orgmode@gnu.org, andrea Crotti <andrea.crotti.0@gmail.com>,
Carsten Dominik <carsten.dominik@gmail.com>
Subject: Re: Differences html/pdf
Date: Wed, 28 Oct 2009 18:23:25 -0400 [thread overview]
Message-ID: <8183.1256768605@alphaville.usa.hp.com> (raw)
In-Reply-To: Message from Bastien <bastienguerry@googlemail.com> of "Thu, 29 Oct 2009 00:26:05 +0800." <877hufqyci.fsf@bzg.ath.cx>
Bastien <bastienguerry@googlemail.com> wrote:
> Carsten Dominik <carsten.dominik@gmail.com> 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
next prev parent reply other threads:[~2009-10-28 22:24 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-10-28 14:16 Differences html/pdf andrea Crotti
2009-10-28 15:50 ` Carsten Dominik
2009-10-28 16:26 ` Bastien
2009-10-28 18:24 ` Thomas S. Dye
2009-10-28 22:23 ` Nick Dokos [this message]
2009-10-29 9:20 ` Carsten Dominik
2009-10-31 16:57 ` andrea Crotti
2009-11-01 17:22 ` Carsten Dominik
2009-11-01 19:01 ` andrea Crotti
2009-11-01 19:20 ` Carsten Dominik
2009-12-04 10:48 ` andrea
2009-10-28 17:05 ` andrea Crotti
2009-10-28 18:48 ` Nick Dokos
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=8183.1256768605@alphaville.usa.hp.com \
--to=nicholas.dokos@hp.com \
--cc=andrea.crotti.0@gmail.com \
--cc=bastienguerry@googlemail.com \
--cc=carsten.dominik@gmail.com \
--cc=emacs-orgmode@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.