From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <emacs-orgmode-bounces+larch=yhetil.org@gnu.org>
Received: from mp1.migadu.com ([2001:41d0:403:4876::])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits))
	by ms13.migadu.com with LMTPS
	id gEwBN8Mq4WalYQAA62LTzQ:P1
	(envelope-from <emacs-orgmode-bounces+larch=yhetil.org@gnu.org>)
	for <larch@yhetil.org>; Wed, 11 Sep 2024 05:29:40 +0000
Received: from aspmx1.migadu.com ([2001:41d0:403:4876::])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits))
	by mp1.migadu.com with LMTPS
	id gEwBN8Mq4WalYQAA62LTzQ
	(envelope-from <emacs-orgmode-bounces+larch=yhetil.org@gnu.org>)
	for <larch@yhetil.org>; Wed, 11 Sep 2024 07:29:40 +0200
X-Envelope-To: larch@yhetil.org
Authentication-Results: aspmx1.migadu.com;
	dkim=pass header.d=gmail.com header.s=20230601 header.b=bPFxm6rU;
	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";
	dmarc=pass (policy=none) header.from=gmail.com
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org;
	s=key1; t=1726032579;
	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:
	 in-reply-to:in-reply-to:references:references:list-id:list-help:
	 list-unsubscribe:list-subscribe:list-post:dkim-signature;
	bh=YoRXgJJksqw9NFtLhMjypIVCYnfF0w077u70IzDYuIc=;
	b=FDW7jS/elyJD/eLmUNAcpE80fF4NjfAUfqNReQULe+2BiwtoXxD8AdfzFmg9FdwAVbO6Zl
	IxsTuy2ybWOLQZc1pd38KTl/zWnbb9MQulrDa3ifMhFbN+dEK9womiPfRsU0xV5gQti83H
	1BDzsfQzaOe9j1VVntgLOuXJ+Xz1hwdSLfsmtTDB/lWdUHFRqmDs72SghqGyCPxBqdjTzk
	0paChvNwDveebwVbtOUYSK7WuOywNeXg09fucITlN6bt3xJs4n4L5Do2bH/AdMeGBhTIvM
	Y+x1cZM77EjTmrAH2zprrBwuUMMux912gOBkjN+Kwq3Kf08LyS02sk/mkp0TuQ==
ARC-Authentication-Results: i=1;
	aspmx1.migadu.com;
	dkim=pass header.d=gmail.com header.s=20230601 header.b=bPFxm6rU;
	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";
	dmarc=pass (policy=none) header.from=gmail.com
ARC-Seal: i=1; s=key1; d=yhetil.org; t=1726032579; a=rsa-sha256; cv=none;
	b=KeGhV5U5rvnPg6QlhNz3S+Kgmk7Q2ga2mABZPxX8Z3MHHtw3TMXU1ICSeO0Q4L3+hNTWwo
	sP2tTfpzXQ7uoi341RQiMqrkBw/HWhNCqXuWPWejoU2bPfQya0LukRuDETeGC7fMq3p0Is
	ODmTCUH2rtPZDRiYznkhFao9cSUFG++bSOsN3xJv4l5sgBNB+yScefhi0yKMQFBGzfVP/S
	78u6mynH2ao8RDH6XzNormdlyf9moxjDHF1DDsD4wKIt4rn0lvlqjbe7QAtmSq0fKkimYB
	zbOwKWQUZ/bUmQhh3baOyVoGH0MSzpmrEfv8IM3LI8QlG/rSlc05+zWzqTNlyg==
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 967CF36B1
	for <larch@yhetil.org>; Wed, 11 Sep 2024 07:29:39 +0200 (CEST)
Received: from localhost ([::1] helo=lists1p.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.90_1)
	(envelope-from <emacs-orgmode-bounces@gnu.org>)
	id 1soFuT-0003kO-Lc; Wed, 11 Sep 2024 01:28: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 <paaguti@gmail.com>) id 1soFuQ-0003V7-P4
 for emacs-orgmode@gnu.org; Wed, 11 Sep 2024 01:28:54 -0400
