emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] [odt] htmlfontify + Support for src blockfontification


From: Jambunathan K
Subject: Re: [O] [odt] htmlfontify + Support for src blockfontification
Date: Fri, 19 Aug 2011 18:01:45 +0530
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (windows-nt)

Bastien <address@hidden> writes:

> Hi Jambunathan,
>
> I see this addition in one of the latest commit:
>
> +(defcustom org-export-odt-use-htmlfontify t
> +  "Specify whether or not source blocks need to be fontified.
> +Turn this option on if you want to colorize the source code
> +blocks in the exported file.  For colorization to work, you need
> +to make available an enhanced version of `htmlfontify' library."
>
> For now, the correct default value is `nil', otherwise users will 
> encounter problems.

No. There is an in-built deprecation as below:

#+begin_src emacs-lisp
   (if (and org-export-odt-use-htmlfontify
            (or (featurep 'htmlfontify) (require 'htmlfontify)) 
            (fboundp 'htmlfontify-string))
      ...)
#+end_src

htmlfontify-string is a function that is available only in the enhanced
version of htmlfontify.

> Also, this change only make sense when the enhanced version of
> htmlfontify.el is publicly available, so that we can point at a 
> URL.  I guess this will be the case soon :)

-- 



reply via email to

[Prev in Thread] Current Thread [Next in Thread]