emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Carsten Dominik <carsten.dominik@gmail.com>
To: Eraldo Helal <eraldo@eraldo.org>
Cc: Org-Mode <emacs-orgmode@gnu.org>
Subject: Re: keep newlines on pdf export
Date: Wed, 16 Dec 2009 07:24:32 +0100	[thread overview]
Message-ID: <3B9BB4FC-0C4E-4238-9549-392551B9E52F@gmail.com> (raw)
In-Reply-To: <1bcd1ad60912152005u4fbce0bbkf66bebd20ccf4523@mail.gmail.com>


On Dec 16, 2009, at 5:05 AM, Eraldo Helal wrote:

> Hi Carsten
>
>> I am always much more interested in thinking about a solution
>> if I am not just presented with an abstract wish, but rather
>> with a concrete example where this might be useful.
> First of all I want to thank all of you (again) for this great  
> mailing-list.
> I am a great fan of the idea of writing an org file and being able to
> export it to differnt formats as desired. (ASCII, html, pdf, etc)
> In my case the absence of consistent newlines (as present in html
> export) was not that much of a problem because the document
> (scientific article on complex numbers) does not need to be exported
> to html at all... so I just added "\\" to the end of every line.
> Nontheless I took notice of the problem and wanted to get and give
> some feedback.


Hi Eraldo,

still, an example would have been useful, to generate more ideas.

In the absence of an example, a few more comments/ideas that have
not yet come up (unless I missed them..)

"\\" at the end of a line does also the right thing in HTML
export, i.e. it is converted to <br/>

Other possibilities to preserve line breaks include

1. the #+begin_verse...#+end_verse block
2. A #+begin_example ... #+end_example block
3. Putting the numbers into a table
4. Starting each line with ": " (also makes them end up in an
    example block)

Cheers

- Carsten

>
> Greetings from Austria,
> Eraldo

- Carsten

  reply	other threads:[~2009-12-16  6:24 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 [this message]
2009-12-14  3:40   ` Nick Dokos
2009-12-14  7:49     ` Carsten Dominik
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=3B9BB4FC-0C4E-4238-9549-392551B9E52F@gmail.com \
    --to=carsten.dominik@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=eraldo@eraldo.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).