* BUG ? [new exporter HTML] subtree: Headlines numbering
@ 2012-11-06 13:53 Giovanni Ridolfi
2012-11-06 16:47 ` Nicolas Goaziou
0 siblings, 1 reply; 2+ messages in thread
From: Giovanni Ridolfi @ 2012-11-06 13:53 UTC (permalink / raw)
To: Orgmode
Hello everybody,
Org-mode version 7.9.2 (a99402fac
GNU Emacs 24.2.1 (i386-mingw-nt6.1.7601) of 2012-08-29 on MARVIN
When I try to HTML export the whole file the result is as expected.
When I try to HTML export *a subtree* with the new exporter the exporter does not
complain with what I set in the EXPORT_OPTIONS,
Please try to export the second subtree "I am interested in this"
with C-@ M-x org-export-dispatch h o
----------------------
-*- mode: org; truncate-lines: nil coding:utf-8 -*-
* Another headline
* I am interested in this
:PROPERTIES:
:EXPORT_OPTIONS: H:5 num:nil toc:nil \n:t @:t ::t |:t ^:t f:nil *:t tags:nil TeX:t LaTeX:t skip:t p:nil author:nil email:nil creator:nil timestamp:t
:END:
** 2nd
*** hello UP
**** hello
hello hello (newline)
hi hi (newline and blank!)
Up with the new exporter
-+-------------
this is the result:
//////////////////////////////////////////////////////////
1 I am interested in this
1.1 2nd
1.1.1 hello UP
1. hello
hello hello (newline) \\ hi hi (newline and blank!) \\
Up with the new exporter \\
//////////////////////////////////////////////////////////
This does not happen if I export the whole file.
cheers,
Giovanni
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: BUG ? [new exporter HTML] subtree: Headlines numbering
2012-11-06 13:53 BUG ? [new exporter HTML] subtree: Headlines numbering Giovanni Ridolfi
@ 2012-11-06 16:47 ` Nicolas Goaziou
0 siblings, 0 replies; 2+ messages in thread
From: Nicolas Goaziou @ 2012-11-06 16:47 UTC (permalink / raw)
To: Giovanni Ridolfi; +Cc: Orgmode
Hello,
Giovanni Ridolfi <giovanni.ridolfi@yahoo.it> writes:
> When I try to HTML export *a subtree* with the new exporter the exporter does not
> complain with what I set in the EXPORT_OPTIONS,
> Please try to export the second subtree "I am interested in this"
> with C-@ M-x org-export-dispatch h o
That's because exporting a marked (or a narrowed, for that matter)
subtree isn't the same as exporting a subtree.
You have to explicitly tell the exporter you're exporting a subtree, so
it can read :EXPORT_OPTIONS: property.
See "Export Scope" option (3) in `org-export-dispatch'.
Regards,
--
Nicolas Goaziou
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2012-11-06 16:52 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-11-06 13:53 BUG ? [new exporter HTML] subtree: Headlines numbering Giovanni Ridolfi
2012-11-06 16:47 ` Nicolas Goaziou
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).