From 9fac156c36390a9689b52151d9accc204a9d010b Mon Sep 17 00:00:00 2001 From: "Rifqi D. Panuluh" <69516665+nuluh@users.noreply.github.com> Date: Fri, 17 Oct 2025 12:22:51 +0000 Subject: [PATCH] feat(latex): add hyperxmp package and update PDF metadata settings --- latex/thesis.cls | 22 ++++++++++++---------- 1 file changed, 12 insertions(+), 10 deletions(-) diff --git a/latex/thesis.cls b/latex/thesis.cls index 240ce51..d054fa5 100644 --- a/latex/thesis.cls +++ b/latex/thesis.cls @@ -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 \ No newline at end of file