From: Sebastian Rose <sebastian_rose@gmx.de>
To: Wanrong Lin <wanrong.lin@gmail.com>
Cc: emacs-orgmode <emacs-orgmode@gnu.org>
Subject: Re: Feature request: preserving plain list line breaks in exporting
Date: Tue, 10 Mar 2009 19:13:42 +0100 [thread overview]
Message-ID: <87eix5i6uh.fsf@kassiopeya.MSHEIMNETZ> (raw)
In-Reply-To: <49B6A795.9010806@gmail.com> (Wanrong Lin's message of "Tue, 10 Mar 2009 13:47:01 -0400")
Try:
* TODO Read books
1. [ ] Book 1 \\
Note: blah blah blah
2. [ ] Book 2 \\
Note: blah blah blah
Or even:
* TODO Read books
1. [ ] Book 1 ::
Note: blah blah blah
2. [ ] Book 2 ::
Note: blah blah blah
plus CSS
Regards,
Sebastian
Wanrong Lin <wanrong.lin@gmail.com> writes:
> Hi,
>
> Suppose I have a plain list as the following:
>
> * TODO Read books
> 1. [ ] Book 1
> Note: blah blah blah
> 2. [ ] Book 2
> Note: blah blah blah
>
> When the above is exported to HTML, the line breaks after the "heading line" of
> each list item are lost, so it becomes "Book1 Note: blah blah blah", which does
> not look very nice to me. I know I can keep the line breaks by inserting a blank
> line, like this:
>
> * TODO Read books
> 1. [ ] Book 1
>
> Note: blah blah blah
> 2. [ ] Book 2
>
> Note: blah blah blah
>
> Well, this will fix the export, but the text above looks ugly now, especially
> when the "Note" part is very short.
>
> Can we add some kind of option to control whether the line break after the first
> line of a plain list item should be preserved in exporting? Or maybe we can
> assume the line breaks should be preserved when "org-cycle-include-plain-lists"
> is set to "t", since in that case we are treating the plain list item kind of
> like a heading.
>
> Note setting "org-export-preserve-breaks" does not meet my needs, since that
> will preserve ALL breaks.
>
> Thanks for giving the above a thought.
>
> Wanrong
>
>
> _______________________________________________
> Emacs-orgmode mailing list
> Remember: use `Reply All' to send replies to the list.
> Emacs-orgmode@gnu.org
> http://lists.gnu.org/mailman/listinfo/emacs-orgmode
>
--
Sebastian Rose, EMMA STIL - mediendesign, Niemeyerstr.6, 30449 Hannover
Tel.: +49 (0)511 - 36 58 472
Fax: +49 (0)1805 - 233633 - 11044
mobil: +49 (0)173 - 83 93 417
Email: s.rose@emma-stil.de, sebastian_rose@gmx.de
Http: www.emma-stil.de
next prev parent reply other threads:[~2009-03-10 18:10 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-03-10 17:47 Feature request: preserving plain list line breaks in exporting Wanrong Lin
2009-03-10 18:13 ` Sebastian Rose [this message]
2009-03-10 18:49 ` Wanrong Lin
2009-03-10 19:40 ` Sebastian Rose
2009-03-10 21:02 ` Wanrong Lin
2009-03-12 2:07 ` Eddward DeVilla
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87eix5i6uh.fsf@kassiopeya.MSHEIMNETZ \
--to=sebastian_rose@gmx.de \
--cc=emacs-orgmode@gnu.org \
--cc=wanrong.lin@gmail.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 external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.