From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id kJEVHgtZrWUqXQAAe85BDQ:P1 (envelope-from ) for ; Sun, 21 Jan 2024 18:48:59 +0100 Received: from aspmx1.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2.migadu.com with LMTPS id kJEVHgtZrWUqXQAAe85BDQ (envelope-from ) for ; Sun, 21 Jan 2024 18:48:59 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=GjdUXztb; 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=1705859339; 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:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=e1cfFW9eOXfhSq93LP8oArqSisrV15Mkgoj81f7iKFs=; b=sTUAgqYB7jMFelmeREP3EtzoTbj6SZfM3kTxVKrmpAc4o9TKQTVEHupELVEWcN1uKt6YRv IskHWtcn7sCgI73ynfG8h0RExd+ikqxtrPdo4cXMxXargTU/Rhyg8UgGCH/WEPpQfj8lap 1/+1QnE9dAaEDHgey+PkGzKvAdoZvK/oK0iOBJhJuttiVjlaTPS67oP34Mv7+baG4DpBxM akYDbm7HtRId4hm+tlU9ZLItVzT4aBw244no+cvU6cI/mdwwfxe3bbIK4Hg4mZbyEE4zsZ o8dKtxeM800lwdZXOXbVc5UhFDXm/qVJjijUhYn2wmsN6SS7gI1m0dF0FZUjFQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=GjdUXztb; 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=1705859339; a=rsa-sha256; cv=none; b=RQCTxGGDETe6gQ2tMRh9ViS4V/RqjBiemjpctcyKyr2JR/G6VEI2v7eu7b7KWTahEG797H gRlkeg9VXKfTTyzrNI6zObp5V0ogOTaqUNcZe9fKGJcjhOkkQSRYxoZnlsEfrX2dn0c83H CsgMnV2BfZuUE1fJ1UjtaoHfm/5dYJWjiRpLUe3EUQuu1l8hIb/YHIvnLUlGUHDTfNjOL3 ROa2h0nwoMabY16f3G16RWrUu+sWIG6djWG8OlaXahkAg/aDiQqL/YYEX5U4XUfjZjNm76 gJ3T4e6Oz+jJJExpv0ZBJsigBPp/aUoCEqiQB1DN/4VNEHaE5fqUOnIQIGs/pw== 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 524493F885 for ; Sun, 21 Jan 2024 18:48:59 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rRbvY-0002Rs-1k; Sun, 21 Jan 2024 12:48:12 -0500 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 1rRbvP-0002RL-SK for emacs-orgmode@gnu.org; Sun, 21 Jan 2024 12:48:05 -0500 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 1rRbvL-0001dt-Sn for emacs-orgmode@gnu.org; Sun, 21 Jan 2024 12:48:02 -0500 Received: from submission (posteo.de [185.67.36.169]) by mout01.posteo.de (Postfix) with ESMTPS id CCBBE240028 for ; Sun, 21 Jan 2024 18:47:54 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1705859274; bh=O90ARixBraoSBl7123SDn2DJPCBqojexun6vHCHsY/k=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version:Content-Type: From; b=GjdUXztb0HkmLD1I6e0v7tB++CXVNDIV08drjlNPy5F9fI7owf11xjtT60NpB4GZz WaM1A82SjZDkV6iA1LbCRB4mIWxN+b5lS2cXj1TAyTcnI/MscIgfwFAEKNz4RydpVC h0Pt2ay//mTwM58F5Uj1VUOYG8QfhMHN3nUv4aOMPoo7pnjcEyMM5EZyglbtepB3VK 1OpRyQvUds8kgHedp8vS3FXHZUKkdR+39ROwn5xcjp2thcHPVF4O0cNAXGqgbnviLF SkNCSwkkraxoPYK3x3acwgI7OuKhlYuao/NBhG+R6RMY7Y6CComW1zm+tDn9Ad86fh AVpS7wtaV90Ng== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4TJ16219Wcz9rxG; Sun, 21 Jan 2024 18:47:53 +0100 (CET) From: =?utf-8?Q?Juan_Manuel_Mac=C3=ADas?= To: Pedro Andres Aranda Gutierrez Cc: Ihor Radchenko , Org Mode List Subject: Re: New try at multi-lingual export to latex/pdf using pdflatex and babel In-Reply-To: (Pedro Andres Aranda Gutierrez's message of "Sun, 21 Jan 2024 18:11:43 +0100") References: <87sf2qg7pg.fsf@localhost> Date: Sun, 21 Jan 2024 17:47:50 +0000 Message-ID: <878r4i37eh.fsf@posteo.net> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=185.67.36.65; envelope-from=maciaschain@posteo.net; helo=mout01.posteo.de X-Spam_score_int: -53 X-Spam_score: -5.4 X-Spam_bar: ----- X-Spam_report: (-5.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=-1, RCVD_IN_MSPIKE_WL=-0.01, 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-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Spam-Score: -7.81 X-Migadu-Queue-Id: 524493F885 X-Spam-Score: -7.81 X-Migadu-Scanner: mx11.migadu.com X-TUID: /PFLN3WOv6mu Pedro Andres Aranda Gutierrez writes: > +#+begin_example > +,#+latex_class_options: [greek,spanish,oneside] > +,#+language: es > +,#+latex_header: \PassOptionsToPackage{main=spanish}{babel} > +,#+latex_header: \usepackage{alphabeta} % to support greek script > +#+end_example I think this example doesn't take advantage of the AUTO facility, which is what the section is about. Btw, maybe it would be nice to extend ''AUTO'' to latex_class_options and \PassOptionsToPackage? Something like: #+latex_class_options: [greek,AUTO,oneside] #+language: es ... However, I would only find the \PassOptionsToPackage command useful in classes that already load babel with a main language. From Org, using just pdfTeX, I think it would be simpler: #+language: es #+latex_header: \usepackage[greek,AUTO]{babel} #+latex_header: \usepackage{alphabeta} % to support greek script or this variant, using babelprovide and an INI file: #+language: es #+latex_header: \usepackage[greek]{babel} #+latex_header: \babelprovide[import,main]{AUTO} #+latex_header: \usepackage{alphabeta} Best regards, Juan Manuel