rpgtex / DND-5e-LaTeX-Template

LaTeX package to typeset material for the fifth edition of the "world's greatest roleplaying game".
MIT License
1.41k stars 301 forks source link

German 'ß' does not work with lualatex #346

Open jackerschott opened 1 year ago

jackerschott commented 1 year ago

Running

\documentclass[10pt,twoside,twocolumn,nodeprecatedcode]{dndbook}

\usepackage[ngerman]{babel}
\usepackage[utf8]{inputenc}

\begin{document}
    \section{Groß}
    Groß.
\end{document}

with LuaLaTeX leads to the 'ß' being displayed as 'SS', like this

image

However, when using the book class, the 'ß' does get displayed correctly. This seems to be due to \RequirePackage[T1]{fontenc} in lib/dndfonts.sty. If I see this correctly, then fontenc has to be loaded for the bookman font to work correctly, while fontenc should not be used with LuaLaTeX.

BrianCriswell commented 1 year ago

Okay, looks like this will take some digging to rearrange things in the internals.