emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* possible Bug in export-Region-as-HTML
@ 2008-07-22 14:33 Giovanni Ridolfi
  2008-07-23 14:41 ` Giovanni Ridolfi
  0 siblings, 1 reply; 3+ messages in thread
From: Giovanni Ridolfi @ 2008-07-22 14:33 UTC (permalink / raw)
  To: org-mode

[-- 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&#39;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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2008-07-23 17:44 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-07-22 14:33 possible Bug in export-Region-as-HTML Giovanni Ridolfi
2008-07-23 14:41 ` Giovanni Ridolfi
2008-07-23 17:43   ` Carsten Dominik

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).