diff options
author | Karl Berry <karl@freefriends.org> | 2023-12-09 22:18:58 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2023-12-09 22:18:58 +0000 |
commit | a9c1c1383048903d5aaf71ba170c3b4195235fb4 (patch) | |
tree | e22d315e280fd2818a6819fc5b4d9027ef8aecb1 /Master/texmf-dist/tex/latex/bookmark | |
parent | e8df5e1620ae293f3bb069fe094017c9f7b473bc (diff) |
bookmark (9dec23)
git-svn-id: svn://tug.org/texlive/trunk@69081 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/bookmark')
9 files changed, 53 insertions, 45 deletions
diff --git a/Master/texmf-dist/tex/latex/bookmark/bkm-dvipdfm-2019-12-03.def b/Master/texmf-dist/tex/latex/bookmark/bkm-dvipdfm-2019-12-03.def index ad256b40fd5..f6cd631e85c 100644 --- a/Master/texmf-dist/tex/latex/bookmark/bkm-dvipdfm-2019-12-03.def +++ b/Master/texmf-dist/tex/latex/bookmark/bkm-dvipdfm-2019-12-03.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, diff --git a/Master/texmf-dist/tex/latex/bookmark/bkm-dvipdfm.def b/Master/texmf-dist/tex/latex/bookmark/bkm-dvipdfm.def index a57fddacfad..6b9333dea95 100644 --- a/Master/texmf-dist/tex/latex/bookmark/bkm-dvipdfm.def +++ b/Master/texmf-dist/tex/latex/bookmark/bkm-dvipdfm.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,11 +41,22 @@ %% \NeedsTeXFormat{LaTeX2e} \ProvidesFile{bkm-dvipdfm.def}% - [2020-11-06 v1.29 bookmark driver for dvipdfm (HO)]% + [2023-12-05 v1.30 bookmark driver for dvipdfm (HO)]% \newcount\BKM@id \BKM@id=\z@ \@namedef{BKM@0}{000} \newif\ifBKM@sw +\newcommand\BKM@struct@dest{} +\ExplSyntaxOn +\IfDocumentMetadataTF + { + \tag_if_active:T + { + \def\BKM@struct@dest{/SD~@pdf.SDest.\BKM@dest} + } + + }{} +\ExplSyntaxOff \newcommand*{\bookmark}[2][]{% \if@filesw \begingroup @@ -119,6 +129,7 @@ /A<<% /S/GoTo% /D(\BKM@dest)% + \BKM@struct@dest >>% }% \fi diff --git a/Master/texmf-dist/tex/latex/bookmark/bkm-dvips-2019-12-03.def b/Master/texmf-dist/tex/latex/bookmark/bkm-dvips-2019-12-03.def index a0556864b86..b28ab118d21 100644 --- a/Master/texmf-dist/tex/latex/bookmark/bkm-dvips-2019-12-03.def +++ b/Master/texmf-dist/tex/latex/bookmark/bkm-dvips-2019-12-03.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, diff --git a/Master/texmf-dist/tex/latex/bookmark/bkm-dvips.def b/Master/texmf-dist/tex/latex/bookmark/bkm-dvips.def index 87384f54ac9..04f90c41018 100644 --- a/Master/texmf-dist/tex/latex/bookmark/bkm-dvips.def +++ b/Master/texmf-dist/tex/latex/bookmark/bkm-dvips.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, @@ -59,7 +58,7 @@ } \NeedsTeXFormat{LaTeX2e} \ProvidesFile{bkm-dvips.def}% - [2020-11-06 v1.29 bookmark driver for dvips (HO)]% + [2023-12-05 v1.30 bookmark driver for dvips (HO)]% \def\BKM@PSHeaderFile#1{% \special{PSfile=#1}% } @@ -309,7 +308,6 @@ \fi } \ifluatex - \ifnum\luatexversion>36 % \def\BKM@LuaTeX@InitFile{% \begingroup \ltx@LocToksA={}% @@ -324,9 +322,6 @@ }% }\x }% - \else - \let\BKM@LuaTeX@InitFile\relax - \fi \else \let\BKM@LuaTeX@InitFile\relax \fi diff --git a/Master/texmf-dist/tex/latex/bookmark/bkm-pdftex-2019-12-03.def b/Master/texmf-dist/tex/latex/bookmark/bkm-pdftex-2019-12-03.def index 0bc80576fc7..361fe2ec38a 100644 --- a/Master/texmf-dist/tex/latex/bookmark/bkm-pdftex-2019-12-03.def +++ b/Master/texmf-dist/tex/latex/bookmark/bkm-pdftex-2019-12-03.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, 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 diff --git a/Master/texmf-dist/tex/latex/bookmark/bkm-vtex-2019-12-03.def b/Master/texmf-dist/tex/latex/bookmark/bkm-vtex-2019-12-03.def index cf50f6e70de..4b79f923cc1 100644 --- a/Master/texmf-dist/tex/latex/bookmark/bkm-vtex-2019-12-03.def +++ b/Master/texmf-dist/tex/latex/bookmark/bkm-vtex-2019-12-03.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, diff --git a/Master/texmf-dist/tex/latex/bookmark/bkm-vtex.def b/Master/texmf-dist/tex/latex/bookmark/bkm-vtex.def index 4e14e31c735..63bb686a894 100644 --- a/Master/texmf-dist/tex/latex/bookmark/bkm-vtex.def +++ b/Master/texmf-dist/tex/latex/bookmark/bkm-vtex.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-vtex.def}% - [2020-11-06 v1.29 bookmark driver for VTeX (HO)]% + [2023-12-05 v1.30 bookmark driver for VTeX (HO)]% \ifvtexpdf \else \PackageWarningNoLine{bookmark}{% diff --git a/Master/texmf-dist/tex/latex/bookmark/bookmark.sty b/Master/texmf-dist/tex/latex/bookmark/bookmark.sty index 7181bd2b6ed..8efdce5e0f6 100644 --- a/Master/texmf-dist/tex/latex/bookmark/bookmark.sty +++ b/Master/texmf-dist/tex/latex/bookmark/bookmark.sty @@ -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} \ProvidesPackage{bookmark}% - [2020-11-06 v1.29 PDF bookmarks (HO)]% + [2023-12-05 v1.30 PDF bookmarks (HO)]% \begingroup\expandafter\expandafter\expandafter\endgroup \expandafter\ifx\csname numexpr\endcsname\relax \def\BKM@CalcExpr#1#2#3#4{% @@ -700,7 +699,7 @@ \def\Hy@writebookmark#1#2#3#4#5{% \ifnum#4>\BKM@depth\relax \else - \def\BKM@type{#5}% + \edef\BKM@type{#5}% \ifx\BKM@type\Hy@bookmarkstype \begingroup \ifBKM@numbered |