[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[O] new exporter and derived-backend
From: |
Rick Frankel |
Subject: |
[O] new exporter and derived-backend |
Date: |
Tue, 5 Feb 2013 18:20:38 -0500 |
User-agent: |
Mutt/1.5.21 (2010-09-15) |
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
- [O] new exporter and derived-backend,
Rick Frankel <=