From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:8:6d80::]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id OEE0ApZCZWC3IQEAgWs5BA (envelope-from ) for ; Thu, 01 Apr 2021 05:48:38 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id oLGPN5VCZWCJDAAAB5/wlQ (envelope-from ) for ; Thu, 01 Apr 2021 03:48:37 +0000 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 3A42031B3B for ; Thu, 1 Apr 2021 05:48:37 +0200 (CEST) Received: from localhost ([::1]:58280 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lRoJw-0008PB-5C for larch@yhetil.org; Wed, 31 Mar 2021 23:48:36 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:40026) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lRoJ9-0008Ox-V2 for emacs-orgmode@gnu.org; Wed, 31 Mar 2021 23:47:47 -0400 Received: from relay-egress-host.us-east-2.a.mail.umich.edu ([18.216.144.57]:52836 helo=sore-rhiannon.relay-egress.a.mail.umich.edu) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lRoIr-0001Fp-6v for emacs-orgmode@gnu.org; Wed, 31 Mar 2021 23:47:47 -0400 Received: from breeze-alux.authn-relay.a.mail.umich.edu (ip-10-0-72-224.us-east-2.compute.internal [10.0.72.224]) by sore-rhiannon.relay-egress.a.mail.umich.edu with ESMTPS id 60654250.38DFB.22BE527A.1354383; Wed, 31 Mar 2021 23:47:28 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=umich.edu; s=relay-2018-08-29; t=1617248847; bh=aK1sjepg6F04PsFc8hm40zIhorLhPt0v0w5uN/t/HyE=; h=From:To:cc:Subject:In-reply-to:Date; b=jjsghXlqnivF+yzWN80BItNrTSn5FMGSNX6xf95Bo6L5rKFmjS8asWVyZi5SPkc6e pS8jgTkuJkeayn+8Rpm9AKIEH0loEPf8VWfC1XPqB3ErjcmUYq/7vbBKUDapvfBaKq Ce4rGO52BI0pwEeG+WIh3qh/xBMG58UpJePjSa6sNa0BYmYpvi5u+lEvo4tXN6Q7fK ApjwQmH/TLXmclxQenFQSCm6svR4Q1zkWSjvBHDZ3koFGsF9hJuP5r/5owC7ynqH8g uAc04CkosL3XndAINn5rJs/m5KmhVYJqhgij4bA9pHidPkJILWoJBDw8xnrfPAPraG RiIA3nbcLdTSA== Received: from localhost (Mismatch [88.253.115.125]) by breeze-alux.authn-relay.a.mail.umich.edu with ESMTPSA id 6065424E.C8217.53F9AFBB.3745510; Wed, 31 Mar 2021 23:47:27 -0400 From: Greg Minshall To: Jean Louis Subject: Re: How to expand macro in LaTeX export? How to use different options per export type? In-reply-to: Your message of "Wed, 31 Mar 2021 23:04:12 +0300." X-Mailer: MH-E 8.6+git; nmh 1.7.1; GNU Emacs 27.2 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <422903.1617248843.1@apollo2.minshall.org> Date: Thu, 01 Apr 2021 06:47:23 +0300 Message-ID: <422904.1617248843@apollo2.minshall.org> Received-SPF: pass client-ip=18.216.144.57; envelope-from=minshall@umich.edu; helo=sore-rhiannon.relay-egress.a.mail.umich.edu 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, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=unavailable autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-orgmode@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Org mailing list Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1617248917; 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:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=aK1sjepg6F04PsFc8hm40zIhorLhPt0v0w5uN/t/HyE=; b=lOzm23feG1nNzGo/5p3BnYCh7pMmSyhcSGN4G6CUbZQaXGUYDm3osBqG5FM02zjWiJSkjY nzLNVqOU5NpQ7FPjwLY0ud8zeQAGGNgT0+NvL7J4Mo77v4CcCpvNwoNwPuuDO6yKtP1mYo Z4QZYRmm340W290tR5ZmzXTKhVcYezI8+1sTytAiJssJexSK2vMmxnRYVSpjVbNzrkyJpf aurZbGgCe3ZfPEivUnbOKuVIKgCKYO9GcboKa0so/11kQDw1dCjhO0tDtsLd0ond07HxD5 jidNprPg/mb921ZQngdM41hif2HXFechwMcn9MEiAKWGLs1bG2Ka6bGqcOGk2A== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1617248917; a=rsa-sha256; cv=none; b=gtT2zk2sGUfCJVlTt7nFE/KAp2hFKZ/xzL7bqJvqcmycrdt2ryZ3fuHgkB7lCklMBmfA4K lkCKbQfpDmgqZpwujSzvPdX17RWyR327/fYgrO3j5f32VP/LiXmhyXciGldGd9kZoz24KU Ca0U9v1zjQ40J3hxlI7W6S+BH6bcJVlBNJVnEI+7SEvrBSYRz35XNDbDPCkxPc65rIpjla pvjWQPnvzl+pF96S1ui1RCDRTgFHFZo+r2r2+9S/P6bj4F9WQ7WlGvPlk2V9pNlgmXehC1 0dAXxrIEpcCqpxtZHyuLTvznqRiViKzivqu3l5k546uRJzVG+mFwDbI//QrScQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=umich.edu header.s=relay-2018-08-29 header.b=jjsghXlq; dmarc=pass (policy=none) header.from=umich.edu; spf=pass (aspmx1.migadu.com: domain of emacs-orgmode-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=emacs-orgmode-bounces@gnu.org X-Migadu-Spam-Score: -2.13 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=umich.edu header.s=relay-2018-08-29 header.b=jjsghXlq; dmarc=pass (policy=none) header.from=umich.edu; spf=pass (aspmx1.migadu.com: domain of emacs-orgmode-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=emacs-orgmode-bounces@gnu.org X-Migadu-Queue-Id: 3A42031B3B X-Spam-Score: -2.13 X-Migadu-Scanner: scn0.migadu.com X-TUID: G4iNPA7YKsdu Jean Louis, when publishing, one presents a data structure ~org-publish-project-alist~ that defines the back ends and options for publishing actions. the options are here: ---- https://orgmode.org/manual/Publishing-options.html#Publishing-options ---- below is an example. as you can see, publishing to different back ends can have different values for a given option. (well, not that i do it that much here...) cheers, Greg ---- (setq org-publish-project-alist '(("ess-org-html" :with-toc nil :base-directory "./" :publishing-directory "./artefacts" :exclude ".*" :include ("ess-org.org") :publishing-function org-html-publish-to-html) ("ess-org-pdf" :with-toc nil :base-directory "./" :publishing-directory "./artefacts" :exclude ".*" :include ("ess-org.org") :publishing-function org-latex-publish-to-pdf) ("ess-org-beamer-html" :with-toc nil :base-directory "./" :publishing-directory "./artefacts" :exclude ".*" :include ("ess-org-beamer.org") :publishing-function org-html-publish-to-html) ("ess-org-beamer-pdf" :with-toc nil :base-directory "./" :publishing-directory "./artefacts" :exclude ".*" :include ("ess-org-beamer.org") :publishing-function org-beamer-publish-to-pdf) ("ess-org" :components ("ess-org-html" "ess-org-pdf" "ess-org-beamer-html" "ess-org-beamer-pdf"))))