From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id KJFeEJ9QrWV+YQAAqHPOHw:P1 (envelope-from ) for ; Sun, 21 Jan 2024 18:13:03 +0100 Received: from aspmx1.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0.migadu.com with LMTPS id KJFeEJ9QrWV+YQAAqHPOHw (envelope-from ) for ; Sun, 21 Jan 2024 18:13:03 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=fail ("body hash did not verify") header.d=gmail.com header.s=20230601 header.b=GJ6SdPzy; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); 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" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1705857183; 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=oTWuXwct2SjKR0Hhusj1AMTwXzd6/lCxNKCJIiqMErI=; b=ISvAywE1FvIYxy6g/d58hE5Lgg0ten/dECE1BX8W87ib1rRUQDdsVxOu3roW5b3q+2xJkv HXARYJ7jgZaBQMSToW2ztZVmxbDy7MtzSB/PMk2u22XuvE3H2awsjwVFpIlcb1VDoscWMK itpp81e+z56ECmHnylrNkgH61l6xAfRbz+9o2RzwcxrKhqcshWwiObLUexWhYXfz70gxUX NdTZ3+IcqDz624kjv1yxTpiycsEbk4yrnP355qlexv4PDqLjYLICOik75Pxf0AjiWaNKRi IM8dsZ37sDkypi6XfFx7Vx5nCHGf4wPCtwsvP1QT1yJjW8iKtFKepHcXJBnjXw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("body hash did not verify") header.d=gmail.com header.s=20230601 header.b=GJ6SdPzy; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); 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" ARC-Seal: i=1; s=key1; d=yhetil.org; t=1705857183; a=rsa-sha256; cv=none; b=of9uUEjW7dK0jLbst8VlPxupVH6HGSDnGPREokvIGYdS0ue4YJoOLtonKn6FPacCk27pI3 KycEEtuPSzb2FJXRR05XJYAej7v22csBk79Ii53FlND3P+SEgSGTB8AlCW9+QR3vLLXcKF 60a2RUwvROR6SDghiTTxKjvfA36oQol2yN4ugMcy4+iZwTUisICV2JoWvzfJgP4wpjy9bR b55lFb+L7YvyJu4ahQQrTnmdulwDkikhUuPM6ykBxr0iUWcEs6SVaS6GGP4Z4IeRv0RnVk eNEqNdTvcMBMR2ysdL3d0oh0DE4jHStfgWi4FcsP2oCJe1yeLjXH0mYJ+QHruA== 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 0408E22E93 for ; Sun, 21 Jan 2024 18:13:03 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rRbMl-0002Px-Lb; Sun, 21 Jan 2024 12:12:15 -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 1rRbMk-0002Pe-7K for emacs-orgmode@gnu.org; Sun, 21 Jan 2024 12:12:14 -0500 Received: from mail-ed1-x52d.google.com ([2a00:1450:4864:20::52d]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rRbMh-0000ae-Tr for emacs-orgmode@gnu.org; Sun, 21 Jan 2024 12:12:13 -0500 Received: by mail-ed1-x52d.google.com with SMTP id 4fb4d7f45d1cf-55a45a453eeso2857870a12.0 for ; Sun, 21 Jan 2024 09:12:11 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1705857130; x=1706461930; darn=gnu.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=EaYgEK5PgYjvxR+KrAXbh3UXVK2iRC3GDhqA3O+ovbY=; b=GJ6SdPzyStn/vMPBISVkl8PWV5a9a9rGC4XfRcP6TpedzYTHoOZvTs7x9KEKmCEM9s 8j8A78OFGo/0xVCdEEuEdHO/7dyNqt4WlhsIVu69tLySOS8Q5wfyIl7Xsujk1ypqS2TV r+e83lHovd5UYARjFzNT5wWDJWW04Qf/37MVvPNei8WxtnDY9NnL8I27DsuXhczJJF56 xnbAh3CBLX4NdGY+/COGqNwEJZ5PumSDP4muiyZzpdtxrrlMTZogtymEWezlLikAGf/w VD80PI6JRAUxqs+6GmD0kNDevtfH67ERkjvEDGBEZBNQynh1OfjeZq+vP9U0mQO0q5aH Tuag== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1705857130; x=1706461930; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=EaYgEK5PgYjvxR+KrAXbh3UXVK2iRC3GDhqA3O+ovbY=; b=Mk8Nv/5Bz+NBK2iazd+XD075pTfDYhgifGKghfV3EvS0WV4RKbk0utLtBNxGTXSwzm FZ+BnZE4dYQkO2ISLFzpDD47tlhl5VWGsV1QfymfRi+hDix6uiYqZYgtOuzNmU/IkvMV HaRKhkg0OHUIGnRsPzmm3hGGVNcZR0LorT0cRcbMNFt9WVHi4dL2wYxRIZZGAtJ7DUvq p9DHn5IlDxEaE7Da9S5Iw9PrpJ+qbtvcUdwXo/JQxlOcVJAAv8ZSlvAbDmg38U8uc92E byqZwbOG0oNrUsSzW5+J/7ucyRlU2JXg9gClAxgg1er/nT7tRxcN4iCcyRJsrs8MsJze nYCw== X-Gm-Message-State: AOJu0YyZZgpM4r8sOTi1entYI2ntPNvGQoSN0elVVHG2eWunmxY9qEe3 uT+CGR/yqQdVs8KKMeyUQSMNnNDvQ+Uokm9kLE3U8eDFgTkOG2axxoxYPDYeIMeGu2g/p3+XHoX e7HzUCA38CVMyNko+AXJmLOZdjptGrI9f X-Google-Smtp-Source: AGHT+IFekGfqlBOAtXJbL4DxBmRzZt/VZO8wx5NePyAPIEKUsZItO6Nfp0izSoKb92KaNSE8eVGTZWm+V/kzy3COipo= X-Received: by 2002:a05:6402:2684:b0:55c:2863:7818 with SMTP id w4-20020a056402268400b0055c28637818mr567549edd.3.1705857129477; Sun, 21 Jan 2024 09:12:09 -0800 (PST) MIME-Version: 1.0 References: <87sf2qg7pg.fsf@localhost> In-Reply-To: <87sf2qg7pg.fsf@localhost> From: Pedro Andres Aranda Gutierrez Date: Sun, 21 Jan 2024 18:11:43 +0100 Message-ID: Subject: Re: New try at multi-lingual export to latex/pdf using pdflatex and babel To: Ihor Radchenko Cc: Org Mode List Content-Type: multipart/mixed; boundary="0000000000003de1d8060f77d088" Received-SPF: pass client-ip=2a00:1450:4864:20::52d; envelope-from=paaguti@gmail.com; helo=mail-ed1-x52d.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 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, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, 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: 3.43 X-Spam-Score: 3.43 X-Migadu-Queue-Id: 0408E22E93 X-Migadu-Scanner: mx12.migadu.com X-TUID: EuC8MJxT4KlI --0000000000003de1d8060f77d088 Content-Type: multipart/alternative; boundary="0000000000003de1d5060f77d086" --0000000000003de1d5060f77d086 Content-Type: text/plain; charset="UTF-8" Thanks for the feedback, attached is a new version Best, /PA On Sun, 21 Jan 2024 at 13:59, Ihor Radchenko wrote: > Pedro Andres Aranda Gutierrez writes: > > > hopefully this is more informative. It complements the =polyglossia= > > example with some =babel= that can be compiled with pdflatex. > > Thanks! > Several minor comments. > > > From 4d0dcde4f8f149d3d028164c3cd3c8e9bff2a060 Mon Sep 17 00:00:00 2001 > > From: "Pedro A. Aranda" > > Date: Sun, 21 Jan 2024 09:39:35 +0100 > > Subject: [PATCH] Add multi-language babel example > > Please indicate that the patch deals with the manual in the first line: > > org-manual: Add multi-language babel example > > And add the changelog entry. > > > +Another example using ~pdflatex~ and ~babel~ and mixing Latin and > > =pdflatex= and =babel= I think - we use ~...~ mostly for Elisp code. > > > +Greek fonts in the document using the =\PassOptionsToPackage= command > > +from =babel= would be: > > + > > +#+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 > > + > > +Note that you can add more options to the ~latex_class_options~. > > =#+latex_class_options:= > > > +The important thing is that you include the *translated* name > > Maybe just /translated/? Bold is usually considered too strong > typographically. > > Also, I do not really understand what you mean by "translated" here. > > > +for the =#+language:# you specify in the other commands for > > =#+language:= > > -- > Ihor Radchenko // yantar92, > Org mode contributor, > Learn more about Org mode at . > Support Org development at , > or support my work at > -- Fragen sind nicht da, um beantwortet zu werden, Fragen sind da um gestellt zu werden Georg Kreisler Headaches with a Juju log: unit-basic-16: 09:17:36 WARNING juju.worker.uniter.operation we should run a leader-deposed hook here, but we can't yet --0000000000003de1d5060f77d086 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Thanks for the feedback, attached is a new version
Best, /PA

On Sun, 21 Jan 2024 at 13:59, Ihor Radchenko <= ;yantar92@posteo.net> wrote:<= br>
Pedro Andres Ara= nda Gutierrez <pa= aguti@gmail.com> writes:

> hopefully this is more informative. It complements the =3Dpolyglossia= =3D
> example with some =3Dbabel=3D that can be compiled with pdflatex.

Thanks!
Several minor comments.

> From 4d0dcde4f8f149d3d028164c3cd3c8e9bff2a060 Mon Sep 17 00:00:00 2001=
> From: "Pedro A. Aranda" <paaguti@gmail.com>
> Date: Sun, 21 Jan 2024 09:39:35 +0100
> Subject: [PATCH] Add multi-language babel example

Please indicate that the patch deals with the manual in the first line:

=C2=A0 org-manual: Add multi-language babel example

And add the changelog entry.

> +Another example using ~pdflatex~ and ~babel~ and mixing Latin and

=3Dpdflatex=3D and =3Dbabel=3D I think - we use ~...~ mostly for Elisp code= .

> +Greek fonts in the document using the =3D\PassOptionsToPackage=3D com= mand
> +from =3Dbabel=3D would be:
> +
> +#+begin_example
> +,#+latex_class_options: [greek,spanish,oneside]
> +,#+language: es
> +,#+latex_header: \PassOptionsToPackage{main=3Dspanish}{babel}
> +,#+latex_header: \usepackage{alphabeta} % to support greek script
> +#+end_example
> +
> +Note that you can add more options to the ~latex_class_options~.

=3D#+latex_class_options:=3D

> +The important thing is that you include the *translated* name

Maybe just /translated/? Bold is usually considered too strong
typographically.

Also, I do not really understand what you mean by "translated" he= re.

> +for the =3D#+language:# you specify in the other commands for

=3D#+language:=3D

--
Ihor Radchenko // yantar92,
Org mode contributor,
Learn more about Org mode at <https://orgmode.org/>.
Support Org development at <https://liberapay.com/org-mode>,=
or support my work at <https://liberapay.com/yantar92>


--
Fragen sind nicht da, um bea= ntwortet zu werden,
Fragen sind da um gestellt zu werden
= Georg Kreisler

Headaches with a Juju log:
unit-basic-16: 09:17:36 WARNING juju.worker.uniter.operation we should ru= n a leader-deposed hook here, but we can't yet

--0000000000003de1d5060f77d086-- --0000000000003de1d8060f77d088 Content-Type: text/x-patch; charset="US-ASCII"; name="0001-org-manual-Add-multi-language-babel-example.patch" Content-Disposition: attachment; filename="0001-org-manual-Add-multi-language-babel-example.patch" Content-Transfer-Encoding: base64 Content-ID: X-Attachment-Id: f_lrnr9qjl0 RnJvbSBkNTQwYWQ2NWQyMjhiZmIzMWE2NzJjYzFmN2E3NzE1MDRjYjNmNThjIE1vbiBTZXAgMTcg MDA6MDA6MDAgMjAwMQpGcm9tOiAiUGVkcm8gQS4gQXJhbmRhIiA8cGFhZ3V0aUBnbWFpbC5jb20+ CkRhdGU6IFN1biwgMjEgSmFuIDIwMjQgMTg6MDY6MTkgKzAxMDAKU3ViamVjdDogW1BBVENIXSBv cmctbWFudWFsOiBBZGQgbXVsdGktbGFuZ3VhZ2UgYmFiZWwgZXhhbXBsZQoKb3JnLW1hbnVhbC5v cmc6IEFkZCBtdWx0aS1sYW5ndWFnZSBiYWJlbCBleGFtcGxlCgoqIGRvYy9vcmctbWFudWFsLm9y ZzogQWRkIGFuIGV4YW1wbGUgZm9yIHRoZSBMYVRlWCBoZWFkZXIgY29tbWFuZHMKbmVlZGVkIHRv IGV4cG9ydCBtdWx0aS1sYW5ndWFnZSBkb2N1bWVudHMgdG8gcGRmbGF0ZXguIEluIHRoaXMgY2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