emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Giovanni Ridolfi <giovanni.ridolfi@yahoo.it>
To: Samuel Wales <samologist@gmail.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: Re: HTML export and blogging to blogger.com
Date: Tue, 16 Nov 2010 10:50:06 +0100	[thread overview]
Message-ID: <83eial4my9.fsf@yahoo.it> (raw)
In-Reply-To: <AANLkTinbq-kL=VyiSqtA2LfpeLRgaoT9N++jY8w-DCUT@mail.gmail.com> (Samuel Wales's message of "Mon, 15 Nov 2010 20:01:39 -0700")

Samuel Wales <samologist@gmail.com> writes:

> I found this in the manual.  Does anybody know whether this is
> relevant to the problem?
>
>      \n:        turn on/off line-break-preservation 
> (DOES NOT WORK)

Samuel, it, actually, works for me:
Org-mode version 7.3 commit-fee2c2c8dab57bf11ad34526f1364154f57fb020
GNU Emacs 23.2.1 (i386-mingw-nt5.1.2600) of 2010-05-08 on G41R2F1

when I export the *whole* file.   

if: \n:t
----------------------------------file -------------
#+TITLE:     pippo.org
#+DATE:      2010-11-16 mar
#+DESCRIPTION: 
#+KEYWORDS: 
#+LANGUAGE:  en
#+OPTIONS:   H:3 num:t toc:t \n:t @:t ::t |:t ^:t -:t f:t *:t <:t
#+OPTIONS:   TeX:t LaTeX:t skip:nil d:nil todo:t pri:nil tags:not-in-toc
#+INFOJS_OPT: view:nil toc:nil ltoc:t mouse:underline buttons:0 path:http://orgmode.org/org-info.js
#+EXPORT_SELECT_TAGS: export
#+EXPORT_EXCLUDE_TAGS: noexport
#+LINK_UP:   
#+LINK_HOME: 
#+XSLT: 
* hello 
LONG LINE Loooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooong

let's brake line HERE
this should be in new line: LONG LINE Loooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooong not so
--------------------------------------------------

HTML output is:

<html xmlns="http://www.w3.org/1999/xhtml"
lang="en" xml:lang="en">

<div id="outline-container-1" class="outline-2">
<h2 id="sec-1"><span class="section-number-2">1</span> hello </h2>
<div class="outline-text-2" id="text-1">

<p> #+OPTIONS:   H:3 num:t toc:t \n:t @:t ::t |:t ^:t -:t f:t *:t <:t </p>
<p>LONG LINE Loooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooong<br/>
</p>
<p><br/>
let's brake line HERE<br/>
this should be in new line: LONG LINE Loooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooong not so<br/>
</p>
<p><br/>
</p></div>
</div>
</div>
</div>
</body>
</html>


if \n:nil

<html xmlns="http://www.w3.org/1999/xhtml"
lang="en" xml:lang="en">

<div id="outline-container-1" class="outline-2">
<h2 id="sec-1"><span class="section-number-2">1</span> hello </h2>
<div class="outline-text-2" id="text-1">

<p>#+OPTIONS:   H:3 num:t toc:t \n:nil @:t ::t |:t ^:t -:t f:t *:t <:t </p>

<p>LONG LINE Loooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooong
</p>
<p>
let's brake line HERE
this should be in new line: LONG LINE Loooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooong not so
</p>
</div>
</div>
</div>
</body>
</html>

It works for me, also for a subtree
----------------
#+OPTIONS:   H:3 num:t toc:t \n:t @:t ::t |:t ^:t -:t f:t *:t <:t
** now a subtree

brake it brake it
newline 
---------------- HTML --------
<h1 class="title">now a subtree</h1>

<p>brake it brake it<br/>
newline<br/>

cheers,
Giovanni

  reply	other threads:[~2010-11-16  9:49 UTC|newest]

Thread overview: 80+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-11-11 22:05 HTML export and blogging to blogger.com Samuel Wales
2010-11-11 22:50 ` Nick Dokos
2010-11-11 23:06   ` Samuel Wales
2010-11-12  3:45     ` Nick Dokos
2010-11-11 23:07 ` John Hendy
2010-11-11 23:18   ` Samuel Wales
2010-11-11 23:40     ` John Hendy
2010-11-12  2:25       ` Samuel Wales
2010-11-12 10:47         ` Eric S Fraga
2010-11-12 19:32           ` Samuel Wales
2010-11-14  1:25 ` Samuel Wales
2010-11-14  2:26   ` John Hendy
2010-11-14  2:54     ` Samuel Wales
2010-11-16  3:01   ` Samuel Wales
2010-11-16  9:50     ` Giovanni Ridolfi [this message]
2010-11-16 18:26       ` Samuel Wales
2010-11-16 23:17         ` Samuel Wales
2010-11-16 23:32           ` John Hendy
2010-11-17  0:13             ` Samuel Wales
2010-11-17  0:17               ` Samuel Wales
2010-11-17  4:34                 ` John Hendy
2010-11-17  4:45                   ` John Hendy
2010-11-17  9:09                     ` Eric S Fraga
2010-11-17 16:36                       ` John Hendy
2010-11-17 16:46                         ` Eric S Fraga
2010-11-24  1:59                       ` Samuel Wales
2010-11-24  9:09                         ` Eric S Fraga
2010-11-24  2:03                   ` Samuel Wales
2010-11-17 11:47         ` Christian Moe
2010-11-17 12:28           ` Add a hook with #+BIND? Christian Moe
2010-11-18  5:44           ` Re: HTML export and blogging to blogger.com John Hendy
2010-11-17  3:46   ` Nick Dokos
2010-11-17  4:18     ` John Hendy
2010-11-17  5:17       ` Nick Dokos
2010-11-17  5:52     ` Samuel Wales
2010-11-17  6:09       ` Nick Dokos
2010-11-24  2:00         ` Samuel Wales
2010-11-17 10:17       ` Tim Burt
2010-11-24  1:58         ` Samuel Wales
  -- strict thread matches above, loose matches on Subject: below --
2012-05-29 17:24 Annoying behavior of RET after a timestamp Nick Dokos
2012-05-29 17:46 ` Nick Dokos
2012-05-29 17:54   ` Samuel Wales
2012-05-29 18:43     ` Nick Dokos
2012-05-29 18:57       ` Samuel Wales
2012-05-29 19:04         ` suvayu ali
2012-05-29 19:15         ` Nick Dokos
2012-05-29 19:21           ` Nick Dokos
2012-05-29 19:26             ` Nick Dokos
2012-05-29 20:05               ` Samuel Wales
2012-05-31 12:43               ` Matt Lundin
2012-06-01 13:57                 ` Bastien
2012-06-01 13:55 ` Bastien
2012-06-01 15:41   ` Nick Dokos
2009-06-11 11:58 tea-time? henry atting
2009-06-11 12:34 ` tea-time? Sebastian Rose
2009-07-17  3:56   ` tea-time? Samuel Wales
2009-07-17  7:24     ` tea-time? Bastien
2009-07-25 19:49       ` tea-time? Samuel Wales
2009-07-25 22:20         ` tea-time? Bastien
2009-07-26  0:14           ` tea-time? Samuel Wales
2009-07-26 19:04             ` tea-time? Bastien
2009-07-29 17:30               ` tea-time? Samuel Wales
2009-07-29 17:31                 ` tea-time? Samuel Wales
2009-07-29 17:41                 ` tea-time? Bastien
2009-07-29 17:54                   ` tea-time? Samuel Wales
2009-07-29 18:41                     ` tea-time? Bastien
2009-07-29 19:06                 ` tea-time? Bastien
2009-07-29 21:45                   ` tea-time? Samuel Wales
2009-07-29 22:29                     ` tea-time? Nick Dokos
2009-07-30  5:18                       ` tea-time? Bastien
2009-07-30 10:56                       ` tea-time? Eric S Fraga
2009-07-30 12:34                         ` tea-time? Richard Riley
2009-07-30  5:48                     ` tea-time? Bastien
     [not found]                     ` <samologist@gmail.com>
2012-08-28  1:11                       ` How to make kill-sexp work as in the rest of Emacs? Samuel Wales
2012-08-28  3:43                         ` Nick Dokos
2012-08-28  4:08                           ` Samuel Wales
2012-08-28  5:30                             ` Nick Dokos
2012-08-28  5:33                               ` Samuel Wales
2012-08-30  5:04                               ` Bastien
2009-07-17 12:46     ` tea-time? Bernt Hansen

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=83eial4my9.fsf@yahoo.it \
    --to=giovanni.ridolfi@yahoo.it \
    --cc=emacs-orgmode@gnu.org \
    --cc=samologist@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 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).