From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id 6GdaCl12cGZFowAA62LTzQ:P1 (envelope-from ) for ; Mon, 17 Jun 2024 17:46:05 +0000 Received: from aspmx1.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1.migadu.com with LMTPS id 6GdaCl12cGZFowAA62LTzQ (envelope-from ) for ; Mon, 17 Jun 2024 19:46:05 +0200 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20230601 header.b=V5kYz83c; 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"; dmarc=pass (policy=none) header.from=gmail.com ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1718646365; 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=tP6x4ihXXsFMmyvudUsdI7QQj+T283Hj69lDuYx/DG8=; b=M5LSw7aly0B1laP5p6dK5svf/6ABUJ79AQDIaKCHcf5yecvZlr1lK09dKloiULfm10ZAFJ LDryEuTMD2SYhf1ncrSWoOV65xn6FJTtPFYVAo/WqOLYuZVraKeM70nHYPUZgJ8+n7yAKV HUecbS3s14sznxVOQDO7sg0bswj+n3cnM7ex1CA1dHhOEIh92bDC2843QmU0wwfg745uSt 3glD8VwbXUB2/FG33tQUfX37xtrXzgJCx9r8D+rhIHvYMKApVPCx/FG+gLtSr8w56yb2JA aSGRQuyiuynnwnnLN3wQHbgWfR1ZGYOX5GMnu/yiuu+FbMx186B72lrqXk7Sqw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20230601 header.b=V5kYz83c; 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"; dmarc=pass (policy=none) header.from=gmail.com ARC-Seal: i=1; s=key1; d=yhetil.org; t=1718646365; a=rsa-sha256; cv=none; b=tbTbpBFjVj9sqwBhhbzREbbJhx3odkukCTdBP9/w0Eojj73G1/kKxfCcASQhHSZR6YKNhe R/j4mlip+Cw/0noj+9DlCHyQr8kwHxAB43Afodmqag+DqcgMEKy3WdhmCWXQQCXMvAkku1 2AmH1536ODifnYyfhsk6QU65yHoOmMTa0hRjMfGl/9+aeHe4dM3rHHR+BBYcB1R6/Z+8UI iWwrs6EXh8v4r4e/G7rBtKbP2WLCV5JUgPujpAMfnB9iWpsAiGwPKtQT3E8Lgcn1a3vtZM YbV+LsYIEBmyw81VIEziXpsl64XYfqCdcy4z3CXZIqJhDFXnoUUuIm8MHjrdTw== 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 C8901535D6 for ; Mon, 17 Jun 2024 19:46:04 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sJGPW-00041O-N1; Mon, 17 Jun 2024 13:44:54 -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 1sJGPV-00041A-43 for emacs-orgmode@gnu.org; Mon, 17 Jun 2024 13:44:53 -0400 Received: from mail-wr1-x435.google.com ([2a00:1450:4864:20::435]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1sJGPT-0000rY-7J for emacs-orgmode@gnu.org; Mon, 17 Jun 2024 13:44:52 -0400 Received: by mail-wr1-x435.google.com with SMTP id ffacd0b85a97d-356c4e926a3so4370907f8f.1 for ; Mon, 17 Jun 2024 10:44:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1718646289; x=1719251089; darn=gnu.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=tP6x4ihXXsFMmyvudUsdI7QQj+T283Hj69lDuYx/DG8=; b=V5kYz83cs2TYSME18aQ9LRVtOEkY9mORGtCGPRo87U+l24+rkKFK7kvVOHZ18PXn9T hM9E3f2vDh2LM7pnuJ8itCfhMuUWoctesR+adDrTYGbWTOXh3C1puqaIJVaJwth/a/17 4maDaTk8nlzioyfdN/36MvAy9g2XOmUSOscFJ4VwtM25Q/d9Aq3fQA9vYL2seiIZFceO QXIDIACiUfFk/hSu4C4USqvq5C9BQiN83DHlhu+v6jT7IS9QmDhVG3ePkbvzNbh4t9uz N8XNKhe9ol0nF6Sl39pF0LylWQdupg1hI6ZRySl5/+SR/mySaQZu7c26g1w9AdPl68hR SFDw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1718646289; x=1719251089; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=tP6x4ihXXsFMmyvudUsdI7QQj+T283Hj69lDuYx/DG8=; b=gRxCZcwTdNKB3/SAIdQm5WxUH34Q4Y8kEuLKf2/31+vrVwSvsVUwUjJqBmgSU6InUs SZlRqMHfAggqRG1YVF2QANQA0/1sMqNLWbY55/Oyu3f+/XAyoDRygbx3ZhHYIcZPNHOq ZUsMDeT51dCl2bVS4aEZQBac2u9HMeFc+VDD9qz2IUdGjDyLib+OVk+5Y4x17QreDIs3 oZZwTSwvyVIHK+Mi36/KpBiMH2Pxumk/419muVcP+yX4GHEgYuOvb1TvVe7qqWR9MEpt sS+oHflF8yB2yiH3l/Tr7Srhkey1ahaXIvcSBc3gZ+xFceARInXxXlGl1zaX+rtggyHj uWSA== X-Gm-Message-State: AOJu0YwK5gEXPKycGIU+j7bqj28B0O3qABPk8oV3RfhqaGMlReXCy7a7 sMAznHqs15yOb7SctOQkBPLHwVvE6y6sd3QRnJ9a9DVEpif1u/IVQW9tOIa3vGWgHI/qKHb2J4J 4klX2cY7JlDoV04qzaT7bdGDc193CpQ== X-Google-Smtp-Source: AGHT+IGZxTefYsb/qDz6w2jWn6hQ71MZ5ORfh119e58qgauFaw1ty6+wZ0tAfxoKJD96B7hVeOZUPbzrN5FauuHgF0g= X-Received: by 2002:a05:6000:144a:b0:360:9185:85d2 with SMTP id ffacd0b85a97d-3609185877cmr4330538f8f.36.1718646289003; Mon, 17 Jun 2024 10:44:49 -0700 (PDT) MIME-Version: 1.0 References: <87ikyagwmd.fsf@localhost> In-Reply-To: <87ikyagwmd.fsf@localhost> From: Mehul Sanghvi Date: Mon, 17 Jun 2024 13:44:36 -0400 Message-ID: Subject: Re: [BUG] html-htmlize-output-type does not work on a per project basis [9.6.15 (release_9.6.15 @ /usr/local/share/emacs/29.3/lisp/org/)] To: Ihor Radchenko Cc: ML Emacs-orgmode Content-Type: multipart/alternative; boundary="0000000000008cfbde061b198546" Received-SPF: pass client-ip=2a00:1450:4864:20::435; envelope-from=mehul.sanghvi@gmail.com; helo=mail-wr1-x435.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 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-Country: US X-Migadu-Flow: FLOW_IN X-Migadu-Queue-Id: C8901535D6 X-Migadu-Scanner: mx13.migadu.com X-Migadu-Spam-Score: -9.69 X-Spam-Score: -9.69 X-TUID: S5Rs4i56evCo --0000000000008cfbde061b198546 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Sat, Jun 15, 2024 at 9:30=E2=80=AFAM Ihor Radchenko wrote: > Mehul Sanghvi writes: > > > I would like to be able to set =3D:html-htmlize-output-type=3D on a > > per-project basis. That does not seem to be working. If I have > > ~htmlize.el~ installed and set =3D:html-htmlize-output-type css=3D, the= n I > > get hardcoded values for the colours being used in the code blocks. If > > I don't have ~htmlize.el~ installed, I get plain text. To get CSS clas= s > > names, I have to do an explicit =3D(setq org-html-htmlize-output-type > > 'css)=3D which effects all publishing projects. > > > > > > 1. What exactly did you do? > > > > I set =3D:html-htmlize-output-type css=3D in the _blog-non-prod_ projec= t. > > I also set =3D:html-htmlize-output-type 'css=3D and then tried both val= ues > > with =3Dhtmlize-output-type=3D as well. > > ox-html does not currently support setting :html-htmlize-output-type > option. Only variable `org-html-htmlize-output-type' is supported. > Same for `org-html-htmlize-font-prefix'. > > It would be nice to change this, yes. > Confirmed. > > Patches welcome! > > Ihor, thanks for clarifying that information. I've made adjustments in my configs based on that information. For patches, I'll see what I can do, but my emacs-lisp is not very great. Also wouldn't I need to sign some documents with FSF in order to contribute? cheers, mehul --=20 Mehul N. Sanghvi email: mehul.sanghvi@gmail.com --0000000000008cfbde061b198546 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable


=
On Sat, Jun 15, 2024 at 9:30=E2=80=AF= AM Ihor Radchenko <yantar92@poste= o.net> wrote:
Mehul Sanghvi <mehul.sanghvi@gmail.com> writes:

> I would like to be able to set =3D:html-htmlize-output-type=3D on a > per-project basis.=C2=A0 That does not seem to be working.=C2=A0 If I = have
> ~htmlize.el~ installed and set =3D:html-htmlize-output-type css=3D, th= en I
> get hardcoded values for the colours being used in the code blocks.=C2= =A0 If
> I don't have ~htmlize.el~ installed, I get plain text.=C2=A0 To ge= t CSS class
> names, I have to do an explicit =3D(setq org-html-htmlize-output-type<= br> > 'css)=3D which effects all publishing projects.
>
>
> 1.=C2=A0 What exactly did you do?
>
> I set =3D:html-htmlize-output-type css=3D in the _blog-non-prod_ proje= ct.
> I also set =3D:html-htmlize-output-type 'css=3D and then tried bot= h values
> with =3Dhtmlize-output-type=3D as well.

ox-html does not currently support setting :html-htmlize-output-type
option. Only variable `org-html-htmlize-output-type' is supported.
Same for `org-html-htmlize-font-prefix'.

It would be nice to change this, yes.
Confirmed.

Patches welcome!


Ihor,=C2=A0 thanks for clarifying that= information.=C2=A0 I've made adjustments in my configs based on that i= nformation.=C2=A0=C2=A0

For patches,=C2=A0 I'l= l see what I can do, but my emacs-lisp is not very great.=C2=A0 Also wouldn= 't I need to sign some
documents with FSF in order to contrib= ute?


cheers,

=C2=A0 =C2=A0 mehul


--
Mehul N. Sanghvi
email: mehul.sanghvi@gmail.com
--0000000000008cfbde061b198546--