From f8da0d50662ce68c4918e7c965a329c4982f5e65 Mon Sep 17 00:00:00 2001 From: marc Date: Fri, 23 Jan 2026 19:10:38 +0100 Subject: [PATCH 1/3] remove useless rowstyle --- dnd4e.sty | 5 ----- 1 file changed, 5 deletions(-) diff --git a/dnd4e.sty b/dnd4e.sty index 2374d74..5411cd7 100644 --- a/dnd4e.sty +++ b/dnd4e.sty @@ -523,11 +523,6 @@ UprightFont = *.ttf, % ==================== TABLES ========================== % ====================================================== - -\newcommand{\rowstyle}[1]{\gdef\currentrowstyle{#1}% - #1\ignorespaces -} - \newenvironment{dndtable}[2][] % optional options + column spec {% \global\let\currentrowstyle\relax From 5de255956325b1116bd06ef39db377f3f1809fbf Mon Sep 17 00:00:00 2001 From: marc Date: Sun, 25 Jan 2026 00:57:01 +0100 Subject: [PATCH 2/3] Add path to fonts --- dnd4e.sty | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/dnd4e.sty b/dnd4e.sty index 5411cd7..a2a3195 100644 --- a/dnd4e.sty +++ b/dnd4e.sty @@ -16,6 +16,7 @@ \RequirePackage{fontspec} \RequirePackage{enumitem} \RequirePackage{xspace} +\RequirePackage{expl3} \tcbuselibrary{skins,breakable} @@ -46,7 +47,7 @@ % ====================================================== \newfontfamily\FontMentor[ -Path = ./fonts/mentor/, % path to the folder containing your OTF files +Path = \CurrentFilePath/fonts/mentor/, % path to the folder containing your OTF files UprightFont = *-Regular.otf, BoldFont = *-Bold.otf, ItalicFont = *-Italic.otf, @@ -54,7 +55,7 @@ BoldItalicFont = *-Bold-Italic.otf ]{Mentor-Std} \newfontfamily\FontMentorSans[ -Path = ./fonts/mentor-sans/, % path to the folder containing your OTF files +Path = \CurrentFilePath/fonts/mentor-sans/, % path to the folder containing your OTF files UprightFont = *-Regular.otf, BoldFont = *-Bold.otf, ItalicFont = *-Italic.otf, @@ -62,14 +63,14 @@ BoldItalicFont = *-Bold-Italic.otf ]{Mentor-Sans-Std} \newfontfamily\FontMentorSansLight[ -Path = ./fonts/mentor-sans/, % path to the folder containing your OTF files +Path = \CurrentFilePath/fonts/mentor-sans/, % path to the folder containing your OTF files UprightFont = *-Light.otf, BoldFont = *-Bold.otf, ItalicFont = *-Light-Italic.otf ]{Mentor-Sans-Std} \newfontfamily\FontMentorSansBlack[ -Path = ./fonts/mentor-sans/, % path to the folder containing your OTF files +Path = \CurrentFilePath/fonts/mentor-sans/, % path to the folder containing your OTF files UprightFont = *-Black.otf, BoldFont = *-Black.otf, ItalicFont = *-Black-Italic.otf @@ -77,7 +78,7 @@ ItalicFont = *-Black-Italic.otf \newfontfamily\FontVecna[ -Path = ./fonts/vecna/, % path to the folder containing your OTF files +Path = \CurrentFilePath/fonts/vecna/, % path to the folder containing your OTF files UprightFont = *-Regular.otf, BoldFont = *-Bold.otf, ItalicFont = *-Italic.otf, @@ -85,12 +86,12 @@ BoldItalicFont = *-Bold-Italic.otf ]{Vecna} \newfontfamily\FontLolth[ -Path = ./fonts/lolth/, % path to the folder containing your OTF files +Path = \CurrentFilePath/fonts/lolth/, % path to the folder containing your OTF files UprightFont = *-Regular.otf, ]{Lolth} \newfontfamily\FontIcons[ -Path = ./fonts/icons/, % path to the folder containing your OTF files +Path = \CurrentFilePath/fonts/icons/, % path to the folder containing your OTF files UprightFont = *.ttf, ]{icons} From 841873cfcabac23a7ab9d08cd8e5c2e941a22803 Mon Sep 17 00:00:00 2001 From: marc Date: Sun, 25 Jan 2026 01:35:35 +0100 Subject: [PATCH 3/3] Move titlesec import --- class-formatting.sty | 2 ++ dnd4e.sty | 1 - 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/class-formatting.sty b/class-formatting.sty index 64cf19c..ec4b3c9 100644 --- a/class-formatting.sty +++ b/class-formatting.sty @@ -1,3 +1,5 @@ +\RequirePackage{titlesec} + % Default font \setmainfont[ Path = ./fonts/mentor/, % path to the folder containing your OTF files diff --git a/dnd4e.sty b/dnd4e.sty index a2a3195..17361bc 100644 --- a/dnd4e.sty +++ b/dnd4e.sty @@ -11,7 +11,6 @@ \RequirePackage{tabularx} \RequirePackage{colortbl} \RequirePackage{tcolorbox} -\RequirePackage{titlesec} \RequirePackage{pifont} \RequirePackage{fontspec} \RequirePackage{enumitem}