From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms1.migadu.com with LMTPS id qHeXArPtDmbO8gAAqHPOHw:P1 (envelope-from ) for ; Thu, 04 Apr 2024 20:13:07 +0200 Received: from aspmx1.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0.migadu.com with LMTPS id qHeXArPtDmbO8gAAqHPOHw (envelope-from ) for ; Thu, 04 Apr 2024 20:13:07 +0200 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=berkeley.edu header.s=google header.b=nz8pwY0X; dmarc=pass (policy=reject) header.from=berkeley.edu; 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=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1712254387; 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: content-transfer-encoding:content-transfer-encoding:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=xJepZ5RprzLaE5+1s9gr5XUASSZOaAtCTtDMaq2mH3M=; b=fuYlnxgunPynM0ryoeDnJZjOvHffzjrF12jjgIrCt/G1mFARxhONtcvAFiipeBZm1+nyb0 lljs/3SP0rdzFM9b7ftWIqSBTfJFJvbxz24n2GETM49FtWF10O4cbiXui16OLuLMWWKoQk C9B7B9MFRJNG0i4ERkYzz4hbvVJ+y4uDviZeF1LGtYUeTjSP36hYQ4Yd+9zDBjVn/hWVHD d+qg95oNDnQnvc+itq4HVMOwF7iTfiA0P4SNC/oO1bm2Vf8Rc37C1upjUAuoknammisOsY teaMlSrUq/EPCf3cVUcfwTDXSgFkYJIsgK4iu4pPzjWUo4vqLtgFo99BHADcbg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=berkeley.edu header.s=google header.b=nz8pwY0X; dmarc=pass (policy=reject) header.from=berkeley.edu; 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-Seal: i=1; s=key1; d=yhetil.org; t=1712254387; a=rsa-sha256; cv=none; b=Y2mYUbfD7hooBRcqNTloPSSb/trXBRZBI2uXO4LuJE7C7vfq8GWfMW3DZGYUcu31Gvk5Cu 37pGFNqfZSkl0FL/IuVmLO2I+m3w9rqmhVXzzD4klYsfpJvjTmwOYVKpp61I0cRb0Rk7Rx bQHAgixGqHIXvus/ToQmYvmAJuVvTNF/zkrOqxYbPOmc9596Xb/jmtCzVxXpdFH2GNPafR Kop0fTX86q7RRfIJkzggDW63Qhp5h2GdRXN2eNRLj431iljaTqUaT5qBriVAwdcRHqiIuf Wr/Z47vlg+57/bmF5KmFfkIqe7D3/2AuZ8LlI4PVJA+herXM3sz93+gNgk4fHQ== 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 D3E8F75D32 for ; Thu, 04 Apr 2024 20:13:05 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rsRZF-0000r8-Mb; Thu, 04 Apr 2024 14:12:05 -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 1rsRZD-0000qu-QI for emacs-orgmode@gnu.org; Thu, 04 Apr 2024 14:12:03 -0400 Received: from mail-pl1-x62b.google.com ([2607:f8b0:4864:20::62b]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rsRZB-0004Zd-IA for emacs-orgmode@gnu.org; Thu, 04 Apr 2024 14:12:03 -0400 Received: by mail-pl1-x62b.google.com with SMTP id d9443c01a7336-1def89f0cfdso18857795ad.0 for ; Thu, 04 Apr 2024 11:12:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=berkeley.edu; s=google; t=1712254318; x=1712859118; darn=gnu.org; h=to:cc:date:message-id:subject:mime-version :content-transfer-encoding:from:from:to:cc:subject:date:message-id :reply-to; bh=xJepZ5RprzLaE5+1s9gr5XUASSZOaAtCTtDMaq2mH3M=; b=nz8pwY0XatFtETkQQK2/MXzAwrVEhNyGFvS3/dIL7aGuTum0RFRJmz9CdtkUvcZ18v VO9QbAGaprUc+e5zUGYAAiJFVOxgXOr/ioYqUjA2U6tglZLaHCajsBSxPErU23KovaJv IYLbnA4CxlwlH8+yY+VxTr8f0JwNYdlsXmAIWAF0nVLKCIbWfBPXnH8FAjpa2Hvenspr tv2glesfps4xkywCLQ6nE4TWBSOkC3Rbdaa/qCr//tYP6P5O12+Zk1zoR2BXTF3bRsre QpKNxWZZ7AJHuSCclU+DCgJJ9Ul+3ev6FDOMK0kCJtK4JFMxcWVQqLf2Jz5BgoJJBhBb HZJg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1712254318; x=1712859118; h=to:cc:date:message-id:subject:mime-version :content-transfer-encoding:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=xJepZ5RprzLaE5+1s9gr5XUASSZOaAtCTtDMaq2mH3M=; b=g0MMQ7q64J84hubrwnJuuTT4UEwKijgLzjUQdeeds7jnfAqh2HVM3uJy1JWwjLeQDz oAGVVBcQxABzBOg232L1eyLLdUeGhb97+XFrzc8vHp0OgKCL1dVGqy/0b0us3H47LJtw QqysHBxWavdVpd74OfwHN6x2wbqTPkY4K90dr06rd7Fb8wmziFF02BnCZeyaZ+zKEq4H Q7CUJfkIq0pHTPXsWSGyudFQINQbmRT1JnIssruDJiHkTpa/CK/YC7XGfCarcXYtKPBj dPKYUQu456PbEAt2bAS30bQu7MVXrFWjZZ8dG0Hbdar00JRPUnNnG9dxV0w/llCm0jb8 EcHQ== X-Gm-Message-State: AOJu0YyKClovK8Hw4AOL37rpBo8sxQTvVpFbxwwnDWIsmC8XTydM230N 4jqqawKL3huuRmJJAdtaNmRDcHKTJuRJf5Rg8DQENC8ObuEEERIGwh7LIxkIlDwDJrdjEAbOaZI baw== X-Google-Smtp-Source: AGHT+IFhiX0fijwG4+fo4QtVXSjDINxRM9o1wi9UA2B6kJyY+mg85EQbrkD3ET7LR5YbMczBanI+fA== X-Received: by 2002:a17:902:e5c9:b0:1e0:a3b9:2e7a with SMTP id u9-20020a170902e5c900b001e0a3b92e7amr389325plf.6.1712254317957; Thu, 04 Apr 2024 11:11:57 -0700 (PDT) Received: from smtpclient.apple (157-131-170-17.fiber.dynamic.sonic.net. [157.131.170.17]) by smtp.gmail.com with ESMTPSA id g12-20020a170902fe0c00b001e26ba8882fsm6436801plj.287.2024.04.04.11.11.55 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Thu, 04 Apr 2024 11:11:55 -0700 (PDT) From: Richard Stanton Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3696.120.41.1.8\)) Subject: Re: How to export a single subtree but include document preamble? Message-Id: <8A1DD68F-1F73-458A-B4AB-4479BDA76882@berkeley.edu> Date: Thu, 4 Apr 2024 11:11:55 -0700 Cc: srandby@gmail.com To: emacs-orgmode@gnu.org X-Mailer: Apple Mail (2.3696.120.41.1.8) Received-SPF: pass client-ip=2607:f8b0:4864:20::62b; envelope-from=rhstanton@berkeley.edu; helo=mail-pl1-x62b.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, DKIMWL_WL_MED=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 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-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Spam-Score: -1.13 X-Migadu-Scanner: mx11.migadu.com X-Spam-Score: -1.13 X-Migadu-Queue-Id: D3E8F75D32 X-TUID: KmnyWhc3S1pl > I don't know if this does what you want, but I use a =E2=80=98PROPERTIES= =E2=80=99 drawer right below the subtree's headline and in that drawer, = I put the following code: >=20 > :EXPORT_LATEX_HEADER_EXTRA: \input{latex-preamble.tex} >=20 > Scott Randby Thanks for the suggestion!=20 It would still be nice (i.e., you wouldn=E2=80=99t have to do this for = every section you ever want to export) to have a way of specifying a = line that gets executed for EVERY (say) LaTeX export. Or else an option = to do something like include everything in the file before the first = section header.