From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:403:478a::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id APmWKT8y/mR76gAAauVa8A:P1 (envelope-from ) for ; Sun, 10 Sep 2023 23:16:47 +0200 Received: from aspmx1.migadu.com ([2001:41d0:403:478a::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id APmWKT8y/mR76gAAauVa8A (envelope-from ) for ; Sun, 10 Sep 2023 23:16:47 +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 6ACD6E105 for ; Sun, 10 Sep 2023 23:16:46 +0200 (CEST) Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=NEyR+zbs; 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=posteo.net ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1694380606; 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=HEDJe+32LFB1zWaeD+A+9oJ1o0Vbc5lResm57aRrFXY=; b=E1pBiJB1zbU159StStv6EnFu0PODhj+MQpZ2aCdocUPrSqjV0H7RBWU/X+1V7qgzijbUXD hdQ4u4ZaNYZ4Az0Va9Jw3YtRd3HgUCefpTh6MMjExyhH3fydKH3Hd0rGI10C6O3YEE0erA 7XvwqbPw2C1BUIrCYdTItDgN7Z8hY0sivGbIPvnP+sA+90W7s1H/9LHrWOndilbnsZtwrA 3AAhjsP8duMxuTGzhI7dJr3OAbvwa1pOKWHrECggoaGaoznuisy1UWEapxLYsI7SK+ilVM jFOTHLkfV9wfmd5G3dovVqTb45SAZl4WqOx8g3xDBDDHXE126GpIro67eL4hqw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1694380606; a=rsa-sha256; cv=none; b=Zl5yWHL4dZK46Eup8qLxkLqcpThkjM3N8qKoOSdRORfD8Yw1CiU25MoG5R0IMg03e/J2OB bWP50dgU6OUiPMXtMmKzaDurl9HPZhE5NEZWxbisoSL93HHhjq5dPuvkofx0tPXxqJTl+g 3zDS5iPMpyV+j6Khyj4HZoJa0MlcEp/WRoVNT9YmXezU/tdR9LPwFKK9sYUjmtrbMQ0X2T bo6CMcLlJhcnpxSwoSCXzezva984Y5U/9bpOPlE0QPU4ws1R5SPJlMlVIHDwJQKH3s9mKj P4SydLDnTD+N48QCRanVvl0PB1ppwXgersx81y9tn98ENoDHKJtdZctbmj7oNw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=NEyR+zbs; 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=posteo.net Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qfRmY-0001mu-QH; Sun, 10 Sep 2023 17:15:50 -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 1qfRmU-0001m6-Lm for emacs-orgmode@gnu.org; Sun, 10 Sep 2023 17:15:46 -0400 Received: from mout02.posteo.de ([185.67.36.66]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qfRmR-0001Nn-E8 for emacs-orgmode@gnu.org; Sun, 10 Sep 2023 17:15:46 -0400 Received: from submission (posteo.de [185.67.36.169]) by mout02.posteo.de (Postfix) with ESMTPS id 74607240103 for ; Sun, 10 Sep 2023 23:15:40 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1694380540; bh=HEDJe+32LFB1zWaeD+A+9oJ1o0Vbc5lResm57aRrFXY=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version: Content-Transfer-Encoding:From; b=NEyR+zbso/q58Lx1xYnvt1osoKcYVmQWvtSZnH+UNjmIh4VDy2fTH2eXxx1J8wnuP g8xsYKe9FW43PRmObc9Ws1NBIRlMJ83F8a8CEan66l1bbHK6XpDdh4tM5j/s5gY9tt uoc/RaZvWwKQ/J0mj+e2Kt9bhErZ3M3mavc8zgv/kc9oOx/UYvPDe/k5TQBUXWNyPf DBK2yWZkdO1daMQef8qv46FnrgaPcGQUowkd0xh22CkgAjzokEnDjKy5K5pfugMT7I e+nH3Fjfz6T0um+sR+ao+wNMLwlg9Cfjnys9N+LGP2xD3Ge3J/Yz0IM/1EF/fdupzS bfnPRmgmYHtKA== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4RkN176r3nz6tmv; Sun, 10 Sep 2023 23:15:39 +0200 (CEST) From: =?utf-8?Q?Juan_Manuel_Mac=C3=ADas?= To: Ihor Radchenko Cc: Max Nikulin , emacs-orgmode@gnu.org Subject: Re: [patch] Fixes and improvements in org-latex-language-alist In-Reply-To: <877coy9djg.fsf@localhost> (Ihor Radchenko's message of "Sun, 10 Sep 2023 16:52:03 +0000") References: <87v8cneyfu.fsf@posteo.net> <87edjanqxb.fsf@localhost> <87o7ieukum.fsf@posteo.net> <877cp0ybdg.fsf@posteo.net> <8734zoxzd0.fsf_-_@posteo.net> <87tts37lsx.fsf@localhost> <877coy9djg.fsf@localhost> Date: Sun, 10 Sep 2023 21:15:37 +0000 Message-ID: <87y1hdvifa.fsf@posteo.net> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=185.67.36.66; envelope-from=maciaschain@posteo.net; helo=mout02.posteo.de X-Spam_score_int: -43 X-Spam_score: -4.4 X-Spam_bar: ---- X-Spam_report: (-4.4 / 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, RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_MSPIKE_H5=0.001, RCVD_IN_MSPIKE_WL=0.001, 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." 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-Country: US X-Migadu-Flow: FLOW_IN X-Migadu-Scanner: mx0.migadu.com X-Migadu-Spam-Score: -1.31 X-Spam-Score: -1.31 X-Migadu-Queue-Id: 6ACD6E105 X-TUID: TjIfoz3qXTYT Ihor Radchenko writes: > For context, I plan to provide a global language-identifier alist that > will link human-readable language names to abbreviations like "de", > "de-de", etc. These abbreviations are not unique to LaTeX, but also used > elsewhere, so there is no guarantee that babel .ini files will always > use a consistent set of language abbreviations. Is the code you're working on in a public repository, to keep an eye on? As I mentioned in previous messages, that seems like a great improvement to me. I think it was not a happy decision at the time to use languages codes to declare the language of the document in Org. Language codes can be useful at a low level (although they can also lead to confusion), but I think that for a user level it is more practical to use human-readable names, as is done in babel or polyglossia, and in general, any user interface outside of LaTeX. Although babel also allows language codes as a value for some \babelprovide options (for example, I can define a new "virtual" language, importing the Greek captions: \babelprovide[captions=3Del]{mylanguage}). In case it helps you, on page. 19 of the Babel manual there is an exhaustive list of all the languages codes, and on p. 22 a list of supported (human readable) language names for loading ini files. The language names of the old ldf files are on p. 49: https://CTAN/macros/latex/required/babel/base/babel.pdf --=20 Juan Manuel Mac=C3=ADas https://juanmanuelmacias.com https://lunotipia.juanmanuelmacias.com https://gnutas.juanmanuelmacias.com