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 ms13.migadu.com with LMTPS id CD/0BXi02madFQEAqHPOHw:P1 (envelope-from ) for ; Fri, 06 Sep 2024 07:51:20 +0000 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 CD/0BXi02madFQEAqHPOHw (envelope-from ) for ; Fri, 06 Sep 2024 09:51:20 +0200 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=fastmail.fm header.s=fm1 header.b=EN7RSaD3; dkim=pass header.d=messagingengine.com header.s=fm1 header.b=HZJc1wEN; dmarc=pass (policy=none) header.from=fastmail.fm; 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=1725609079; 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=WN9UKknFRYrYxqf5SPGZc5DU3LnI32qzVarozibOjKA=; b=YGp8ohntf2Gsh/uJrmf9Dg5nUhwVNE0vysEh7ZaKcrMGAk5+z24TdeYqM/N41Y67PqHEF7 xq7f8mv19Er7RWbuyj0BrBku8DeKf+4gPZjMPKOpj+1qmjMolO4I/KoJ9zVNlJii0U2VCz bZCBxsmPWspe+6rKpOqC9vLczriJlxhrOQBEoR4aHco9FvHiO5gFXqiRcb2kHn6NJW+/Vg gdZdidgov7xx5Nfsods1s+8/FAfGiYcgS4O/E+sRg7LjxdxfDBwn98KPi4+G5dSYxeTley m92qQg+jz/o2DrsJxRcshK0iuEtObP3REyxrZffzgh2l4LLqzFujDkSIoJhUJw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1725609079; a=rsa-sha256; cv=none; b=klSv5pkobLDMJzHQBIymNqMhQpAepxqCqU/1sdcOGuawH2cauXZXCnpkQSe8mxH4IA2PMD SrU8ZPLhrWQ8FM6Efw1cCGy70/h5nHNuwaHVEUoc6uEFqDnZud0STpl2FcRKCkl0nadfb/ Zt3MrWfk2wtYCPYi5JzAMIHDgwhPxzPpMgraZoarEcA9jeb0v7859em52TUc3r33D57yml 1oG6Z/xArOo3NJ78JFIKEesuSNplHCvYdaUra9DV0S29ecpgR9Bj+321wKSJIs39fIoXTr VUtBUvhl+9KSRYC48naCZFokrY0/IYSZSl2ToVAsVmREaG5qt/lCEKYKCmvg0g== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=fastmail.fm header.s=fm1 header.b=EN7RSaD3; dkim=pass header.d=messagingengine.com header.s=fm1 header.b=HZJc1wEN; dmarc=pass (policy=none) header.from=fastmail.fm; 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" 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 5AE9560D41 for ; Fri, 06 Sep 2024 09:51:19 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1smTjB-0001fx-Gy; Fri, 06 Sep 2024 03:49:57 -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 1smTj9-0001YZ-BE for emacs-orgmode@gnu.org; Fri, 06 Sep 2024 03:49:55 -0400 Received: from fhigh3-smtp.messagingengine.com ([103.168.172.154]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1smTj7-0001jZ-Ex for emacs-orgmode@gnu.org; Fri, 06 Sep 2024 03:49:55 -0400 Received: from phl-compute-12.internal (phl-compute-12.phl.internal [10.202.2.52]) by mailfhigh.phl.internal (Postfix) with ESMTP id D78EF1140337 for ; Fri, 6 Sep 2024 03:49:51 -0400 (EDT) Received: from phl-mailfrontend-01 ([10.202.2.162]) by phl-compute-12.internal (MEProxy); Fri, 06 Sep 2024 03:49:51 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fastmail.fm; h= cc:content-type:content-type:date:date:from:from:in-reply-to :message-id:mime-version:reply-to:subject:subject:to:to; s=fm1; t=1725608991; x=1725695391; bh=WN9UKknFRYrYxqf5SPGZc5DU3LnI32qz VarozibOjKA=; b=EN7RSaD3D5Mv+yDn5eKiUo/3oIqh55A3zZGfNG5ztA/P5MFb v0w9QkKDELRGudzp5UoeU9pjWxcQG8Rsv6qcUWkXtcCQZE36jZgDZ67jJdEnmfvv qKp6O9bQhekY+wB4l8lpIS6AyLl+e9H6OVP9r9zi2dsbRX1fj9Uzd3H7qc6kfFBU 6pzYEK0sPW6epbMFNQN9nBl1UGdwPSgDjspn1e/bqFf3OhUrchsW22eu8X1axrDg XF3ry68ONSjF54qWKr5eL1yBMFuCJd1WVImXnpgFKfDpA/u6LqhdYhNpxA+HzKHw xQnJGo/WksKBGXRoJRDM/3btaUaS7fOv7Uel5A== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:content-type:date:date :feedback-id:feedback-id:from:from:in-reply-to:message-id :mime-version:reply-to:subject:subject:to:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm1; t= 1725608991; x=1725695391; bh=WN9UKknFRYrYxqf5SPGZc5DU3LnI32qzVar ozibOjKA=; b=HZJc1wENosYt8mMDWm3FXzABsMjCfZ2xko9NiYYpAjfK6aWda0v QpiwfIGKYGWkCifjSv2K8rCVDukR68ELE2Fk1AQQT1nSaMw48jjx2RJpxXvdWsKc GX3a2SzsC36AAZuWJ6Rym/0ltx1pYIbGFhKDmOzhh0LxMPwcFp9LqgoQCG6EuU2V SWtFD8lUUcoLWxsWfKfWflEjMHiPvA1Vhgafj3iwPv61loRS0rv+wq0xZQg08ZjQ 3wDPBxYt1yFJbUPdBcRjqAsEuLbBUCwhBYnvE87+KLRy1OQ67H5g5nH+yaVd2RXt Vudqtx4nRf7zwDi8ga/rlNbeqfXLderDGyA== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeeftddrudeitddguddvgecutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpggftfghnshhusghstghrihgsvgdp uffrtefokffrpgfnqfghnecuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivg hnthhsucdlqddutddtmdenucfjughrpefhvffufffkgggtsehttdertddttddtnecuhfhr ohhmpeflohhoshhtucfmrhgvmhgvrhhsuceojhhoohhsthhkrhgvmhgvrhhssehfrghsth hmrghilhdrfhhmqeenucggtffrrghtthgvrhhnpeduleekudefudfhfeekgfettddugfev keevgfeggefgjeefudduteehleekjeelveenucevlhhushhtvghrufhiiigvpedtnecurf grrhgrmhepmhgrihhlfhhrohhmpehjohhoshhtkhhrvghmvghrshesfhgrshhtmhgrihhl rdhfmhdpnhgspghrtghpthhtohepuddpmhhouggvpehsmhhtphhouhhtpdhrtghpthhtoh epvghmrggtshdqohhrghhmohguvgesghhnuhdrohhrgh X-ME-Proxy: Feedback-ID: ie15541ac:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA for ; Fri, 6 Sep 2024 03:49:50 -0400 (EDT) From: Joost Kremers To: Emacs Org mode mailing list Subject: Customising LaTeX packages in org-latex-default-packages-alist Date: Fri, 06 Sep 2024 09:49:48 +0200 Message-ID: <86le051asj.fsf@fastmail.fm> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=103.168.172.154; envelope-from=joostkremers@fastmail.fm; helo=fhigh3-smtp.messagingengine.com X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 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_LOW=-0.7, 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-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: -7.67 X-Spam-Score: -7.67 X-Migadu-Queue-Id: 5AE9560D41 X-Migadu-Scanner: mx11.migadu.com X-TUID: tjPTZ1GKC4Lx Hi all, I've long had this snippet in my Org config: ``` ;; Add "colorlinks=true" to hyperref: (setq org-latex-default-packages-alist '(("AUTO" "inputenc" t ("pdflatex")) ("T1" "fontenc" t ("pdflatex")) ("" "graphicx" t nil) ("" "longtable" nil nil) ("" "wrapfig" nil nil) ("" "rotating" nil nil) ("normalem" "ulem" t nil) ("" "amsmath" t nil) ("" "amssymb" t nil) ("" "capt-of" nil nil) ("colorlinks=true" "hyperref" nil nil))) ``` As the comment says, I modify `org-latex-default-packages-alist` because I want to change the way hyperref marks hyperlinks. Just now, though I happened to stumble upon the doc string of `org-latex-default-packages-alist`, which says that the only reason to modify this variable is when you load packages that conflict with these. So that made me wonder; is there a different (better) way of configuring the packages in `org-latex-default-packages-alist`? TIA Joost -- Joost Kremers Life has its moments