[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Orgmode] keep newlines on pdf export
From: |
Nick Dokos |
Subject: |
Re: [Orgmode] keep newlines on pdf export |
Date: |
Sun, 13 Dec 2009 13:21:51 -0500 |
Eraldo Helal <address@hidden> wrote:
> When I export an org file like the following to pdf:
> test.org
> > line1
> > line2
> > line3
>
> what I get is:
> test.pdf
> > line1 line2 line3
>
> however, I would like to get the following in the pdf:
> test.pdf
> > line1
> > line2
> > line3
>
> How can I get pdf export to keep my org newlines?
> Remark: I do have "\n:t" set in my options line.
>
org-to-pdf is really org-to-latex-to-pdf, and generally
speaking[1] newlines in latex are not significant. One way
to make them significant is
line1\\
line2\\
line3
Another might be
#+LATEX: \obeylines { %}
line1
line2
line3
#+LATEX: }
The %} might or might not be necessary to prevent the org LaTeX exporter
from complaining, but it's a useful workaround for an area that has had
problems in the past.
HTH,
Nick
[1] with exceptions, e.g. paragraph demarcation.
- [Orgmode] keep newlines on pdf export, Eraldo Helal, 2009/12/12
- [Orgmode] keep newlines on pdf export, Eraldo Helal, 2009/12/13
- Re: [Orgmode] keep newlines on pdf export,
Nick Dokos <=
- [Orgmode] Re: keep newlines on pdf export, andrea, 2009/12/14
- Re: [Orgmode] keep newlines on pdf export, Carsten Dominik, 2009/12/14
- Re: [Orgmode] keep newlines on pdf export, Bill Powell, 2009/12/14
- Re: [Orgmode] keep newlines on pdf export, Nick Dokos, 2009/12/14
- Re: [Orgmode] keep newlines on pdf export, Bill Powell, 2009/12/14
- Re: [Orgmode] keep newlines on pdf export, Eraldo Helal, 2009/12/16