emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Bill Powell <bill@billpowellisalive.com>
To: nicholas.dokos@hp.com
Cc: Org-Mode <emacs-orgmode@gnu.org>,
	Eraldo Helal <eraldo@eraldo.org>,
	Carsten Dominik <carsten.dominik@gmail.com>
Subject: Re: keep newlines on pdf export
Date: Mon, 14 Dec 2009 18:25:30 -0500	[thread overview]
Message-ID: <87skbdw32t.wl%bill@billpowellisalive.com> (raw)
In-Reply-To: <16796.1260829236@alphaville.usa.hp.com>

At Mon, 14 Dec 2009 17:20:36 -0500,
Nick Dokos wrote:
> 
> Bill Powell <bill@billpowellisalive.com> wrote:
> 
> > ...
> > 
> > I use org-mode's export to LaTeX to make flashcards for students who
> > want a printout they can cut into paper flashcards. For those who
> > prefer to review flashcards with Anki, I use export to HTML. My
> > post-processor perl scripts will be much happier if org-mode takes
> > care of the linebreaks. :-) 
> > 
> 
> Can you post a short example? Both the org file and (a pointer to) the
> PDF/HTML files, if possible.

Nick,

Well, in this case, it would be kind of tricky to do a minimal working
example, because I use a pretty ugly post-processor script to patch
things up, and the final PDF output also depends on several external
LaTeX classes. I was just offering this as an example use of where
org-mode inserting a "\linebreak" could be helpful.

> This is off the top of my head, but wouldn't an item list do what you want?
> Something like
> 
> * topic
> ** subtopic
> 
>    - item
>    - item
>    - item


Sometimes I do, and that can be handy. But the item list won't always
work because LaTeX and HTML usually spaces item lists, and add
bullets, and do that kind of thing. I guess I could use memoir.cls and
\tightlists.

Thanks,
Bill Powell

  reply	other threads:[~2009-12-14 23:21 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 [this message]
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
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=87skbdw32t.wl%bill@billpowellisalive.com \
    --to=bill@billpowellisalive.com \
    --cc=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).