From: Giovanni Ridolfi <giovanni.ridolfi@yahoo.it>
To: org-mode <emacs-orgmode@gnu.org>
Subject: possible Bug in export-Region-as-HTML
Date: Tue, 22 Jul 2008 14:33:06 +0000 (GMT) [thread overview]
Message-ID: <554621.53888.qm@web28313.mail.ukl.yahoo.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 1324 bytes --]
Hello everyone,
Org-mode version 6.05b
GNU Emacs 22.1.1 (i386-mingw-nt5.1.2600) of 2007-06-02 on RELEASE
I think I found a bug in the org-export-region-as-html function
(or, perhaps I misunderstood the meaning of the function)
---------- org file: ----------
#+TITLE:
#+AUTHOR:
#+EMAIL:
#+LANGUAGE: en
#+OPTIONS: H:4 num:t toc:nil \n:nil @:t ::t |:t ^:t f:t *:t TeX:t LaTeX:nil skip:t p:nil
* first
hi
** 2nd
hello
*** 3rd
it's me!
**** 4th
bye! . .<- cursor there
* this one no!
------------------------
If I select the region from the first heading, i.e. C-SPC on
the * of "* first", and to the point between the 2 full stops
(on line 14, column 6, you can either do M-w or not),
then C-c C-e S-R, to export only the selected region,
the exporter
1. exports the first heading as the title of the HTML file
2. exports "first" as the first heading
but does *not* export the text "hi"
3. does not use <h2 > for defining the second level
i.e. "2nd" , but <h3>
I attach the two files:
region.html (exported region)
and all.html (all the document),
unfortunately I cannot run diff here in XP :-(
cheers,
Giovanni
Posta, news, sport, oroscopo: tutto in una sola pagina.
Crea l'home page che piace a te!
www.yahoo.it/latuapagina
[-- Attachment #2: region.html --]
[-- Type: text/html, Size: 1698 bytes --]
[-- Attachment #3: all.html --]
[-- Type: text/html, Size: 1994 bytes --]
[-- Attachment #4: Type: text/plain, Size: 204 bytes --]
_______________________________________________
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
next reply other threads:[~2008-07-22 14:33 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-07-22 14:33 Giovanni Ridolfi [this message]
2008-07-23 14:41 ` possible Bug in export-Region-as-HTML Giovanni Ridolfi
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=554621.53888.qm@web28313.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).