From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id 4PbjIe6aymLIXAEAbAwnHQ (envelope-from ) for ; Sun, 10 Jul 2022 11:25:02 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id ogP4Ie6aymKTgQAA9RJhRA (envelope-from ) for ; Sun, 10 Jul 2022 11:25:02 +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 46F0910CE7 for ; Sun, 10 Jul 2022 11:25:02 +0200 (CEST) Received: from localhost ([::1]:41734 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oATBV-0005Cj-Fo for larch@yhetil.org; Sun, 10 Jul 2022 05:25:01 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:42970) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oATB6-0005CY-49 for emacs-orgmode@gnu.org; Sun, 10 Jul 2022 05:24:36 -0400 Received: from mail-pl1-x632.google.com ([2607:f8b0:4864:20::632]:46827) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oATB4-0006Qj-Ii for emacs-orgmode@gnu.org; Sun, 10 Jul 2022 05:24:35 -0400 Received: by mail-pl1-x632.google.com with SMTP id l12so2150267plk.13 for ; Sun, 10 Jul 2022 02:24:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:in-reply-to:references:date:message-id :mime-version:content-transfer-encoding; bh=trokEfk7IbkhEDq7PhcotFs5sNeePDQ8FwMlRPQLY3g=; b=BngCgimd9Yi3mcW3GRNeOrDdsUABRhCMfApyb4nuQSJxI+f9csVkMnXbLGLkybJi1X ye6OXkHcoJ/GvOixcfODfn60g7w8k5BeNvqjAN7rq451n6UeCMlPr84WM+SY6UsLRibU RZPSj1KyNxpCec32cLQ8EH10hKMyZ5lcwNtb4eQt7CwwTPLyGjde4HUMbe3HuWGLHcPL sFy2vJip008EjSp8tjs61rsLJtXQpGR8pxOzNOryD4uG7yI4ENZdYT2sCjvYRJK7gQzk ylSZUkQyzb5VXaDbFiWGsz/EZKC+B2dehXbfFpRHV6cS3hXnCpFnhWcN+mk2DngB0Ulc 53FA== 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:in-reply-to:references:date :message-id:mime-version:content-transfer-encoding; bh=trokEfk7IbkhEDq7PhcotFs5sNeePDQ8FwMlRPQLY3g=; b=DaqnGAQ3/ohGs0pmuTd0QUIDq20RONrsXElQMnvR9AwNk/pr7eO77hqlJH89t+PevI q+IPf/1HHv99gn+wf/iErcDXSIF4Og4+hefRxo91SFQ/qlxNtgt65BqaUPzQ+Em2Fl9Z 08jcStPhr/Kx6d4B3TOLb50CW8POTSti8ukzbNMCqtzN7xNpLxQ/O+I+5ziVij4UOxEu kdBazfH3sWI+mAxamMrSdPOB2ziYDdDu+ZBsC9wsuHXBOMStr1N673ng5YNPm6DoVAXA KhyIp0jnXh6LGzFTPwdkte/1+8CjuST2/AuSfcmzT7TxtbdMpz+MJc7RO5Kfvk9Ulsxw abVA== X-Gm-Message-State: AJIora9sCOhGSQztWgm5dNZC6NEcZd1ljJmEWrCCvxgRPc8p4Hd9c590 YmExEQHevp8PLr4iiVuZg34= X-Google-Smtp-Source: AGRyM1vV4gavho8yBQ50Y/10K406zwbAAFqqGPhkpFfSnKw1MrRKTVTazKSKVAOIa6DWzJ8PmmxPBQ== X-Received: by 2002:a17:90a:d50d:b0:1ef:9130:f96b with SMTP id t13-20020a17090ad50d00b001ef9130f96bmr10635770pju.235.1657445073115; Sun, 10 Jul 2022 02:24:33 -0700 (PDT) Received: from localhost ([210.3.160.230]) by smtp.gmail.com with ESMTPSA id k15-20020aa79d0f000000b00528c16966casm2690676pfp.174.2022.07.10.02.24.31 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 10 Jul 2022 02:24:32 -0700 (PDT) From: Ihor Radchenko To: Juan Manuel =?utf-8?Q?Mac=C3=ADas?= Cc: orgmode Subject: Re: [PATCH] ox-latex.el: Unify in one single list Babel and Polyglossia languages alists In-Reply-To: <87sfxiw2jp.fsf@posteo.net> References: <87sfxiw2jp.fsf@posteo.net> Date: Sun, 10 Jul 2022 17:25:36 +0800 Message-ID: <87czeduxnz.fsf@localhost> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=2607:f8b0:4864:20::632; envelope-from=yantar92@gmail.com; helo=mail-pl1-x632.google.com X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 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_ENVFROM_END_DIGIT=0.25, 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: , 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=1657445102; 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=trokEfk7IbkhEDq7PhcotFs5sNeePDQ8FwMlRPQLY3g=; b=MW5mP3S2fLJmVyFLuaAn3257EvrIibDUfQScI6ae6k+1sLuKntIl8/QTYlloSsnoOgHmc0 Ov8z4iBCSaQCbbZSSvSGab2qtlg+V94ZY5GZsgVybc45oIh3vYkJpc4J7/md2vMvQNBwEP 8BMiNRX2g/4ciKSyHoOQhIuxfxkpb7p9I2jsfnxdoL14umNc1ez1RXLmChyt5bINYo9SQm Br4omt12VnMzg0qVAdJ9FzARf4ua8fvP51WNwHMuYjjQvgqvOZR5RZ8gJLaISh9wxRcaSY niwaJKqJXNhnUIgz6ZM0U/Vn9suiCcT24H4mWyPBw5vZOhe7LqLpF7q/So1FNA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1657445102; a=rsa-sha256; cv=none; b=G55ZdEVHMRbUKyDuyH8F0+HbzagFzsv6vNmFhtIUzWx0ZD9q4DbNn9pH6OpDxoiNi2RQ4E B1Om+PwFTYF0Qua3vy7ZpZO7Hdgm8catXpqZ2u4dsR0Mi4MKfZTm41bqHX5FaIb+d+A0tU 3SUjTN0Zli8GzD1dQ7y+7VDxMpo+ZN6fpVlDwplavc1NF/ePzq6pmKR8SCC6EeVm1YK38g lWWYDYJ0zJdfICkIyAT7kVRTa2F/1KUDjFp5+7l544NP6VbJuHE3n0k2/zhx/GiP3+vVvg gis+5h9DqF8Z+Yzgq630OPRKbnjiild/MtGhQHqzS9e71xEfZnVU1gzsHA7caA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=BngCgimd; 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: -5.75 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=BngCgimd; 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: 46F0910CE7 X-Spam-Score: -5.75 X-Migadu-Scanner: scn0.migadu.com X-TUID: RNCK0jqeB6LI Juan Manuel Mac=C3=ADas writes: > I'm attaching a patch with a proposal to unify in a single constant > (named `org-latex-language-alist') > `org-latex-polyglossia-language-alist' and > `org-latex-babel-language-alist', along with some necessary (minor) > modifications in `org-latex-guess-polyglossia-language' and > `org-latex-guess-babel-language' > > The new list, which is not exhaustive, is built taking as a reference > the documentation of Babel and Polyglossia in their latest versions > within TeX live 2021. It also assumes the latest improvements in the > babel package (on the current state of the art regarding the babel and > polyglossia packages, see this previous thread: > https://list.orgmode.org/87wnmv4s87.fsf@posteo.net/). I have also > corrected some minor inconsistencies in the previous two lists. Thanks! This looks like an improvement. However, we may need to preserve the old defconsts for the time being and declare them obsolete. Otherwise, the patch looks fine from a cursory look. Best, Ihor