On Mon, May 30, 2011 at 7:55 AM, Avdi Grimm <a...@avdi.org> wrote: > On Sun, May 29, 2011 at 9:32 PM, Jambunathan K <kjambunat...@gmail.com> wrote: >> Let me guess - It is either htmlize not being in your load path during >> the batch run or font lock being not being explicity turned on during >> the batch run or font-locking simply not making sense during batch >> mode. Ultimately htmlize or for that matter htmlfontify seem to depend >> on the fontification done by the fontification engine. > > Hm. Bonus question, then: source code highlighting via Pygments works > great with LaTeX export and the "minted" package. How hard would it be > to use Pygments instead of htmlize/htmlfontify for HTML-exported > syntax highlighting?
I've some hackish code, which I use to publish my blog. It essentially, looks at all the code blocks in the html output and replaces them with Pygments output for them. The code is here [1] HTH, Puneeth [1] https://github.com/punchagan/org-hyde/blob/master/org-hyde.el#L109