feat(latex): add hyperxmp package and update PDF metadata settings
This commit is contained in:
@@ -57,6 +57,7 @@
|
||||
isbn=false,%
|
||||
backend=biber]{biblatex}
|
||||
\RequirePackage{hyperref}
|
||||
\RequirePackage{hyperxmp}
|
||||
\RequirePackage[acronym, nogroupskip, toc]{glossaries}
|
||||
% \RequirePackage{glossaries-extra}
|
||||
% \RequirePackage{hyperxmp}
|
||||
@@ -547,26 +548,27 @@
|
||||
\newcommand{\theuniversity}{\@university}
|
||||
\newcommand{\theyearofsubmission}{\@yearofsubmission}
|
||||
|
||||
\AtBeginDocument{%
|
||||
\hypersetup{
|
||||
pdftitle={\@title},
|
||||
pdfauthor={\@author}
|
||||
}%
|
||||
}
|
||||
% \AtBeginDocument{%
|
||||
% \hypersetup{
|
||||
% pdftitle={\@title},
|
||||
% pdfauthor={Rifqi D. Panuluh}
|
||||
% }%
|
||||
% }
|
||||
% Ensure title/author/date get expanded correctly in hypersetup
|
||||
\hypersetup{
|
||||
% pdftitle={gfhfdhfd},
|
||||
% pdfauthor={\@authorid},
|
||||
% pdfauthor={Rifqi D. Panuluh},
|
||||
% pdfdate={\@date},
|
||||
pdfsubject={Bachelor Thesis},
|
||||
% pdfkeywords={\@keywordslist},
|
||||
% pdfpublisher={Universitas Muhammadiyah Yogyakarta},
|
||||
% pdfcontactemail={rifqi.damar.ft21@mail.umy.ac.id},
|
||||
% pdflicenseurl={https://github.com/nuluh/thesis/blob/main/LICENSE},
|
||||
pdfcopyright={Copyright (C) 2025, Rifqi D. Panuluh},
|
||||
pdflicenseurl={https://github.com/nuluh/thesis/blob/main/LICENSE},
|
||||
pdfurl = {https://github.com/nuluh/thesis/releases/download/v1.0/main.pdf},
|
||||
pdflang={id},
|
||||
pdfcreator={XeLaTeX with hyperref and hyperxmp},
|
||||
pdfproducer={TeX Live 2024},
|
||||
pdftrapped=False
|
||||
keeppdfinfo=true
|
||||
}
|
||||
\makeatother
|
||||
\endinput
|
||||
Reference in New Issue
Block a user