From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id eHHIFqqXbWYvnwAA62LTzQ:P1 (envelope-from ) for ; Sat, 15 Jun 2024 13:31:22 +0000 Received: from aspmx1.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1.migadu.com with LMTPS id eHHIFqqXbWYvnwAA62LTzQ (envelope-from ) for ; Sat, 15 Jun 2024 15:31:22 +0200 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=p5rr463K; 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=posteo.net ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1718458282; 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=WuPdV0LWD4SauoWznDCicHtkpETs6xWB/ghvyJK88lA=; b=jdot94ZkEIiAQmBjRjlwx63Ct0gl0NScZ3fbwtRN6+Ick9sL0mOM2r5GtzdPtkzDwRH3nM 1n8sWddX8a8PpEAK+wY05HCBqL22kA7wMLrIVYFHBaxYu+g/TnifaGvSIZBiLskgjYrR66 9+oidjURRyQrTpGG6D8eMR3xlXiALrCR/zCqOo6miujm9mvUniDuo1hTO9xSFgUZprTR7y S9py085I4C5tM19Rz4xwQakA5gsUJl1Q6vq9GLQrHUFoVX1OyBychUndsbWoePuU7LpYEq qqDAgGwhrTQ2udfMJ0UkCFnlyAiAoMpHmK4PUcRWEsCk0RzrSswU4eS/8qCWJg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=p5rr463K; 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=posteo.net ARC-Seal: i=1; s=key1; d=yhetil.org; t=1718458282; a=rsa-sha256; cv=none; b=QKE+wCSbY/jMnjg5xydH3KfrZm3Ph3O0pfLJYiVJcZKAoQV/QIolWhcOeKsaCnQLnav4cp 6cj31VeAtGXxaPSqKGVaCyPQQC9uDjrElQ7N3mMgWQjiKYHSbw+jAfnCozxwReAmnvNWSf p6ddFAL3JhMpDGMDEln8D+TywhgbnmYe7P3/n/kbdmssoxvKuY5L5tY2sooFWk75EirVJv qIHToNyO5s731m3/WezjnFsOLrfR6qhP9EuTmm/DPrzNHLpLK9KUEv2jGqiNWAYUVuSwsv Kd9PqQ8xPI0nVy5kJAXetbbPBIKyntCl3E4KbuoKX1SvBJqJOGEkmsLx/XC0mQ== 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 225D08535 for ; Sat, 15 Jun 2024 15:31:22 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sITUJ-0001eW-FB; Sat, 15 Jun 2024 09:30:35 -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 1sITUH-0001aH-Ov for emacs-orgmode@gnu.org; Sat, 15 Jun 2024 09:30:33 -0400 Received: from mout02.posteo.de ([185.67.36.66]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sITUF-0005CI-Lq for emacs-orgmode@gnu.org; Sat, 15 Jun 2024 09:30:33 -0400 Received: from submission (posteo.de [185.67.36.169]) by mout02.posteo.de (Postfix) with ESMTPS id DCBA2240101 for ; Sat, 15 Jun 2024 15:30:28 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1718458228; bh=ZDRnMOHbKjF3wwDRmGnTUAs+N4ax4VqI0GU2u2mc4OI=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version:Content-Type: From; b=p5rr463Ke+6q+jXiCX7srrkf9U/xuPcbqlwUUGFfSpCceExW4Su66LuthuVztFQbz fXeMIQ+nW6x86Dct1dBQV9pvz8V/l+LLgWF5vUftzYHr2ShGwJhIaz2h//fXKGgI7H x7R7mVZju/1Puj9y/ayffK8CnHTG0ammJl0mofr3AKDQdpqZMvhQ1hM/WCTPRzVqFP 3vFfQvQeX+RCJKq3gofmIFUhbI3n0UNVK37D5FmU6eL5lU3veYfrq9uWklcaW/Pdjh eHsETrUcwoutt7THoaH86P46WmcnSbeZV4jzO372yX6cImXzJT/qIQxcdlL1BwA628 VlEWbBRFLsfKw== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4W1cTc1v55z9rxD; Sat, 15 Jun 2024 15:30:28 +0200 (CEST) From: Ihor Radchenko To: Mehul Sanghvi Cc: ML Emacs-orgmode 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/)] In-Reply-To: References: Date: Sat, 15 Jun 2024 13:32:10 +0000 Message-ID: <87ikyagwmd.fsf@localhost> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=185.67.36.66; envelope-from=yantar92@posteo.net; helo=mout02.posteo.de X-Spam_score_int: -43 X-Spam_score: -4.4 X-Spam_bar: ---- X-Spam_report: (-4.4 / 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, RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, 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-Spam-Score: -9.57 X-Migadu-Queue-Id: 225D08535 X-Migadu-Scanner: mx10.migadu.com X-Migadu-Spam-Score: -9.57 X-TUID: g3OFjITfCJ83 Mehul Sanghvi writes: > I would like to be able to set =:html-htmlize-output-type= on a > per-project basis. That does not seem to be working. If I have > ~htmlize.el~ installed and set =:html-htmlize-output-type css=, then 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 class > names, I have to do an explicit =(setq org-html-htmlize-output-type > 'css)= which effects all publishing projects. > > > 1. What exactly did you do? > > I set =:html-htmlize-output-type css= in the _blog-non-prod_ project. > I also set =:html-htmlize-output-type 'css= and then tried both values > with =htmlize-output-type= 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 Radchenko // yantar92, Org mode contributor, Learn more about Org mode at . Support Org development at , or support my work at