From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id kLnmAYbzUWHaLwAAgWs5BA (envelope-from ) for ; Mon, 27 Sep 2021 18:38:30 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id 2EY5OYXzUWG2LQAA1q6Kng (envelope-from ) for ; Mon, 27 Sep 2021 16:38:29 +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 4A64428972 for ; Mon, 27 Sep 2021 18:38:29 +0200 (CEST) Received: from localhost ([::1]:56228 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mUte8-0001Q9-CT for larch@yhetil.org; Mon, 27 Sep 2021 12:38:28 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:43404) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mUtYs-0004So-9w for emacs-orgmode@gnu.org; Mon, 27 Sep 2021 12:33:02 -0400 Received: from mail-pl1-x62c.google.com ([2607:f8b0:4864:20::62c]:35647) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mUtYp-0003eg-2g; Mon, 27 Sep 2021 12:33:02 -0400 Received: by mail-pl1-x62c.google.com with SMTP id bb10so12176900plb.2; Mon, 27 Sep 2021 09:32:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:date:references:user-agent:in-reply-to :message-id:mime-version; bh=v0/d8k+c2vSYJlO+Js/HgsD5AJkqL13jq5qKMC7hUgQ=; b=j411qxOVMcMXqYHXyqfMsGJJIDQzNkyzKy1SY75ViKcrq02lN/yHSYgIP4dwFh8RVX AtKiGWWx3a+hbtiQ2Pfv8fQDow9iV1hSC+7hpWomdzo8PujD9sn0bi+TR3cspsxTflM5 UiPDJU8w7u/R54E9mG9Wsti3oBIYWnwWoYrLBqlypseyIogT9o3S+dpc/FDwtXEWtS7w uXowceBcdNlnjTA+kWQeYLZiYelybgqAS+BEOh33V2kPSGP4GvfXLIhJ1KogwzGFoAqB 9ll708cmMrcjV+D9rycPylus6qkJOXpKE/w+O08PEABFikr/UgK5QieIU4FMuvELzevT HvMg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:references:user-agent :in-reply-to:message-id:mime-version; bh=v0/d8k+c2vSYJlO+Js/HgsD5AJkqL13jq5qKMC7hUgQ=; b=1SXijF4stRXtHNvJ170/r0nR9IljyiggNzpTr1IiNI6talp6hMmTlUOp/hzmUohfQ+ jH6rv692EvMwnx7tIwE5g5jd5pr4z5EUn4wokSoE+mt5tMbVp1Fe632qjfm9qIWVXxDz TF63s+SocDj5aMpSwXHTqsOzVJTv+MTn4ZTtqABxvX0S6r8LNJJ61s339WL58n/JrmLP fsnBe1JkRzB6dMSlvfoS64fBgUTPGwnPoz9HT/M2c0qk/JugB6rxRoGmw2hz2tnMMfZ4 IcN/JcGo/ydcYU/148eGF3BK0sFTbyziKg4HZbwlIU+fHTzBYkPx/JFkSOOX8yu4qI0u dYbw== X-Gm-Message-State: AOAM533bqh9dBWTCXbAK40+UGNjDhgIFfX+oOvDJ749TzWx5v0cRqwxP qLxeWF/q14/AQPljKzth/5JUXFWjxcM= X-Google-Smtp-Source: ABdhPJzajhcHuzlRJVFWIBaRuYASJ+qlg+qLrU0ubBAFMkOfNmrhkYwpbrLJiGNryx1eBnxQhkY8mQ== X-Received: by 2002:a17:90a:7602:: with SMTP id s2mr13732487pjk.197.1632760377065; Mon, 27 Sep 2021 09:32:57 -0700 (PDT) Received: from localhost (61-245-128-160.3df580.per.nbn.aussiebb.net. [61.245.128.160]) by smtp.gmail.com with ESMTPSA id u12sm18508003pgi.21.2021.09.27.09.32.55 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 27 Sep 2021 09:32:56 -0700 (PDT) From: Timothy To: Bastien Subject: Re: LaTeX export: grffile is a stub package Date: Tue, 28 Sep 2021 00:31:21 +0800 References: <541e781636903c64fdd032535948fe3a@teknik.io> <87pmsuc9op.fsf@gmail.com> <874ka658ol.fsf@gnu.org> User-agent: mu4e 1.6.5; emacs 28.0.50 In-reply-to: <874ka658ol.fsf@gnu.org> Message-ID: <87mtnyc72j.fsf@gmail.com> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" Received-SPF: pass client-ip=2607:f8b0:4864:20::62c; envelope-from=tecosaur@gmail.com; helo=mail-pl1-x62c.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 autolearn=ham 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: emacs-orgmode@gnu.org, meedstrom@teknik.io 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=1632760709; 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=v0/d8k+c2vSYJlO+Js/HgsD5AJkqL13jq5qKMC7hUgQ=; b=ZeAPVPbqoONUV3d2F+08iarmqZI7+jZbGZO7DhpGpbxcVczo3xUX7lEHCmLzcQAwJfdGM0 XXUL8IrEADqSnS6dLR98bkC4Zz9Di+gC21yWafpzoIZTQkIC8bgwHX1HH4ShTIPj+010wP Av+kO0nSZiReBZom1EDwMLq3cfBep+5QivFAyVLwbxDC4JkiuknYVUK0rT1vS5uCM//Whz cfZsRHVG3vtVz/XKy7a/QxzqZbOf1n9wTv7i56xAFy0c3K++KPWJgeu+2qhPyDhmv3w63n PastSmUaIt7Tw/AM8jCyMBVryCjAbMaOR9Y05Ng9PoKxw1tHlo/sQBS7sc7BQw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1632760709; a=rsa-sha256; cv=none; b=IDgmx3rMVsb9gUicrr2soFCE2uGGuhu5oOWi3PlODOavVkc/ZwTBe1ROd74HnSrdwMeWCj 3QUM7xokFOAgQqhKpicqGUP9yIZrYowhTE8ud9lraoIgt1Dcfwdx2XcAKbsX10yZAqZT8W beDUvx0Uk3JdokRohs553pibh97jd5YQjMHzhDZb8hDf0OLqyHgrKTEVGlD25d4b2+K0gD G0wkyFwT2LaDLtjvYq3hl/vB6kwczbTc+f7LSX4ed75PGfuUbIco5vpH84lrdt437OOXa5 7Rxsoeatjn/pwupUXgoqbE9Bu82Ji5gMyVt0TdCc1kPu8bPZkoM/SiI+HTB5Bg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=j411qxOV; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); 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: 0.21 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=j411qxOV; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); 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: 4A64428972 X-Spam-Score: 0.21 X-Migadu-Scanner: scn0.migadu.com X-TUID: XULUXOMxkHnd --=-=-= Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Bastien writes: > Patch welcome :) Well, it=E2=80=99s a small thing so I whipped up a patch =F0=9F=99=82. All the best, Timothy --=-=-= Content-Type: text/x-patch Content-Disposition: attachment; filename=0001-org-Remove-obsolete-default-LaTeX-packages.patch >From 9728ad2fc166cb6d15df9ff4b2179680a2100f1b Mon Sep 17 00:00:00 2001 From: TEC Date: Tue, 28 Sep 2021 00:27:33 +0800 Subject: [PATCH] org: Remove obsolete default LaTeX packages * lisp/org.el (org-latex-default-packages-alist): Remove grffile and textcomp from the list of default LaTeX packages to load, as they've been obsolete for quite a few years now. * etc/ORG-NEWS: Announce the removal of grffile and textcomp from `org-latex-default-packages-alist'. --- etc/ORG-NEWS | 6 ++++++ lisp/org.el | 9 +++------ 2 files changed, 9 insertions(+), 6 deletions(-) diff --git a/etc/ORG-NEWS b/etc/ORG-NEWS index 9d19a812c..42a142474 100644 --- a/etc/ORG-NEWS +++ b/etc/ORG-NEWS @@ -528,6 +528,12 @@ for each parameter and use more readable expression in bookmarklet: url: location.href, title: document.title}) #+end_example +*** Remove obsolete LaTeX packages from ~org-latex-default-packages-alist~ + +The LaTeX packages =grffile= and =textcomp= are redundant, with their +capabilities being merged into =graphicx= and the LaTeX core +respectively a while ago. + * Version 9.4 ** Incompatible changes *** Possibly broken internal file links: please check and fix diff --git a/lisp/org.el b/lisp/org.el index 4c681eb4d..a02a1fdf2 100644 --- a/lisp/org.el +++ b/lisp/org.el @@ -3467,13 +3467,11 @@ (defcustom org-latex-default-packages-alist '(("AUTO" "inputenc" t ("pdflatex")) ("T1" "fontenc" t ("pdflatex")) ("" "graphicx" t) - ("" "grffile" t) ("" "longtable" nil) ("" "wrapfig" nil) ("" "rotating" nil) ("normalem" "ulem" t) ("" "amsmath" t) - ("" "textcomp" t) ("" "amssymb" t) ("" "capt-of" nil) ("" "hyperref" nil)) @@ -3487,15 +3485,14 @@ (defcustom org-latex-default-packages-alist - inputenc, fontenc: for basic font and character selection - graphicx: for including images -- grffile: allow periods and spaces in graphics file names - longtable: For multipage tables - wrapfig: for figure placement - rotating: for sideways figures and tables - ulem: for underline and strike-through - amsmath: for subscript and superscript and math environments -- textcomp, amssymb: for various symbols used - for interpreting the entities in `org-entities'. You can skip - some of these packages if you don't use any of their symbols. +- amssymb: for various symbols used for interpreting the entities + in `org-entities'. You can skip some of this package if you don't + use any of the symbols. - capt-of: for captions outside of floats - hyperref: for cross references -- 2.33.0 --=-=-=--