From mboxrd@z Thu Jan 1 00:00:00 1970 From: Robert Klein Subject: bug#32722: bug#32722: bug#32722: bug#32722: 26.1; Org-publish depend on non-free platform ? Date: Thu, 20 Sep 2018 10:13:16 +0200 Message-ID: <20180920101316.2333b69b__46990.1801123799$1537431185$gmane$org@lt70.mpip-mainz.mpg.de> References: <531a7f93882cc0d5d09700457d06ea082f47569b.camel@flqt.fr> <83sh2ck42e.fsf@gnu.org> <87va73gn90.fsf@nicolasgoaziou.fr> <83efdqg32d.fsf@gnu.org> <87lg7yfraw.fsf@nicolasgoaziou.fr> <874leme9vp.fsf@aminb.org> <83h8ikenbc.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:46170) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1g2u6E-0004ff-QQ for emacs-orgmode@gnu.org; Thu, 20 Sep 2018 04:14:11 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1g2u69-00070Z-Kk for emacs-orgmode@gnu.org; Thu, 20 Sep 2018 04:14:08 -0400 Sender: "Debbugs-submit" Resent-Message-ID: In-Reply-To: <83h8ikenbc.fsf@gnu.org> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: "Emacs-orgmode" To: Eli Zaretskii Cc: rgm@gnu.org, n@flqt.fr, rms@gnu.org, amin@gnu.org, 32722@debbugs.gnu.org, rjhorniii@gmail.com, Kaushal Modi Hi, On Thu, 20 Sep 2018 08:43:19 +0300 Eli Zaretskii wrote: > > From: Kaushal Modi > > Date: Wed, 19 Sep 2018 17:16:28 -0400 > > Cc: Nicolas Goaziou , Glenn Morris > > , n@flqt.fr, Richard Stallman , > > 32722@debbugs.gnu.org, Robert Horn , Eli > > Zaretskii > >=20 > > I got approval from Hrvoje Nik=C5=A1i=C4=87 that he was fine with your > > mirror[0]. > >=20 > > So I believe it should be OK reference that mirror repo in > > ox-html? =20 >=20 > I think we could do better by using htmlfontify.el. I asked a few > questions about that in this discussion, see >=20 > https://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D32722#95 >=20 > Would the Org developers please reply to those questions? If indeed > it is not hard to adapt htmlfontify to be used by Org, then I think > it's a better solution. Not an =E2=80=9COrg developer=E2=80=9D -- I guess mostly Nicolas Goaziou ca= n claim that title at the moment with two thirds of all commits last year.. As to your questions: > This should be very easy to fix, by using temporary buffers with a > copy of the region to produce HTML for. Right? plus removing HTML document headers and footers, remove css stuff, rework this, so we have css to include in the final document... > > 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: > >=20 > > - a copy of =E2=80=9Cfind=E2=80=9D which provides the =E2=80=9C-path=E2= =80=9D predicate > > - a copy of =E2=80=9Csed=E2=80=9D > > - a copy of the =E2=80=9Cfile=E2=80=9D command >=20 > These are only needed if one invokes htmlfontify-copy-and-link-dir to > produce HTML for files in a directory. Is that an important use case > for the issue at hand? E.g., if you need to produce HTML for a region > of a buffer, these facilities seem to not be relevant, AFAIU. Did I > miss something? No. At that moment in the discussion it wasn't clear the issue with htmlize= (and github) has been seen fundamentally different by non-org people as op= posed to people developing and using org-mode. > > A switch to htmlfontify might end up in rewriting a good part of > > htmlfontify or some very ugly hacks. >=20 > I wonder whether we could begin by just supporting the immediate use > case(s) in point, maybe that is possible without too much rewriting. See above. > > If Hrvoje Niksic has or is willing to sign the copyright assignment > > documents it will be easier to put htmlize.el into Emacs. >=20 > We've been through this several times in the past: it isn't going to > happen. I think htmlfontify was added to Emacs for that rteason, > among others. Sorry, didn't know there's a history. Best regards Robert