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