emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Giovanni Ridolfi <giovanni.ridolfi@yahoo.it>
To: org-mode <emacs-orgmode@gnu.org>
Subject: Re: possible Bug in export-Region-as-HTML
Date: Wed, 23 Jul 2008 14:41:29 +0000 (GMT)	[thread overview]
Message-ID: <167535.82989.qm@web28312.mail.ukl.yahoo.com> (raw)
In-Reply-To: <554621.53888.qm@web28313.mail.ukl.yahoo.com>

/punk: DIMyself ;-) 
--- Mar 22/7/08, Giovanni Ridolfi <giovanni.ridolfi@yahoo.it> ha scritto:
> ---------- org file: ----------
>           ####  blank line here
> * first
> hi
> ** 2nd
> hello
> *** 3rd
> it's me!
> **** 4th
> bye! . .<- cursor within dots
>---------------------------------------
> 1. exports the first heading as the title of the HTML file 
> :-(

If you want the exporter performs correctly, 
THEN just set the mark (C-SPC) in a blank line 
*before* the heading you want to export.

> 2. exports "first" as the first heading
I cannot reproduce this anymore. 

>    but does *not* export the text "hi"
> 3. does not use <h2 > for defining the second level
>    i.e. "2nd"  , but <h3>

Well if the region includes another "first heading"
i.e.:
------------------
* first
 hi
** 2nd
hello
*** 3rd
* first after 3rd
it's me!
**** 4th
 bye! . .<- cursor within dots
---------------------

everything goes well: 
1. corsor on "* first", 
2. no title, 
3. "* first" is <h2> , "** 2nd" <h3> and so on.

In conclusion I think it can be added to the documentation 
of the function "org-export-region-as-html"
something like that: 
"The region to be exported should begin 
from a blank line before the headng of interest"

cheers,
Giovanni


      Posta, news, sport, oroscopo: tutto in una sola pagina. 
Crea l&#39;home page che piace a te!
www.yahoo.it/latuapagina

  reply	other threads:[~2008-07-23 14:41 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-07-22 14:33 possible Bug in export-Region-as-HTML Giovanni Ridolfi
2008-07-23 14:41 ` Giovanni Ridolfi [this message]
2008-07-23 17:43   ` Carsten Dominik

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=167535.82989.qm@web28312.mail.ukl.yahoo.com \
    --to=giovanni.ridolfi@yahoo.it \
    --cc=emacs-orgmode@gnu.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).