Prettify inlinetasks in odt and (x)html backends
commit395a816a18cadb86f9ea6281092c65445689abb2
authorJambunathan K <kjambunathan@gmail.com>
Thu, 11 Aug 2011 20:07:45 +0000 (12 01:37 +0530)
committerBastien Guerry <bzg@altern.org>
Tue, 16 Aug 2011 19:29:52 +0000 (16 21:29 +0200)
tree2e76823ee037fe18fd0c1fd9d292504a0cd36b0d
parent9d5c5c3d26c10f906ec30be146cce40bf7abc08c
Prettify inlinetasks in odt and (x)html backends

* lisp/org-inlinetask.el (org-inlinetask-export-templates):
Fixed template for html so that the exported file is valid
xhtml. Added template for odt.
(org-inlinetask-export-handler): Fix typo in the regexp that
trims content. Make sure that the content is flanked by
paragraph boundaries on either side.

* lisp/org-html.el (org-export-html-style-default): Add style
for inlinetask.

* contrib/lisp/org-xhtml.el (org-export-xhtml-style-default):
Add style for inlinetask.

* contrib/odt/styles/OrgOdtStyles.xml: Added following custom
styles:  OrgInlineTaskHeading and OrgInlineTaskFrame.

* contrib/lisp/org-odt.el (org-odt-format-textbox)
(org-odt-format-inlinetask): Added

Refer following threads:
1. http://lists.gnu.org/archive/html/emacs-orgmode/2011-08/msg00238.html
2. http://lists.gnu.org/archive/html/emacs-orgmode/2011-08/msg00154.html

Thanks to Suvayu Ali for reporting this issue and suggesting
improvements.
contrib/lisp/org-odt.el
contrib/lisp/org-xhtml.el
contrib/odt/styles/OrgOdtStyles.xml
lisp/org-html.el
lisp/org-inlinetask.el