summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/bookmark/bkm-pdftex.def
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex/latex/bookmark/bkm-pdftex.def')
-rw-r--r--Master/texmf-dist/tex/latex/bookmark/bkm-pdftex.def32
1 files changed, 20 insertions, 12 deletions
diff --git a/Master/texmf-dist/tex/latex/bookmark/bkm-pdftex.def b/Master/texmf-dist/tex/latex/bookmark/bkm-pdftex.def
index 329a0dcfb5f..8447250968c 100644
--- a/Master/texmf-dist/tex/latex/bookmark/bkm-pdftex.def
+++ b/Master/texmf-dist/tex/latex/bookmark/bkm-pdftex.def
@@ -9,11 +9,11 @@
%% This is a generated file.
%%
%% Project: bookmark
-%% Version: 2020-11-06 v1.29
+%% Version: 2023-12-05 v1.30
%%
%% Copyright (C)
%% 2007-2011 Heiko Oberdiek
-%% 2016-2020 Oberdiek Package Support Group
+%% 2016-2023 Oberdiek Package Support Group
%%
%% This work may be distributed and/or modified under the
%% conditions of the LaTeX Project Public License, either
@@ -31,7 +31,6 @@
%% Heiko Oberdiek and the Oberdiek Package Support Group
%% https://github.com/ho-tex/bookmark/issues
%%
-%%
%% This work consists of the main source file bookmark.dtx and bookmark-frozen.dtx
%% and the derived files
%% bookmark.sty, bookmark.pdf, bookmark.ins, bookmark.drv,
@@ -42,7 +41,7 @@
%%
\NeedsTeXFormat{LaTeX2e}
\ProvidesFile{bkm-pdftex.def}%
- [2020-11-06 v1.29 bookmark driver for pdfTeX (HO)]%
+ [2023-12-05 v1.30 bookmark driver for pdfTeX and luaTeX (HO)]%
\def\BKM@DO@entry#1#2{%
\begingroup
\kvsetkeys{BKM@DO}{#1}%
@@ -142,10 +141,23 @@
{\BKM@DO@title}%
\endgroup
}
-\def\BKM@DefGotoNameAction#1#2{%
- \BKM@EscapeString\BKM@DO@dest
- \edef#1{goto name{#2}}%
-}
+ \def\BKM@DefGotoNameAction#1#2{%
+ \BKM@EscapeString\BKM@DO@dest
+ \edef#1{goto name{#2}}%
+ }
+\ExplSyntaxOn
+\IfDocumentMetadataTF
+ {
+ \tag_if_active:T
+ {
+ \def\BKM@DefGotoNameAction#1#2
+ {
+ \BKM@EscapeString\BKM@DO@dest
+ \edef#1{goto~struct~name~{#2}~name~{#2}}%
+ }
+ }
+ }{}
+\ExplSyntaxOff
\def\BKM@SourceLocation{%
\ifx\BKM@DO@srcfile\@empty
\ifx\BKM@DO@srcline\@empty
@@ -263,7 +275,6 @@
\fi
}
\ifluatex
- \ifnum\luatexversion>36 %
\def\BKM@LuaTeX@InitFile{%
\begingroup
\ltx@LocToksA={}%
@@ -278,9 +289,6 @@
}%
}\x
}%
- \else
- \let\BKM@LuaTeX@InitFile\relax
- \fi
\else
\let\BKM@LuaTeX@InitFile\relax
\fi