From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:403:4789::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id 2EhYGCEz+2SHdAAA9RJhRA:P1 (envelope-from ) for ; Fri, 08 Sep 2023 16:43:45 +0200 Received: from aspmx1.migadu.com ([2001:41d0:403:4789::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id 2EhYGCEz+2SHdAAA9RJhRA (envelope-from ) for ; Fri, 08 Sep 2023 16:43:45 +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 29D3760324 for ; Fri, 8 Sep 2023 16:43:45 +0200 (CEST) Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=Oe9IZsiP; 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=1694184225; 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=ujllTl21cs24I5A/Zxtg1s8tmpbioXgsFwJMfRyCPBU=; b=t7IL9wDASxn3TRkCBBuA76yal2Hwlp1SJC2twTVQtKaHL+B/Cj7B/DFD/3Y/G+sj6SvfhZ OOtJQAU1YtK1kjRvfPdEz4kzSPV3YQZz+ZDvkTuH2Brx9UJmhmrvwFqwGLGFZdvyAPB9K/ Fuy0Ouz6tPietcpOH9jMqptRDc9LtG0wfzXxSqjz3tQRPdyQzcHXtlOYX94rQ+mBOLqAsT ou4Z2eFNm59Yo6WzUKRBeJ9uJvz6RGj936iYjiBEcrhH1Tmkyq74W7t0905TvHK044cOIV jVRhWtB8UJ0BiIEBlTcIXDXA3DkHqpyEHH++CnRC3l9j8J4mKY0t7JRqfOpFFA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=Oe9IZsiP; 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-Seal: i=1; s=key1; d=yhetil.org; t=1694184225; a=rsa-sha256; cv=none; b=g9cnyFZwZ1n3btE1bWLwVmRHOYMl5xkELt6n803bP1AyAVEGhzml93t5OhgwN/iKiJ6wRM x7wWEc8fbFmXJLUnhjepIYodY6CcelTpArK/u4JxFyDsHe94WRAU4sgSQeUL8TsXXGeesx 326ZeJMtx/7l0/fsCeiD8ZSncf884UijsnrLd4O0GpjoThdADNmc+R6Hj7RpbSDTJVd2G/ smM0YxkGKNqj9nlDYREn9zWVAdmtv3JZAXn9y83s9rijYItpG95/MrQNHHeNhNImkWGIU4 pXOF1cPU3h6AR5aVjeNAAI9NTRFPBf6BwS02Ch/3TzR+1u+pw4xqsRdCnWwkxg== Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qechN-0007am-HP; Fri, 08 Sep 2023 10:43:05 -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 1qechK-0007XE-3d for emacs-orgmode@gnu.org; Fri, 08 Sep 2023 10:43:02 -0400 Received: from mout01.posteo.de ([185.67.36.65]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qechG-0000NB-RX for emacs-orgmode@gnu.org; Fri, 08 Sep 2023 10:43:01 -0400 Received: from submission (posteo.de [185.67.36.169]) by mout01.posteo.de (Postfix) with ESMTPS id 1295C24002A for ; Fri, 8 Sep 2023 16:42:55 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1694184175; bh=Wu2YTFxWkx3PFNc9OjDhbG7u+sAhqoqP5RM6SWtn97k=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version: Content-Transfer-Encoding:From; b=Oe9IZsiPY6/iieT2cMSjujUpnbInlohGZSHV0OY3H9Iciy5e+egJrXNF2cMlXjUQt PETY65vAqQRXMXxeXFTP+hfS6/+e7gemLBciV9JHY8aO1Ym/Y0OXNBv1lCsCxY3uQE Ea4C6wEsgHju56HZ8rf1IX2QpZwMNGyZqvGhFQ4Fypw3iq1TRx/FbXd+iykmxwVKUX 30rmJ2LwmbhhGBjARQ/ix2o8Nle3doA9nJ+soKCus1uZDWp0INUlp1CdCFKribujaU MSiwJPQhfs+MIaEu5q02BIi/gPeH+Q/M7ed+9+QknhuTLZ0/NMxJJMHuAvq0IQnQZz h3CrWzXCiJ4aw== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4RhzNt2B4pz6tsb; Fri, 8 Sep 2023 16:42:54 +0200 (CEST) From: =?utf-8?Q?Juan_Manuel_Mac=C3=ADas?= To: Max Nikulin Cc: emacs-orgmode@gnu.org, Ihor Radchenko Subject: Re: ox-latex language handling in Org-9.5 vs 9.6 In-Reply-To: (Max Nikulin's message of "Fri, 8 Sep 2023 17:30:03 +0700") References: <87v8cneyfu.fsf@posteo.net> <87edjanqxb.fsf@localhost> <87o7ieukum.fsf@posteo.net> Date: Fri, 08 Sep 2023 14:42:51 +0000 Message-ID: <877cp0ybdg.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.65; envelope-from=maciaschain@posteo.net; helo=mout01.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-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Queue-Id: 29D3760324 X-Migadu-Scanner: mx1.migadu.com X-Migadu-Spam-Score: -6.94 X-Spam-Score: -6.94 X-TUID: KtzbfTb7dVHW Max Nikulin writes: > I am still unsure that de and de-de should be mapped to different > babel language configurations. I think that for practical purposes de and de-de should be treated the same in both babel and polyglossia. In the new fixed version of org-babel-language-alist I thought it would be useful to support a list of languages codes as car for each element, in addition to a simple string. In such a way: (("de" "de-de") :babel "ngerman" :babel-ini-alt "german" :polyglossia "germ= an" :polyglossia-variant "german" :lang-name "German" :script "latin" :scri= pt-tag "latn") I've had to make some small modifications to org-latex-guess-babel/polyglossia-language, to get that to work. :babel-ini-alt refers to an alternative name that is used only if \babelprovide is present. I'm also adding the :script and :script-tag properties for each language. I have done something similar with the case of Chinese Simplified (a new language that I have added): (("zh" "zh-cn") :babel-ini-only "chinese" :polyglossia "chinese" :lang-nam= e "Chinese Simplified" :script "hans" :script-tag "hans") Between today and tomorrow I will try to send the patch. I saw that org-latex-language-alist had a few typos as well, some inherited from the previous lists that were merged. --=20 Juan Manuel Mac=C3=ADas=20 https://juanmanuelmacias.com https://lunotipia.juanmanuelmacias.com https://gnutas.juanmanuelmacias.com