- Debugging.

- Move all \RequirePackages to commonincludes.def.
This commit is contained in:
2025-09-12 16:15:29 -05:00
parent 0e68ac723d
commit 029916b8d6
19 changed files with 209 additions and 243 deletions

View File

@@ -1,18 +1,16 @@
\NeedsTeXFormat{LaTeX2e}
\ProvidesPackage{PrimeTeX/packages/Links}[2025-08-17]
\RequirePackage{PrimeTeX/packages/Color}
% Use Hyperref to automatically create links in the document
\RequirePackage[
final,
\hypersetup{
final,
colorlinks = true,
pdfpagemode = UseOutlines,
pdfdisplaydoctitle = true,
bookmarksnumbered = true,
bookmarksopen = true,
bookmarksopenlevel = 2,
]{hyperref}
}
\ifthenelse{\boolean{isElectronic}}{
\hypersetup{
@@ -30,6 +28,4 @@
\RenewDocumentCommand{\sectionautorefname}{}{Section}
\RenewDocumentCommand{\subsectionautorefname}{}{Subsection}
\RenewDocumentCommand{\subsubsectionautorefname}{}{Sub-subsection}
\RenewDocumentCommand{\paragraphautorefname}{}{Paragraph}
\RequirePackage{hypcap}
\RenewDocumentCommand{\paragraphautorefname}{}{Paragraph}