ashonit / DND-5e-LaTeX-Template

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

textcomp and gensymb packages cause compilation error #16

Open fverdoja opened 8 months ago

fverdoja commented 8 months ago

Hi, If I clone this repo and try to compile any of the given example files with either pdftex or lualatex I get the following error:

dndcore.def:15: Missing = inserted for \ifnum.
<to be read again> 
                   v
l.15 \RequirePackage
                     {hang} % hanging paragraphs 
dndcore.def:15: Missing number, treated as zero.
<to be read again> 
                   v
l.15 \RequirePackage
                     {hang} % hanging paragraphs 

This seems to be caused by line 14 in dndcore.def:

\RequirePackage {textcomp,gensymb} % degree symbol for italian ordinals

because commenting that line has the build finish with no issue. Could it be either of these packages is deprecated?

System info pdfTeX, Version 3.141592653-2.6-1.40.25 (MiKTeX 23.10.12), on Windows 11

ashonit commented 2 months ago

Hi fverdoja, I've been using pdflatex (currently 1.40.22) and can't reproduce this issue. It compiles with lualatex too:

$ lualatex --version This is LuaHBTeX, Version 1.14.0 (TeX Live 2022/dev/Debian)