From: Carsten Dominik <carsten.dominik@gmail.com>
To: nicholas.dokos@hp.com
Cc: Eraldo Helal <eraldo@eraldo.org>, Org-Mode <emacs-orgmode@gnu.org>
Subject: Re: keep newlines on pdf export
Date: Mon, 14 Dec 2009 08:49:36 +0100 [thread overview]
Message-ID: <2CCF10F4-2EA4-4F37-BC4E-634F2DEB83F9@gmail.com> (raw)
In-Reply-To: <752.1260762052@gamaville.dokosmarshall.org>
On Dec 14, 2009, at 4:40 AM, Nick Dokos wrote:
> Eraldo Helal <eraldo@eraldo.org> 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.
>>
>
> Not sure whether this actually went in or not: see
>
> http://thread.gmane.org/gmane.emacs.orgmode/18823
We went in and out of this idea. For a while, "#+OPTIONS: \n:t"
did enter a \obeylines into the LaTeX output, but that turned
out to be not reliable,
http://thread.gmane.org/gmane.emacs.orgmode/18823/focus=18867
so I removed that again.
But the hack you show below surely will work in that limited sense.
- Carsten
>
> Also I messed up the syntax of obeylines before - it should
> look like this:
>
> #+LATEX: {\obeylines %}
> line1
> line2
> line3
> #+LATEX: }
>
> Nick
>
>
> _______________________________________________
> Emacs-orgmode mailing list
> Please use `Reply All' to send replies to the list.
> Emacs-orgmode@gnu.org
> http://lists.gnu.org/mailman/listinfo/emacs-orgmode
- Carsten
next prev parent reply other threads:[~2009-12-14 7:49 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <eraldo@eraldo.org>
2009-12-13 1:04 ` keep newlines on pdf export Eraldo Helal
2009-12-13 18:21 ` Nick Dokos
2009-12-13 20:51 ` Eraldo Helal
2009-12-13 20:53 ` Eraldo Helal
2009-12-13 23:42 ` Nick Dokos
2009-12-14 15:18 ` Bill Powell
2009-12-14 14:58 ` andrea
2009-12-14 15:35 ` Carsten Dominik
2009-12-14 21:56 ` Bill Powell
2009-12-14 22:20 ` Nick Dokos
2009-12-14 23:25 ` Bill Powell
2009-12-16 4:05 ` Eraldo Helal
2009-12-16 6:24 ` Carsten Dominik
2009-12-14 3:40 ` Nick Dokos
2009-12-14 7:49 ` Carsten Dominik [this message]
2009-12-13 2:39 Eraldo Helal
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=2CCF10F4-2EA4-4F37-BC4E-634F2DEB83F9@gmail.com \
--to=carsten.dominik@gmail.com \
--cc=emacs-orgmode@gnu.org \
--cc=eraldo@eraldo.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).