From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id qF+rKdY62WJMngAAbAwnHQ (envelope-from ) for ; Thu, 21 Jul 2022 13:39:02 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id yKeyKNY62WK8TQAAG6o9tA (envelope-from ) for ; Thu, 21 Jul 2022 13:39:02 +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 5C81B2D526 for ; Thu, 21 Jul 2022 13:39:02 +0200 (CEST) Received: from localhost ([::1]:48680 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oEUWD-0002oD-Eb for larch@yhetil.org; Thu, 21 Jul 2022 07:39:01 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:53386) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oEUUu-0002mk-PP for emacs-orgmode@gnu.org; Thu, 21 Jul 2022 07:37:41 -0400 Received: from mail-pj1-x1030.google.com ([2607:f8b0:4864:20::1030]:44578) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oEUUt-00042A-4E for emacs-orgmode@gnu.org; Thu, 21 Jul 2022 07:37:40 -0400 Received: by mail-pj1-x1030.google.com with SMTP id n10-20020a17090a670a00b001f22ebae50aso1201615pjj.3 for ; Thu, 21 Jul 2022 04:37:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:in-reply-to:references:date:message-id :mime-version; bh=BgTVBhPkOsjUgEsOw1beiqmVUmVbIN/ALkn+/j4+WQE=; b=qjXp6BVigYAS5yYLCmrSNmStgsamzyM2rln3rtNuaUB5ytKw3Dm2MtWKpf5Y73zVmy 2Sq7Rd4tSksvzJLSZKk+jq+4HGT+aqla6kKJCcM/SGhvtMIEjg55LqnCfot4NovgvV+N wQr/6e5zDhbmwjW1EBEWvquJVKU/+uwFEQQb86c1b80zpnyIWAmDmNnWGIaYG3+jQ/uD U5O+g8X+cd8bCFr/kfXRbhhBeah2kF6kJTA3QqZBeNCdVZgnQs1f0jcZylaD7NQ/5Fhv SOTLV20YS4+zbsJWYK7cy9JpxyKWeAnBOcBNeJd30UCGAQN/cHXSE7sBMpIyP/cbFt0P oBKA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:in-reply-to:references:date :message-id:mime-version; bh=BgTVBhPkOsjUgEsOw1beiqmVUmVbIN/ALkn+/j4+WQE=; b=YwJ/Bpn2v5bQp5wEw6ApVJlpwjXPhVb3dLZjKxBfFtto5OaP6fRroXobX44Oho1mh2 sNAXaAwFyX1ua6DBG6GxdaJAoi3UAvIBJLnP5As10tRSwdtOBWejmBmxjiUr52Q1oqUI hMn5T+/VrEJYwSYWS+r6bvKB7LtYG7YtijkyUt20fgsT4cf42f9FHdeS6e0D1iLo0dcc l5SLNFKSyRlq6FvBxMSY/aq882NssDnYKGoi+oqa+efzTH9Zu0JUwx9rSHZb2jDoqRPF hTQWbBLIUr+yQyeaPmcZ3ndj9cvNPTrZ5jHgZik15nQNHok+A6D8eqkSe2TWRnPrrpTa Hy1g== X-Gm-Message-State: AJIora+GVIHWsuPvjs2oc3Swc+kgLGF9hDC4IBEJk26Az/Ac0sHXPFMo dzWOsydBtJuJgvNuIvIsH9I= X-Google-Smtp-Source: AGRyM1snnL/kcZP35fU9bPs0EiDUBkEIezdbz/LEB6i6ThDo45Rk9XdSH0qoiAxqkEJYNBSSxidBrg== X-Received: by 2002:a17:903:1c4:b0:16c:4113:1388 with SMTP id e4-20020a17090301c400b0016c41131388mr42969768plh.120.1658403456620; Thu, 21 Jul 2022 04:37:36 -0700 (PDT) Received: from localhost ([2409:8a70:2b7:3fb0:8ec6:81ff:fe70:339d]) by smtp.gmail.com with ESMTPSA id g11-20020a170902d5cb00b0016a6cd546d6sm1410481plh.251.2022.07.21.04.37.35 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 21 Jul 2022 04:37:36 -0700 (PDT) From: Ihor Radchenko To: "M. Pger" Cc: Tim Cross , emacs-orgmode@gnu.org Subject: Re: no syntax highlighting for code blocks with org-publish In-Reply-To: References: <87zgh7i9vk.fsf@localhost> <864jzegk4q.fsf@gmail.com> <86v8rtfrxs.fsf@gmail.com> <86edygg24y.fsf@gmail.com> Date: Thu, 21 Jul 2022 19:38:43 +0800 Message-ID: <87a6923dbw.fsf@localhost> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=2607:f8b0:4864:20::1030; envelope-from=yantar92@gmail.com; helo=mail-pj1-x1030.google.com X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 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_ENVFROM_END_DIGIT=0.25, FREEMAIL_FROM=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" X-Migadu-Flow: FLOW_IN X-Migadu-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1658403542; 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=BgTVBhPkOsjUgEsOw1beiqmVUmVbIN/ALkn+/j4+WQE=; b=BomEN1Mr5QFx3eTJqKb2fdcsFBdKE+diwiOGhrU/slr8WyQXqRKLLCMO0nDjtwUMFPKumm yabd/x5Hf/Zvx9fNDyTlGO81w/eMkOQFdPZA5njKfUhur2kpVC4sh7d4kG2YjSYdDf6Rwq 9qWBsCeaz9/gRK/Pvv6XlKRYWBBlInlYSDwn270h11wjAwOTWiqknZ0dNEaHhLcJKszqTk XcghhDHAnFWUp8Bn8smJPi+01yrL/OyGl3pIsaF+FhFj36uGyZoKNKoznOzQQ130bgrpQB F3dfdVgJczeHjzsrBg60tCRKBarWRdtKEaQF8422/6Zxzq08w7EKdRCW+np9oQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1658403542; a=rsa-sha256; cv=none; b=ReLTe32h7mg8d+HzTgCmty1hJnTqjTkNaQJ9EiOzF973ns/iCbslc2gn3JnaFD1zpv2Om0 VSgyuz4YWGp2DEV1QiH661III/fbC6s+oAv/KzKC1BAyE/wixUhRomDiIl+2+7NXYaGxvQ yD1JLVxNNawQAjSNoHBQaX05Na4m5seHjsN78FJ9mKijGNjfXehf4otg6AN6BDer6vdfJP s7eyTFUYX5FSfR4UI9C3R3uot7ifzVteAHMHoBqxnkhgaUeVQSen6TRVT4UKlynkcDTrQ2 97Dfal3BysmxS+Mtm6yhwaMfX461igss3U0bEOGX0CV5tgWtLDGr7PiWA8+2UA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=qjXp6BVi; dmarc=pass (policy=none) header.from=gmail.com; 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" X-Migadu-Spam-Score: -4.74 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=qjXp6BVi; dmarc=pass (policy=none) header.from=gmail.com; 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" X-Migadu-Queue-Id: 5C81B2D526 X-Spam-Score: -4.74 X-Migadu-Scanner: scn0.migadu.com X-TUID: 2f+pF12rVYPR "M. Pger" writes: > Actually, using -nw implies that no theme is loaded, so the face colors 'extracted' by htmlize are the flashy default colors of Emacs in terminal. > > To have the colors associated with the theme I use, I had to load the theme through build.el and to change my bash script to: > > #!/bin/sh > emacs -q --load=build.el --eval="(eval-buffer)" --eval="(save-buffers-kill-terminal)" > > The advantage is of course to have the desired face colors; the minor disadvantage is to see an Emacs frame appearing, loading the theme and then disappearing. You may also try --daemon. It should not create frame. Best, Ihor