#1042450 elpa-org: #+LANGUAGE: de-de is not working in LaTeX export

Package:
elpa-org
Source:
elpa-org
Submitter:
H.-Dirk Schmitt
Date:
2023-09-13 11:15:03 UTC
Severity:
normal
Tags:
#1042450#5
Date:
2023-07-28 10:23:15 UTC
From:
To:
I use a backport from sid/trixie below bookworm.
In difference to the 9.5 version the setting `#+LANGUAGE: de-de` is not working any more.
The option of the babel LaTeX package is in this case now empty.

An easy mitigation is to use instead `de-de` the `de` language code.

May somebody please check if this is a backport problem or reproducible in a „clean“ trixie setup.
-------------------------------------------------------------------------------

H.-Dirk_Schmitt
Dipl.Math.
eMail:dirk.schmitt@computer42.org
pgp: http://www.computer42.org/~dirk/OpenPGP-fingerprint.html

#1042450#10
Date:
2023-07-31 17:09:20 UTC
From:
To:
Hello,

H.-Dirk Schmitt <dirk@computer42.org> writes:

Have you eliminated issues pertaining to the new
org-latex-language-alist?

https://orgmode.org/Changes.html
https://orgmode.org/manual/LaTeX-specific-export-settings.html
https://orgmode.org/worg/org-irc.html

$ rmadison elpa-org
elpa-org   | 9.1.14+dfsg-3 | oldoldstable | all
elpa-org   | 9.4.0+dfsg-1  | oldstable    | all
elpa-org   | 9.5.2+dfsh-5  | stable       | all
elpa-org   | 9.6.7+dfsg-1  | testing      | all
elpa-org   | 9.6.7+dfsg-1  | unstable     | all

There are no other supported elpa-org versions in Debian.  Please
provide steps to reproduce (and/or an example file).

Regards,
Nicholas

#1042450#17
Date:
2023-09-12 14:39:04 UTC
From:
To:
893c5d085 2023-09-08 19:33:25 +0200 Juan Manuel Macias: ox-latex.el:
Fixes and improvements in `org-latex-language-alist'.
https://git.savannah.gnu.org/cgit/emacs/org-mode.git/commit/?id=893c5d085

See the emacs-orgmode mailing list thread for details
https://list.orgmode.org/orgmode/877coywan5.fsf@posteo.net/
Juan Manuel Macías. Re: [patch] Fixes and improvements in
org-latex-language-alist. Sun, 10 Sep 2023 11:06:06 +0000

Changes will be included into the next major Org mode release.

#+language: de
#+latex_header: \usepackage[AUTO]{babel}

results in

\usepackage[ngerman]{babel}
\hypersetup{
  % ...
  pdflang={German}}

It is a bit different from Org mode 9.5 however

\usepackage[germanb]{babel}
\hypersetup{
  % ...
  pdflang={Germanb}}

#1042450#22
Date:
2023-09-12 20:12:16 UTC
From:
To:
Max Nikulin <manikulin@gmail.com> writes:

Hi Max, thank you for investigating this, and thank you for the links
confirming it was fixed :)

So 9.6.10 or possibly 9.7.0.

I assume you mean 9.5.x, and that this will affect uses who upgrade from
Debian 12/bookworm (or older) to future 13/trixie.

Hm, this looks like something that should probably be noted in upstream
org-mode release notes, which would also eventually trickle down to
Emacs release (due to its bundled copy of org-mode).

Regards,
Nicholas

#1042450#29
Date:
2023-09-13 11:11:36 UTC
From:
To:
The patch is committed to the main branch, but not to bugfix, so >= 9.7.0.

yes

There are no modifications of the ORG-NEWS file in the commit. Perhaps
more significant changes are coming.

I am in doubts if pre-1996 "traditional" orthography (germanb) was
really intentional for "de". Perhaps post-1996 "reformed" style
(ngerman) is closer to user expectations. I do not speak German however,
so I can not judge if it was really a bug or (an obscure from my point
of view) feature. Long language mapping list was added at once.

Anyway those who need namely older "germanb" may use

#+language: de
#+latex_header: \usepackage[english,germanb]{babel}

instead of "AUTO"

#+language: de
#+latex_header: \usepackage[english,AUTO]{babel}