From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id +PBEBAd8iWQPtgAASxT56A (envelope-from ) for ; Wed, 14 Jun 2023 10:36:23 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id Vv0GBAd8iWTwEgEAauVa8A (envelope-from ) for ; Wed, 14 Jun 2023 10:36:23 +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 893DD3614E for ; Wed, 14 Jun 2023 10:36:22 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1q9LyI-0008Ig-6K; Wed, 14 Jun 2023 04:35:18 -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 1q6jBG-0000UW-PN for emacs-orgmode@gnu.org; Tue, 06 Jun 2023 22:45:50 -0400 Received: from mail-ps2kor01olkn0814.outbound.protection.outlook.com ([2a01:111:f400:fead::814] helo=KOR01-PS2-obe.outbound.protection.outlook.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1q6jBE-0001LD-Dh for emacs-orgmode@gnu.org; Tue, 06 Jun 2023 22:45:50 -0400 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=g1JblEf/6b//0UyeEKumyL9YTQJkj9/WpCEuzqi9NTIwTR3OFHUdp1/QmGR0ticsgW7tSHX/1rXXq7G5MMSSBHqqOsZBmfs9T+4RrTrQMlBwKS9jsAZLMvdqtJ+if0vaL1Idds1m0vF9Kr02LBy95LuQ/fQ8ao64FQassL1CyUoWeae5mIzhd/0vUtpYhdGLKlqaeTd2h7pm0elwmtvhOOsLnVpyj2qNd8p47HUBFmK4fHY+qN4uDYbbfLUr3VUDp+yfaSscgggjdHvdEPIEazZEyR/qvfXy3zREcE0uJzpQYXh+YJ/KrrM14KN/zHRDkuaz4KaaR2JlBjwDYZSONw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=8X4kuz95+MTeEmb2q6dVddxl33hLREoBF47C2IvHaqw=; b=fSscpVFLnd5LljK7pjIQ2vrXNxYJ+JRj5TQ8gnqA+QTLZ8nJn6OdIf/dwvrpbzfF9/q5vdZde9oOqcRenfT1ymxarGndkuEpZ5X5SviXQjpiGYTas2NAa879DAI2PmJjnDmAOyvSQP6fIF+zUusz+4Cvm8DEysf7XlRapkgECAL4vbKB9h6aFo7CFCzAfQwvboJUwoN8rsFl72rAzWRUGwHM3ZQJ/hZsMHHr5COI3noecQxCQA5h1G1botB0mDrTexAtHN5KFiLM2s1wL4HA6uGdeqoLbfZc/MzvF3ASltf8mgbdHNmKrYkMO3bCg+Fgf9fS9dK9KVHm7ZA901dPGw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=none; dmarc=none; dkim=none; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=outlook.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=8X4kuz95+MTeEmb2q6dVddxl33hLREoBF47C2IvHaqw=; b=io5TpcPrGVGHd9bRdh4QPPaepnV2s8wCAbTY5bE1mGFp3gIQmCntMzfnn35ithvfB1DdRWanwqMoz8vgH3NWPF6xRL1uHV3vXNR+2IcychvZ30cr96FblCwhdQSb0XSP07xIFig3bh5q7E/RCk0dWyirL6OzsyKnBkjO+IDKqmVUwIpmyIO+nzdlnbbuWjQvSUcJwAqmgyQSrFTS6gcxOY2oweBbax+vV1jJUU9ZXvDT3vmg0rFAKA5O5oDj21FVSYLEZz+r2fszNI/rlBdLZq4ak/olP4134Yx6hUPXd0I1E68CAu2EPgZNNoJIgiVk0TOxxCsgLFbAtZuxGT54Rg== Received: from PS2P216MB1138.KORP216.PROD.OUTLOOK.COM (2603:1096:301:53::13) by PU4P216MB2012.KORP216.PROD.OUTLOOK.COM (2603:1096:301:12d::10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6477.19; Wed, 7 Jun 2023 02:40:41 +0000 Received: from PS2P216MB1138.KORP216.PROD.OUTLOOK.COM ([fe80::e097:e2ea:736:e002]) by PS2P216MB1138.KORP216.PROD.OUTLOOK.COM ([fe80::e097:e2ea:736:e002%5]) with mapi id 15.20.6477.016; Wed, 7 Jun 2023 02:40:41 +0000 Date: Wed, 07 Jun 2023 10:40:30 +0800 From: dongdigua Subject: [PATCH] org-faq.org: rename org-export-htmlize-* options to org-html-htmlize-* To: emacs-orgmode@gnu.org Message-ID: X-Mailer: geary/43.0 Content-Type: text/plain; charset=us-ascii; format=flowed X-TMN: [E1CivqraOHtoo8yDrvYDOb/grLhaG8KQ] X-ClientProxiedBy: SG2PR02CA0020.apcprd02.prod.outlook.com (2603:1096:3:17::32) To PS2P216MB1138.KORP216.PROD.OUTLOOK.COM (2603:1096:301:53::13) X-Microsoft-Original-Message-ID: MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: PS2P216MB1138:EE_|PU4P216MB2012:EE_ X-MS-Office365-Filtering-Correlation-Id: ce1df395-4b24-4d26-8f57-08db67009569 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: 8fRu3Ln3Nb+tXPSp5VZGDAT+fkuuB09FvRY5CvU61kL3/suP+yzRf9DQ+UL0QCQVoxMdX1gRuuIncD3kUJp5PaF7XwFnutDwwpktGGEhqBAFeNcCwE7TmhGzQhE3mRQhzY2UnIwakW0e6UtHVqK12G8xf664WN5wwFlBXe9b7QRd1nVvZLRuhFMrfJHpXKTpcxWjxS5aSN6aofsaQfxFRGegwj8vKaqiVaT8TXKu9ob6/JTTtxeLGYY98/Q+RAojDqgau5TK5CtUDwFXjOI3oaYLd2VpY15fk5ZQ9hoj/iA8nt04zvj5uTbygrhXp4nmQCI12JPr/uwD8mWcPkwV7G8UQ83K+LaUF33R6kpRmaNeoBrcwyQPrrDsc6V/Cj6vur0oUNOK65d8DRNeUptTpof7BFlMooJOyLME1+0AoiE/k33XG2WpGRqjmJnjg1OXX9n1wcW6fRDothmKJGzHJKbWYtZ7nrMVLTQ8663FjPIKENv7jRSUidXaFfTaSS8zSFSr3s/qhgr5Bf8uW9r2lOx+2uRIprqrs/mDf7GeS2c= X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?us-ascii?Q?B5ENEkAbW2/JzMUCH13t2EAz3cIO1a9W3sgX0m6bhPB1owrUdZfz3JSgdJ3u?= =?us-ascii?Q?+/v0iEp2zdNahMAF7I7OPiKMkW0TCnZdx+MAXNj7aAlJUdQAeR7O7DyC8qI1?= =?us-ascii?Q?rT8j7VgzoeBhM8lkp8xHBw3+OQv+KgBvqduCfnC6Xv7j6zirr5GrR4C0Up83?= =?us-ascii?Q?j4uh3IcOWbtteyw6zZq3zZl/WTAY2FUy8o9Io2WqnnLZlbBkycrOJaSXFobE?= =?us-ascii?Q?+qV9BdDZFxWS5j/xmD7UwGAx4+oAxeB5Gfptz1fpioPfgMQJ1pU6eg8r+JwC?= =?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F1MwEwRQKqHLdhhdGuF4GFrUT9?= =?us-ascii?Q?xKbiINyjv40NJbNdKy5Z3Ptwn2vKvntxD/4MJQ=3D=3D?= X-OriginatorOrg: outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: ce1df395-4b24-4d26-8f57-08db67009569 X-MS-Exchange-CrossTenant-AuthSource: PS2P216MB1138.KORP216.PROD.OUTLOOK.COM X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 07 Jun 2023 02:40:41.0363 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa X-MS-Exchange-CrossTenant-RMS-PersistedConsumerOrg: 00000000-0000-0000-0000-000000000000 X-MS-Exchange-Transport-CrossTenantHeadersStamped: PU4P216MB2012 Received-SPF: pass client-ip=2a01:111:f400:fead::814; envelope-from=dongdigua@outlook.com; helo=KOR01-PS2-obe.outbound.protection.outlook.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, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-Mailman-Approved-At: Wed, 14 Jun 2023 04:35:13 -0400 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 ARC-Seal: i=2; s=key1; d=yhetil.org; t=1686731782; a=rsa-sha256; cv=pass; b=EQ+x21jvExezsqKQx/oQ/8ExAjwGAfz7S0Bz9Alz+Q+FOXIp/6C973q3xL6Co3pz4UU9ZA jnikYefWUkc8yHMRwOPdSbO6LfMraQzAMgRWjARzaqWNZ7PYyqvwFvXf2HAAHQiOTkcuWc GAl2AvVv1koLlRCKk/eYwWbJRuUKfMHnrrQJnk50DiMMDn4gWBA7kFZLJ4smMyInO+anaX AdCADzqbGt2OMDLksMoBVZCgbMn54Ca+ehMYz0azVqDfSq3BJOhP6jfoQMDahrWQ34F2XZ zYVZq1cx7n+m4j1tvxPqPqqK+JtR1GErnZT4/YRAR5GlrkcX13OqWkc18LnnBQ== ARC-Authentication-Results: i=2; aspmx1.migadu.com; dkim=pass header.d=outlook.com header.s=selector1 header.b=io5TpcPr; dmarc=pass (policy=none) header.from=outlook.com; arc=pass ("microsoft.com:s=arcselector9901:i=1"); 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=2; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1686731782; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=8X4kuz95+MTeEmb2q6dVddxl33hLREoBF47C2IvHaqw=; b=RCK7P1OIL2wysojqcWzH1Ky7WEU/W4VY9I0QkL36uVf8yrbRkRluj5cq7FvTe+MHUGA5hC e6Nlv/k1TNcpxsuODCShu0DnYdDINo9zQr6YAtM7FaZfbPT8nyK98PjLbGFN7WVcRgtNaK WH1OdL01m1/ZXXXnxWdRPpsw7b4eD60GGId7HKJ7eFAVDruATBa/DWhYaN/7Khc0K81Obz 9nDacEhOkutAzxjcur8QwBZg+Lk7bVO3DLTxYGwFyG7i4i9VwuQOuNZH/jhdwD7V5uyfGT 8psG0VzanDHYvlESg0PYEMWOTLxm0rfoR2ypem1x4Cim8gTvSKwhD/HWvsIoqA== Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=outlook.com header.s=selector1 header.b=io5TpcPr; dmarc=pass (policy=none) header.from=outlook.com; arc=pass ("microsoft.com:s=arcselector9901:i=1"); 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-Scanner: scn0.migadu.com X-Migadu-Spam-Score: -9.67 X-Spam-Score: -9.67 X-Migadu-Queue-Id: 893DD3614E X-TUID: q6S1UAp+rbk/ look at this commit: https://git.sr.ht/~bzg/org-mode/commit/8134e80bdfb55bbce9aecf3f5958a2bd43cc0b63 the document didn't catch up with source code I encountered this problem in: https://emacs-china.org/t/org-emacs-script-org-publish-all/20782 and documented it in: https://dongdigua.github.io/org_export_highlight --- a/org-faq.org +++ b/org-faq.org @@ -3793,7 +3793,7 @@ options or via global variables. See [[https://orgmode.org/manual/Export-settings.html#Export-settings][this section]] of the manual for a full list. -** How can I preserve faces when I export an agenda from the command line? +** How can I preserve faces when I export an org file from the command line? :PROPERTIES: :CUSTOM_ID: preserving-faces-during-batch-export :END: @@ -3821,18 +3821,18 @@ definitions. If you'd like to use more complex styles, you'll have to make sure that the export process only assigns classes instead of direct color values. This can be done by binding the variable -=org-export-htmlize-output-style= to =css= for the duration of the +=org-html-htmlize-output-style= to =css= for the duration of the export, for example with : emacs -batch -l ~/.emacs -: -eval '(let ((org-export-htmlize-generate-css (quote css))) +: -eval '(let ((org-html-htmlize-generate-css (quote css))) : (org-batch-agenda "e"))' Then you can use a style file to make these classes look any way you like. To generate face definitions for a CSS file based on any faces you are currently using in Emacs, you can use the following command: -: M-x org-export-htmlize-generate-css RET +: M-x org-html-htmlize-generate-css RET This will generate a == section, the content of which you can add to your style file. --- https://dongdigua.github.io