From: Carsten Dominik <carsten.dominik@gmail.com>
To: nicholas.dokos@hp.com
Cc: Bastien <bastienguerry@googlemail.com>,
emacs-orgmode@gnu.org, andrea Crotti <andrea.crotti.0@gmail.com>
Subject: Re: Differences html/pdf
Date: Thu, 29 Oct 2009 10:20:46 +0100 [thread overview]
Message-ID: <3FDDBBB3-5788-4690-A0E5-55C97244C9A9@gmail.com> (raw)
In-Reply-To: <8183.1256768605@alphaville.usa.hp.com>
On Oct 28, 2009, at 11:23 PM, Nick Dokos wrote:
> 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.
OK, this is pretty good, and I have added it to be inserted
as a consequence of setting org-export-preserve-breaks. But I
believe in complex documents there might be problems, so I would
be interested in test results. Only then we will decide if this
should stay in.
- Carsten
next prev parent reply other threads:[~2009-10-29 9:20 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
2009-10-29 9:20 ` Carsten Dominik [this message]
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
List information: https://www.orgmode.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=3FDDBBB3-5788-4690-A0E5-55C97244C9A9@gmail.com \
--to=carsten.dominik@gmail.com \
--cc=andrea.crotti.0@gmail.com \
--cc=bastienguerry@googlemail.com \
--cc=emacs-orgmode@gnu.org \
--cc=nicholas.dokos@hp.com \
/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 public inbox
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).