Received: from mail-wm1-x32c.google.com ([2a00:1450:4864:20::32c])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)
 (Exim 4.90_1) (envelope-from <paaguti@gmail.com>) id 1soFuO-0004XK-UM
 for emacs-orgmode@gnu.org; Wed, 11 Sep 2024 01:28:54 -0400
Received: by mail-wm1-x32c.google.com with SMTP id
 5b1f17b1804b1-42cb60aff1eso30381265e9.0
 for <emacs-orgmode@gnu.org>; Tue, 10 Sep 2024 22:28:52 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=gmail.com; s=20230601; t=1726032531; x=1726637331; darn=gnu.org;
 h=to:references:message-id:content-transfer-encoding:cc:date
 :in-reply-to:from:subject:mime-version:from:to:cc:subject:date
 :message-id:reply-to;
 bh=YoRXgJJksqw9NFtLhMjypIVCYnfF0w077u70IzDYuIc=;
 b=bPFxm6rUuNg+3eaWDanxOARkH60xqLhnoIfamvAmWxaY5j5AxzkXDfk8BJQ+duvd9T
 AUZi0050kJ9uLyVPlKnieeWCZxewOEuRfBQ68mIT1Qbsk1xcAL9BoxFVUxVURz3XPcg4
 21jg6jbuQTI6GwMMTuGh69tfwEIfkBPWOn32PdwcMiCKawCq4ZLgNgJvaVF7S1Kcpp+0
 zIGw3aKCPYXwF9aYC0E8G5LY7z8LxXAPVqtSdRd53eN82h/FRsMwpRRtpn9Hj9r3SW9G
 O3/2OiOjNquX1xHy4PZR2hIBjmXTAB91L0rMqxLC9B3PhDCZyWxaGHomx+Ak38dOfOJ+
 MoKQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20230601; t=1726032531; x=1726637331;
 h=to:references:message-id:content-transfer-encoding:cc:date
 :in-reply-to:from:subject:mime-version:x-gm-message-state:from:to:cc
 :subject:date:message-id:reply-to;
 bh=YoRXgJJksqw9NFtLhMjypIVCYnfF0w077u70IzDYuIc=;
 b=IHFlwdz7Q86X9mGKdJ1vtA58orc8SVQdrbDcdBrYVnbh+XfdX6YH06WiByFR9WVx6b
 OUPbri4RatQV4dwTMtMceuX7gWj/uQ/5pQWwOZ/1i052aeUO3nUa+vcJt2xFVA53EDjQ
 88uglsUnOURh5gsjyMoL1jZQNJP+q5Mk4Amf4ZOh4EbUZZWvbz5ALIvb9PxsAod3snrK
 625o1iq0NgKhNlJiJDk9cadM6FAJ/ByTOaa41iz0Ix4qX9k7RocgfAYXdqf93O0oxJBD
 YBTf2Cy8ukXKve6HjZM0NxRMRO3sdDTAkqo5ZPU2HxzZpr3VhraDqSexmSFE4Zwg7nEX
 LAyA==
X-Gm-Message-State: AOJu0YwtWliCtcq7njnBdRuqRm4OmGg8tTG3UwbL4Jm2WPm/hTRp/OML
 Z+Z2KJchz0XxCnOdezObH5h0ikMnl8vasuc2LglnHXcFcGhmJkat
X-Google-Smtp-Source: AGHT+IEmRCWVbrw/yyWWaisBt+rtQtiirD4/Le040Z6cbvPjM/U66LO5k6gD+8Cbl6prMsSoZRJcNg==
X-Received: by 2002:a05:600c:5128:b0:42c:b62c:9f36 with SMTP id
 5b1f17b1804b1-42cb62ca18fmr74420485e9.5.1726032530459; 
 Tue, 10 Sep 2024 22:28:50 -0700 (PDT)
Received: from smtpclient.apple (127.red-79-148-63.dynamicip.rima-tde.net.
 [79.148.63.127]) by smtp.gmail.com with ESMTPSA id
 5b1f17b1804b1-42cb742d0a1sm92427405e9.2.2024.09.10.22.28.49
 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128);
 Tue, 10 Sep 2024 22:28:50 -0700 (PDT)
