emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* how to prevent html export from including the default javascript?
@ 2013-12-05  8:56 Gijs Hillenius
  2013-12-05 19:11 ` Rick Frankel
  0 siblings, 1 reply; 2+ messages in thread
From: Gijs Hillenius @ 2013-12-05  8:56 UTC (permalink / raw)
  To: emacs-orgmode


Hello

I have trouble finding the correct explanation in ox-html.el.gz and
searching on the web. I'm trying to tell the html exporter *not* to
include the "<!--/*--><![CDATA[/*><!--*/ ..." javascript 

I'm trying to use the #+OPTIONS: to define this for a given foo.org
file.


I've tried, in vain, each of the below settings:

html-head-include-scripts:nil
org-html-head-include-scripts:nil
org-html-style-include-scripts:nil


but each time I ask org-mode to export to html, the resulting foo.html
file contains that javascript...

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

* Re: how to prevent html export from including the default javascript?
  2013-12-05  8:56 how to prevent html export from including the default javascript? Gijs Hillenius
@ 2013-12-05 19:11 ` Rick Frankel
  0 siblings, 0 replies; 2+ messages in thread
From: Rick Frankel @ 2013-12-05 19:11 UTC (permalink / raw)
  To: Gijs Hillenius; +Cc: emacs-orgmode

On 2013-12-05 03:56, Gijs Hillenius wrote:
> Hello
> 
> I have trouble finding the correct explanation in ox-html.el.gz and
> searching on the web. I'm trying to tell the html exporter *not* to
> include the "<!--/*--><![CDATA[/*><!--*/ ..." javascript
> 
> I'm trying to use the #+OPTIONS: to define this for a given foo.org
> file.

The correct options setting (for org v8) is =html-scripts:nil=.

If you run org export dispatch, and insert the html header, it will
give you all the default options. ie:

C-c C-e # html RET

rick

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

end of thread, other threads:[~2013-12-05 19:11 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-12-05  8:56 how to prevent html export from including the default javascript? Gijs Hillenius
2013-12-05 19:11 ` Rick Frankel

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