From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id oLJdJ9aOVWKJWQAAgWs5BA (envelope-from ) for ; Tue, 12 Apr 2022 16:38:14 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id kBXcI9aOVWIeigAAauVa8A (envelope-from ) for ; Tue, 12 Apr 2022 16:38:14 +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 41A8A78B7 for ; Tue, 12 Apr 2022 16:38:14 +0200 (CEST) Received: from localhost ([::1]:45682 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1neHem-0004EU-Ty for larch@yhetil.org; Tue, 12 Apr 2022 10:38:12 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:52754) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1neHbl-0002Z9-SV for emacs-orgmode@gnu.org; Tue, 12 Apr 2022 10:35:05 -0400 Received: from mail-pf1-x42a.google.com ([2607:f8b0:4864:20::42a]:36608) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1neHbh-00042E-0I for emacs-orgmode@gnu.org; Tue, 12 Apr 2022 10:35:02 -0400 Received: by mail-pf1-x42a.google.com with SMTP id z16so17685565pfh.3 for ; Tue, 12 Apr 2022 07:35:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=cIFnX4CQAqCtAEJbtI7XDSsnO00bKbIjg6GoLKhEAS8=; b=R06DJ9tDt88xERX5HVa7e8F0O3keCZKyxu/xrCOn6uiS/t/Vt0jipKCEZOA2vev6ZO Au0rpWamT3TeMywY0S1WPGVekE45UojcYQ0BUBpsO0MWt4FWGhR1QOJ0uJx0/4M/z7K6 hbe0vqWdDZp2ytlcX6O4VS9KLk43i1t2GcKOYfs3i9cKHr7QWOzmdbPX5DdkrFU383Bm MBioQrZXGQG1HWu3mjOUsBb9WjVjPP9nSu4b89G8r1xuKfS8Vd9HTskPu9tncrMPBSGS TBYGY7XTiFOV3ijZ/tPTCsyl3f4IIoa9fvyvmRtlskfp4m48TaTsIgc4sHM/IMhXHnYm 9KFA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=cIFnX4CQAqCtAEJbtI7XDSsnO00bKbIjg6GoLKhEAS8=; b=33yK8a7qciAi2ZDhQaK5MvrXlUR30DxIG4BcqcvN2QXevbcyLfwGJq1gBqy/pOjCGy Q8PmCHdSdZCJ+b/cHtYJYLdgWGtZQ9IYM7rUd0FyGLdTgxwJA4gzgzGqLsX8dhSxa8g8 p3MbalG9NfptPLbwwruvcxyBj9FBQy9dp0PctkU7BTJOIKtoJP4w1cy/gU0KG3XOkqNP mijvAaDgjPUwkJ/5QBLtBMx1ZgzJA62s2+yKBS8Thf7a2rIBjzHP4fcL4hXaIPvHyG71 J7rBuxx3lY5UjHCAHdDyH/3LnrX7DQMr99Cf3aiLLo04gYZVdSA2GE4vCiHJmsHiqmE9 bXlQ== X-Gm-Message-State: AOAM531RLbFjbNDFPhgxXIACfnBkJEP+0OTVl6jNZITPdQg7KxGSGjGL 7vrekLY+BqzVqyJ0NjiVWBXFSYBE2z3J+Y9aitQ= X-Google-Smtp-Source: ABdhPJxHWgqXWp5k1lvoFxYlmn8xlxOi2mGVjY0F+mpgCTUSVij5Ih/nStNyrWdHAn/bAsfWjysEZ0+UGJYEJ53z9U4= X-Received: by 2002:a63:4e45:0:b0:39d:4d2d:815e with SMTP id o5-20020a634e45000000b0039d4d2d815emr9057711pgl.198.1649774099028; Tue, 12 Apr 2022 07:34:59 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Kaushal Modi Date: Tue, 12 Apr 2022 10:34:22 -0400 Message-ID: Subject: Re: #+latex_header blocks, or, managing lots of LaTeX headers To: Vikas Rawal Content-Type: text/plain; charset="UTF-8" Received-SPF: pass client-ip=2607:f8b0:4864:20::42a; envelope-from=kaushal.modi@gmail.com; helo=mail-pf1-x42a.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, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, 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: , Cc: William Denton , org-mode mailing list 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=1649774294; 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=cIFnX4CQAqCtAEJbtI7XDSsnO00bKbIjg6GoLKhEAS8=; b=fLLiizNB8EcW94cCJSXHVmLrlqXUHvFdMvaaCVBlpwBg5HQuh5jj1GFuh40Ws6cTclBZwS /haoR+pOOnIaMBwUz6kLzvzrgCer6hlZexCFSzZ/Z9XNnA2E2weIx2q2ijvXMQB3Lzn1Zy W9ZlgBWRdgw+iROwJcZdHSSnc9fHW0GwY58Qgn6oIkU+gko7HqrZPHvEc52bsrHrinJz/f J0dVt5KwCWMbmPgvurlX75HMcrUVn/eUE8JAgJ+UmMQFs7+4lwtQxr6jMUKk+VzHC5x30R 9y8PlXsLVWMQHpDv8ZDtwJR0Z8RT8H5vnMciNpzU3/jXskoL+O2FDPJf9afTGQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1649774294; a=rsa-sha256; cv=none; b=V2C8AhMbDFnz9WhW5vIb0dt+NFE9EHm0pYfkucduVdEu+bBN/w3zMdhbMMx9IGd23g5bty vj77uPW7ERLw1hVShc+u1csWDdd3Id0m7I4M+coQZX2DGsaxUI62OSjbkJjCBpNi2Uboae R4hH02B4V0QeiiDHgMUL8UK7IdrKyh3lJirKuSG6S5LR1mUBtXrCRHMHZ3MkD2gE24rHuz M/0EypU6Tsmgh/NG1XyPJq+EyxPDe4UpgIw8BqQzAj9ZgYuAXqYS/FFVnVfzHbzbtoKisN fDPyf0izZviHrgbvRQ60aFHpf1hgj1ykSFrwvFfSzh45qUFR6vyIATGcz8qMmg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=R06DJ9tD; 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: -3.06 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=R06DJ9tD; 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: 41A8A78B7 X-Spam-Score: -3.06 X-Migadu-Scanner: scn1.migadu.com X-TUID: dihQXJK8D74T On Mon, Apr 11, 2022 at 10:53 PM Vikas Rawal wrote: > > For a major project like this, I would just put these in a separate file, and include it using #+INCLUDE: Org has a special keyword for the purpose of including *just the setup stuff*: #+setupfile See (org) Export Settings. #+include is useful when you want to include setup stuff mixed with Org content. #+setupfile will include only the setup stuff. I think that would mean only the Org keywords (lines beginning with #+) will be imported. Additionally, #+setupfile keyword can accept either a file path or a web URL. So I have this at the top of many of my Org files: #+setupfile: https://cdn.rawgit.com/kaushalmodi/.emacs.d/master/misc/org-setupfile.org That file has my common setup stuff like LaTeX headers, Org macros, etc.