Add support for fontification of odt src blocks using htmlfontify
commit78e59a22d093f125a504983ac8a7dbe504e81c71
authorJambunathan K <kjambunathan@gmail.com>
Thu, 18 Aug 2011 14:56:14 +0000 (18 20:26 +0530)
committerJambunathan K <kjambunathan@gmail.com>
Thu, 18 Aug 2011 19:32:00 +0000 (19 01:02 +0530)
treeb64dcb29d5f868102da23c60dafd7d96898fb055
parentad9f393b612662d898c1be990f60d17cc71b5a00
Add support for fontification of odt src blocks using htmlfontify

* contrib/lisp/org-lparse.el (org-do-lparse): Bind
hfy-user-sheet-assoc.
* contrib/lisp/org-odt.el
(org-export-odt-default-org-styles-alist): Rename
OrgSourceBlock to OrgSrcBlock for consistency.
(org-odt-format-source-code-or-example): Modified. Call either
org-odt-format-source-code-or-example-plain or
org-odt-format-source-code-or-example-colored.
(org-odt-format-source-code-or-example-plain): New. Identical
to the earlier org-odt-format-source-code-or-example.
(org-odt-format-source-code-or-example-colored): New
defun. Use htmlfontify for emitting coloring of source blocks.
(org-export-odt-use-htmlfontify)
(org-export-odt-create-custom-styles-for-srcblocks): New
customizable variables
(org-src-block-paragraph-format): New variable.
(org-odt-hfy-face-to-css)
(org-odt-insert-custom-styles-for-srcblocks): New defuns.
(org-odt-save-as-outfile): Modified. Use
org-odt-insert-custom-styles-for-srcblocks.
contrib/lisp/org-lparse.el
contrib/lisp/org-odt.el