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 uH1vFGz7+GQ5gAAA9RJhRA:P1 (envelope-from ) for ; Thu, 07 Sep 2023 00:21:32 +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 uH1vFGz7+GQ5gAAA9RJhRA (envelope-from ) for ; Thu, 07 Sep 2023 00:21:32 +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 65A9B5DB30 for ; Thu, 7 Sep 2023 00:21:30 +0200 (CEST) Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=OfPpYDMO; 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=1694038891; 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=/nxezK+hbI9RZ6Xf/RQ7xcgjeeSUvvMgKQX5/W9p9WQ=; b=Dq054DjatQEpxtdMD/gJdrXFv+jaHPkUxYsKTt8heK6ihqj4xoNNkF7rPVBfkFCliwA7xe JRkEY3sHaN61xN4E4AOECAnOyXMqi3o1zSo/nt0aPvIo1f4GXsYWgOTpG1mF6AzAJntpxj /C1jr9oVf6HYYEWzzRL7xTWGKnKKqA9+lYCwrbD+6d4GhyZqN/wYI628UnYiUkdhQQMqmy DrTNIDhUgXD63qo7lE+Ik6SSexFoV4vdaEoWBxFjix2ptCtuijrFMvcwRo4fOBjA5HtDLt DyyROzvVrHlEtFaZzN1kCiQIvIH8Xuxg1xw57x/Q8I4jY6cCd9MxGx4xDLKOsg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=OfPpYDMO; 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=1694038891; a=rsa-sha256; cv=none; b=RHIW5COEUdCKV/dCUWMQLC3GEGcBjJlwd0oHkYQOTDhJRm41+yD0q5DRG/k4gm3oW5K7T8 sTcuvGqlUYoyaKr6dXDLVxEvxBxrugqQ/W+zj551siA1b88WOSDVd/WrOKa4iviYch8hEZ 2kfa8i3d9NpLUr4cAyXUncZaBlHUMXtGKr1jzr2owN89MlOpD5XpYgA4VE3lq6dCbGTgCM epdFttGvzYAsrIx1AdTJM2SIorDsAp9q3Ne029cbFL+E1jEnuaRxM9xC29Lm8kxbeTd8l9 wKX9U8djSKM4+5lqnsdmCt5PRDKrB0+8kAwIwEedacBhuCsuRvS1Tvx9ytTHdg== Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qe0sz-0003y8-EA; Wed, 06 Sep 2023 18:20:33 -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 1qe0sx-0003xv-LA for emacs-orgmode@gnu.org; Wed, 06 Sep 2023 18:20:31 -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 1qe0su-0002PZ-CX for emacs-orgmode@gnu.org; Wed, 06 Sep 2023 18:20:31 -0400 Received: from submission (posteo.de [185.67.36.169]) by mout02.posteo.de (Postfix) with ESMTPS id 291CD240104 for ; Thu, 7 Sep 2023 00:20:25 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1694038825; bh=XEcAfe9nMuVYdPy5uoF9NcN96W89QxjbLk+46Ed1e5Q=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version: Content-Transfer-Encoding:From; b=OfPpYDMOL6rRmRBC4bquCJGKco6WBKSlAXP24qG4N4RVZoKxGbcZbFaGKmf0AeYUH cPCNtGsINqAapIk15fnj8IfNWCKyP6KSAqE7wRacArOWcXKG7AywAdizxbzyUeztl9 Sa376D/Vc+JMu6eQjMM/8NQPH0sHVrwWeSBCt5qrOu1KrNtT+kgKIHg9s0TFWbTLrC aD13WyTTcIrEFyRjIuBzJHdu3osqEgILvvcM/+VHhI3aX57cZkWy6W7ToZQVvnvZ19 zbTbtbsY2cPRYQKE64MHU1Uz65jI7WAwhekSCYollRa7SUJ/3Id5jWiXJ17V6ZyA8A 152galI0SOSRw== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4Rgxdh4Jxgz9rxD; Thu, 7 Sep 2023 00:20:24 +0200 (CEST) From: =?utf-8?Q?Juan_Manuel_Mac=C3=ADas?= To: Max Nikulin Cc: emacs-orgmode@gnu.org Subject: Re: ox-latex language handling in Org-9.5 vs 9.6 In-Reply-To: (Max Nikulin's message of "Wed, 6 Sep 2023 21:55:04 +0700") References: Date: Wed, 06 Sep 2023 22:20:21 +0000 Message-ID: <87v8cneyfu.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-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Queue-Id: 65A9B5DB30 X-Migadu-Scanner: mx1.migadu.com X-Migadu-Spam-Score: -8.41 X-Spam-Score: -8.41 X-TUID: dbeZ0oVBVaXt Max Nikulin writes: > I consider the following as an issue rather close to the discussion in=20 > the thread > Juan Manuel Mac=C3=ADas. Fallback fonts in LaTeX export for non latin=20 > scripts. Wed, 30 Aug 2023 08:25:53 +0000. > https://list.orgmode.org/878r9t7x7y.fsf@posteo.net > > https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=3D1042450 > elpa-org: #+LANGUAGE: de-de is not working in LaTeX export. Debian Bug=20 > report logs > > I am unsure if the change was intentional. I seem to remember that when I made org-latex-language-alist I made some corrections to a few language codes. I was guided by page 19 of the Babel manual and by https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes In both lists the language code for German is simply "de". Of course, I'm no expert on the subject, so if I'm wrong in this case, I should revert the change. I understand that de-de is German of Germany (=3D"de"?);= on org-latex-language-alist exists de-at (Austrian German). The babel ini file for german babel/locale/de/babel-de.ini has this id: [identification] charset =3D utf8 version =3D 1.3 date =3D 2020-06-30 name.local =3D Deutsch name.english =3D German name.babel =3D german name.polyglossia =3D german tag.bcp47 =3D de language.tag.bcp47 =3D de tag.bcp47.likely =3D de-Latn-DE tag.opentype =3D DEU script.name =3D Latin script.tag.bcp47 =3D Latn script.tag.opentype =3D latn level =3D 1 encodings =3D T1 OT1 LY1 derivate =3D no and babel-de-AT.ini: [identification] charset =3D utf8 version =3D 1.3 date =3D 2020-06-30 name.local =3D Deutsch name.english =3D German name.babel =3D austrian german-austria german-at name.polyglossia =3D german tag.bcp47 =3D de-AT language.tag.bcp47 =3D de tag.opentype =3D DEU region.local =3D =C3=96sterreich region.english =3D Austria region.tag.bcp47 =3D AT script.name =3D Latin script.tag.bcp47 =3D Latn script.tag.opentype =3D latn polyglossia.variant =3D austrian polyglossia.spelling =3D new level =3D 1 encodings =3D T1 OT1 LY1 derivate =3D no ini files use german and german-at, but in classic babel nomenclature (ldf files) we have ngerman and naustrian. Maybe it should be corrected like this: ("de-de" :babel "ngerman" :polyglossia "german" :polyglossia-variant "germ= an" :lang-name "German") ("de" :babel-ini-only "german" :polyglossia "german" :polyglossia-variant = "german" :lang-name "German") The case of de-at is more problematic because a single language code serves for naustrian (ldf) and (ini:) austrian, german-at and german-austria. Some new property, something like :babel-ini-alt, would have to be introduced . There are other similar cases on the list, such as el-polyton, which points to polutonikogreek (ldf). In general, except in cases where only the ini file exists, I used the ldf nomenclature for backward compatibility. In any case, these dances of language names between some places and others make the list of language names that Ihor is working on increasingly necessary.=20 --=20 Juan Manuel Mac=C3=ADas https://juanmanuelmacias.com https://lunotipia.juanmanuelmacias.com https://gnutas.juanmanuelmacias.com