Content-Type: text/plain;
	charset=utf-8
Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3696.120.41.1.10\))
Subject: Re: [DISCUSSION]: LaTeX - include the xcolor package in the packages
 list
From: Pedro Andres Aranda Gutierrez <paaguti@gmail.com>
In-Reply-To: <87h6apqnad.fsf@localhost>
Date: Wed, 11 Sep 2024 07:28:48 +0200
Cc: Org Mode List <emacs-orgmode@gnu.org>
Content-Transfer-Encoding: quoted-printable
Message-Id: <113128B8-EC80-4C8C-89C1-0E2384CE7958@gmail.com>
References: <CAO48Bk-ntHVVZuhD5Ytmbsx95LUAsR0ghprUzzYkogcb95bPkg@mail.gmail.com>
 <878qw2rqqu.fsf@localhost>
 <CAO48Bk8=M8NoZ6Skz4FxgHRRWXcyvSh2SiZ4KAJHKdh-J6kkww@mail.gmail.com>
 <87mskhqs3p.fsf@localhost>
 <CAO48Bk_vCQfDjZnXhqSG2DAxW-7dv6e578=0z=zk8MNMtuOS8w@mail.gmail.com>
 <87h6apqnad.fsf@localhost>
To: Ihor Radchenko <yantar92@posteo.net>
X-Mailer: Apple Mail (2.3696.120.41.1.10)
Received-SPF: pass client-ip=2a00:1450:4864:20::32c;
 envelope-from=paaguti@gmail.com; helo=mail-wm1-x32c.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.29
Precedence: list
List-Id: "General discussions about Org-mode." <emacs-orgmode.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/emacs-orgmode>,
 <mailto:emacs-orgmode-request@gnu.org?subject=unsubscribe>
List-Archive: <https://lists.gnu.org/archive/html/emacs-orgmode>
List-Post: <mailto:emacs-orgmode@gnu.org>
List-Help: <mailto:emacs-orgmode-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/emacs-orgmode>,
 <mailto:emacs-orgmode-request@gnu.org?subject=subscribe>
Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org
Sender: emacs-orgmode-bounces+larch=yhetil.org@gnu.org
X-Migadu-Country: US
X-Migadu-Flow: FLOW_IN
X-Spam-Score: -9.31
X-Migadu-Queue-Id: 967CF36B1
X-Migadu-Scanner: mx10.migadu.com
X-Migadu-Spam-Score: -9.31
X-TUID: HGNS7J2IdRSg

Hi

> El 9 sept 2024, a las 9:49, Ihor Radchenko <yantar92@posteo.net> =
escribi=C3=B3:
>=20
>> It could also help a lot in `org-latex-src-block-backend': there we =
ask to
>> load package color... why not xcolor to get a richer control of =
colours?
>=20
> I guess that you are referring to
>=20
>    When using listings, you also need to make use of LaTeX package
>    "listings".  The "color" LaTeX package is also needed if you
>    would like color too.  These can simply be added to
>    org-latex-packages-alist, using customize or something like:
>=20
>      (require 'ox-latex)
>      (add-to-list 'org-latex-packages-alist '("" "listings"))
>      (add-to-list 'org-latex-packages-alist '("" "color"))

A first step would be to use xcolor here. It gives just much more =
control over colors, if and when you need it.=20

>=20
> We can indeed include color package, but I do not see why we should do
> it by default. We may instead include it conditionally, only when
> listings backend is selected by the user.
> Just as it is done for engraved.

I would say that we include graphicx by default, even when we are not =
going to use it in many documents. In my case it is a 50/50 of using =
graphics vs- pure text documents ;-)

>=20
> --=20
> Ihor Radchenko // yantar92,
> Org mode contributor,
> Learn more about Org mode at <https://orgmode.org/>.
> Support Org development at <https://liberapay.com/org-mode>,
> or support my work at <https://liberapay.com/yantar92>