emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* [BUGs] in HTML export
@ 2009-02-03 12:41 Giovanni Ridolfi
  2009-02-03 15:07 ` Carsten Dominik
  0 siblings, 1 reply; 3+ messages in thread
From: Giovanni Ridolfi @ 2009-02-03 12:41 UTC (permalink / raw)
  Cc: emacs-orgmode Org-Mode

Hi, Carsten.

Org-mode version 6.21b
GNU Emacs 22.3.1 (i386-mingw-nt5.1.2600) of 2008-09-06 on SOFT-MJASON

I found two bugs in the HTML export: 
* first: 
the exporter is not compliant with
the values defined in a :PROPERTIES: drawer

test file:
--------------------
    -*- mode: org; -*-
#+TITLE:  Carsten is an astronomer!
* Procedure for test
:PROPERTIES:
:EXPORT_FILE_NAME: test.htm
:EXPORT_TITLE: procedure 4 test 
:EXPORT_OPTIONS: toc:t skip:t
:END:
** 1st par
Hello everybody!
** 2nd
** 3rd
Bye!
* Procedure for centrifuge
:PROPERTIES:
:EXPORT_FILE_NAME: cen.htm
:EXPORT_TITLE: Operating procedure 
:EXPORT_OPTIONS: toc:nil skip:n
:END:
** Introduction
+ unveil the centrifuge
+ open the drawer
----------

If I try to export the first heading 
1. selecting it with C-c @ 
2. C-c C-e R
then:
1. the exporter does not save it 
   (ok  I save it manually)
2. the title of the html file is the title of 
   the global file (Carsten....)

* 2 second bug:
the exporter exports the first line as the title of
the file even if skip is "t"
---------------------------
    -*- mode: org; -*-
#+OPTIONS:   H:3 skip:t
* Procedure for test
,,,#+TITLE:  Carsten is an astronomer!
:PROPERTIES:
:EXPORT_FILE_NAME: test.htm
:EXPORT_TITLE: procedure 4 test 
:EXPORT_OPTIONS: toc:t skip:t
:END:
** 1st par
Hello everybody!
** 2nd
** 3rd
Bye! 
------------------------------

cheers
Giovanni




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

* Re: [BUGs] in HTML export
  2009-02-03 12:41 [BUGs] in HTML export Giovanni Ridolfi
@ 2009-02-03 15:07 ` Carsten Dominik
  2009-02-03 16:38   ` Giovanni Ridolfi
  0 siblings, 1 reply; 3+ messages in thread
From: Carsten Dominik @ 2009-02-03 15:07 UTC (permalink / raw)
  To: giovanni.ridolfi; +Cc: emacs-orgmode Org-Mode

Hi Giovanni,

try exporting with `C-c C-e h' instead of exporting with `C-c C-e R',
I think this will fix these problems, at least largely.

- Carsten

On Feb 3, 2009, at 1:41 PM, Giovanni Ridolfi wrote:

> Hi, Carsten.
>
> Org-mode version 6.21b
> GNU Emacs 22.3.1 (i386-mingw-nt5.1.2600) of 2008-09-06 on SOFT-MJASON
>
> I found two bugs in the HTML export:
> * first:
> the exporter is not compliant with
> the values defined in a :PROPERTIES: drawer
>
> test file:
> --------------------
>    -*- mode: org; -*-
> #+TITLE:  Carsten is an astronomer!
> * Procedure for test
> :PROPERTIES:
> :EXPORT_FILE_NAME: test.htm
> :EXPORT_TITLE: procedure 4 test
> :EXPORT_OPTIONS: toc:t skip:t
> :END:
> ** 1st par
> Hello everybody!
> ** 2nd
> ** 3rd
> Bye!
> * Procedure for centrifuge
> :PROPERTIES:
> :EXPORT_FILE_NAME: cen.htm
> :EXPORT_TITLE: Operating procedure
> :EXPORT_OPTIONS: toc:nil skip:n
> :END:
> ** Introduction
> + unveil the centrifuge
> + open the drawer
> ----------
>
> If I try to export the first heading
> 1. selecting it with C-c @
> 2. C-c C-e R
> then:
> 1. the exporter does not save it
>   (ok  I save it manually)
> 2. the title of the html file is the title of
>   the global file (Carsten....)
>
> * 2 second bug:
> the exporter exports the first line as the title of
> the file even if skip is "t"
> ---------------------------
>    -*- mode: org; -*-
> #+OPTIONS:   H:3 skip:t
> * Procedure for test
> ,,,#+TITLE:  Carsten is an astronomer!
> :PROPERTIES:
> :EXPORT_FILE_NAME: test.htm
> :EXPORT_TITLE: procedure 4 test
> :EXPORT_OPTIONS: toc:t skip:t
> :END:
> ** 1st par
> Hello everybody!
> ** 2nd
> ** 3rd
> Bye!
> ------------------------------
>
> cheers
> Giovanni
>
>
>
>
>
>
> _______________________________________________
> 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

* Re:Re: [BUGs] in HTML export
  2009-02-03 15:07 ` Carsten Dominik
@ 2009-02-03 16:38   ` Giovanni Ridolfi
  0 siblings, 0 replies; 3+ messages in thread
From: Giovanni Ridolfi @ 2009-02-03 16:38 UTC (permalink / raw)
  To: Carsten Dominik; +Cc: emacs-orgmode Org-Mode

--- Mar 3/2/09, Carsten Dominik <dominik@science.uva.nl> ha scritto:
> try exporting with `C-c C-e h' instead of exporting
> with `C-c C-e R',
> I think this will fix these problems, at least largely.
Actually, depends on the width of "largely" ;-) [1]

The exporter C-c C-e h
exports the line *before* the first heading
even if the variable is "t"
(#+OPTIONS:   skip:t )

file:
---------------------------test.org-------
    -*- mode: org; -*-
#+OPTIONS:   H:3 skip:t toc:nil
* Procedure for test
,,,#+TITLE:  Carsten is an astronomer!
** 1st par
----------------------
C-c C-e h 
the file is HTML-exported as:

----------------------------------test.html---------
test

-*- mode: org; -*-
1 2009-02-03 mar BUGs: Procedure for test

,,,#+TITLE: Carsten is an astronomer!
1.1 1st par

Skip lines, please!
-----------------------------

cheers
Giovanni
[1] Yes I know, a chemist and an astronomer may 
    look at different bignesses ;-)




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

end of thread, other threads:[~2009-02-03 16:39 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-02-03 12:41 [BUGs] in HTML export Giovanni Ridolfi
2009-02-03 15:07 ` Carsten Dominik
2009-02-03 16:38   ` Giovanni Ridolfi

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