[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

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



On 13/09/2023 03:12, Nicholas D Steeves wrote:
Changes will be included into the next major Org mode release.

So 9.6.10 or possibly 9.7.0.

The patch is committed to the main branch, but not to bugfix, so >= 9.7.0.

#+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

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.

yes

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

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).

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}


Reply to: