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 CJpNBnnJqGUwjwAAe85BDQ:P1 (envelope-from ) for ; Thu, 18 Jan 2024 07:47:21 +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 CJpNBnnJqGUwjwAAe85BDQ (envelope-from ) for ; Thu, 18 Jan 2024 07:47:21 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20230601 header.b=GgpWEjH8; 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=gmail.com ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1705560441; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=KaCsK9fBrBov8r3NQNpT159Ktr8zDW9OB673ME/O+DY=; b=TlS+iA44jK7+po70VcPrPDTguIxx+w43rCeFO+sOdPcpEjLMFSIH3gJDMnTrPU+Pe0PgBE elon1KxBMVhxhqbFe0zn+n+4erHF2j9t4FK8l7J2v4nOTdr/jW9kmYcrs0t43R6k5xi7ad VB1kXcwYlaiE3rvQwOIIltWW7PFlkcIij5HLHvFDdLLlqhwacOq89uC2AA5LkA7fWqY/Cr PXY2g0g/7RCWMNZXF5y6gYZz2GUxsqeW1pBflUG0hl2dlTsGidJtAl7329fCFVtJ6gxyjd 6qmDghmwr7F7mI6mL9nP+JmcRMoxTdHWERs37x12JQWwJCVdNLdOipey5BRjPQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20230601 header.b=GgpWEjH8; 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=gmail.com ARC-Seal: i=1; s=key1; d=yhetil.org; t=1705560441; a=rsa-sha256; cv=none; b=hyt2a/xuPvV0X+/2ZsvXvr/HqmEhc42KCU0dJpkHGf9Hum91/PO9gbvLVHpoY4DbYOSZzM XMrsL9TT2HN0ucQOzDcKmQVqRX+e8OfI6PUyjfQ6+q3QyaBcfll5AY06AqwL3FFU441JbU SrWKyP5a5OmRwAxtOFB15ymIV7PLgGFa4GeWzUE91qZjv2Y2o06q6D8+OIjV6cEu9DsBBx 9Ihc6conJp3kh/J+xMsCWxlap1y7Mjr9ansWh31QaZvuJfKFDHe4B5Bb6s9ONNXdl3AqLz 0CBVK+b9UGpMkSfbs2Awc2kvS4CrkU5/ZuItUTd/ZQTjdWgmCAF5zgtEnyD4iA== 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 AA6C95CC74 for ; Thu, 18 Jan 2024 07:47:20 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rQMAZ-0004sS-4e; Thu, 18 Jan 2024 01:46:31 -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 1rQMAT-0004rk-GQ for emacs-orgmode@gnu.org; Thu, 18 Jan 2024 01:46:28 -0500 Received: from mail-lf1-x135.google.com ([2a00:1450:4864:20::135]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rQMAP-0003mc-OI for emacs-orgmode@gnu.org; Thu, 18 Jan 2024 01:46:24 -0500 Received: by mail-lf1-x135.google.com with SMTP id 2adb3069b0e04-50e72e3d435so11499590e87.2 for ; Wed, 17 Jan 2024 22:46:15 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1705560374; x=1706165174; darn=gnu.org; h=to:subject:message-id:date:from:mime-version:from:to:cc:subject :date:message-id:reply-to; bh=KaCsK9fBrBov8r3NQNpT159Ktr8zDW9OB673ME/O+DY=; b=GgpWEjH8RQeGvo3Zi4haUqq/ZH848QcFRLrU6qs3MTRaZwkFrADfcM4qDIgfblLpJ1 Xjn5JOnpTHyiIvtRfNtDqUyRmdiVVOiCB4IN7MpCr3tFsxyLQfPMifkRHzQEEH26UNLo rUK3xIh45iaEmxd3N079VZhplA/OxX2o/WLjO76js6aXr1X/whOQPvV9xbwiGyUj5c9N VhvKltXrV4Fu7+q3BaNlNYv1Migmakle1ib+UUwGhZn7HulNgK8kJGs10GxTLN9BnmhF kuakS5RP9NbMF2xzalHp+HYkR9P/luYXQfJiAYrupEdvEhGYb0INEexNVMqLwSs3lXXy SKww== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1705560374; x=1706165174; h=to:subject:message-id:date:from:mime-version:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=KaCsK9fBrBov8r3NQNpT159Ktr8zDW9OB673ME/O+DY=; b=AgfJdTTUSinH4UM+PxtKXUeYqueH+aL4b915g+XW7yZTcViNkRRePB2HUp0RtHKU3V 875uok6gyGMC630CQ+t1VeQH454G9/k8buFF9cv21Qkjl5duCRkgA0tQWD46n63DvIFv 9SYBaoCOikMQzbHPC0KjpjugzCCT8+CUOeNIo1IoarMKWxGkTrpvDnj1rTG0O0fggUN7 I+dyZxdNLu079iiWtoIGLp0j1ewhQtdXWwj055QRa/naFyAZ0xo2AScoMZV754/aYsWQ Rx+vsMwl54TbzNFV3AUS9WnKsZgbQXH6fvdrzS30pS0ckiQ7VKLN2cNzf8D4dDYG7CJk a+RA== X-Gm-Message-State: AOJu0Yxej9luom1gBTT3xOhBeNwZP57L8b9+9+GQl71+/HCVuG+BWNL8 PgtRZUhPfQCyN0jfkAE9b3BqfN/1rnFZB9JQRQ5F7ck7MvV3kHK54whcfsltvbWCcSg2ETxFDlk STm0Y11mV1tQFJGjB5KDjXHC05Ex0qcSbltcXZA== X-Google-Smtp-Source: AGHT+IFVMC+m27gvx92SzbW+qo42ZpG529Ahw9SBcGJOdXJPQh0Igyv1rTPvgTpED3JdzmS4kOq8mseCb323mh4bMGQ= X-Received: by 2002:a05:6512:230e:b0:50f:c24:39f7 with SMTP id o14-20020a056512230e00b0050f0c2439f7mr138829lfu.0.1705560373536; Wed, 17 Jan 2024 22:46:13 -0800 (PST) MIME-Version: 1.0 From: Pedro Andres Aranda Gutierrez Date: Thu, 18 Jan 2024 07:45:47 +0100 Message-ID: Subject: Re: #+LATEX_HEADER: \usepackage[greek,german]{babel} ?? To: Org Mode List , Ihor Radchenko Content-Type: multipart/alternative; boundary="000000000000352cbb060f32b817" Received-SPF: pass client-ip=2a00:1450:4864:20::135; envelope-from=paaguti@gmail.com; helo=mail-lf1-x135.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: -5.00 X-Migadu-Queue-Id: AA6C95CC74 X-Spam-Score: -5.00 X-Migadu-Scanner: mx11.migadu.com X-TUID: KvJjiVvHJcXd --000000000000352cbb060f32b817 Content-Type: text/plain; charset="UTF-8" Hi Just to document this discussion a bit more: Ihor writes: >Horst Leps writes: > >> #+latex_class: koma-article > >This is non-standard. >What is your value of org-latex-classes? There is a translation from koma-article to scrartcl in the org-latex-classes, so that is not the problem. >> Makes: >> ... >> \usepackage[germanb]{babel} >> ... >> \usepackage[greek,german]{babel} >> ... >> ------------------- >> >> ! LaTeX Error: Option clash for package babel. >> ------------------- >> >> Only one latex run. Tableofconts Table remains empty. >> >> Supposition: >> >> 1. The Latex source contains {babel} twice, but only once is allowed. > >ox-latex tries hard to not duplicate babel. I am unable to reproduce >duplication with your file (but with #+latex_class: koma-article removed) Despite this, there is a repetition, and the clash is because ox-latex wants ngerman wiith #+language: de while Horst wants to use germanb. The clash is between what ox-latex generates and what Horst tries to add with #+LATEX_HEADER: Actually, he also needs greek and for that I have recommended to customise variables so that fontenc is "LGR,T1" and the parameters for babel are "greek,AUTO", instead of trying to add a #+LATEX_HEADER: \usepackage[LGR,T1]fontenc, because that also generates a package option clash. That is something we might need to explore more, if/when people need/want to use pdflatex instead of luatex or xelatex. >> 2. There is an error in my Orgmode code because it exports {babel} once >> too many > >Does the problem persist without #+latex_class: koma-article? Once again, yes, because it is mainly a matter of #+language. I think we need the following 1) more docs on #+language 2) more thought on multilingual documents (#+language: gr,de) 3) more though on documents with multiple font encodings. Best, /PA -- 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 --000000000000352cbb060f32b817 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hi Just to document this discussion a bit more:
=

Ihor writes:
>Horst Leps <horstleps@outlook.de> writes:
>
>> #+= latex_class: koma-article
>
>This is non-standard.
>What = is your value of org-latex-classes?

There is a translation from koma= -article to scrartcl in the org-latex-classes, so that is not the problem.<= br>
>> Makes:
>> ...
>> \usepackage[germanb]{bab= el}
>> ...
>> \usepackage[greek,german]{babel}
>>= ; ...
>> -------------------
>>
>> ! LaTeX Error= : Option clash for package babel.
>> -------------------
>&g= t;
>> Only one latex run. Tableofconts Table remains empty.
>= ;>
>> Supposition:
>>
>> 1. The Latex source = contains {babel} twice, but only once is allowed.
>
>ox-latex t= ries hard to not duplicate babel. I am unable to reproduce
>duplicati= on with your file (but with #+latex_class: koma-article removed)
=
Despite this, there is a repetition, and the clash is becaus= e ox-latex wants ngerman wiith
#+language: de
while Hor= st wants to use germanb. The clash is between what ox-latex generates and w= hat Horst tries to add with #+LATEX_HEADER:

Actual= ly, he also needs greek and for that I have recommended to customise variab= les so that fontenc is "LGR,T1" and the parameters for babel are = "greek,AUTO", instead of trying to add a #+LATEX_HEADER: \usepack= age[LGR,T1]fontenc, because that also generates a package option=C2=A0clash= .

That is something we might need to explore more,= if/when people need/want to use pdflatex instead of luatex or xelatex.
=C2=A0
>> 2. There is an error in my Orgmode code be= cause it exports {babel} once
>> too many
>
>Does the = problem persist without #+latex_class: koma-article?
Once again, ye= s, because it is mainly a matter of #+language.=C2=A0
I think we = need the following
1) more docs on #+language
2) more t= hought on multilingual documents (#+language: gr,de)
3) more thou= gh on documents with multiple font encodings.

Best= , /PA
--
Fragen sind nicht da, um beantwort= et 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 le= ader-deposed hook here, but we can't yet

--000000000000352cbb060f32b817--