From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:306:2d92::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id iCYLDwpS22RRTwEASxT56A (envelope-from ) for ; Tue, 15 Aug 2023 12:23:06 +0200 Received: from aspmx1.migadu.com ([2001:41d0:306:2d92::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id aH4fDgpS22QYiQAAG6o9tA (envelope-from ) for ; Tue, 15 Aug 2023 12:23:06 +0200 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 4002A4C86B for ; Tue, 15 Aug 2023 12:23:05 +0200 (CEST) Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=tecosaur.net header.s=fm3 header.b=gQtQYE+1; dkim=fail ("headers rsa verify failed") header.d=messagingengine.com header.s=fm1 header.b=QZkPrpPH; dmarc=none; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1692094986; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=vftyEa9sxnaSgji6z6AJdRpwK9N1C25fNS3FO4wwC/E=; b=XMW681Eq1RxdADFs/dxpAsMD3iAGM/DAOW9i/a7cz7A2/w0lM80Rf1kCF9eXdTryM/n/op YiwsKGqB7A7Tmss3fdJEGr4RInj9mXQxv9aE545iTYj8c3pHIdKVgYy9uZJilzLK/N+wsF rbiaPxQXpGm+BLIS/kQ8Bq/6tU1m6OykhBTzgdoXwIG4EU/wSy4gD0uzkZLVTB8RVYoxGF tZf8Ewb3JEiYXn9oIK1qL2ar+bqXHoDxZ2KcfNrGv++s1NVbwBgalPRg7MCGMqMKmfEiIC Y7mn18awctc/ORc3/lQhTiJ09ZWgcDHGwJpSht1jCZdW57eUqLhylKJS7ztCpQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=tecosaur.net header.s=fm3 header.b=gQtQYE+1; dkim=fail ("headers rsa verify failed") header.d=messagingengine.com header.s=fm1 header.b=QZkPrpPH; dmarc=none; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org" ARC-Seal: i=1; s=key1; d=yhetil.org; t=1692094986; a=rsa-sha256; cv=none; b=itQHllYrXXbstgcvFvhCNS4uirFy5AmiGJnSPzQM/aAx7/xIEph3RraG80YeFtFPW1Nxf8 IyNS9ErYkV20hhNqxYMdpgwVwxK2xAcOJMW31EmjUFlmbUhzDGQ/ncbxusyIG/5jYVuN/H 2GtikjSZfMd4kQXwX+4NUjRzYpPtlL4uWXbVjPQ961HB589Y+MtZBCo5mcLolMMSZcwjvI KXyy+v6fesSbGC13cdU5wu4hFpOVQPUg9Wlcm2iP3mzjGS5GFuP44Yms3L30Bd9vpcPhLY WqlHRvHD8zrmEI9zx+r7ENL6YAOJpqTFbn8/2aSZlRgzSXei0Vv1qe6UH9mUsw== Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qVrBv-0008QI-JZ; Tue, 15 Aug 2023 06:22:23 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qVrBt-0008Q9-LR for emacs-orgmode@gnu.org; Tue, 15 Aug 2023 06:22:21 -0400 Received: from wout4-smtp.messagingengine.com ([64.147.123.20]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qVrBq-0007Jl-VC; Tue, 15 Aug 2023 06:22:21 -0400 Received: from compute2.internal (compute2.nyi.internal [10.202.2.46]) by mailout.west.internal (Postfix) with ESMTP id 1DF8D32008FC; Tue, 15 Aug 2023 06:22:14 -0400 (EDT) Received: from imap42 ([10.202.2.92]) by compute2.internal (MEProxy); Tue, 15 Aug 2023 06:22:14 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tecosaur.net; h= cc:cc:content-type:content-type:date:date:from:from:in-reply-to :in-reply-to:message-id:mime-version:references:reply-to:sender :subject:subject:to:to; s=fm3; t=1692094933; x=1692181333; bh=vf tyEa9sxnaSgji6z6AJdRpwK9N1C25fNS3FO4wwC/E=; b=gQtQYE+1/zjTZRqyxA cRmPTTZ6oiWYGsTQgxphLlUWXWvBgKHJ4zEAEDuiuj7BbPuYrHbv6py02a/csuWc kGuoN/wx3KEqs25yUkMbSYCqlNZACrOa2Su56F5ms5jsarDoLHGW5Lwf2URWSVn9 Kdx2JUpC6Ff7HWyuvcIBQHn0PBTW9PN1vU0s+Q0zWhWfw2sobN6I1KBcuD6G1WtD /1OQHe7Dq8bZDm9biInGMvqZX+qOZAzSIfTXrGRcbuGkrGxEXs3AvOpdiFmXUEwe 5GCoAZ8FLekS/w/X95mK5+d1sCKSW/PFmMg1daOLNNsWfvcKYPwOzLYeyeMpHyqB +PQQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-type:content-type:date:date :feedback-id:feedback-id:from:from:in-reply-to:in-reply-to :message-id:mime-version:references:reply-to:sender:subject :subject:to:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm1; t=1692094933; x=1692181333; bh=vftyEa9sxnaSg ji6z6AJdRpwK9N1C25fNS3FO4wwC/E=; b=QZkPrpPHF2EFpSMCYvrAsbXFAQAJm g0g1MoIhWr43so420fzoVdkPp+N/TMw1W6aS+l8vskhyuYGY8D1pkPU5J03GeQlW NUvdqhRjT3LqLGDEbxDRPJdPbaTC2UxzgpbGSNXV4R5aoWmIk5HYQx8dNq3VwLw6 LSMfEF/T4Q0YQFIei5KsPS9FOJZTDXR1QBoXzFbls5D1OLn0eFUoeKppCjMzuqsD K1r6BKOUGrnn/Layr0lZtMOMTuf83dlPqobbXJcQHGMomfpEM/8NwrfUy7U18mga gP6fuOwfBv7opqh5PjI/PTpepwZSo64taBZ4v8SVke3HzvKRMSE3SqchQ== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedviedruddtjedgvdejucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepofgfggfkjghffffhvfevufgtsehttdertderredtnecuhfhrohhmpefvihhm ohhthhihuceoohhrghhmohguvgesthgvtgdrthgvtghoshgruhhrrdhnvghtqeenucggtf frrghtthgvrhhnpeevjeeigeevfeegtedvhfdvgeeiffejlefgheehkeehgeffudehjeek leffteevleenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhroh hmpehorhhgmhhouggvsehtvggtrdhtvggtohhsrghurhdrnhgvth X-ME-Proxy: Feedback-ID: iecf94634:Fastmail Received: by mailuser.nyi.internal (Postfix, from userid 501) id 08054BC007C; Tue, 15 Aug 2023 06:22:13 -0400 (EDT) X-Mailer: MessagingEngine.com Webmail Interface User-Agent: Cyrus-JMAP/3.9.0-alpha0-624-g7714e4406d-fm-20230801.001-g7714e440 Mime-Version: 1.0 Message-Id: In-Reply-To: <87zg2th9v0.fsf@localhost> References: <874jusk9gg.fsf@localhost> <8735acr2og.fsf@gnu.org> <874ju2dyi9.fsf@localhost> <87lemqgpd8.fsf@gnu.org> <87zgb3ah6a.fsf@localhost> <87sfgtotz8.fsf@gnu.org> <87v8lpkm1b.fsf@localhost> <871qodez1o.fsf@gnu.org> <878rijkib3.fsf@localhost> <877cy2lk90.fsf@gnu.org> <874jt5fdlu.fsf@localhost> <1196040.1672992595@archlinux> <87k0209imf.fsf@gnu.org> <87bknbhaiy.fsf@localhost> <87a5vcibar.fsf@localhost> <871qg7t1sk.fsf@bernoul.li> <87wmxzdkdt.fsf@localhost> <87zg2t9345.fsf@bernoul.li> <87il9hpx0b.fsf@localhost> <87y1idbnup.fsf@bzg.fr> <87zg2th9v0.fsf@localhost> Date: Tue, 15 Aug 2023 11:21:52 +0100 From: Timothy To: "Ihor Radchenko" , "Bastien Guerry" Cc: "Jonas Bernoulli" , "Greg Minshall" , emacs-orgmode@gnu.org, flexibeast@gmail.com, hniksic@gmail.com Subject: Re: Htmlize support, maintenance, and Org mode Content-Type: text/plain Received-SPF: none client-ip=64.147.123.20; envelope-from=orgmode@tec.tecosaur.net; helo=wout4-smtp.messagingengine.com X-Spam_score_int: -26 X-Spam_score: -2.7 X-Spam_bar: -- X-Spam_report: (-2.7 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H5=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_PASS=-0.001, SPF_NONE=0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-orgmode@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: emacs-orgmode-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Spam-Score: -3.90 X-Spam-Score: -3.90 X-Migadu-Queue-Id: 4002A4C86B X-Migadu-Scanner: mx2.migadu.com X-TUID: xlRH+TbyH0Us Hi All, I'm currently traveling, but it seems like it would be good to chime in here. On Mon, Aug 14, 2023, at 5:22 PM, Ihor Radchenko wrote: > Bastien Guerry writes: > >> If not, then relying on engrave-faces, which is maintained and also >> handles LaTeX, instead of htmlize, sounds like a good idea. > > I'd like to hear Timothy's opinion on this. He is the author of > engrave-faces and the maintainer of ox-html. So, I looked into htmlfontify ans htmlize quite a bit before and during my work on engrave-faces. I've forgotten quite a few of the details (particularly around internals) by this point, but still recall a fair bit and have an overall impression. Engrave-faces heavily inspired by htmlize, and actually copies some methods from it. It was created to address two limitations I was running up against: - The lack of support for other output formats - The lack of support for not-the-current theme output At this point, it's fairly stable and supports a superset of the capabilities of htmlize. It's a bit slower ATM, but I haven't found performance to be an issue in usage with Org exports. There are one or two more things it would be nice to do in future, but I don't anticipate any need to change the current public API. I think it would make quite a bit of sense for it to be used more with Org, we can use it to provide a unified approach to source code highlighting. Currently this would just be LaTeX and HTML, but I'd like to extend code highlighting support to ASCII and ODT exports later on. All the best, Timothy.