Subject: Re: [O] bug#32722: bug#32722: 26.1; Org-publish depend on non-free platform ?

From: Robert Klein <[email-masked]>
Date: Tue, 18 Sep 2018 14:14:27 +0200

On Tue, 18 Sep 2018 14:49:27 +0300
Eli Zaretskii <[email-masked]> wrote:

> > From: Nicolas Goaziou <[email-masked]>
> > Cc: [email-masked],  [email-masked],  [email-masked],
> > [email-masked] Date: Tue, 18 Sep 2018 11:37:15 +0200
> > 
> > This is a genuine question: what /exactly/ do you want Org
> > developers to solve, assuming they can? Also, if they cannot, who
> > is willing to give them a hand?  
> 
> From my POV, the immediate problem is to switch Org-publish from using
> htmlize to htmlfontify.  Can this be done, please?
> 
> 
> 

Not easily, no.  Afaik htmlfontify always creates a complete HTML
document, which htmlize doesn't.  Also, htmlize can format parts of a
buffer. which htmlfontify can't.

Additionally htmlfontify also requires several external tools
(according to the man page) which might not be available on all
platform Emacs and org-mode is used on:

- a copy of “find” which provides the “-path” predicate
- a copy of “sed”
- a copy of the “file” command

A switch to htmlfontify might end up in rewriting a good part of
htmlfontify or some very ugly hacks.

If Hrvoje Niksic has or is willing to sign the copyright assignment
documents it will be easier to put htmlize.el into Emacs.

Best regards
Robert