emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* new exporter and derived-backend
@ 2013-02-05 23:20 Rick Frankel
  2013-02-06 22:13 ` Nicolas Goaziou
  0 siblings, 1 reply; 2+ messages in thread
From: Rick Frankel @ 2013-02-05 23:20 UTC (permalink / raw)
  To: emacs-orgmode

Hi-
I am trying to define a backend derived from `e-html' for export to
s5. However, it seems that the derived settings in `:options-alist'
are not being respected.

For instance:

#+begin_src elisp
  (org-export-define-derived-backend foo e-html
    :options-alist
    ((:style-include-scripts nil nil nil t)
     (:style-include-default nil nil nil t)
     (:style nil nil "<style></style>" t)))
  (org-export-to-buffer 'foo "*foo*")
  (with-current-buffer "*foo*"
    (buffer-substring (point-min) (point-max)))
#+end_src

Still includes both the default style and the scripts and does not
include the `:style' specified above. Abbreviated results from the
above:

#+results:
#+begin_example
<!-- snip -->
<style type="text/css">
 <!--/*--><![CDATA[/*><!--*/
  html { font-family: Times, serif; font-size: 12pt; }
  .title  { text-align: center; }
  .todo   { color: red; }
  /* snip */
  /*]]>*/-->
</style><script type="text/javascript">
/*
@licstart  The following is the entire license notice for the
JavaScript code in this tag.

/* snip */
/*]]>*///-->
</script>
</head>
<body>
</body>
</html>
#+end_example


am i missing something or is there a problem in org-e-html?

rick

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

end of thread, other threads:[~2013-02-06 22:19 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-02-05 23:20 new exporter and derived-backend Rick Frankel
2013-02-06 22:13 ` 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).