Jambunathan K <kjambunat...@gmail.com> writes: >> Hi Jambunathan, >> >> we are discussing in abstract terms, and that might distract us from >> DTRT together: can you show the patched version of htmlfontify.el? > > Here you go. > > Patch numbered 1 is the base htmlfontify.el (same as that in emacs-24 > trunk). I am also attaching a final copy of htmlfontify.el after it has > gone through the series of 5 patches.
Sample test.org file to quickly understand the nature of changes. A line by line comparison will show how patches add up. > Jambunathan K. --
* Example 1 #+begin_src emacs-lisp ;; This is how one changes load-path (setq load-path (cons "~/elisp" load-path)) #+end_src * COMMENT This is how ODT output looks like #+begin_src nxml <text:p text:style-name="OrgSrcBlock"><text:span text:style-name="OrgSrcFontLockCommentDelimiterFace">;;<text:s/></text:span><text:span text:style-name="OrgSrcFontLockCommentFace">This<text:s/>is<text:s/>how<text:s/>one<text:s/>changes<text:s/>load-path</text:span></text:p> <text:p text:style-name="OrgSrcBlock">(setq<text:s/>load-path<text:s/>(cons<text:s/><text:span text:style-name="OrgSrcFontLockStringFace">"~/elisp"</text:span><text:s/>load-path))</text:p> #+end_src * COMMENT This how the HTML output looks like #+begin_src nxml <pre><span class="comment-delimiter">;; </span><span class="comment">This is how one changes load-path </span>(setq load-path (cons <span class="string">"~/elisp"</span> load-path))</pre> #+end_src