From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.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 YATHASmw2mKHgQEAbAwnHQ (envelope-from ) for ; Fri, 22 Jul 2022 16:11:53 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id gACrASmw2mKDFgAAauVa8A (envelope-from ) for ; Fri, 22 Jul 2022 16:11:53 +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 92641E85B for ; Fri, 22 Jul 2022 16:11:52 +0200 (CEST) Received: from localhost ([::1]:44396 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oEtNf-00083f-RG for larch@yhetil.org; Fri, 22 Jul 2022 10:11:51 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:52786) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oEtJa-0004CT-T8 for emacs-orgmode@gnu.org; Fri, 22 Jul 2022 10:07:40 -0400 Received: from mout01.posteo.de ([185.67.36.65]:55495) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oEtJY-0006eH-N9 for emacs-orgmode@gnu.org; Fri, 22 Jul 2022 10:07:38 -0400 Received: from submission (posteo.de [185.67.36.169]) by mout01.posteo.de (Postfix) with ESMTPS id 9C660240028 for ; Fri, 22 Jul 2022 16:07:34 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1658498854; bh=lhZpPo5n1H63CSa/+umMJJO9o1/PT/5rbKuM8xwQBmU=; h=From:To:Cc:Subject:Date:From; b=rX3rE7dadtp+OlcBhizSvwldt2DhM/SPO9QqDAqWMrmCg5JgD6VE0f8m5V7ISyPOZ 4kaky/JJGDGaZL9Zl7bxrL2UPhGPyBdQ3fVfAeFZBEiJxwKet3uhNvCbe/4GczAzLO y8H8D0T8lEGoaAE348GJUh+cs5zYltq850ZgO/wQ8At27w533KeAKF0c77dz7VMhQp /7anyG2xmiWkp84WKkdy2IIyXXNaKxDOtjQgpxLP9pV2sV7nR5rWIcDndo9Nm4e3MK mcURDGwN87ngm1roFRgSn+XygLO0PxCrBN1Pvqwzv2+tfJR6WkmQAEyiwZNPWmyX2M DnJjHMqe7x6YA== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4LqB8k0pPKz9rxR; Fri, 22 Jul 2022 16:07:32 +0200 (CEST) From: =?utf-8?Q?Juan_Manuel_Mac=C3=ADas?= To: Maxim Nikulin Cc: orgmode Subject: Re: [PATCH] ox-latex.el: Unify in one single list Babel and Polyglossia languages alists References: <87sfxiw2jp.fsf@posteo.net> <87czeduxnz.fsf@localhost> <87lesvlvos.fsf@posteo.net> <87bkto83n7.fsf@localhost> <87v8rtno2j.fsf@posteo.net> <87h73c527u.fsf@posteo.net> <87mtd3a2uw.fsf@posteo.net> <87wnc6wk3n.fsf@posteo.net> <87v8rp48i5.fsf@posteo.net> Date: Fri, 22 Jul 2022 14:07:31 +0000 In-Reply-To: <87v8rp48i5.fsf@posteo.net> ("Juan Manuel =?utf-8?Q?Mac=C3=AD?= =?utf-8?Q?as=22's?= message of "Fri, 22 Jul 2022 12:49:54 +0000") Message-ID: <87r12d44ws.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, 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=1658499112; 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=lhZpPo5n1H63CSa/+umMJJO9o1/PT/5rbKuM8xwQBmU=; b=isVgdoPBDhxX3LSH+93g+NRY3CThuLeaz3eeL4NBqx7oKit1i7kknWyFmMjWXOL+5SxfPl ayXZcULIsLqqOjX4XeKicNJt7lILRQbL0nUqF0tnreGABweXa5PJRv+/zki543VlOj6xpJ xsInfnIVFOa7i7uzM5baZFt3VxO4hZLj6thxCZoz5RmhJl+QSiou/77lXbzV/fBi8TMVZe KTnKmH2DSq/pgz358TdjdfjAwXrJWWZ98QAlEgVvgTFybfzCWEVyS8sUSWZVGzpg26y5f9 3gSvvek2K6xqK47LVLkhbp+gPLOmdkauYa+yMM7yoarMrzObcrCyZMRBJlNyAQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1658499112; a=rsa-sha256; cv=none; b=g3N2kUVds7/eefG6LVdkWssEGvVrUyzCYVKwe5ptvNLQZpwZ6QMUWvRDkZN0J4LWUdNuB3 BiNw6v6KAY5nswHLCBg4ma6/1whhDDlR/ZHBzSxFhm2AjPTjBux83cnRSH7Ch0OYQ3j+UP NQze6UhU3Z5YTlffsvZ1Gw4mYPmg04YwOiklMUL3c0k/ptXk6DhZzNurEMU+E9y147gPqm EYy58HtjyPkctUkiafSBbC7Olx8ZYlGgg6ZSl2bujnjy5DX+tN/Z3eaKy19ntkXteKgwif 9odhvoHN1ndrdDuj8jZGPHQHZud3zDGcMW7A4q5IwJ+vmo6fcYzazaU0zMHLhQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=rX3rE7da; dmarc=pass (policy=none) header.from=posteo.net; 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: -2.63 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=rX3rE7da; dmarc=pass (policy=none) header.from=posteo.net; 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: 92641E85B X-Spam-Score: -2.63 X-Migadu-Scanner: scn1.migadu.com X-TUID: t0SuP0fkZGRE Juan Manuel Mac=C3=ADas writes: > OK, so why not just: > > #+latex_header: % NOLANG > > ? Forget this. On second thought, I think that the option you proposed "#+LaTeX_Header: % \usepackage{babel}" is much better. (I don't know where my head was and I didn't remember there was a string-match, so your suggestion is the shortest way. However, the line would have to be (with arguments): #+LaTeX_Header: % \usepackage[something]{babel} or #+LaTeX_Header: % \usepackage[something]{polyglossia} or modify the regexp in org-latex-guess-babel/polyglossia-language.