|
13 | 13 | \RequirePackage {etoolbox}
|
14 | 14 | \RequirePackage {textcomp,gensymb} % degree symbol for italian ordinals
|
15 | 15 | \RequirePackage {hang} % hanging paragraphs
|
16 |
| -\RequirePackage {keycommand} |
17 | 16 | \RequirePackage [autolanguage] {numprint} % localization of thousands separator
|
18 | 17 | \RequirePackage {tabularx} % variable-width table columns
|
19 | 18 | \RequirePackage [breakable,skins,xparse]{tcolorbox} % styled text boxes
|
20 | 19 | \RequirePackage {tikz} % drawing ornaments and lines
|
21 | 20 | \RequirePackage {xcolor}
|
22 |
| -\RequirePackage {xkeyval} |
23 | 21 | \RequirePackage {xparse} % \NewDocumentCommand and expl3
|
24 | 22 |
|
25 | 23 | \sys_if_engine_luatex:T
|
|
77 | 75 | \RequirePackage {lib/dndcolors} % color definitions
|
78 | 76 | \RequirePackage {lib/dndfonts} % font definitions
|
79 | 77 | \RequirePackage {lib/dndstrings} % Load document strings
|
80 |
| -\RequirePackage {lib/dnddeprecated} % Deprecated macros |
| 78 | + |
| 79 | +% Conditionally load deprecated code for backwards compatibility |
| 80 | +\bool_if:NF \l__dnd_no_deprecated_code_bool |
| 81 | + { \RequirePackage {lib/dnddeprecated} } |
81 | 82 |
|
82 | 83 | % Main modules in alphabetical order
|
83 | 84 | \RequirePackage {lib/dndcomment} % inline comment boxes
|
84 | 85 | \RequirePackage {lib/dndheader} % fancy headers and footers
|
85 |
| -\RequirePackage {lib/dndmonster} % \monsterbox definition |
86 |
| -\RequirePackage {lib/dndpaperbox} % \paperbox definition |
87 |
| -\RequirePackage {lib/dndquote} % \quotebox definition |
| 86 | +\RequirePackage {lib/dndmonster} % stat blocks |
88 | 87 | \RequirePackage {lib/dndreadaloud} % read-aloud text
|
89 |
| -\RequirePackage {lib/dndsections} % section styling |
| 88 | +\RequirePackage {lib/dndsections} % section styling and special section headers |
90 | 89 | \RequirePackage {lib/dndsidebar} % sidebars
|
91 |
| -\RequirePackage {lib/dndspell} % \spell definition |
92 |
| -\RequirePackage {lib/dndtable} % \dndtable definition |
| 90 | +\RequirePackage {lib/dndtable} % tables |
0 commit comments