[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Orgmode] Re: Differences html/pdf
From: |
Nick Dokos |
Subject: |
Re: [Orgmode] Re: Differences html/pdf |
Date: |
Wed, 28 Oct 2009 14:48:40 -0400 |
andrea Crotti <address@hidden> wrote:
> Carsten Dominik <carsten.dominik <at> gmail.com> writes:
> > On Oct 28, 2009, at 3:16 PM, andrea Crotti wrote:
> > ...
> > > In the latex version they're not exported for some reasons...
> >
> > That is correct, we have not implemented keeping all line breaks in
> > LaTeX.
> > Too hard, unfortunately.
>
> I see..
> But would not be enough to do a simple replace
> \n -> \newline from the org file to the latex source file?
>
No - it's much more complicated than that, partly because bare newlines
in LaTeX are completely ignored (except that two newlines in a row
signal end of paragraph - assuming of course that you are in paragraph
mode...), partly because the constructs that try to emulate newline
behavior (\\, \linebreak, \newline) are very context-dependent.
For a flavor of some of the complications, see this thread:
http://thread.gmane.org/gmane.emacs.orgmode/17333
particularly Bastien's summary of a reply that Sebastien Vauban
got in the fr.comp.text.tex newsgroup. Even that, complicated
as it is, is not complete.
Nick