emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Orgmode] keep newlines on pdf export


From: Bill Powell
Subject: Re: [Orgmode] keep newlines on pdf export
Date: Mon, 14 Dec 2009 10:18:53 -0500
User-agent: Wanderlust/2.15.7 (Almost Unreal) SEMI/1.14.6 (Maruoka) FLIM/1.14.9 (Gojō) APEL/10.7 Emacs/23.1 (i686-pc-linux-gnu) MULE/6.0 (HANACHIRUSATO)

At Sun, 13 Dec 2009 18:42:58 -0500,
Nick Dokos wrote:
> 
> Eraldo Helal <address@hidden> wrote:
> 
> > One other reason behind this is that I can not export my document to
> > html anymore after I added "\\" at the end of every line... well I can
> > but it does not look the way I want it to be. =]
> > 
> 
> The \obeylines method should not affect the HTML export.
> 
> Nick

Hi folks,

I also have been using the \obeylines technique. But it seems a bit
crufty. I do lots of work in LaTeX, so I have a sense of the perils
involved in LaTeX linebreaking. Unfortunately, I have zero experience
with elisp, so I can't tackle this (yet).

The problem with the \obeylines hack is that if it's not properly
closed with a final bracket, your file breaks. But how do you keep
this final bracket in place? You can't move headlines around with the
usual reckless abandon, because there's no way (that I know of) to
keep that final bracket locked at the end of your text file. Unless
you want to enter an \obeylines within every headline ...

So I would give a +1 to \n:t giving at least rudimentary linebreak
support for PDF export, rather than silently failing. As someone who
regularly has to export the same file to both HTML and PDF, I would
rather have an option that works 90% of the time and sometimes
requires an arcane LaTeX fix (and is documented as such), than
/always/ have to use an arcane LaTeX fix.

Thanks,
Bill Powell




reply via email to

[Prev in Thread] Current Thread [Next in Thread]