emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Nick Dokos <nicholas.dokos@hp.com>
To: andrea Crotti <andrea.crotti.0@gmail.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: Re: Differences html/pdf
Date: Wed, 28 Oct 2009 14:48:40 -0400	[thread overview]
Message-ID: <11419.1256755720@gamaville.dokosmarshall.org> (raw)
In-Reply-To: Message from andrea Crotti <andrea.crotti.0@gmail.com> of "Wed, 28 Oct 2009 17:05:07 -0000." <loom.20091028T180336-509@post.gmane.org>

andrea Crotti <andrea.crotti.0@gmail.com> 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

      reply	other threads:[~2009-10-28 18:50 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
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 [this message]

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=11419.1256755720@gamaville.dokosmarshall.org \
    --to=nicholas.dokos@hp.com \
    --cc=andrea.crotti.0@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 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).