From 457f516a04bca2758940bb6cfd228c03ac244b94 Mon Sep 17 00:00:00 2001 From: Sven Strickroth Date: Mon, 1 Jun 2026 13:43:59 +0200 Subject: [PATCH] Re-enable PDF bookmarks Fixes issue #190. Signed-off-by: Sven Strickroth --- CHANGELOG.md | 7 +++++++ lni.cls | 2 +- lni.dtx | 2 +- 3 files changed, 9 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 726c939..a867f3d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,12 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/). +## [Unreleased] + +### Changed + +- Re-enable PDF bookmarks [#203](https://github.com/gi-ev/LNI/pull/203) + ## [2.0] - 2025-02-05 ### Removed @@ -194,6 +200,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/). First release of the revised files +[Unreleased]: https://github.com/gi-ev/LNI/compare/v2.0...main [2.0]: https://github.com/gi-ev/LNI/compare/v1.10...v2.0 [1.10]: https://github.com/gi-ev/LNI/compare/v1.9...v1.10 [1.9]: https://github.com/gi-ev/LNI/compare/v1.8.1...v1.9 diff --git a/lni.cls b/lni.cls index ba29929..288b81f 100644 --- a/lni.cls +++ b/lni.cls @@ -677,7 +677,7 @@ \g@addto@macro{\UrlBreaks}{\UrlOrds} \RequirePackage{xspace} \AddToHook{env/document/begin}[lni/loadhyperref]{% - \RequirePackage[bookmarks=false]{hyperref} + \RequirePackage[bookmarks=true]{hyperref} \hypersetup{% pdfdisplaydoctitle,% colorlinks=true,% diff --git a/lni.dtx b/lni.dtx index 092f034..6b4ae8b 100644 --- a/lni.dtx +++ b/lni.dtx @@ -1498,7 +1498,7 @@ This work consists of the file lni.dtx % \end{macrocode} % \begin{macrocode} \AddToHook{env/document/begin}[lni/loadhyperref]{% - \RequirePackage[bookmarks=false]{hyperref} + \RequirePackage[bookmarks=true]{hyperref} \hypersetup{% pdfdisplaydoctitle,% colorlinks=true,%