emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Is `head-include-scripts' flag reachable from OPTIONS?
@ 2017-02-15 17:43 rick
  2017-02-15 18:43 ` Nick Dokos
  2017-02-15 20:56 ` rick
  0 siblings, 2 replies; 3+ messages in thread
From: rick @ 2017-02-15 17:43 UTC (permalink / raw)
  To: emacs-orgmode

When I export to html, it puts a javascript <script> element in the
output, but i don't want that.  I can see that setting
`org-html-head-include-scripts' to `nil' will suppress the <script>
element -- and alternatively setting `:head-include-scripts' in
`org-publish-project-alist' -- but is there a way instead to frob this
setting in the org source file itself, like under `#+OPTIONS'?
Thanks!

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

* Re: Is `head-include-scripts' flag reachable from OPTIONS?
  2017-02-15 17:43 Is `head-include-scripts' flag reachable from OPTIONS? rick
@ 2017-02-15 18:43 ` Nick Dokos
  2017-02-15 20:56 ` rick
  1 sibling, 0 replies; 3+ messages in thread
From: Nick Dokos @ 2017-02-15 18:43 UTC (permalink / raw)
  To: emacs-orgmode

rick@tamos.net writes:

> When I export to html, it puts a javascript <script> element in the
> output, but i don't want that.  I can see that setting
> `org-html-head-include-scripts' to `nil' will suppress the <script>
> element -- and alternatively setting `:head-include-scripts' in
> `org-publish-project-alist' -- but is there a way instead to frob this
> setting in the org source file itself, like under `#+OPTIONS'?
> Thanks!
>
>

#+BIND: org-html-head-include-scripts nil

perhaps?

-- 
Nick

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

* Re: Is `head-include-scripts' flag reachable from OPTIONS?
  2017-02-15 17:43 Is `head-include-scripts' flag reachable from OPTIONS? rick
  2017-02-15 18:43 ` Nick Dokos
@ 2017-02-15 20:56 ` rick
  1 sibling, 0 replies; 3+ messages in thread
From: rick @ 2017-02-15 20:56 UTC (permalink / raw)
  To: emacs-orgmode

On 15 Feb 2017, 13:43:34 -0500 Nick Dokos wrote:
> #+BIND: org-html-head-include-scripts nil
> 
> perhaps?

Ah, yes.  This works much better than what I had before, which was to
put the following lines at the bottom of my source file.

#+BEGIN_COMMENT
Local Variables:
eval: (setq org-html-head-include-scripts nil)
End:
#+END_COMMENT

I didn't even know abot `#+BIND'.  Many thanks!

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

end of thread, other threads:[~2017-02-15 20:56 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-02-15 17:43 Is `head-include-scripts' flag reachable from OPTIONS? rick
2017-02-15 18:43 ` Nick Dokos
2017-02-15 20:56 ` rick

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