- Make all packages Expl3.

- Replace ifthen dependency with wrappers for Latex3 conditionals.
- Debug CrossRef and WrapBoxout.
This commit is contained in:
2025-09-18 16:51:12 -05:00
parent 72ab67463b
commit e2a0277635
21 changed files with 278 additions and 183 deletions

View File

@@ -1,5 +1,7 @@
\NeedsTeXFormat{LaTeX2e}
\ProvidesPackage{PrimeTeX/packages/Color}[2025-07-09]
\ProvidesExplPackage{PrimeTeX/packages/Color}{2025-09-18}{1.0}{
Color definitions.
}
% Split Complementary Color Scheme
% Primary Color: Blue
@@ -120,7 +122,7 @@
Orange, fbefe9 % #fbefe9
}
\ifthenelse{\boolean{isDarkMode}\AND\boolean{isElectronic}}{
\bool_if:nTF {\g_dark_mode_bool && \g_electronic_bool} {
% Page and text colors.
\colorlet{pageColor}{PrimeDarkGray}
\colorlet{textColor}{PrimePastelGray}
@@ -144,7 +146,7 @@
% Layout preview frame color.
\colorlet{layoutColor}{PrimeGray}
}{
} {
% Page and text colors.
\colorlet{pageColor}{white}
\colorlet{textColor}{black}