texlive[56885] Master/texmf-dist: bookmark (8nov20)

commits+karl at tug.org commits+karl at tug.org
Sun Nov 8 22:41:19 CET 2020


Revision: 56885
          http://tug.org/svn/texlive?view=revision&revision=56885
Author:   karl
Date:     2020-11-08 22:41:19 +0100 (Sun, 08 Nov 2020)
Log Message:
-----------
bookmark (8nov20)

Modified Paths:
--------------
    trunk/Master/texmf-dist/doc/latex/bookmark/README.md
    trunk/Master/texmf-dist/doc/latex/bookmark/bookmark-example.tex
    trunk/Master/texmf-dist/doc/latex/bookmark/bookmark.pdf
    trunk/Master/texmf-dist/source/latex/bookmark/bookmark.dtx
    trunk/Master/texmf-dist/tex/latex/bookmark/bkm-dvipdfm.def
    trunk/Master/texmf-dist/tex/latex/bookmark/bkm-dvips.def
    trunk/Master/texmf-dist/tex/latex/bookmark/bkm-pdftex.def
    trunk/Master/texmf-dist/tex/latex/bookmark/bkm-vtex.def
    trunk/Master/texmf-dist/tex/latex/bookmark/bookmark.sty

Added Paths:
-----------
    trunk/Master/texmf-dist/source/latex/bookmark/bookmark-frozen.dtx
    trunk/Master/texmf-dist/tex/latex/bookmark/bkm-dvipdfm-2019-12-03.def
    trunk/Master/texmf-dist/tex/latex/bookmark/bkm-dvips-2019-12-03.def
    trunk/Master/texmf-dist/tex/latex/bookmark/bkm-pdftex-2019-12-03.def
    trunk/Master/texmf-dist/tex/latex/bookmark/bkm-vtex-2019-12-03.def

Removed Paths:
-------------
    trunk/Master/texmf-dist/tex/latex/bookmark/bkm-dvipsone.def
    trunk/Master/texmf-dist/tex/latex/bookmark/bkm-textures.def

Modified: trunk/Master/texmf-dist/doc/latex/bookmark/README.md
===================================================================
--- trunk/Master/texmf-dist/doc/latex/bookmark/README.md	2020-11-08 21:40:47 UTC (rev 56884)
+++ trunk/Master/texmf-dist/doc/latex/bookmark/README.md	2020-11-08 21:41:19 UTC (rev 56885)
@@ -1,6 +1,6 @@
-# bookmarks
+# bookmark package for LaTeX
 
-bookmarks package for LaTeX
+Version: 2020-11-06 v1.29
 
 
 This package implements a new bookmark (outline) organization for
@@ -10,3 +10,10 @@
 generated in the first compile run.
 
 Package hyperref uses two runs.
+
+## Copyright (C)
+* 2007, 2009-2011  Heiko Oberdiek
+* 2016-2020        Oberdiek Package Support Group
+
+## License
+LATEX Project Public License, version 1.3c or later.

Modified: trunk/Master/texmf-dist/doc/latex/bookmark/bookmark-example.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/bookmark/bookmark-example.tex	2020-11-08 21:40:47 UTC (rev 56884)
+++ trunk/Master/texmf-dist/doc/latex/bookmark/bookmark-example.tex	2020-11-08 21:41:19 UTC (rev 56885)
@@ -9,11 +9,11 @@
 %% This is a generated file.
 %% 
 %% Project: bookmark
-%% Version: 2019/12/03 v1.28
+%% Version: 2020-11-06 v1.29
 %% 
 %% Copyright (C)
 %%    2007-2011 Heiko Oberdiek
-%%    2016-2019 Oberdiek Package Support Group
+%%    2016-2020 Oberdiek Package Support Group
 %% 
 %% This work may be distributed and/or modified under the
 %% conditions of the LaTeX Project Public License, either
@@ -32,11 +32,12 @@
 %% https://github.com/ho-tex/bookmark/issues
 %% 
 %% 
-%% This work consists of the main source file bookmark.dtx
+%% 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,
-%%    bkm-dvipdfm.def, bkm-dvips.def, bkm-dvipsone.def,
-%%    bkm-textures.def, bkm-pdftex.def, bkm-vtex.def,
+%%    bkm-dvipdfm.def, bkm-dvips.def, bkm-pdftex.def, bkm-vtex.def,
+%%    bkm-dvipdfm-2019-12-03.def, bkm-dvips-2019-12-03.def,
+%%    bkm-pdftex-2019-12-03.def, bkm-vtex-2019-12-03.def,
 %%    bookmark-example.tex.
 %% 
 \documentclass{article}

Modified: trunk/Master/texmf-dist/doc/latex/bookmark/bookmark.pdf
===================================================================
(Binary files differ)

Added: trunk/Master/texmf-dist/source/latex/bookmark/bookmark-frozen.dtx
===================================================================
--- trunk/Master/texmf-dist/source/latex/bookmark/bookmark-frozen.dtx	                        (rev 0)
+++ trunk/Master/texmf-dist/source/latex/bookmark/bookmark-frozen.dtx	2020-11-08 21:41:19 UTC (rev 56885)
@@ -0,0 +1,1073 @@
+% \iffalse meta-comment
+%
+% File: bookmark-frozen.dtx
+% Version: 2020-11-06 v1.29
+% Info: PDF bookmarks
+%
+% Copyright (C)
+%    2007-2011 Heiko Oberdiek
+%    2016-2020 Oberdiek Package Support Group
+%    https://github.com/ho-tex/bookmark/issues
+%
+% This work may be distributed and/or modified under the
+% conditions of the LaTeX Project Public License, either
+% version 1.3c of this license or (at your option) any later
+% version. This version of this license is in
+%    https://www.latex-project.org/lppl/lppl-1-3c.txt
+% and the latest version of this license is in
+%    https://www.latex-project.org/lppl.txt
+% and version 1.3 or later is part of all distributions of
+% LaTeX version 2005/12/01 or later.
+%
+% This work has the LPPL maintenance status "maintained".
+%
+% The Current Maintainers of this work are
+% 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 the derived files
+%    bookmark.sty, bookmark.pdf, bookmark.ins, bookmark.drv,
+%    bkm-dvipdfm.def, bkm-dvips.def,
+%    bkm-pdftex.def, bkm-vtex.def,
+%    bkm-dvipdfm-2019-12-03.def, bkm-dvips-2019-12-03.def,
+%    bkm-pdftex-2019-12-03.def, bkm-vtex-2019-12-03.def,
+%    bookmark-example.tex.
+%
+% Distribution:
+%    CTAN:macros/latex/contrib/bookmark/bookmark.dtx
+%    CTAN:macros/latex/contrib/bookmark/bookmark-frozen.dtx
+%    CTAN:macros/latex/contrib/bookmark/bookmark.pdf
+%
+% Unpacking:
+%    (a) If bookmark.ins is present:
+%           tex bookmark.ins
+%    (b) Without bookmark.ins:
+%           tex bookmark.dtx
+%    (c) If you insist on using LaTeX
+%           latex \let\install=y\input{bookmark.dtx}
+%        (quote the arguments according to the demands of your shell)
+%
+% Documentation:
+%    (a) If bookmark.drv is present:
+%           latex bookmark.drv
+%    (b) Without bookmark.drv:
+%           latex bookmark.dtx; ...
+%    The class ltxdoc loads the configuration file ltxdoc.cfg
+%    if available. Here you can specify further options, e.g.
+%    use A4 as paper format:
+%       \PassOptionsToClass{a4paper}{article}
+%
+%    Programm calls to get the documentation (example):
+%       pdflatex bookmark.dtx
+%       makeindex -s gind.ist bookmark.idx
+%       pdflatex bookmark.dtx
+%       makeindex -s gind.ist bookmark.idx
+%       pdflatex bookmark.dtx
+%
+% Installation:
+%    TDS:tex/latex/bookmark/bookmark.sty
+%    TDS:tex/latex/bookmark/bkm-dvipdfm.def
+%    TDS:tex/latex/bookmark/bkm-dvips.def
+%    TDS:tex/latex/bookmark/bkm-pdftex.def
+%    TDS:tex/latex/bookmark/bkm-vtex.def
+%    TDS:tex/latex/bookmark/bkm-dvipdfm-2019-12-03.def
+%    TDS:tex/latex/bookmark/bkm-dvips-2019-12-03.def
+%    TDS:tex/latex/bookmark/bkm-pdftex-2019-12-03.def
+%    TDS:tex/latex/bookmark/bkm-vtex-2019-12-03.def%
+%    TDS:doc/latex/bookmark/bookmark.pdf
+%    TDS:doc/latex/bookmark/bookmark-example.tex
+%    TDS:source/latex/bookmark/bookmark.dtx
+%    TDS:source/latex/bookmark/bookmark-frozen.dtx
+%
+% \fi
+%<*pdftexfrozen>
+\NeedsTeXFormat{LaTeX2e}
+\ProvidesFile{bkm-pdftex.def}%
+  [2019/12/03 v1.28 bookmark driver for pdfTeX (HO)]%
+\def\BKM at DO@entry#1#2{%
+  \begingroup
+    \kvsetkeys{BKM at DO}{#1}%
+    \def\BKM at DO@title{#2}%
+    \ifx\BKM at DO@srcfile\@empty
+    \else
+      \BKM at UnescapeHex\BKM at DO@srcfile
+    \fi
+    \BKM at UnescapeHex\BKM at DO@title
+    \expandafter\expandafter\expandafter\BKM at getx
+        \csname BKM@\BKM at DO@id\endcsname\@empty\@empty
+    \let\BKM at attr\@empty
+    \ifx\BKM at DO@flags\@empty
+    \else
+      \edef\BKM at attr{\BKM at attr/F \BKM at DO@flags}%
+    \fi
+    \ifx\BKM at DO@color\@empty
+    \else
+      \edef\BKM at attr{\BKM at attr/C[\BKM at DO@color]}%
+    \fi
+    \ifx\BKM at attr\@empty
+    \else
+      \edef\BKM at attr{attr{\BKM at attr}}%
+    \fi
+    \let\BKM at action\@empty
+    \ifx\BKM at DO@gotor\@empty
+      \ifx\BKM at DO@dest\@empty
+        \ifx\BKM at DO@named\@empty
+          \ifx\BKM at DO@rawaction\@empty
+            \ifx\BKM at DO@uri\@empty
+              \ifx\BKM at DO@page\@empty
+                \PackageError{bookmark}{%
+                  Missing action\BKM at SourceLocation
+                }\@ehc
+                \edef\BKM at action{goto page1{/Fit}}%
+              \else
+                \ifx\BKM at DO@view\@empty
+                  \def\BKM at DO@view{Fit}%
+                \fi
+                \edef\BKM at action{goto page\BKM at DO@page{/\BKM at DO@view}}%
+              \fi
+            \else
+              \BKM at UnescapeHex\BKM at DO@uri
+              \BKM at EscapeString\BKM at DO@uri
+              \edef\BKM at action{user{<</S/URI/URI(\BKM at DO@uri)>>}}%
+            \fi
+          \else
+            \BKM at UnescapeHex\BKM at DO@rawaction
+            \edef\BKM at action{%
+              user{%
+                <<%
+                  \BKM at DO@rawaction
+                >>%
+              }%
+            }%
+          \fi
+        \else
+          \BKM at EscapeName\BKM at DO@named
+          \edef\BKM at action{%
+            user{<</S/Named/N/\BKM at DO@named>>}%
+          }%
+        \fi
+      \else
+        \BKM at UnescapeHex\BKM at DO@dest
+        \BKM at DefGotoNameAction\BKM at action\BKM at DO@dest
+      \fi
+    \else
+      \ifx\BKM at DO@dest\@empty
+        \ifx\BKM at DO@page\@empty
+          \def\BKM at DO@page{0}%
+        \else
+          \BKM at CalcExpr\BKM at DO@page\BKM at DO@page-1%
+        \fi
+        \ifx\BKM at DO@view\@empty
+          \def\BKM at DO@view{Fit}%
+        \fi
+        \edef\BKM at action{/D[\BKM at DO@page/\BKM at DO@view]}%
+      \else
+        \BKM at UnescapeHex\BKM at DO@dest
+        \BKM at EscapeString\BKM at DO@dest
+        \edef\BKM at action{/D(\BKM at DO@dest)}%
+      \fi
+      \BKM at UnescapeHex\BKM at DO@gotor
+      \BKM at EscapeString\BKM at DO@gotor
+      \edef\BKM at action{%
+        user{%
+          <<%
+            /S/GoToR%
+            /F(\BKM at DO@gotor)%
+            \BKM at action
+          >>%
+        }%
+      }%
+    \fi
+    \pdfoutline\BKM at attr\BKM at action
+                count\ifBKM at DO@open\else-\fi\BKM at x@childs
+                {\BKM at DO@title}%
+  \endgroup
+}
+\def\BKM at DefGotoNameAction#1#2{%
+  \BKM at EscapeString\BKM at DO@dest
+  \edef#1{goto name{#2}}%
+}
+\def\BKM at SourceLocation{%
+  \ifx\BKM at DO@srcfile\@empty
+    \ifx\BKM at DO@srcline\@empty
+    \else
+      .\MessageBreak
+      Source: line \BKM at DO@srcline
+    \fi
+  \else
+    \ifx\BKM at DO@srcline\@empty
+      .\MessageBreak
+      Source: file `\BKM at DO@srcfile'%
+    \else
+      .\MessageBreak
+      Source: file `\BKM at DO@srcfile', line \BKM at DO@srcline
+    \fi
+  \fi
+}
+\RequirePackage{auxhook}
+\AddLineBeginMainAux{%
+  \string\providecommand\string\BKM at entry[2]{}%
+}
+\newcount\BKM at id
+\BKM at id=\z@
+\@namedef{BKM at 0}{000}
+\newif\ifBKM at sw
+\newcommand*{\bookmark}[2][]{%
+  \if at filesw
+    \begingroup
+      \BKM at InitSourceLocation
+      \def\bookmark at text{#2}%
+      \BKM at setup{#1}%
+      \ifx\BKM at srcfile\@empty
+      \else
+        \BKM at EscapeHex\BKM at srcfile
+      \fi
+      \edef\BKM at prev{\the\BKM at id}%
+      \global\advance\BKM at id\@ne
+      \BKM at swtrue
+      \@whilesw\ifBKM at sw\fi{%
+        \ifnum\ifBKM at startatroot\z@\else\BKM at prev\fi=\z@
+          \BKM at startatrootfalse
+          \expandafter\xdef\csname BKM@\the\BKM at id\endcsname{%
+            0{\BKM at level}0%
+          }%
+          \BKM at swfalse
+        \else
+          \expandafter\expandafter\expandafter\BKM at getx
+              \csname BKM@\BKM at prev\endcsname
+          \ifnum\BKM at level>\BKM at x@level\relax
+            \expandafter\xdef\csname BKM@\the\BKM at id\endcsname{%
+              {\BKM at prev}{\BKM at level}0%
+            }%
+            \ifnum\BKM at prev>\z@
+              \BKM at CalcExpr\BKM at CalcResult\BKM at x@childs+1%
+              \expandafter\xdef\csname BKM@\BKM at prev\endcsname{%
+                {\BKM at x@parent}{\BKM at x@level}{\BKM at CalcResult}%
+              }%
+            \fi
+            \BKM at swfalse
+          \else
+            \let\BKM at prev\BKM at x@parent
+          \fi
+        \fi
+      }%
+      \pdfstringdef\BKM at title{\bookmark at text}%
+      \edef\BKM at FLAGS{\BKM at PrintStyle}%
+      \csname BKM at HypDestOptHook\endcsname
+      \BKM at EscapeHex\BKM at dest
+      \BKM at EscapeHex\BKM at uri
+      \BKM at EscapeHex\BKM at gotor
+      \BKM at EscapeHex\BKM at rawaction
+      \BKM at EscapeHex\BKM at title
+      \immediate\write\@mainaux{%
+        \string\BKM at entry{%
+          id=\number\BKM at id
+          \ifBKM at open
+            \ifnum\BKM at level<\BKM at openlevel
+              ,open%
+            \fi
+          \fi
+          \BKM at auxentry{dest}%
+          \BKM at auxentry{named}%
+          \BKM at auxentry{uri}%
+          \BKM at auxentry{gotor}%
+          \BKM at auxentry{page}%
+          \BKM at auxentry{view}%
+          \BKM at auxentry{rawaction}%
+          \BKM at auxentry{color}%
+          \ifnum\BKM at FLAGS>\z@
+            ,flags=\BKM at FLAGS
+          \fi
+          \BKM at auxentry{srcline}%
+          \BKM at auxentry{srcfile}%
+        }{\BKM at title}%
+      }%
+    \endgroup
+  \fi
+}
+\def\BKM at getx#1#2#3{%
+  \def\BKM at x@parent{#1}%
+  \def\BKM at x@level{#2}%
+  \def\BKM at x@childs{#3}%
+}
+\def\BKM at auxentry#1{%
+  \expandafter\ifx\csname BKM@#1\endcsname\@empty
+  \else
+    ,#1={\csname BKM@#1\endcsname}%
+  \fi
+}
+\def\BKM at InitSourceLocation{%
+  \edef\BKM at srcline{\the\inputlineno}%
+  \BKM at LuaTeX@InitFile
+  \ifx\BKM at srcfile\@empty
+    \ltx at IfUndefined{currfilepath}{}{%
+      \edef\BKM at srcfile{\currfilepath}%
+    }%
+  \fi
+}
+\ifluatex
+  \ifnum\luatexversion>36 %
+    \def\BKM at LuaTeX@InitFile{%
+      \begingroup
+        \ltx at LocToksA={}%
+      \edef\x{\endgroup
+        \def\noexpand\BKM at srcfile{%
+          \the\expandafter\ltx at LocToksA
+          \directlua{%
+             if status and status.filename then %
+               tex.settoks('ltx at LocToksA', status.filename)%
+             end%
+          }%
+        }%
+      }\x
+    }%
+  \else
+    \let\BKM at LuaTeX@InitFile\relax
+  \fi
+\else
+  \let\BKM at LuaTeX@InitFile\relax
+\fi
+\SetupKeyvalOptions{family=BKM at DO,prefix=BKM at DO@}
+\DeclareStringOption[0]{id}
+\DeclareBoolOption{open}
+\DeclareStringOption{flags}
+\DeclareStringOption{color}
+\DeclareStringOption{dest}
+\DeclareStringOption{named}
+\DeclareStringOption{uri}
+\DeclareStringOption{gotor}
+\DeclareStringOption{page}
+\DeclareStringOption{view}
+\DeclareStringOption{rawaction}
+\DeclareStringOption{srcline}
+\DeclareStringOption{srcfile}
+\AtBeginDocument{%
+  \let\BKM at entry\BKM at DO@entry
+}
+\ifBKM at atend
+  \AfterLastShipout{%
+    \BKM at EndHook
+  }%
+\fi
+%</pdftexfrozen>
+%<*dvipsfrozen>
+\def\BKM at SourceLocation{%
+  \ifx\BKM at DO@srcfile\@empty
+    \ifx\BKM at DO@srcline\@empty
+    \else
+      .\MessageBreak
+      Source: line \BKM at DO@srcline
+    \fi
+  \else
+    \ifx\BKM at DO@srcline\@empty
+      .\MessageBreak
+      Source: file `\BKM at DO@srcfile'%
+    \else
+      .\MessageBreak
+      Source: file `\BKM at DO@srcfile', line \BKM at DO@srcline
+    \fi
+  \fi
+}
+\NeedsTeXFormat{LaTeX2e}
+\ProvidesFile{bkm-dvips.def}%
+  [2019/12/03 v1.28 bookmark driver for dvips (HO)]%
+\def\BKM at PSHeaderFile#1{%
+  \special{header=#1}%
+}
+\def\BKM at filename{\jobname.out.ps}
+\BKM at PSHeaderFile\BKM at filename
+\RequirePackage{atveryend}[2009/12/07]
+\AfterLastShipout{\BKM at pdfmark@out}
+\def\BKM at pdfmark@out{%
+  \if at filesw
+    \newwrite\BKM at file
+    \immediate\openout\BKM at file=\BKM at filename\relax
+    \BKM at write{\@percentchar!}%
+    \BKM at write{/pdfmark where{pop}}%
+    \BKM at write{%
+      {%
+        /globaldict where{pop globaldict}{userdict}ifelse%
+        /pdfmark/cleartomark load put%
+      }%
+    }%
+    \BKM at write{ifelse}%
+  \else
+    \let\BKM at write\@gobble
+    \let\BKM at DO@entry\@gobbletwo
+  \fi
+}
+\def\BKM at write#{%
+  \immediate\write\BKM at file
+}
+\def\BKM at DO@entry#1#2{%
+  \begingroup
+    \kvsetkeys{BKM at DO}{#1}%
+    \ifx\BKM at DO@srcfile\@empty
+    \else
+      \BKM at UnescapeHex\BKM at DO@srcfile
+    \fi
+    \def\BKM at DO@title{#2}%
+    \BKM at UnescapeHex\BKM at DO@title
+    \expandafter\expandafter\expandafter\BKM at getx
+        \csname BKM@\BKM at DO@id\endcsname\@empty\@empty
+    \let\BKM at attr\@empty
+    \ifx\BKM at DO@flags\@empty
+    \else
+      \edef\BKM at attr{\BKM at attr/F \BKM at DO@flags}%
+    \fi
+    \ifx\BKM at DO@color\@empty
+    \else
+      \edef\BKM at attr{\BKM at attr/C[\BKM at DO@color]}%
+    \fi
+    \let\BKM at action\@empty
+    \ifx\BKM at DO@gotor\@empty
+      \ifx\BKM at DO@dest\@empty
+        \ifx\BKM at DO@named\@empty
+          \ifx\BKM at DO@rawaction\@empty
+            \ifx\BKM at DO@uri\@empty
+              \ifx\BKM at DO@page\@empty
+                \PackageError{bookmark}{%
+                  Missing action\BKM at SourceLocation
+                }\@ehc
+                \edef\BKM at action{%
+                  /Action/GoTo%
+                  /Page 1%
+                  /View[/Fit]%
+                }%
+              \else
+                \ifx\BKM at DO@view\@empty
+                  \def\BKM at DO@view{Fit}%
+                \fi
+                \edef\BKM at action{%
+                  /Action/GoTo%
+                  /Page \BKM at DO@page
+                  /View[/\BKM at DO@view]%
+                }%
+              \fi
+            \else
+              \BKM at UnescapeHex\BKM at DO@uri
+              \BKM at EscapeString\BKM at DO@uri
+              \edef\BKM at action{%
+                /Action<<%
+                  /Subtype/URI%
+                  /URI(\BKM at DO@uri)%
+                >>%
+              }%
+            \fi
+          \else
+            \BKM at UnescapeHex\BKM at DO@rawaction
+            \edef\BKM at action{%
+              /Action<<%
+                \BKM at DO@rawaction
+              >>%
+            }%
+          \fi
+        \else
+          \BKM at EscapeName\BKM at DO@named
+          \edef\BKM at action{%
+            /Action<<%
+              /Subtype/Named%
+              /N/\BKM at DO@named
+            >>%
+          }%
+        \fi
+      \else
+        \BKM at UnescapeHex\BKM at DO@dest
+        \BKM at EscapeString\BKM at DO@dest
+        \edef\BKM at action{%
+          /Action/GoTo%
+          /Dest(\BKM at DO@dest)cvn%
+        }%
+      \fi
+    \else
+      \ifx\BKM at DO@dest\@empty
+        \ifx\BKM at DO@page\@empty
+          \def\BKM at DO@page{1}%
+        \fi
+        \ifx\BKM at DO@view\@empty
+          \def\BKM at DO@view{Fit}%
+        \fi
+        \edef\BKM at action{%
+          /Page \BKM at DO@page
+          /View[/\BKM at DO@view]%
+        }%
+      \else
+        \BKM at UnescapeHex\BKM at DO@dest
+        \BKM at EscapeString\BKM at DO@dest
+        \edef\BKM at action{%
+          /Dest(\BKM at DO@dest)cvn%
+        }%
+      \fi
+      \BKM at UnescapeHex\BKM at DO@gotor
+      \BKM at EscapeString\BKM at DO@gotor
+      \edef\BKM at action{%
+        /Action/GoToR%
+        /File(\BKM at DO@gotor)%
+        \BKM at action
+      }%
+    \fi
+    \BKM at write{[}%
+    \BKM at write{/Title(\BKM at DO@title)}%
+    \ifnum\BKM at x@childs>\z@
+      \BKM at write{/Count \ifBKM at DO@open\else-\fi\BKM at x@childs}%
+    \fi
+    \ifx\BKM at attr\@empty
+    \else
+      \BKM at write{\BKM at attr}%
+    \fi
+    \BKM at write{\BKM at action}%
+    \BKM at write{/OUT pdfmark}%
+  \endgroup
+}
+\RequirePackage{auxhook}
+\AddLineBeginMainAux{%
+  \string\providecommand\string\BKM at entry[2]{}%
+}
+\newcount\BKM at id
+\BKM at id=\z@
+\@namedef{BKM at 0}{000}
+\newif\ifBKM at sw
+\newcommand*{\bookmark}[2][]{%
+  \if at filesw
+    \begingroup
+      \BKM at InitSourceLocation
+      \def\bookmark at text{#2}%
+      \BKM at setup{#1}%
+      \ifx\BKM at srcfile\@empty
+      \else
+        \BKM at EscapeHex\BKM at srcfile
+      \fi
+      \edef\BKM at prev{\the\BKM at id}%
+      \global\advance\BKM at id\@ne
+      \BKM at swtrue
+      \@whilesw\ifBKM at sw\fi{%
+        \ifnum\ifBKM at startatroot\z@\else\BKM at prev\fi=\z@
+          \BKM at startatrootfalse
+          \expandafter\xdef\csname BKM@\the\BKM at id\endcsname{%
+            0{\BKM at level}0%
+          }%
+          \BKM at swfalse
+        \else
+          \expandafter\expandafter\expandafter\BKM at getx
+              \csname BKM@\BKM at prev\endcsname
+          \ifnum\BKM at level>\BKM at x@level\relax
+            \expandafter\xdef\csname BKM@\the\BKM at id\endcsname{%
+              {\BKM at prev}{\BKM at level}0%
+            }%
+            \ifnum\BKM at prev>\z@
+              \BKM at CalcExpr\BKM at CalcResult\BKM at x@childs+1%
+              \expandafter\xdef\csname BKM@\BKM at prev\endcsname{%
+                {\BKM at x@parent}{\BKM at x@level}{\BKM at CalcResult}%
+              }%
+            \fi
+            \BKM at swfalse
+          \else
+            \let\BKM at prev\BKM at x@parent
+          \fi
+        \fi
+      }%
+      \pdfstringdef\BKM at title{\bookmark at text}%
+      \edef\BKM at FLAGS{\BKM at PrintStyle}%
+      \csname BKM at HypDestOptHook\endcsname
+      \BKM at EscapeHex\BKM at dest
+      \BKM at EscapeHex\BKM at uri
+      \BKM at EscapeHex\BKM at gotor
+      \BKM at EscapeHex\BKM at rawaction
+      \BKM at EscapeHex\BKM at title
+      \immediate\write\@mainaux{%
+        \string\BKM at entry{%
+          id=\number\BKM at id
+          \ifBKM at open
+            \ifnum\BKM at level<\BKM at openlevel
+              ,open%
+            \fi
+          \fi
+          \BKM at auxentry{dest}%
+          \BKM at auxentry{named}%
+          \BKM at auxentry{uri}%
+          \BKM at auxentry{gotor}%
+          \BKM at auxentry{page}%
+          \BKM at auxentry{view}%
+          \BKM at auxentry{rawaction}%
+          \BKM at auxentry{color}%
+          \ifnum\BKM at FLAGS>\z@
+            ,flags=\BKM at FLAGS
+          \fi
+          \BKM at auxentry{srcline}%
+          \BKM at auxentry{srcfile}%
+        }{\BKM at title}%
+      }%
+    \endgroup
+  \fi
+}
+\def\BKM at getx#1#2#3{%
+  \def\BKM at x@parent{#1}%
+  \def\BKM at x@level{#2}%
+  \def\BKM at x@childs{#3}%
+}
+\def\BKM at auxentry#1{%
+  \expandafter\ifx\csname BKM@#1\endcsname\@empty
+  \else
+    ,#1={\csname BKM@#1\endcsname}%
+  \fi
+}
+\def\BKM at InitSourceLocation{%
+  \edef\BKM at srcline{\the\inputlineno}%
+  \BKM at LuaTeX@InitFile
+  \ifx\BKM at srcfile\@empty
+    \ltx at IfUndefined{currfilepath}{}{%
+      \edef\BKM at srcfile{\currfilepath}%
+    }%
+  \fi
+}
+\ifluatex
+  \ifnum\luatexversion>36 %
+    \def\BKM at LuaTeX@InitFile{%
+      \begingroup
+        \ltx at LocToksA={}%
+      \edef\x{\endgroup
+        \def\noexpand\BKM at srcfile{%
+          \the\expandafter\ltx at LocToksA
+          \directlua{%
+             if status and status.filename then %
+               tex.settoks('ltx at LocToksA', status.filename)%
+             end%
+          }%
+        }%
+      }\x
+    }%
+  \else
+    \let\BKM at LuaTeX@InitFile\relax
+  \fi
+\else
+  \let\BKM at LuaTeX@InitFile\relax
+\fi
+\SetupKeyvalOptions{family=BKM at DO,prefix=BKM at DO@}
+\DeclareStringOption[0]{id}
+\DeclareBoolOption{open}
+\DeclareStringOption{flags}
+\DeclareStringOption{color}
+\DeclareStringOption{dest}
+\DeclareStringOption{named}
+\DeclareStringOption{uri}
+\DeclareStringOption{gotor}
+\DeclareStringOption{page}
+\DeclareStringOption{view}
+\DeclareStringOption{rawaction}
+\DeclareStringOption{srcline}
+\DeclareStringOption{srcfile}
+\AtBeginDocument{%
+  \let\BKM at entry\BKM at DO@entry
+}
+\ifBKM at atend
+  \AfterLastShipout{%
+    \BKM at EndHook
+  }%
+\fi
+%</dvipsfrozen>
+%<*dvipdfmfrozen>
+\NeedsTeXFormat{LaTeX2e}
+\ProvidesFile{bkm-dvipdfm.def}%
+  [2019/12/03 v1.28 bookmark driver for dvipdfm (HO)]%
+\newcount\BKM at id
+\BKM at id=\z@
+\@namedef{BKM at 0}{000}
+\newif\ifBKM at sw
+\newcommand*{\bookmark}[2][]{%
+  \if at filesw
+    \begingroup
+      \def\bookmark at text{#2}%
+      \BKM at setup{#1}%
+      \edef\BKM at prev{\the\BKM at id}%
+      \global\advance\BKM at id\@ne
+      \BKM at swtrue
+      \@whilesw\ifBKM at sw\fi{%
+        \def\BKM at abslevel{1}%
+        \ifnum\ifBKM at startatroot\z@\else\BKM at prev\fi=\z@
+          \BKM at startatrootfalse
+          \expandafter\xdef\csname BKM@\the\BKM at id\endcsname{%
+            0{\BKM at level}\BKM at abslevel
+          }%
+          \BKM at swfalse
+        \else
+          \expandafter\expandafter\expandafter\BKM at getx
+              \csname BKM@\BKM at prev\endcsname
+          \ifnum\BKM at level>\BKM at x@level\relax
+            \BKM at CalcExpr\BKM at abslevel\BKM at x@abslevel+1%
+            \expandafter\xdef\csname BKM@\the\BKM at id\endcsname{%
+              {\BKM at prev}{\BKM at level}\BKM at abslevel
+            }%
+            \BKM at swfalse
+          \else
+            \let\BKM at prev\BKM at x@parent
+          \fi
+        \fi
+      }%
+      \csname HyPsd at XeTeXBigCharstrue\endcsname
+      \pdfstringdef\BKM at title{\bookmark at text}%
+      \edef\BKM at FLAGS{\BKM at PrintStyle}%
+      \let\BKM at action\@empty
+      \ifx\BKM at gotor\@empty
+        \ifx\BKM at dest\@empty
+          \ifx\BKM at named\@empty
+            \ifx\BKM at rawaction\@empty
+              \ifx\BKM at uri\@empty
+                \ifx\BKM at page\@empty
+                  \PackageError{bookmark}{Missing action}\@ehc
+                  \edef\BKM at action{/Dest[@page1/Fit]}%
+                \else
+                  \ifx\BKM at view\@empty
+                    \def\BKM at view{Fit}%
+                  \fi
+                  \edef\BKM at action{/Dest[@page\BKM at page/\BKM at view]}%
+                \fi
+              \else
+                \BKM at EscapeString\BKM at uri
+                \edef\BKM at action{%
+                  /A<<%
+                    /S/URI%
+                    /URI(\BKM at uri)%
+                  >>%
+                }%
+              \fi
+            \else
+              \edef\BKM at action{/A<<\BKM at rawaction>>}%
+            \fi
+          \else
+            \BKM at EscapeName\BKM at named
+            \edef\BKM at action{%
+              /A<</S/Named/N/\BKM at named>>%
+            }%
+          \fi
+        \else
+          \BKM at EscapeString\BKM at dest
+          \edef\BKM at action{%
+            /A<<%
+              /S/GoTo%
+              /D(\BKM at dest)%
+            >>%
+          }%
+        \fi
+      \else
+        \ifx\BKM at dest\@empty
+          \ifx\BKM at page\@empty
+            \def\BKM at page{0}%
+          \else
+            \BKM at CalcExpr\BKM at page\BKM at page-1%
+          \fi
+          \ifx\BKM at view\@empty
+            \def\BKM at view{Fit}%
+          \fi
+          \edef\BKM at action{/D[\BKM at page/\BKM at view]}%
+        \else
+          \BKM at EscapeString\BKM at dest
+          \edef\BKM at action{/D(\BKM at dest)}%
+        \fi
+        \BKM at EscapeString\BKM at gotor
+        \edef\BKM at action{%
+          /A<<%
+            /S/GoToR%
+            /F(\BKM at gotor)%
+            \BKM at action
+          >>%
+        }%
+      \fi
+      \special{pdf:%
+        out \ifBKM at DvipdfmxOutlineOpen
+              [%
+              \ifBKM at open
+                \ifnum\BKM at level<%
+                    \expandafter\ltx at firstofone\expandafter
+                    {\number\BKM at openlevel} %
+                \else
+                  -%
+                \fi
+              \else
+                -%
+              \fi
+              ] %
+            \fi
+            \BKM at abslevel
+        <<%
+          /Title(\BKM at title)%
+          \ifx\BKM at color\@empty
+          \else
+            /C[\BKM at color]%
+          \fi
+          \ifnum\BKM at FLAGS>\z@
+            /F \BKM at FLAGS
+          \fi
+          \BKM at action
+        >>%
+      }%
+    \endgroup
+  \fi
+}
+\def\BKM at getx#1#2#3{%
+  \def\BKM at x@parent{#1}%
+  \def\BKM at x@level{#2}%
+  \def\BKM at x@abslevel{#3}%
+}
+\ifBKM at atend
+  \RequirePackage{atenddvi}%
+  \AtEndDvi{\BKM at EndHook}%
+\fi
+%</dvipdfmfrozen>
+%<*vtexfrozen>
+\NeedsTeXFormat{LaTeX2e}
+\ProvidesFile{bkm-vtex.def}%
+  [2019/12/03 v1.28 bookmark driver for VTeX (HO)]%
+\ifvtexpdf
+\else
+  \PackageWarningNoLine{bookmark}{%
+    The VTeX driver only supports PDF mode%
+  }%
+\fi
+\newcount\BKM at id
+\BKM at id=\z@
+\@namedef{BKM at 0}{00}
+\newif\ifBKM at sw
+\newcommand*{\bookmark}[2][]{%
+  \if at filesw
+    \begingroup
+      \def\bookmark at text{#2}%
+      \BKM at setup{#1}%
+      \edef\BKM at prev{\the\BKM at id}%
+      \global\advance\BKM at id\@ne
+      \BKM at swtrue
+      \@whilesw\ifBKM at sw\fi{%
+        \ifnum\ifBKM at startatroot\z@\else\BKM at prev\fi=\z@
+          \BKM at startatrootfalse
+          \def\BKM at parent{0}%
+          \expandafter\xdef\csname BKM@\the\BKM at id\endcsname{%
+            0{\BKM at level}%
+          }%
+          \BKM at swfalse
+        \else
+          \expandafter\expandafter\expandafter\BKM at getx
+              \csname BKM@\BKM at prev\endcsname
+          \ifnum\BKM at level>\BKM at x@level\relax
+            \let\BKM at parent\BKM at prev
+            \expandafter\xdef\csname BKM@\the\BKM at id\endcsname{%
+              {\BKM at prev}{\BKM at level}%
+            }%
+            \BKM at swfalse
+          \else
+            \let\BKM at prev\BKM at x@parent
+          \fi
+        \fi
+      }%
+      \pdfstringdef\BKM at title{\bookmark at text}%
+      \BKM at vtex@title
+      \edef\BKM at FLAGS{\BKM at PrintStyle}%
+      \let\BKM at action\@empty
+      \ifx\BKM at gotor\@empty
+        \ifx\BKM at dest\@empty
+          \ifx\BKM at named\@empty
+            \ifx\BKM at rawaction\@empty
+              \ifx\BKM at uri\@empty
+                \ifx\BKM at page\@empty
+                  \PackageError{bookmark}{Missing action}\@ehc
+                  \def\BKM at action{!1}%
+                \else
+                  \edef\BKM at action{!\BKM at page}%
+                \fi
+              \else
+                \BKM at EscapeString\BKM at uri
+                \edef\BKM at action{%
+                  <u=%
+                    /S/URI%
+                    /URI(\BKM at uri)%
+                  >%
+                }%
+              \fi
+            \else
+              \edef\BKM at action{<u=\BKM at rawaction>}%
+            \fi
+          \else
+            \BKM at EscapeName\BKM at named
+            \edef\BKM at action{%
+              <u=%
+                /S/Named%
+                /N/\BKM at named
+              >%
+            }%
+          \fi
+        \else
+          \BKM at EscapeString\BKM at dest
+          \edef\BKM at action{\BKM at dest}%
+        \fi
+      \else
+        \ifx\BKM at dest\@empty
+          \ifx\BKM at page\@empty
+            \def\BKM at page{1}%
+          \fi
+          \ifx\BKM at view\@empty
+            \def\BKM at view{Fit}%
+          \fi
+          \edef\BKM at action{/D[\BKM at page/\BKM at view]}%
+        \else
+          \BKM at EscapeString\BKM at dest
+          \edef\BKM at action{/D(\BKM at dest)}%
+        \fi
+        \BKM at EscapeString\BKM at gotor
+        \edef\BKM at action{%
+          <u=%
+            /S/GoToR%
+            /F(\BKM at gotor)%
+            \BKM at action
+          >>%
+        }%
+      \fi
+      \ifx\BKM at color\@empty
+        \let\BKM at RGBcolor\@empty
+      \else
+        \expandafter\BKM at toRGB\BKM at color\@nil
+      \fi
+      \special{%
+        !outline \BKM at action;%
+        p=\BKM at parent,%
+        i=\number\BKM at id,%
+        s=%
+          \ifBKM at open
+            \ifnum\BKM at level<\BKM at openlevel
+              o%
+            \else
+              c%
+            \fi
+          \else
+            c%
+          \fi,%
+        \ifx\BKM at RGBcolor\@empty
+        \else
+          c=\BKM at RGBcolor,%
+        \fi
+        \ifnum\BKM at FLAGS>\z@
+          f=\BKM at FLAGS,%
+        \fi
+        t=\BKM at title
+      }%
+    \endgroup
+  \fi
+}
+\def\BKM at getx#1#2{%
+  \def\BKM at x@parent{#1}%
+  \def\BKM at x@level{#2}%
+}
+\def\BKM at toRGB#1 #2 #3\@nil{%
+  \let\BKM at RGBcolor\@empty
+  \BKM at toRGBComponent{#1}%
+  \BKM at toRGBComponent{#2}%
+  \BKM at toRGBComponent{#3}%
+}
+\def\BKM at toRGBComponent#1{%
+  \dimen@=#1pt\relax
+  \ifdim\dimen@>\z@
+    \ifdim\dimen@<\p@
+      \dimen@=255\dimen@
+      \advance\dimen@ by 32768sp\relax
+      \divide\dimen@ by 65536\relax
+      \dimen at ii=\dimen@
+      \divide\dimen at ii by 16\relax
+      \edef\BKM at RGBcolor{%
+        \BKM at RGBcolor
+        \BKM at toHexDigit\dimen at ii
+      }%
+      \dimen at ii=16\dimen at ii
+      \advance\dimen at -\dimen at ii
+      \edef\BKM at RGBcolor{%
+        \BKM at RGBcolor
+        \BKM at toHexDigit\dimen@
+      }%
+    \else
+      \edef\BKM at RGBcolor{\BKM at RGBcolor FF}%
+    \fi
+  \else
+    \edef\BKM at RGBcolor{\BKM at RGBcolor00}%
+  \fi
+}
+\def\BKM at toHexDigit#1{%
+  \ifcase\expandafter\@firstofone\expandafter{\number#1} %
+    0\or 1\or 2\or 3\or 4\or 5\or 6\or 7\or
+    8\or 9\or A\or B\or C\or D\or E\or F%
+  \fi
+}
+\begingroup
+  \catcode`\|=0 %
+  \catcode`\\=12 %
+  |gdef|BKM at vtex@title{%
+    |@onelevel at sanitize|BKM at title
+    |edef|BKM at title{|expandafter|BKM at vtex@leftparen|BKM at title\(|@nil}%
+    |edef|BKM at title{|expandafter|BKM at vtex@rightparen|BKM at title\)|@nil}%
+    |edef|BKM at title{|expandafter|BKM at vtex@zero|BKM at title\0|@nil}%
+    |edef|BKM at title{|expandafter|BKM at vtex@one|BKM at title\1|@nil}%
+    |edef|BKM at title{|expandafter|BKM at vtex@two|BKM at title\2|@nil}%
+    |edef|BKM at title{|expandafter|BKM at vtex@three|BKM at title\3|@nil}%
+  }%
+  |gdef|BKM at vtex@leftparen#1\(#2|@nil{%
+    #1%
+    |ifx||#2||%
+    |else
+      (%
+      |ltx at ReturnAfterFi{%
+        |BKM at vtex@leftparen#2|@nil
+      }%
+    |fi
+  }%
+  |gdef|BKM at vtex@rightparen#1\)#2|@nil{%
+    #1%
+    |ifx||#2||%
+    |else
+      )%
+      |ltx at ReturnAfterFi{%
+        |BKM at vtex@rightparen#2|@nil
+      }%
+    |fi
+  }%
+  |gdef|BKM at vtex@zero#1\0#2|@nil{%
+    #1%
+    |ifx||#2||%
+    |else
+      |noexpand|hv at pdf@char0%
+      |ltx at ReturnAfterFi{%
+        |BKM at vtex@zero#2|@nil
+      }%
+    |fi
+  }%
+  |gdef|BKM at vtex@one#1\1#2|@nil{%
+    #1%
+    |ifx||#2||%
+    |else
+      |noexpand|hv at pdf@char1%
+      |ltx at ReturnAfterFi{%
+        |BKM at vtex@one#2|@nil
+      }%
+    |fi
+  }%
+  |gdef|BKM at vtex@two#1\2#2|@nil{%
+    #1%
+    |ifx||#2||%
+    |else
+      |noexpand|hv at pdf@char2%
+      |ltx at ReturnAfterFi{%
+        |BKM at vtex@two#2|@nil
+      }%
+    |fi
+  }%
+  |gdef|BKM at vtex@three#1\3#2|@nil{%
+    #1%
+    |ifx||#2||%
+    |else
+      |noexpand|hv at pdf@char3%
+      |ltx at ReturnAfterFi{%
+        |BKM at vtex@three#2|@nil
+      }%
+    |fi
+  }%
+|endgroup
+\ifBKM at atend
+  \RequirePackage{atenddvi}%
+  \AtEndDvi{\BKM at EndHook}%
+\fi
+%</vtexfrozen>


Property changes on: trunk/Master/texmf-dist/source/latex/bookmark/bookmark-frozen.dtx
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Modified: trunk/Master/texmf-dist/source/latex/bookmark/bookmark.dtx
===================================================================
--- trunk/Master/texmf-dist/source/latex/bookmark/bookmark.dtx	2020-11-08 21:40:47 UTC (rev 56884)
+++ trunk/Master/texmf-dist/source/latex/bookmark/bookmark.dtx	2020-11-08 21:41:19 UTC (rev 56885)
@@ -1,12 +1,12 @@
 % \iffalse meta-comment
 %
 % File: bookmark.dtx
-% Version: 2019/12/03 v1.28
+% Version: 2020-11-06 v1.29
 % Info: PDF bookmarks
 %
 % Copyright (C)
 %    2007-2011 Heiko Oberdiek
-%    2016-2019 Oberdiek Package Support Group
+%    2016-2020 Oberdiek Package Support Group
 %    https://github.com/ho-tex/bookmark/issues
 %
 % This work may be distributed and/or modified under the
@@ -28,12 +28,15 @@
 % This work consists of the main source file bookmark.dtx
 % and the derived files
 %    bookmark.sty, bookmark.pdf, bookmark.ins, bookmark.drv,
-%    bkm-dvipdfm.def, bkm-dvips.def, bkm-dvipsone.def,
-%    bkm-textures.def, bkm-pdftex.def, bkm-vtex.def,
+%    bkm-dvipdfm.def, bkm-dvips.def,
+%    bkm-pdftex.def, bkm-vtex.def,
+%    bkm-dvipdfm-2019-12-03.def, bkm-dvips-2019-12-03.def,
+%    bkm-pdftex-2019-12-03.def, bkm-vtex-2019-12-03.def,
 %    bookmark-example.tex.
 %
 % Distribution:
 %    CTAN:macros/latex/contrib/bookmark/bookmark.dtx
+%    CTAN:macros/latex/contrib/bookmark/bookmark-frozen.dtx
 %    CTAN:macros/latex/contrib/bookmark/bookmark.pdf
 %
 % Unpacking:
@@ -66,13 +69,16 @@
 %    TDS:tex/latex/bookmark/bookmark.sty
 %    TDS:tex/latex/bookmark/bkm-dvipdfm.def
 %    TDS:tex/latex/bookmark/bkm-dvips.def
-%    TDS:tex/latex/bookmark/bkm-dvipsone.def
-%    TDS:tex/latex/bookmark/bkm-textures.def
 %    TDS:tex/latex/bookmark/bkm-pdftex.def
 %    TDS:tex/latex/bookmark/bkm-vtex.def
+%    TDS:tex/latex/bookmark/bkm-dvipdfm-2019-12-03.def
+%    TDS:tex/latex/bookmark/bkm-dvips-2019-12-03.def
+%    TDS:tex/latex/bookmark/bkm-pdftex-2019-12-03.def
+%    TDS:tex/latex/bookmark/bkm-vtex-2019-12-03.def%
 %    TDS:doc/latex/bookmark/bookmark.pdf
 %    TDS:doc/latex/bookmark/bookmark-example.tex
 %    TDS:source/latex/bookmark/bookmark.dtx
+%    TDS:source/latex/bookmark/bookmark-frozen.dtx
 %
 %<*ignore>
 \begingroup
@@ -89,7 +95,7 @@
 \input docstrip.tex
 \Msg{************************************************************************}
 \Msg{* Installation}
-\Msg{* Package: bookmark 2019/12/03 v1.28 PDF bookmarks (HO)}
+\Msg{* Package: bookmark 2020-11-06 v1.29 PDF bookmarks (HO)}
 \Msg{************************************************************************}
 
 \keepsilent
@@ -101,11 +107,11 @@
 This is a generated file.
 
 Project: bookmark
-Version: 2019/12/03 v1.28
+Version: 2020-11-06 v1.29
 
 Copyright (C)
    2007-2011 Heiko Oberdiek
-   2016-2019 Oberdiek Package Support Group
+   2016-2020 Oberdiek Package Support Group
 
 This work may be distributed and/or modified under the
 conditions of the LaTeX Project Public License, either
@@ -124,11 +130,12 @@
 https://github.com/ho-tex/bookmark/issues
 
 
-This work consists of the main source file bookmark.dtx
+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,
-   bkm-dvipdfm.def, bkm-dvips.def, bkm-dvipsone.def,
-   bkm-textures.def, bkm-pdftex.def, bkm-vtex.def,
+   bkm-dvipdfm.def, bkm-dvips.def, bkm-pdftex.def, bkm-vtex.def,
+   bkm-dvipdfm-2019-12-03.def, bkm-dvips-2019-12-03.def,
+   bkm-pdftex-2019-12-03.def, bkm-vtex-2019-12-03.def,
    bookmark-example.tex.
 
 \endpreamble
@@ -141,12 +148,14 @@
   \file{bookmark.sty}{\from{bookmark.dtx}{package}}%
   \file{bkm-dvipdfm.def}{\from{bookmark.dtx}{dvipdfm}}%
   \file{bkm-dvips.def}{\from{bookmark.dtx}{dvips,pdfmark}}%
-  \file{bkm-dvipsone.def}{\from{bookmark.dtx}{dvipsone,pdfmark}}%
-  \file{bkm-textures.def}{\from{bookmark.dtx}{textures,pdfmark}}%
   \file{bkm-pdftex.def}{\from{bookmark.dtx}{pdftex}}%
   \file{bkm-vtex.def}{\from{bookmark.dtx}{vtex}}%
   \usedir{doc/latex/bookmark}%
   \file{bookmark-example.tex}{\from{bookmark.dtx}{example}}%
+  \file{bkm-pdftex-2019-12-03.def}{\from{bookmark-frozen.dtx}{pdftexfrozen}}%
+  \file{bkm-dvips-2019-12-03.def}{\from{bookmark-frozen.dtx}{dvipsfrozen}}%
+  \file{bkm-vtex-2019-12-03.def}{\from{bookmark-frozen.dtx}{vtexfrozen}}%
+  \file{bkm-dvipdfm-2019-12-03.def}{\from{bookmark-frozen.dtx}{dvipdfmfrozen}}%
 }
 
 \catcode32=13\relax% active space
@@ -157,8 +166,9 @@
 \Msg{* files into a directory searched by TeX:}
 \Msg{*}
 \Msg{*     bookmark.sty, bkm-dvipdfm.def, bkm-dvips.def,}
-\Msg{*     bkm-dvipsone.def, bkm-textures.def, bkm-pdftex.def,}
-\Msg{*     bkm-vtex.def}
+\Msg{*     bkm-pdftex.def, bkm-vtex.def, bkm-dvipdfm-2019-12-03.def,}
+\Msg{*     bkm-dvips-2019-12-03.def, bkm-pdftex-2019-12-03.def,}
+\Msg{*     and bkm-vtex-2019-12-03.def}
 \Msg{*}
 \Msg{* To produce the documentation run the file `bookmark.drv'}
 \Msg{* through LaTeX.}
@@ -175,7 +185,7 @@
 %<*driver>
 \NeedsTeXFormat{LaTeX2e}
 \ProvidesFile{bookmark.drv}%
-  [2019/12/03 v1.28 PDF bookmarks (HO)]%
+  [2020-11-06 v1.29 PDF bookmarks (HO)]%
 \documentclass{ltxdoc}
 \usepackage{holtxdoc}[2011/11/22]
 \begin{document}
@@ -189,7 +199,7 @@
 % \GetFileInfo{bookmark.drv}
 %
 % \title{The \xpackage{bookmark} package}
-% \date{2019/12/03 v1.28}
+% \date{2020-11-06 v1.29}
 % \author{Heiko Oberdiek\thanks
 % {Please report any issues at \url{https://github.com/ho-tex/bookmark/issues}}}
 %
@@ -287,7 +297,6 @@
 % \subsubsection{Driver options}
 %
 % Supported drivers are \xoption{pdftex}, \xoption{dvips},
-% \xoption{dvipsone}, \xoption{textures},
 % \xoption{dvipdfm} (\xoption{xetex}), and \xoption{vtex}.
 % The \hologo{TeX} engines \hologo{pdfTeX}, \hologo{XeTeX},
 % and \hologo{VTeX} are automatically detected.
@@ -297,19 +306,19 @@
 % \begin{quote}
 % |\def\BookmarkDriverDefault{dvipdfm}|
 % \end{quote}
+% The current versions of the drivers uses new \LaTeX-hooks. If an
+% older format than 2020-10-01 is detected frozen versions of
+% the previous drivers are used as fallback.
 %
-% \paragraph{Open bookmarks with dvipdfmx.} Since 2007-04-25 the
-% cvs version of dvipmdfmx contains a patch that extends the
-% \cs{special} for bookmarks in order to specify the open status of
-% an outline entry. Option \xoption{dvipdfmx-outline-open} notifies
-% the package that the dvi driver program understands this kind
-% of \cs{special}. Alternatively \cs{SpecialDvipdfmxOutlineOpen}
-% can be defined as number one in the configuration file or before
-% the package is loaded, e.g.:
-% \begin{quote}
-% |\chardef\SpecialDvipdfmxOutlineOpen=1\relax|
-% \end{quote}
+% \paragraph{Open bookmarks with dvipdfmx.} Older version of
+% the package had an option \xoption{dvipdfmx-outline-open}
+% to activate code which allows to specify the open
+% status of an outline entry.
+% The package now assumes that all used dvipdfmx version are current enough to
+% understand this code and so activates the code always.
+% The option itself will be ignored.
 %
+%
 % \subsubsection{Layout options}
 %
 % \paragraph{Font options.}
@@ -396,7 +405,7 @@
 % unhappily the file name is a secret. The package supports
 % some ways to get the file name:
 % \begin{itemize}
-% \item If \hologo{LuaTeX} (indenpendently from DVI or PDF modus)
+% \item If \hologo{LuaTeX} (independently from DVI or PDF modus)
 %   is running, then its |status.filename| is used automatically.
 % \item Package \cs{currfile} \cite{currfile} redefines \hologo{LaTeX}
 %    internals to keep track of the file name. If the package
@@ -607,12 +616,11 @@
 %   adding bookmarks at the end of the document depends
 %   on the driver.
 %
-%   Some drivers
-%   (\xoption{pdftex}, \xoption{dvips}, \xoption{dvipsone},
-%   \xoption{textures}) use package \xpackage{atveryend}'s
+%   The driver \xoption{pdftex}
+%   use package \xpackage{atveryend}'s
 %   for this purpose. \cs{AtEndDocument} is too early,
 %   the last page might not been shipped out. Because the \xext{aux}
-%   file is needed, these drivers use \cs{AfterLastShipout}.
+%   file is needed, this driver use \cs{AfterLastShipout}.
 %
 %   The implementation of the other drivers
 %   (\xoption{dvipdfm}, \xoption{xetex}, \xoption{vtex})
@@ -622,6 +630,8 @@
 %   helps. It puts its argument on last page of the document.
 %   Two \hologo{LaTeX} runs are necessary at least, because
 %   the last page is detected by a reference.
+%
+%   \xoption{dvips} uses now the new LaTeX hook \texttt{shipout/lastpage}.
 % \item
 %   The time of expansion of the argument of \cs{BookmarkAtEnd}
 %   is not specified. This can happen immediately or at the end
@@ -752,7 +762,7 @@
 %<*package>
 \NeedsTeXFormat{LaTeX2e}
 \ProvidesPackage{bookmark}%
-  [2019/12/03 v1.28 PDF bookmarks (HO)]%
+  [2020-11-06 v1.29 PDF bookmarks (HO)]%
 %    \end{macrocode}
 %
 % \subsubsection{Requirements}
@@ -1622,23 +1632,13 @@
 %    \begin{macrocode}
 \BKM at DefineDriverKey{pdftex}
 \BKM at DefineDriverKey{dvips}
-\BKM at DefineDriverKey{dvipsone}
-\BKM at DefineDriverKey{textures}
 \BKM at DefineDriverKey{dvipdfm}
 \BKM at DefineDriverKey{dvipdfmx}
 \BKM at DefineDriverKey{xetex}
 \BKM at DefineDriverKey{vtex}
 \define at key{BKM}{dvipdfmx-outline-open}[true]{%
-  \expandafter\ifx\csname if#1\expandafter\endcsname
-                  \csname iftrue\endcsname
-    \chardef\SpecialDvipdfmxOutlineOpen\@ne
-  \else
-    \chardef\SpecialDvipdfmxOutlineOpen\z@
-  \fi
-}
-\g at addto@macro\BKM at DisableOptions{%
-  \DisableKeyvalOption{BKM}{dvipdfmx-outline-open}%
-}
+ \PackageWarning{bookmark}{Option 'dvipdfmx-outline-open' is obsolete
+   and ignored}{}}
 %    \end{macrocode}
 %    \begin{macro}{\bookmark at driver}
 %    \begin{macrocode}
@@ -1709,22 +1709,6 @@
 % \paragraph{Driver validation and loading.}
 %
 %    \begin{macrocode}
-\newif\ifBKM at DvipdfmxOutlineOpen
-\ltx at IfUndefined{SpecialDvipdfmxOutlineOpen}{%
-  \ifxetex
-    \ifdim\number\XeTeXversion\XeTeXrevision in<0.9995in %
-    \else
-      \chardef\SpecialDvipdfmxOutlineOpen\ltx at one
-      \BKM at DvipdfmxOutlineOpentrue
-    \fi
-  \fi
-}{%
-  \ifnum\SpecialDvipdfmxOutlineOpen>\z@
-    \BKM at DvipdfmxOutlineOpentrue
-  \fi
-}
-%    \end{macrocode}
-%    \begin{macrocode}
 \def\BKM at temp{dvipdfmx}%
 \ifx\BKM at temp\BKM at driver
   \def\BKM at driver{dvipdfm}%
@@ -1778,6 +1762,8 @@
     \fi
   \fi
 \fi
+\providecommand\IfFormatAtLeastTF{\@ifl at t@r\fmtversion}
+\IfFormatAtLeastTF{2020/10/01}{}{\edef\BKM at driver{\BKM at driver-2019-12-03}}
 \InputIfFileExists{bkm-\BKM at driver.def}{}{%
   \PackageError{bookmark}{%
     Unsupported driver `\BKM at driver'.\MessageBreak
@@ -1843,7 +1829,7 @@
           \let\partnumberline\@gobble
           \let\chapternumberline\@gobble
         \fi
-        \bookmark[level=#4,dest={#3}]{#2}%
+        \bookmark[level=#4,dest={\HyperDestNameFilter{#3}}]{#2}%
       \endgroup
     \fi
   \fi
@@ -1867,7 +1853,7 @@
 %<*dvipdfm>
 \NeedsTeXFormat{LaTeX2e}
 \ProvidesFile{bkm-dvipdfm.def}%
-  [2019/12/03 v1.28 bookmark driver for dvipdfm (HO)]%
+  [2020-11-06 v1.29 bookmark driver for dvipdfm (HO)]%
 %    \end{macrocode}
 %
 %    \begin{macro}{\BKM at id}
@@ -1990,7 +1976,7 @@
         }%
       \fi
       \special{pdf:%
-        out \ifBKM at DvipdfmxOutlineOpen
+        out
               [%
               \ifBKM at open
                 \ifnum\BKM at level<%
@@ -2003,7 +1989,6 @@
                 -%
               \fi
               ] %
-            \fi
             \BKM at abslevel
         <<%
           /Title(\BKM at title)%
@@ -2042,7 +2027,7 @@
 %<*vtex>
 \NeedsTeXFormat{LaTeX2e}
 \ProvidesFile{bkm-vtex.def}%
-  [2019/12/03 v1.28 bookmark driver for VTeX (HO)]%
+  [2020-11-06 v1.29 bookmark driver for VTeX (HO)]%
 %    \end{macrocode}
 %
 %    \begin{macrocode}
@@ -2373,7 +2358,7 @@
 %<*pdftex>
 \NeedsTeXFormat{LaTeX2e}
 \ProvidesFile{bkm-pdftex.def}%
-  [2019/12/03 v1.28 bookmark driver for pdfTeX (HO)]%
+  [2020-11-06 v1.29 bookmark driver for pdfTeX (HO)]%
 %    \end{macrocode}
 %
 %    \begin{macro}{\BKM at DO@entry}
@@ -2529,55 +2514,28 @@
 %<*dvips>
 \NeedsTeXFormat{LaTeX2e}
 \ProvidesFile{bkm-dvips.def}%
-  [2019/12/03 v1.28 bookmark driver for dvips (HO)]%
+  [2020-11-06 v1.29 bookmark driver for dvips (HO)]%
 %    \end{macrocode}
 %    \begin{macro}{\BKM at PSHeaderFile}
 %    \begin{macrocode}
 \def\BKM at PSHeaderFile#1{%
-  \special{header=#1}%
+  \special{PSfile=#1}%
 }
 %    \end{macrocode}
-%    \end{macro}
+%    \begin{macro}{\BKM at filename}
 %    \begin{macrocode}
-%</dvips>
+\def\BKM at filename{\jobname.out.ps}
 %    \end{macrocode}
-%
-% \subsubsection{Driver dvipsone}
-%
-%    \begin{macrocode}
-%<*dvipsone>
-\NeedsTeXFormat{LaTeX2e}
-\ProvidesFile{bkm-dvipsone.def}%
-  [2019/12/03 v1.28 bookmark driver for dvipsone (HO)]%
-%    \end{macrocode}
-%    \begin{macro}{\BKM at PSHeaderFile}
-%    \begin{macrocode}
-\def\BKM at PSHeaderFile#1{%
-  \special{header=#1}%
-}
-%    \end{macrocode}
 %    \end{macro}
 %    \begin{macrocode}
-%</dvipsone>
+\AddToHook{shipout/lastpage}{%
+  \BKM at pdfmark@out
+  \BKM at PSHeaderFile\BKM at filename
+  }
 %    \end{macrocode}
-%
-% \subsubsection{Driver textures}
-%
-%    \begin{macrocode}
-%<*textures>
-\NeedsTeXFormat{LaTeX2e}
-\ProvidesFile{bkm-textures.def}%
-  [2019/12/03 v1.28 bookmark driver for textures (HO)]%
-%    \end{macrocode}
-%    \begin{macro}{\BKM at PSHeaderFile}
-%    \begin{macrocode}
-\def\BKM at PSHeaderFile#1{%
-  \special{prePostScriptfile #1}%
-}
-%    \end{macrocode}
 %    \end{macro}
 %    \begin{macrocode}
-%</textures>
+%</dvips>
 %    \end{macrocode}
 %
 % \subsubsection{Common part}
@@ -2585,20 +2543,7 @@
 %    \begin{macrocode}
 %<*pdfmark>
 %    \end{macrocode}
-%    \begin{macro}{\BKM at filename}
-%    \begin{macrocode}
-\def\BKM at filename{\jobname.out.ps}
-%    \end{macrocode}
-%    \end{macro}
-%    \begin{macrocode}
-\BKM at PSHeaderFile\BKM at filename
-%    \end{macrocode}
 %
-%    \begin{macrocode}
-\RequirePackage{atveryend}[2009/12/07]
-\AfterLastShipout{\BKM at pdfmark@out}
-%    \end{macrocode}
-%
 %    \begin{macro}{\BKM at pdfmark@out}
 %    Do not use package \xpackage{rerunfilecheck} here, because
 %    the file \cs{BKM at filename} is not read during the \hologo{TeX} run.
@@ -2771,13 +2716,9 @@
 % \subsubsection{Write auxiliary file}
 %
 %    \begin{macrocode}
-\RequirePackage{auxhook}
+\AddToHook{begindocument}{%
+ \immediate\write\@mainaux{\string\providecommand\string\BKM at entry[2]{}}}
 %    \end{macrocode}
-%    \begin{macrocode}
-\AddLineBeginMainAux{%
-  \string\providecommand\string\BKM at entry[2]{}%
-}
-%    \end{macrocode}
 %
 %    \begin{macro}{\BKM at id}
 %    \begin{macrocode}
@@ -3005,46 +2946,44 @@
 %
 % \subsubsection{Drivers using hooks at end of document}
 %
-%    The following drivers use package \xpackage{atveryend}'s
-%    \cs{AfterLastShipout}, because they still need the
-%    \xext{aux} file.
+%    Driver \xoption{pdftex} use the LaTeX hook \xoption{enddocument/afterlastpage}
+%    (which is equivalent to the previously used
+%    \cs{AfterLastShipout} of \xpackage{atveryend}'s),
+%    because it still needs the \xext{aux} file. It uses
+%    uses \cs{pdfoutline} for the bookmakrs that can  be used after the last page.
 %    \begin{itemize}
 %    \item
 %      Driver \xoption{pdftex} uses \cs{pdfoutline} that can
 %      be used after the last page.
-%    \item
-%      PostScript drivers such as
-%      \xoption{dvips} use an external PostScript header file
-%      for the bookmarks. File writing can be done after
-%      the last shipout page, but before the \xext{aux} file is closed.
 %    \end{itemize}
 %    \begin{macrocode}
-%<*pdftex|pdfmark>
+%<*pdftex>
 \ifBKM at atend
-  \AfterLastShipout{%
+  \AddToHook{enddocument/afterlastpage}{%
     \BKM at EndHook
   }%
 \fi
-%</pdftex|pdfmark>
+%</pdftex>
 %    \end{macrocode}
 %
-% \subsubsection{Drivers using \cs{AtEndDvi}}
+% \subsubsection{Drivers using \xoption{shipout/lastpage}}
 %
 %    The other drivers implement \cs{bookmark} using \cs{special}
 %    commands. Thus the last bookmarks must be put on the last page,
 %    not afterwards.
 %    \cs{AtEndDocument} cannot be used, because it is too late, the
-%    last page can already be output. Therefore we use package
-%    \xpackage{atenddvi} that uses the help of packages \xpackage{atbegshi}
-%    and \xpackage{zref}. The argument of \cs{AtEndDvi} is put
-%    at the end of the last page. At least two \hologo{LaTeX} runs are necessary.
+%    last page can already be output. Therefore we use the
+%    LaTeX hook \xoption{shipout/lastpage}.
+%    At least two \hologo{LaTeX} runs are necessary.
+%    The postscript driver \xoption{dvips} use an external PostScript file
+%    for the bookmarks. The file writing has been moved to the
+%    the last shipout page too to avoid conflicts with pgf.
 %    \begin{macrocode}
-%<*dvipdfm|vtex>
+%<*dvipdfm|vtex|pdfmark>
 \ifBKM at atend
-  \RequirePackage{atenddvi}%
-  \AtEndDvi{\BKM at EndHook}%
+  \AddToHook{shipout/lastpage}{\BKM at EndHook}%
 \fi
-%</dvipdfm|vtex>
+%</dvipdfm|vtex|pdfmark>
 %    \end{macrocode}
 %
 % \section{Installation}
@@ -3097,8 +3036,6 @@
 %   bookmark.sty & tex/latex/bookmark/bookmark.sty\\
 %   bkm-dvipdfm.def & tex/latex/bookmark/bkm-dvipdfm.def\\
 %   bkm-dvips.def & tex/latex/bookmark/bkm-dvips.def\\
-%   bkm-dvipsone.def & tex/latex/bookmark/bkm-dvipsone.def\\
-%   bkm-textures.def & tex/latex/bookmark/bkm-textures.def\\
 %   bkm-pdftex.def & tex/latex/bookmark/bkm-pdftex.def\\
 %   bkm-vtex.def & tex/latex/bookmark/bkm-vtex.def\\
 %   bookmark.pdf & doc/latex/bookmark/bookmark.pdf\\
@@ -3424,7 +3361,7 @@
 %   \end{Version}
 %   \begin{Version}{2016/05/17 v1.26}
 %   \item
-%     define \cs{pdfbookmark} to allow pdftex driver to be used with Lua\TeX.
+%     define \cs{pdfoutline} to allow pdftex driver to be used with Lua\TeX.
 %   \end{Version}
 %   \begin{Version}{2019/06/04 v1.27}
 %   \item
@@ -3434,9 +3371,22 @@
 %   \begin{Version}{2019/12/03 v1.28}
 %   \item
 %     Documentation updates.
-%   \item adjust package loading (all required packages already loade
+%   \item adjust package loading (all required packages already loaded
 %     by \xpackage{hyperref}).
 %   \end{Version}
+%   \begin{Version}{2020-11-06 v1.29}
+%   \item Adapted the dvips to avoid a clash with pgf.
+%         https://github.com/pgf-tikz/pgf/issues/944
+%   \item All drivers now use the new LaTeX hooks
+%         and so require a format 2020-10-01 or newer. The older
+%         drivers are provided as frozen versions and are used if an older
+%         format is detected.
+%   \item Added support for destlabel option of hyperref, https://github.com/ho-tex/bookmark/issues/1
+%   \item Removed the \xoption{dvipsone} and \xoption{textures} driver.
+%   \item Removed the code for option \xoption{dvipdfmx-outline-open}
+%     and \cs{SpecialDvipdfmxOutlineOpen}. All dvipdfmx version should now support
+%     this out-of-the-box.
+%   \end{Version}
 % \end{History}
 %
 % \PrintIndex

Added: trunk/Master/texmf-dist/tex/latex/bookmark/bkm-dvipdfm-2019-12-03.def
===================================================================
--- trunk/Master/texmf-dist/tex/latex/bookmark/bkm-dvipdfm-2019-12-03.def	                        (rev 0)
+++ trunk/Master/texmf-dist/tex/latex/bookmark/bkm-dvipdfm-2019-12-03.def	2020-11-08 21:41:19 UTC (rev 56885)
@@ -0,0 +1,191 @@
+%%
+%% This is file `bkm-dvipdfm-2019-12-03.def',
+%% generated with the docstrip utility.
+%%
+%% The original source files were:
+%%
+%% bookmark-frozen.dtx  (with options: `dvipdfmfrozen')
+%% 
+%% This is a generated file.
+%% 
+%% Project: bookmark
+%% Version: 2020-11-06 v1.29
+%% 
+%% Copyright (C)
+%%    2007-2011 Heiko Oberdiek
+%%    2016-2020 Oberdiek Package Support Group
+%% 
+%% This work may be distributed and/or modified under the
+%% conditions of the LaTeX Project Public License, either
+%% version 1.3c of this license or (at your option) any later
+%% version. This version of this license is in
+%%    https://www.latex-project.org/lppl/lppl-1-3c.txt
+%% and the latest version of this license is in
+%%    https://www.latex-project.org/lppl.txt
+%% and version 1.3 or later is part of all distributions of
+%% LaTeX version 2005/12/01 or later.
+%% 
+%% This work has the LPPL maintenance status "maintained".
+%% 
+%% The Current Maintainers of this work are
+%% 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,
+%%    bkm-dvipdfm.def, bkm-dvips.def, bkm-pdftex.def, bkm-vtex.def,
+%%    bkm-dvipdfm-2019-12-03.def, bkm-dvips-2019-12-03.def,
+%%    bkm-pdftex-2019-12-03.def, bkm-vtex-2019-12-03.def,
+%%    bookmark-example.tex.
+%% 
+\NeedsTeXFormat{LaTeX2e}
+\ProvidesFile{bkm-dvipdfm.def}%
+  [2019/12/03 v1.28 bookmark driver for dvipdfm (HO)]%
+\newcount\BKM at id
+\BKM at id=\z@
+\@namedef{BKM at 0}{000}
+\newif\ifBKM at sw
+\newcommand*{\bookmark}[2][]{%
+  \if at filesw
+    \begingroup
+      \def\bookmark at text{#2}%
+      \BKM at setup{#1}%
+      \edef\BKM at prev{\the\BKM at id}%
+      \global\advance\BKM at id\@ne
+      \BKM at swtrue
+      \@whilesw\ifBKM at sw\fi{%
+        \def\BKM at abslevel{1}%
+        \ifnum\ifBKM at startatroot\z@\else\BKM at prev\fi=\z@
+          \BKM at startatrootfalse
+          \expandafter\xdef\csname BKM@\the\BKM at id\endcsname{%
+            0{\BKM at level}\BKM at abslevel
+          }%
+          \BKM at swfalse
+        \else
+          \expandafter\expandafter\expandafter\BKM at getx
+              \csname BKM@\BKM at prev\endcsname
+          \ifnum\BKM at level>\BKM at x@level\relax
+            \BKM at CalcExpr\BKM at abslevel\BKM at x@abslevel+1%
+            \expandafter\xdef\csname BKM@\the\BKM at id\endcsname{%
+              {\BKM at prev}{\BKM at level}\BKM at abslevel
+            }%
+            \BKM at swfalse
+          \else
+            \let\BKM at prev\BKM at x@parent
+          \fi
+        \fi
+      }%
+      \csname HyPsd at XeTeXBigCharstrue\endcsname
+      \pdfstringdef\BKM at title{\bookmark at text}%
+      \edef\BKM at FLAGS{\BKM at PrintStyle}%
+      \let\BKM at action\@empty
+      \ifx\BKM at gotor\@empty
+        \ifx\BKM at dest\@empty
+          \ifx\BKM at named\@empty
+            \ifx\BKM at rawaction\@empty
+              \ifx\BKM at uri\@empty
+                \ifx\BKM at page\@empty
+                  \PackageError{bookmark}{Missing action}\@ehc
+                  \edef\BKM at action{/Dest[@page1/Fit]}%
+                \else
+                  \ifx\BKM at view\@empty
+                    \def\BKM at view{Fit}%
+                  \fi
+                  \edef\BKM at action{/Dest[@page\BKM at page/\BKM at view]}%
+                \fi
+              \else
+                \BKM at EscapeString\BKM at uri
+                \edef\BKM at action{%
+                  /A<<%
+                    /S/URI%
+                    /URI(\BKM at uri)%
+                  >>%
+                }%
+              \fi
+            \else
+              \edef\BKM at action{/A<<\BKM at rawaction>>}%
+            \fi
+          \else
+            \BKM at EscapeName\BKM at named
+            \edef\BKM at action{%
+              /A<</S/Named/N/\BKM at named>>%
+            }%
+          \fi
+        \else
+          \BKM at EscapeString\BKM at dest
+          \edef\BKM at action{%
+            /A<<%
+              /S/GoTo%
+              /D(\BKM at dest)%
+            >>%
+          }%
+        \fi
+      \else
+        \ifx\BKM at dest\@empty
+          \ifx\BKM at page\@empty
+            \def\BKM at page{0}%
+          \else
+            \BKM at CalcExpr\BKM at page\BKM at page-1%
+          \fi
+          \ifx\BKM at view\@empty
+            \def\BKM at view{Fit}%
+          \fi
+          \edef\BKM at action{/D[\BKM at page/\BKM at view]}%
+        \else
+          \BKM at EscapeString\BKM at dest
+          \edef\BKM at action{/D(\BKM at dest)}%
+        \fi
+        \BKM at EscapeString\BKM at gotor
+        \edef\BKM at action{%
+          /A<<%
+            /S/GoToR%
+            /F(\BKM at gotor)%
+            \BKM at action
+          >>%
+        }%
+      \fi
+      \special{pdf:%
+        out \ifBKM at DvipdfmxOutlineOpen
+              [%
+              \ifBKM at open
+                \ifnum\BKM at level<%
+                    \expandafter\ltx at firstofone\expandafter
+                    {\number\BKM at openlevel} %
+                \else
+                  -%
+                \fi
+              \else
+                -%
+              \fi
+              ] %
+            \fi
+            \BKM at abslevel
+        <<%
+          /Title(\BKM at title)%
+          \ifx\BKM at color\@empty
+          \else
+            /C[\BKM at color]%
+          \fi
+          \ifnum\BKM at FLAGS>\z@
+            /F \BKM at FLAGS
+          \fi
+          \BKM at action
+        >>%
+      }%
+    \endgroup
+  \fi
+}
+\def\BKM at getx#1#2#3{%
+  \def\BKM at x@parent{#1}%
+  \def\BKM at x@level{#2}%
+  \def\BKM at x@abslevel{#3}%
+}
+\ifBKM at atend
+  \RequirePackage{atenddvi}%
+  \AtEndDvi{\BKM at EndHook}%
+\fi
+\endinput
+%%
+%% End of file `bkm-dvipdfm-2019-12-03.def'.


Property changes on: trunk/Master/texmf-dist/tex/latex/bookmark/bkm-dvipdfm-2019-12-03.def
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Modified: trunk/Master/texmf-dist/tex/latex/bookmark/bkm-dvipdfm.def
===================================================================
--- trunk/Master/texmf-dist/tex/latex/bookmark/bkm-dvipdfm.def	2020-11-08 21:40:47 UTC (rev 56884)
+++ trunk/Master/texmf-dist/tex/latex/bookmark/bkm-dvipdfm.def	2020-11-08 21:41:19 UTC (rev 56885)
@@ -9,11 +9,11 @@
 %% This is a generated file.
 %% 
 %% Project: bookmark
-%% Version: 2019/12/03 v1.28
+%% Version: 2020-11-06 v1.29
 %% 
 %% Copyright (C)
 %%    2007-2011 Heiko Oberdiek
-%%    2016-2019 Oberdiek Package Support Group
+%%    2016-2020 Oberdiek Package Support Group
 %% 
 %% This work may be distributed and/or modified under the
 %% conditions of the LaTeX Project Public License, either
@@ -32,16 +32,17 @@
 %% https://github.com/ho-tex/bookmark/issues
 %% 
 %% 
-%% This work consists of the main source file bookmark.dtx
+%% 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,
-%%    bkm-dvipdfm.def, bkm-dvips.def, bkm-dvipsone.def,
-%%    bkm-textures.def, bkm-pdftex.def, bkm-vtex.def,
+%%    bkm-dvipdfm.def, bkm-dvips.def, bkm-pdftex.def, bkm-vtex.def,
+%%    bkm-dvipdfm-2019-12-03.def, bkm-dvips-2019-12-03.def,
+%%    bkm-pdftex-2019-12-03.def, bkm-vtex-2019-12-03.def,
 %%    bookmark-example.tex.
 %% 
 \NeedsTeXFormat{LaTeX2e}
 \ProvidesFile{bkm-dvipdfm.def}%
-  [2019/12/03 v1.28 bookmark driver for dvipdfm (HO)]%
+  [2020-11-06 v1.29 bookmark driver for dvipdfm (HO)]%
 \newcount\BKM at id
 \BKM at id=\z@
 \@namedef{BKM at 0}{000}
@@ -146,7 +147,7 @@
         }%
       \fi
       \special{pdf:%
-        out \ifBKM at DvipdfmxOutlineOpen
+        out
               [%
               \ifBKM at open
                 \ifnum\BKM at level<%
@@ -159,7 +160,6 @@
                 -%
               \fi
               ] %
-            \fi
             \BKM at abslevel
         <<%
           /Title(\BKM at title)%
@@ -182,8 +182,7 @@
   \def\BKM at x@abslevel{#3}%
 }
 \ifBKM at atend
-  \RequirePackage{atenddvi}%
-  \AtEndDvi{\BKM at EndHook}%
+  \AddToHook{shipout/lastpage}{\BKM at EndHook}%
 \fi
 
 \endinput

Added: trunk/Master/texmf-dist/tex/latex/bookmark/bkm-dvips-2019-12-03.def
===================================================================
--- trunk/Master/texmf-dist/tex/latex/bookmark/bkm-dvips-2019-12-03.def	                        (rev 0)
+++ trunk/Master/texmf-dist/tex/latex/bookmark/bkm-dvips-2019-12-03.def	2020-11-08 21:41:19 UTC (rev 56885)
@@ -0,0 +1,358 @@
+%%
+%% This is file `bkm-dvips-2019-12-03.def',
+%% generated with the docstrip utility.
+%%
+%% The original source files were:
+%%
+%% bookmark-frozen.dtx  (with options: `dvipsfrozen')
+%% 
+%% This is a generated file.
+%% 
+%% Project: bookmark
+%% Version: 2020-11-06 v1.29
+%% 
+%% Copyright (C)
+%%    2007-2011 Heiko Oberdiek
+%%    2016-2020 Oberdiek Package Support Group
+%% 
+%% This work may be distributed and/or modified under the
+%% conditions of the LaTeX Project Public License, either
+%% version 1.3c of this license or (at your option) any later
+%% version. This version of this license is in
+%%    https://www.latex-project.org/lppl/lppl-1-3c.txt
+%% and the latest version of this license is in
+%%    https://www.latex-project.org/lppl.txt
+%% and version 1.3 or later is part of all distributions of
+%% LaTeX version 2005/12/01 or later.
+%% 
+%% This work has the LPPL maintenance status "maintained".
+%% 
+%% The Current Maintainers of this work are
+%% 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,
+%%    bkm-dvipdfm.def, bkm-dvips.def, bkm-pdftex.def, bkm-vtex.def,
+%%    bkm-dvipdfm-2019-12-03.def, bkm-dvips-2019-12-03.def,
+%%    bkm-pdftex-2019-12-03.def, bkm-vtex-2019-12-03.def,
+%%    bookmark-example.tex.
+%% 
+\def\BKM at SourceLocation{%
+  \ifx\BKM at DO@srcfile\@empty
+    \ifx\BKM at DO@srcline\@empty
+    \else
+      .\MessageBreak
+      Source: line \BKM at DO@srcline
+    \fi
+  \else
+    \ifx\BKM at DO@srcline\@empty
+      .\MessageBreak
+      Source: file `\BKM at DO@srcfile'%
+    \else
+      .\MessageBreak
+      Source: file `\BKM at DO@srcfile', line \BKM at DO@srcline
+    \fi
+  \fi
+}
+\NeedsTeXFormat{LaTeX2e}
+\ProvidesFile{bkm-dvips.def}%
+  [2019/12/03 v1.28 bookmark driver for dvips (HO)]%
+\def\BKM at PSHeaderFile#1{%
+  \special{header=#1}%
+}
+\def\BKM at filename{\jobname.out.ps}
+\BKM at PSHeaderFile\BKM at filename
+\RequirePackage{atveryend}[2009/12/07]
+\AfterLastShipout{\BKM at pdfmark@out}
+\def\BKM at pdfmark@out{%
+  \if at filesw
+    \newwrite\BKM at file
+    \immediate\openout\BKM at file=\BKM at filename\relax
+    \BKM at write{\@percentchar!}%
+    \BKM at write{/pdfmark where{pop}}%
+    \BKM at write{%
+      {%
+        /globaldict where{pop globaldict}{userdict}ifelse%
+        /pdfmark/cleartomark load put%
+      }%
+    }%
+    \BKM at write{ifelse}%
+  \else
+    \let\BKM at write\@gobble
+    \let\BKM at DO@entry\@gobbletwo
+  \fi
+}
+\def\BKM at write#{%
+  \immediate\write\BKM at file
+}
+\def\BKM at DO@entry#1#2{%
+  \begingroup
+    \kvsetkeys{BKM at DO}{#1}%
+    \ifx\BKM at DO@srcfile\@empty
+    \else
+      \BKM at UnescapeHex\BKM at DO@srcfile
+    \fi
+    \def\BKM at DO@title{#2}%
+    \BKM at UnescapeHex\BKM at DO@title
+    \expandafter\expandafter\expandafter\BKM at getx
+        \csname BKM@\BKM at DO@id\endcsname\@empty\@empty
+    \let\BKM at attr\@empty
+    \ifx\BKM at DO@flags\@empty
+    \else
+      \edef\BKM at attr{\BKM at attr/F \BKM at DO@flags}%
+    \fi
+    \ifx\BKM at DO@color\@empty
+    \else
+      \edef\BKM at attr{\BKM at attr/C[\BKM at DO@color]}%
+    \fi
+    \let\BKM at action\@empty
+    \ifx\BKM at DO@gotor\@empty
+      \ifx\BKM at DO@dest\@empty
+        \ifx\BKM at DO@named\@empty
+          \ifx\BKM at DO@rawaction\@empty
+            \ifx\BKM at DO@uri\@empty
+              \ifx\BKM at DO@page\@empty
+                \PackageError{bookmark}{%
+                  Missing action\BKM at SourceLocation
+                }\@ehc
+                \edef\BKM at action{%
+                  /Action/GoTo%
+                  /Page 1%
+                  /View[/Fit]%
+                }%
+              \else
+                \ifx\BKM at DO@view\@empty
+                  \def\BKM at DO@view{Fit}%
+                \fi
+                \edef\BKM at action{%
+                  /Action/GoTo%
+                  /Page \BKM at DO@page
+                  /View[/\BKM at DO@view]%
+                }%
+              \fi
+            \else
+              \BKM at UnescapeHex\BKM at DO@uri
+              \BKM at EscapeString\BKM at DO@uri
+              \edef\BKM at action{%
+                /Action<<%
+                  /Subtype/URI%
+                  /URI(\BKM at DO@uri)%
+                >>%
+              }%
+            \fi
+          \else
+            \BKM at UnescapeHex\BKM at DO@rawaction
+            \edef\BKM at action{%
+              /Action<<%
+                \BKM at DO@rawaction
+              >>%
+            }%
+          \fi
+        \else
+          \BKM at EscapeName\BKM at DO@named
+          \edef\BKM at action{%
+            /Action<<%
+              /Subtype/Named%
+              /N/\BKM at DO@named
+            >>%
+          }%
+        \fi
+      \else
+        \BKM at UnescapeHex\BKM at DO@dest
+        \BKM at EscapeString\BKM at DO@dest
+        \edef\BKM at action{%
+          /Action/GoTo%
+          /Dest(\BKM at DO@dest)cvn%
+        }%
+      \fi
+    \else
+      \ifx\BKM at DO@dest\@empty
+        \ifx\BKM at DO@page\@empty
+          \def\BKM at DO@page{1}%
+        \fi
+        \ifx\BKM at DO@view\@empty
+          \def\BKM at DO@view{Fit}%
+        \fi
+        \edef\BKM at action{%
+          /Page \BKM at DO@page
+          /View[/\BKM at DO@view]%
+        }%
+      \else
+        \BKM at UnescapeHex\BKM at DO@dest
+        \BKM at EscapeString\BKM at DO@dest
+        \edef\BKM at action{%
+          /Dest(\BKM at DO@dest)cvn%
+        }%
+      \fi
+      \BKM at UnescapeHex\BKM at DO@gotor
+      \BKM at EscapeString\BKM at DO@gotor
+      \edef\BKM at action{%
+        /Action/GoToR%
+        /File(\BKM at DO@gotor)%
+        \BKM at action
+      }%
+    \fi
+    \BKM at write{[}%
+    \BKM at write{/Title(\BKM at DO@title)}%
+    \ifnum\BKM at x@childs>\z@
+      \BKM at write{/Count \ifBKM at DO@open\else-\fi\BKM at x@childs}%
+    \fi
+    \ifx\BKM at attr\@empty
+    \else
+      \BKM at write{\BKM at attr}%
+    \fi
+    \BKM at write{\BKM at action}%
+    \BKM at write{/OUT pdfmark}%
+  \endgroup
+}
+\RequirePackage{auxhook}
+\AddLineBeginMainAux{%
+  \string\providecommand\string\BKM at entry[2]{}%
+}
+\newcount\BKM at id
+\BKM at id=\z@
+\@namedef{BKM at 0}{000}
+\newif\ifBKM at sw
+\newcommand*{\bookmark}[2][]{%
+  \if at filesw
+    \begingroup
+      \BKM at InitSourceLocation
+      \def\bookmark at text{#2}%
+      \BKM at setup{#1}%
+      \ifx\BKM at srcfile\@empty
+      \else
+        \BKM at EscapeHex\BKM at srcfile
+      \fi
+      \edef\BKM at prev{\the\BKM at id}%
+      \global\advance\BKM at id\@ne
+      \BKM at swtrue
+      \@whilesw\ifBKM at sw\fi{%
+        \ifnum\ifBKM at startatroot\z@\else\BKM at prev\fi=\z@
+          \BKM at startatrootfalse
+          \expandafter\xdef\csname BKM@\the\BKM at id\endcsname{%
+            0{\BKM at level}0%
+          }%
+          \BKM at swfalse
+        \else
+          \expandafter\expandafter\expandafter\BKM at getx
+              \csname BKM@\BKM at prev\endcsname
+          \ifnum\BKM at level>\BKM at x@level\relax
+            \expandafter\xdef\csname BKM@\the\BKM at id\endcsname{%
+              {\BKM at prev}{\BKM at level}0%
+            }%
+            \ifnum\BKM at prev>\z@
+              \BKM at CalcExpr\BKM at CalcResult\BKM at x@childs+1%
+              \expandafter\xdef\csname BKM@\BKM at prev\endcsname{%
+                {\BKM at x@parent}{\BKM at x@level}{\BKM at CalcResult}%
+              }%
+            \fi
+            \BKM at swfalse
+          \else
+            \let\BKM at prev\BKM at x@parent
+          \fi
+        \fi
+      }%
+      \pdfstringdef\BKM at title{\bookmark at text}%
+      \edef\BKM at FLAGS{\BKM at PrintStyle}%
+      \csname BKM at HypDestOptHook\endcsname
+      \BKM at EscapeHex\BKM at dest
+      \BKM at EscapeHex\BKM at uri
+      \BKM at EscapeHex\BKM at gotor
+      \BKM at EscapeHex\BKM at rawaction
+      \BKM at EscapeHex\BKM at title
+      \immediate\write\@mainaux{%
+        \string\BKM at entry{%
+          id=\number\BKM at id
+          \ifBKM at open
+            \ifnum\BKM at level<\BKM at openlevel
+              ,open%
+            \fi
+          \fi
+          \BKM at auxentry{dest}%
+          \BKM at auxentry{named}%
+          \BKM at auxentry{uri}%
+          \BKM at auxentry{gotor}%
+          \BKM at auxentry{page}%
+          \BKM at auxentry{view}%
+          \BKM at auxentry{rawaction}%
+          \BKM at auxentry{color}%
+          \ifnum\BKM at FLAGS>\z@
+            ,flags=\BKM at FLAGS
+          \fi
+          \BKM at auxentry{srcline}%
+          \BKM at auxentry{srcfile}%
+        }{\BKM at title}%
+      }%
+    \endgroup
+  \fi
+}
+\def\BKM at getx#1#2#3{%
+  \def\BKM at x@parent{#1}%
+  \def\BKM at x@level{#2}%
+  \def\BKM at x@childs{#3}%
+}
+\def\BKM at auxentry#1{%
+  \expandafter\ifx\csname BKM@#1\endcsname\@empty
+  \else
+    ,#1={\csname BKM@#1\endcsname}%
+  \fi
+}
+\def\BKM at InitSourceLocation{%
+  \edef\BKM at srcline{\the\inputlineno}%
+  \BKM at LuaTeX@InitFile
+  \ifx\BKM at srcfile\@empty
+    \ltx at IfUndefined{currfilepath}{}{%
+      \edef\BKM at srcfile{\currfilepath}%
+    }%
+  \fi
+}
+\ifluatex
+  \ifnum\luatexversion>36 %
+    \def\BKM at LuaTeX@InitFile{%
+      \begingroup
+        \ltx at LocToksA={}%
+      \edef\x{\endgroup
+        \def\noexpand\BKM at srcfile{%
+          \the\expandafter\ltx at LocToksA
+          \directlua{%
+             if status and status.filename then %
+               tex.settoks('ltx at LocToksA', status.filename)%
+             end%
+          }%
+        }%
+      }\x
+    }%
+  \else
+    \let\BKM at LuaTeX@InitFile\relax
+  \fi
+\else
+  \let\BKM at LuaTeX@InitFile\relax
+\fi
+\SetupKeyvalOptions{family=BKM at DO,prefix=BKM at DO@}
+\DeclareStringOption[0]{id}
+\DeclareBoolOption{open}
+\DeclareStringOption{flags}
+\DeclareStringOption{color}
+\DeclareStringOption{dest}
+\DeclareStringOption{named}
+\DeclareStringOption{uri}
+\DeclareStringOption{gotor}
+\DeclareStringOption{page}
+\DeclareStringOption{view}
+\DeclareStringOption{rawaction}
+\DeclareStringOption{srcline}
+\DeclareStringOption{srcfile}
+\AtBeginDocument{%
+  \let\BKM at entry\BKM at DO@entry
+}
+\ifBKM at atend
+  \AfterLastShipout{%
+    \BKM at EndHook
+  }%
+\fi
+\endinput
+%%
+%% End of file `bkm-dvips-2019-12-03.def'.


Property changes on: trunk/Master/texmf-dist/tex/latex/bookmark/bkm-dvips-2019-12-03.def
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Modified: trunk/Master/texmf-dist/tex/latex/bookmark/bkm-dvips.def
===================================================================
--- trunk/Master/texmf-dist/tex/latex/bookmark/bkm-dvips.def	2020-11-08 21:40:47 UTC (rev 56884)
+++ trunk/Master/texmf-dist/tex/latex/bookmark/bkm-dvips.def	2020-11-08 21:41:19 UTC (rev 56885)
@@ -9,11 +9,11 @@
 %% This is a generated file.
 %% 
 %% Project: bookmark
-%% Version: 2019/12/03 v1.28
+%% Version: 2020-11-06 v1.29
 %% 
 %% Copyright (C)
 %%    2007-2011 Heiko Oberdiek
-%%    2016-2019 Oberdiek Package Support Group
+%%    2016-2020 Oberdiek Package Support Group
 %% 
 %% This work may be distributed and/or modified under the
 %% conditions of the LaTeX Project Public License, either
@@ -32,11 +32,12 @@
 %% https://github.com/ho-tex/bookmark/issues
 %% 
 %% 
-%% This work consists of the main source file bookmark.dtx
+%% 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,
-%%    bkm-dvipdfm.def, bkm-dvips.def, bkm-dvipsone.def,
-%%    bkm-textures.def, bkm-pdftex.def, bkm-vtex.def,
+%%    bkm-dvipdfm.def, bkm-dvips.def, bkm-pdftex.def, bkm-vtex.def,
+%%    bkm-dvipdfm-2019-12-03.def, bkm-dvips-2019-12-03.def,
+%%    bkm-pdftex-2019-12-03.def, bkm-vtex-2019-12-03.def,
 %%    bookmark-example.tex.
 %% 
 \def\BKM at SourceLocation{%
@@ -58,14 +59,15 @@
 }
 \NeedsTeXFormat{LaTeX2e}
 \ProvidesFile{bkm-dvips.def}%
-  [2019/12/03 v1.28 bookmark driver for dvips (HO)]%
+  [2020-11-06 v1.29 bookmark driver for dvips (HO)]%
 \def\BKM at PSHeaderFile#1{%
-  \special{header=#1}%
+  \special{PSfile=#1}%
 }
 \def\BKM at filename{\jobname.out.ps}
-\BKM at PSHeaderFile\BKM at filename
-\RequirePackage{atveryend}[2009/12/07]
-\AfterLastShipout{\BKM at pdfmark@out}
+\AddToHook{shipout/lastpage}{%
+  \BKM at pdfmark@out
+  \BKM at PSHeaderFile\BKM at filename
+  }
 \def\BKM at pdfmark@out{%
   \if at filesw
     \newwrite\BKM at file
@@ -207,10 +209,8 @@
     \BKM at write{/OUT pdfmark}%
   \endgroup
 }
-\RequirePackage{auxhook}
-\AddLineBeginMainAux{%
-  \string\providecommand\string\BKM at entry[2]{}%
-}
+\AddToHook{begindocument}{%
+ \immediate\write\@mainaux{\string\providecommand\string\BKM at entry[2]{}}}
 \newcount\BKM at id
 \BKM at id=\z@
 \@namedef{BKM at 0}{000}
@@ -348,9 +348,7 @@
   \let\BKM at entry\BKM at DO@entry
 }
 \ifBKM at atend
-  \AfterLastShipout{%
-    \BKM at EndHook
-  }%
+  \AddToHook{shipout/lastpage}{\BKM at EndHook}%
 \fi
 
 \endinput

Deleted: trunk/Master/texmf-dist/tex/latex/bookmark/bkm-dvipsone.def
===================================================================
--- trunk/Master/texmf-dist/tex/latex/bookmark/bkm-dvipsone.def	2020-11-08 21:40:47 UTC (rev 56884)
+++ trunk/Master/texmf-dist/tex/latex/bookmark/bkm-dvipsone.def	2020-11-08 21:41:19 UTC (rev 56885)
@@ -1,358 +0,0 @@
-%%
-%% This is file `bkm-dvipsone.def',
-%% generated with the docstrip utility.
-%%
-%% The original source files were:
-%%
-%% bookmark.dtx  (with options: `dvipsone,pdfmark')
-%% 
-%% This is a generated file.
-%% 
-%% Project: bookmark
-%% Version: 2019/12/03 v1.28
-%% 
-%% Copyright (C)
-%%    2007-2011 Heiko Oberdiek
-%%    2016-2019 Oberdiek Package Support Group
-%% 
-%% This work may be distributed and/or modified under the
-%% conditions of the LaTeX Project Public License, either
-%% version 1.3c of this license or (at your option) any later
-%% version. This version of this license is in
-%%    https://www.latex-project.org/lppl/lppl-1-3c.txt
-%% and the latest version of this license is in
-%%    https://www.latex-project.org/lppl.txt
-%% and version 1.3 or later is part of all distributions of
-%% LaTeX version 2005/12/01 or later.
-%% 
-%% This work has the LPPL maintenance status "maintained".
-%% 
-%% The Current Maintainers of this work are
-%% 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 the derived files
-%%    bookmark.sty, bookmark.pdf, bookmark.ins, bookmark.drv,
-%%    bkm-dvipdfm.def, bkm-dvips.def, bkm-dvipsone.def,
-%%    bkm-textures.def, bkm-pdftex.def, bkm-vtex.def,
-%%    bookmark-example.tex.
-%% 
-\def\BKM at SourceLocation{%
-  \ifx\BKM at DO@srcfile\@empty
-    \ifx\BKM at DO@srcline\@empty
-    \else
-      .\MessageBreak
-      Source: line \BKM at DO@srcline
-    \fi
-  \else
-    \ifx\BKM at DO@srcline\@empty
-      .\MessageBreak
-      Source: file `\BKM at DO@srcfile'%
-    \else
-      .\MessageBreak
-      Source: file `\BKM at DO@srcfile', line \BKM at DO@srcline
-    \fi
-  \fi
-}
-\NeedsTeXFormat{LaTeX2e}
-\ProvidesFile{bkm-dvipsone.def}%
-  [2019/12/03 v1.28 bookmark driver for dvipsone (HO)]%
-\def\BKM at PSHeaderFile#1{%
-  \special{header=#1}%
-}
-\def\BKM at filename{\jobname.out.ps}
-\BKM at PSHeaderFile\BKM at filename
-\RequirePackage{atveryend}[2009/12/07]
-\AfterLastShipout{\BKM at pdfmark@out}
-\def\BKM at pdfmark@out{%
-  \if at filesw
-    \newwrite\BKM at file
-    \immediate\openout\BKM at file=\BKM at filename\relax
-    \BKM at write{\@percentchar!}%
-    \BKM at write{/pdfmark where{pop}}%
-    \BKM at write{%
-      {%
-        /globaldict where{pop globaldict}{userdict}ifelse%
-        /pdfmark/cleartomark load put%
-      }%
-    }%
-    \BKM at write{ifelse}%
-  \else
-    \let\BKM at write\@gobble
-    \let\BKM at DO@entry\@gobbletwo
-  \fi
-}
-\def\BKM at write#{%
-  \immediate\write\BKM at file
-}
-\def\BKM at DO@entry#1#2{%
-  \begingroup
-    \kvsetkeys{BKM at DO}{#1}%
-    \ifx\BKM at DO@srcfile\@empty
-    \else
-      \BKM at UnescapeHex\BKM at DO@srcfile
-    \fi
-    \def\BKM at DO@title{#2}%
-    \BKM at UnescapeHex\BKM at DO@title
-    \expandafter\expandafter\expandafter\BKM at getx
-        \csname BKM@\BKM at DO@id\endcsname\@empty\@empty
-    \let\BKM at attr\@empty
-    \ifx\BKM at DO@flags\@empty
-    \else
-      \edef\BKM at attr{\BKM at attr/F \BKM at DO@flags}%
-    \fi
-    \ifx\BKM at DO@color\@empty
-    \else
-      \edef\BKM at attr{\BKM at attr/C[\BKM at DO@color]}%
-    \fi
-    \let\BKM at action\@empty
-    \ifx\BKM at DO@gotor\@empty
-      \ifx\BKM at DO@dest\@empty
-        \ifx\BKM at DO@named\@empty
-          \ifx\BKM at DO@rawaction\@empty
-            \ifx\BKM at DO@uri\@empty
-              \ifx\BKM at DO@page\@empty
-                \PackageError{bookmark}{%
-                  Missing action\BKM at SourceLocation
-                }\@ehc
-                \edef\BKM at action{%
-                  /Action/GoTo%
-                  /Page 1%
-                  /View[/Fit]%
-                }%
-              \else
-                \ifx\BKM at DO@view\@empty
-                  \def\BKM at DO@view{Fit}%
-                \fi
-                \edef\BKM at action{%
-                  /Action/GoTo%
-                  /Page \BKM at DO@page
-                  /View[/\BKM at DO@view]%
-                }%
-              \fi
-            \else
-              \BKM at UnescapeHex\BKM at DO@uri
-              \BKM at EscapeString\BKM at DO@uri
-              \edef\BKM at action{%
-                /Action<<%
-                  /Subtype/URI%
-                  /URI(\BKM at DO@uri)%
-                >>%
-              }%
-            \fi
-          \else
-            \BKM at UnescapeHex\BKM at DO@rawaction
-            \edef\BKM at action{%
-              /Action<<%
-                \BKM at DO@rawaction
-              >>%
-            }%
-          \fi
-        \else
-          \BKM at EscapeName\BKM at DO@named
-          \edef\BKM at action{%
-            /Action<<%
-              /Subtype/Named%
-              /N/\BKM at DO@named
-            >>%
-          }%
-        \fi
-      \else
-        \BKM at UnescapeHex\BKM at DO@dest
-        \BKM at EscapeString\BKM at DO@dest
-        \edef\BKM at action{%
-          /Action/GoTo%
-          /Dest(\BKM at DO@dest)cvn%
-        }%
-      \fi
-    \else
-      \ifx\BKM at DO@dest\@empty
-        \ifx\BKM at DO@page\@empty
-          \def\BKM at DO@page{1}%
-        \fi
-        \ifx\BKM at DO@view\@empty
-          \def\BKM at DO@view{Fit}%
-        \fi
-        \edef\BKM at action{%
-          /Page \BKM at DO@page
-          /View[/\BKM at DO@view]%
-        }%
-      \else
-        \BKM at UnescapeHex\BKM at DO@dest
-        \BKM at EscapeString\BKM at DO@dest
-        \edef\BKM at action{%
-          /Dest(\BKM at DO@dest)cvn%
-        }%
-      \fi
-      \BKM at UnescapeHex\BKM at DO@gotor
-      \BKM at EscapeString\BKM at DO@gotor
-      \edef\BKM at action{%
-        /Action/GoToR%
-        /File(\BKM at DO@gotor)%
-        \BKM at action
-      }%
-    \fi
-    \BKM at write{[}%
-    \BKM at write{/Title(\BKM at DO@title)}%
-    \ifnum\BKM at x@childs>\z@
-      \BKM at write{/Count \ifBKM at DO@open\else-\fi\BKM at x@childs}%
-    \fi
-    \ifx\BKM at attr\@empty
-    \else
-      \BKM at write{\BKM at attr}%
-    \fi
-    \BKM at write{\BKM at action}%
-    \BKM at write{/OUT pdfmark}%
-  \endgroup
-}
-\RequirePackage{auxhook}
-\AddLineBeginMainAux{%
-  \string\providecommand\string\BKM at entry[2]{}%
-}
-\newcount\BKM at id
-\BKM at id=\z@
-\@namedef{BKM at 0}{000}
-\newif\ifBKM at sw
-\newcommand*{\bookmark}[2][]{%
-  \if at filesw
-    \begingroup
-      \BKM at InitSourceLocation
-      \def\bookmark at text{#2}%
-      \BKM at setup{#1}%
-      \ifx\BKM at srcfile\@empty
-      \else
-        \BKM at EscapeHex\BKM at srcfile
-      \fi
-      \edef\BKM at prev{\the\BKM at id}%
-      \global\advance\BKM at id\@ne
-      \BKM at swtrue
-      \@whilesw\ifBKM at sw\fi{%
-        \ifnum\ifBKM at startatroot\z@\else\BKM at prev\fi=\z@
-          \BKM at startatrootfalse
-          \expandafter\xdef\csname BKM@\the\BKM at id\endcsname{%
-            0{\BKM at level}0%
-          }%
-          \BKM at swfalse
-        \else
-          \expandafter\expandafter\expandafter\BKM at getx
-              \csname BKM@\BKM at prev\endcsname
-          \ifnum\BKM at level>\BKM at x@level\relax
-            \expandafter\xdef\csname BKM@\the\BKM at id\endcsname{%
-              {\BKM at prev}{\BKM at level}0%
-            }%
-            \ifnum\BKM at prev>\z@
-              \BKM at CalcExpr\BKM at CalcResult\BKM at x@childs+1%
-              \expandafter\xdef\csname BKM@\BKM at prev\endcsname{%
-                {\BKM at x@parent}{\BKM at x@level}{\BKM at CalcResult}%
-              }%
-            \fi
-            \BKM at swfalse
-          \else
-            \let\BKM at prev\BKM at x@parent
-          \fi
-        \fi
-      }%
-      \pdfstringdef\BKM at title{\bookmark at text}%
-      \edef\BKM at FLAGS{\BKM at PrintStyle}%
-      \csname BKM at HypDestOptHook\endcsname
-      \BKM at EscapeHex\BKM at dest
-      \BKM at EscapeHex\BKM at uri
-      \BKM at EscapeHex\BKM at gotor
-      \BKM at EscapeHex\BKM at rawaction
-      \BKM at EscapeHex\BKM at title
-      \immediate\write\@mainaux{%
-        \string\BKM at entry{%
-          id=\number\BKM at id
-          \ifBKM at open
-            \ifnum\BKM at level<\BKM at openlevel
-              ,open%
-            \fi
-          \fi
-          \BKM at auxentry{dest}%
-          \BKM at auxentry{named}%
-          \BKM at auxentry{uri}%
-          \BKM at auxentry{gotor}%
-          \BKM at auxentry{page}%
-          \BKM at auxentry{view}%
-          \BKM at auxentry{rawaction}%
-          \BKM at auxentry{color}%
-          \ifnum\BKM at FLAGS>\z@
-            ,flags=\BKM at FLAGS
-          \fi
-          \BKM at auxentry{srcline}%
-          \BKM at auxentry{srcfile}%
-        }{\BKM at title}%
-      }%
-    \endgroup
-  \fi
-}
-\def\BKM at getx#1#2#3{%
-  \def\BKM at x@parent{#1}%
-  \def\BKM at x@level{#2}%
-  \def\BKM at x@childs{#3}%
-}
-\def\BKM at auxentry#1{%
-  \expandafter\ifx\csname BKM@#1\endcsname\@empty
-  \else
-    ,#1={\csname BKM@#1\endcsname}%
-  \fi
-}
-\def\BKM at InitSourceLocation{%
-  \edef\BKM at srcline{\the\inputlineno}%
-  \BKM at LuaTeX@InitFile
-  \ifx\BKM at srcfile\@empty
-    \ltx at IfUndefined{currfilepath}{}{%
-      \edef\BKM at srcfile{\currfilepath}%
-    }%
-  \fi
-}
-\ifluatex
-  \ifnum\luatexversion>36 %
-    \def\BKM at LuaTeX@InitFile{%
-      \begingroup
-        \ltx at LocToksA={}%
-      \edef\x{\endgroup
-        \def\noexpand\BKM at srcfile{%
-          \the\expandafter\ltx at LocToksA
-          \directlua{%
-             if status and status.filename then %
-               tex.settoks('ltx at LocToksA', status.filename)%
-             end%
-          }%
-        }%
-      }\x
-    }%
-  \else
-    \let\BKM at LuaTeX@InitFile\relax
-  \fi
-\else
-  \let\BKM at LuaTeX@InitFile\relax
-\fi
-\SetupKeyvalOptions{family=BKM at DO,prefix=BKM at DO@}
-\DeclareStringOption[0]{id}
-\DeclareBoolOption{open}
-\DeclareStringOption{flags}
-\DeclareStringOption{color}
-\DeclareStringOption{dest}
-\DeclareStringOption{named}
-\DeclareStringOption{uri}
-\DeclareStringOption{gotor}
-\DeclareStringOption{page}
-\DeclareStringOption{view}
-\DeclareStringOption{rawaction}
-\DeclareStringOption{srcline}
-\DeclareStringOption{srcfile}
-\AtBeginDocument{%
-  \let\BKM at entry\BKM at DO@entry
-}
-\ifBKM at atend
-  \AfterLastShipout{%
-    \BKM at EndHook
-  }%
-\fi
-
-\endinput
-%%
-%% End of file `bkm-dvipsone.def'.

Added: trunk/Master/texmf-dist/tex/latex/bookmark/bkm-pdftex-2019-12-03.def
===================================================================
--- trunk/Master/texmf-dist/tex/latex/bookmark/bkm-pdftex-2019-12-03.def	                        (rev 0)
+++ trunk/Master/texmf-dist/tex/latex/bookmark/bkm-pdftex-2019-12-03.def	2020-11-08 21:41:19 UTC (rev 56885)
@@ -0,0 +1,313 @@
+%%
+%% This is file `bkm-pdftex-2019-12-03.def',
+%% generated with the docstrip utility.
+%%
+%% The original source files were:
+%%
+%% bookmark-frozen.dtx  (with options: `pdftexfrozen')
+%% 
+%% This is a generated file.
+%% 
+%% Project: bookmark
+%% Version: 2020-11-06 v1.29
+%% 
+%% Copyright (C)
+%%    2007-2011 Heiko Oberdiek
+%%    2016-2020 Oberdiek Package Support Group
+%% 
+%% This work may be distributed and/or modified under the
+%% conditions of the LaTeX Project Public License, either
+%% version 1.3c of this license or (at your option) any later
+%% version. This version of this license is in
+%%    https://www.latex-project.org/lppl/lppl-1-3c.txt
+%% and the latest version of this license is in
+%%    https://www.latex-project.org/lppl.txt
+%% and version 1.3 or later is part of all distributions of
+%% LaTeX version 2005/12/01 or later.
+%% 
+%% This work has the LPPL maintenance status "maintained".
+%% 
+%% The Current Maintainers of this work are
+%% 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,
+%%    bkm-dvipdfm.def, bkm-dvips.def, bkm-pdftex.def, bkm-vtex.def,
+%%    bkm-dvipdfm-2019-12-03.def, bkm-dvips-2019-12-03.def,
+%%    bkm-pdftex-2019-12-03.def, bkm-vtex-2019-12-03.def,
+%%    bookmark-example.tex.
+%% 
+\NeedsTeXFormat{LaTeX2e}
+\ProvidesFile{bkm-pdftex.def}%
+  [2019/12/03 v1.28 bookmark driver for pdfTeX (HO)]%
+\def\BKM at DO@entry#1#2{%
+  \begingroup
+    \kvsetkeys{BKM at DO}{#1}%
+    \def\BKM at DO@title{#2}%
+    \ifx\BKM at DO@srcfile\@empty
+    \else
+      \BKM at UnescapeHex\BKM at DO@srcfile
+    \fi
+    \BKM at UnescapeHex\BKM at DO@title
+    \expandafter\expandafter\expandafter\BKM at getx
+        \csname BKM@\BKM at DO@id\endcsname\@empty\@empty
+    \let\BKM at attr\@empty
+    \ifx\BKM at DO@flags\@empty
+    \else
+      \edef\BKM at attr{\BKM at attr/F \BKM at DO@flags}%
+    \fi
+    \ifx\BKM at DO@color\@empty
+    \else
+      \edef\BKM at attr{\BKM at attr/C[\BKM at DO@color]}%
+    \fi
+    \ifx\BKM at attr\@empty
+    \else
+      \edef\BKM at attr{attr{\BKM at attr}}%
+    \fi
+    \let\BKM at action\@empty
+    \ifx\BKM at DO@gotor\@empty
+      \ifx\BKM at DO@dest\@empty
+        \ifx\BKM at DO@named\@empty
+          \ifx\BKM at DO@rawaction\@empty
+            \ifx\BKM at DO@uri\@empty
+              \ifx\BKM at DO@page\@empty
+                \PackageError{bookmark}{%
+                  Missing action\BKM at SourceLocation
+                }\@ehc
+                \edef\BKM at action{goto page1{/Fit}}%
+              \else
+                \ifx\BKM at DO@view\@empty
+                  \def\BKM at DO@view{Fit}%
+                \fi
+                \edef\BKM at action{goto page\BKM at DO@page{/\BKM at DO@view}}%
+              \fi
+            \else
+              \BKM at UnescapeHex\BKM at DO@uri
+              \BKM at EscapeString\BKM at DO@uri
+              \edef\BKM at action{user{<</S/URI/URI(\BKM at DO@uri)>>}}%
+            \fi
+          \else
+            \BKM at UnescapeHex\BKM at DO@rawaction
+            \edef\BKM at action{%
+              user{%
+                <<%
+                  \BKM at DO@rawaction
+                >>%
+              }%
+            }%
+          \fi
+        \else
+          \BKM at EscapeName\BKM at DO@named
+          \edef\BKM at action{%
+            user{<</S/Named/N/\BKM at DO@named>>}%
+          }%
+        \fi
+      \else
+        \BKM at UnescapeHex\BKM at DO@dest
+        \BKM at DefGotoNameAction\BKM at action\BKM at DO@dest
+      \fi
+    \else
+      \ifx\BKM at DO@dest\@empty
+        \ifx\BKM at DO@page\@empty
+          \def\BKM at DO@page{0}%
+        \else
+          \BKM at CalcExpr\BKM at DO@page\BKM at DO@page-1%
+        \fi
+        \ifx\BKM at DO@view\@empty
+          \def\BKM at DO@view{Fit}%
+        \fi
+        \edef\BKM at action{/D[\BKM at DO@page/\BKM at DO@view]}%
+      \else
+        \BKM at UnescapeHex\BKM at DO@dest
+        \BKM at EscapeString\BKM at DO@dest
+        \edef\BKM at action{/D(\BKM at DO@dest)}%
+      \fi
+      \BKM at UnescapeHex\BKM at DO@gotor
+      \BKM at EscapeString\BKM at DO@gotor
+      \edef\BKM at action{%
+        user{%
+          <<%
+            /S/GoToR%
+            /F(\BKM at DO@gotor)%
+            \BKM at action
+          >>%
+        }%
+      }%
+    \fi
+    \pdfoutline\BKM at attr\BKM at action
+                count\ifBKM at DO@open\else-\fi\BKM at x@childs
+                {\BKM at DO@title}%
+  \endgroup
+}
+\def\BKM at DefGotoNameAction#1#2{%
+  \BKM at EscapeString\BKM at DO@dest
+  \edef#1{goto name{#2}}%
+}
+\def\BKM at SourceLocation{%
+  \ifx\BKM at DO@srcfile\@empty
+    \ifx\BKM at DO@srcline\@empty
+    \else
+      .\MessageBreak
+      Source: line \BKM at DO@srcline
+    \fi
+  \else
+    \ifx\BKM at DO@srcline\@empty
+      .\MessageBreak
+      Source: file `\BKM at DO@srcfile'%
+    \else
+      .\MessageBreak
+      Source: file `\BKM at DO@srcfile', line \BKM at DO@srcline
+    \fi
+  \fi
+}
+\RequirePackage{auxhook}
+\AddLineBeginMainAux{%
+  \string\providecommand\string\BKM at entry[2]{}%
+}
+\newcount\BKM at id
+\BKM at id=\z@
+\@namedef{BKM at 0}{000}
+\newif\ifBKM at sw
+\newcommand*{\bookmark}[2][]{%
+  \if at filesw
+    \begingroup
+      \BKM at InitSourceLocation
+      \def\bookmark at text{#2}%
+      \BKM at setup{#1}%
+      \ifx\BKM at srcfile\@empty
+      \else
+        \BKM at EscapeHex\BKM at srcfile
+      \fi
+      \edef\BKM at prev{\the\BKM at id}%
+      \global\advance\BKM at id\@ne
+      \BKM at swtrue
+      \@whilesw\ifBKM at sw\fi{%
+        \ifnum\ifBKM at startatroot\z@\else\BKM at prev\fi=\z@
+          \BKM at startatrootfalse
+          \expandafter\xdef\csname BKM@\the\BKM at id\endcsname{%
+            0{\BKM at level}0%
+          }%
+          \BKM at swfalse
+        \else
+          \expandafter\expandafter\expandafter\BKM at getx
+              \csname BKM@\BKM at prev\endcsname
+          \ifnum\BKM at level>\BKM at x@level\relax
+            \expandafter\xdef\csname BKM@\the\BKM at id\endcsname{%
+              {\BKM at prev}{\BKM at level}0%
+            }%
+            \ifnum\BKM at prev>\z@
+              \BKM at CalcExpr\BKM at CalcResult\BKM at x@childs+1%
+              \expandafter\xdef\csname BKM@\BKM at prev\endcsname{%
+                {\BKM at x@parent}{\BKM at x@level}{\BKM at CalcResult}%
+              }%
+            \fi
+            \BKM at swfalse
+          \else
+            \let\BKM at prev\BKM at x@parent
+          \fi
+        \fi
+      }%
+      \pdfstringdef\BKM at title{\bookmark at text}%
+      \edef\BKM at FLAGS{\BKM at PrintStyle}%
+      \csname BKM at HypDestOptHook\endcsname
+      \BKM at EscapeHex\BKM at dest
+      \BKM at EscapeHex\BKM at uri
+      \BKM at EscapeHex\BKM at gotor
+      \BKM at EscapeHex\BKM at rawaction
+      \BKM at EscapeHex\BKM at title
+      \immediate\write\@mainaux{%
+        \string\BKM at entry{%
+          id=\number\BKM at id
+          \ifBKM at open
+            \ifnum\BKM at level<\BKM at openlevel
+              ,open%
+            \fi
+          \fi
+          \BKM at auxentry{dest}%
+          \BKM at auxentry{named}%
+          \BKM at auxentry{uri}%
+          \BKM at auxentry{gotor}%
+          \BKM at auxentry{page}%
+          \BKM at auxentry{view}%
+          \BKM at auxentry{rawaction}%
+          \BKM at auxentry{color}%
+          \ifnum\BKM at FLAGS>\z@
+            ,flags=\BKM at FLAGS
+          \fi
+          \BKM at auxentry{srcline}%
+          \BKM at auxentry{srcfile}%
+        }{\BKM at title}%
+      }%
+    \endgroup
+  \fi
+}
+\def\BKM at getx#1#2#3{%
+  \def\BKM at x@parent{#1}%
+  \def\BKM at x@level{#2}%
+  \def\BKM at x@childs{#3}%
+}
+\def\BKM at auxentry#1{%
+  \expandafter\ifx\csname BKM@#1\endcsname\@empty
+  \else
+    ,#1={\csname BKM@#1\endcsname}%
+  \fi
+}
+\def\BKM at InitSourceLocation{%
+  \edef\BKM at srcline{\the\inputlineno}%
+  \BKM at LuaTeX@InitFile
+  \ifx\BKM at srcfile\@empty
+    \ltx at IfUndefined{currfilepath}{}{%
+      \edef\BKM at srcfile{\currfilepath}%
+    }%
+  \fi
+}
+\ifluatex
+  \ifnum\luatexversion>36 %
+    \def\BKM at LuaTeX@InitFile{%
+      \begingroup
+        \ltx at LocToksA={}%
+      \edef\x{\endgroup
+        \def\noexpand\BKM at srcfile{%
+          \the\expandafter\ltx at LocToksA
+          \directlua{%
+             if status and status.filename then %
+               tex.settoks('ltx at LocToksA', status.filename)%
+             end%
+          }%
+        }%
+      }\x
+    }%
+  \else
+    \let\BKM at LuaTeX@InitFile\relax
+  \fi
+\else
+  \let\BKM at LuaTeX@InitFile\relax
+\fi
+\SetupKeyvalOptions{family=BKM at DO,prefix=BKM at DO@}
+\DeclareStringOption[0]{id}
+\DeclareBoolOption{open}
+\DeclareStringOption{flags}
+\DeclareStringOption{color}
+\DeclareStringOption{dest}
+\DeclareStringOption{named}
+\DeclareStringOption{uri}
+\DeclareStringOption{gotor}
+\DeclareStringOption{page}
+\DeclareStringOption{view}
+\DeclareStringOption{rawaction}
+\DeclareStringOption{srcline}
+\DeclareStringOption{srcfile}
+\AtBeginDocument{%
+  \let\BKM at entry\BKM at DO@entry
+}
+\ifBKM at atend
+  \AfterLastShipout{%
+    \BKM at EndHook
+  }%
+\fi
+\endinput
+%%
+%% End of file `bkm-pdftex-2019-12-03.def'.


Property changes on: trunk/Master/texmf-dist/tex/latex/bookmark/bkm-pdftex-2019-12-03.def
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Modified: trunk/Master/texmf-dist/tex/latex/bookmark/bkm-pdftex.def
===================================================================
--- trunk/Master/texmf-dist/tex/latex/bookmark/bkm-pdftex.def	2020-11-08 21:40:47 UTC (rev 56884)
+++ trunk/Master/texmf-dist/tex/latex/bookmark/bkm-pdftex.def	2020-11-08 21:41:19 UTC (rev 56885)
@@ -9,11 +9,11 @@
 %% This is a generated file.
 %% 
 %% Project: bookmark
-%% Version: 2019/12/03 v1.28
+%% Version: 2020-11-06 v1.29
 %% 
 %% Copyright (C)
 %%    2007-2011 Heiko Oberdiek
-%%    2016-2019 Oberdiek Package Support Group
+%%    2016-2020 Oberdiek Package Support Group
 %% 
 %% This work may be distributed and/or modified under the
 %% conditions of the LaTeX Project Public License, either
@@ -32,16 +32,17 @@
 %% https://github.com/ho-tex/bookmark/issues
 %% 
 %% 
-%% This work consists of the main source file bookmark.dtx
+%% 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,
-%%    bkm-dvipdfm.def, bkm-dvips.def, bkm-dvipsone.def,
-%%    bkm-textures.def, bkm-pdftex.def, bkm-vtex.def,
+%%    bkm-dvipdfm.def, bkm-dvips.def, bkm-pdftex.def, bkm-vtex.def,
+%%    bkm-dvipdfm-2019-12-03.def, bkm-dvips-2019-12-03.def,
+%%    bkm-pdftex-2019-12-03.def, bkm-vtex-2019-12-03.def,
 %%    bookmark-example.tex.
 %% 
 \NeedsTeXFormat{LaTeX2e}
 \ProvidesFile{bkm-pdftex.def}%
-  [2019/12/03 v1.28 bookmark driver for pdfTeX (HO)]%
+  [2020-11-06 v1.29 bookmark driver for pdfTeX (HO)]%
 \def\BKM at DO@entry#1#2{%
   \begingroup
     \kvsetkeys{BKM at DO}{#1}%
@@ -162,10 +163,8 @@
     \fi
   \fi
 }
-\RequirePackage{auxhook}
-\AddLineBeginMainAux{%
-  \string\providecommand\string\BKM at entry[2]{}%
-}
+\AddToHook{begindocument}{%
+ \immediate\write\@mainaux{\string\providecommand\string\BKM at entry[2]{}}}
 \newcount\BKM at id
 \BKM at id=\z@
 \@namedef{BKM at 0}{000}
@@ -303,7 +302,7 @@
   \let\BKM at entry\BKM at DO@entry
 }
 \ifBKM at atend
-  \AfterLastShipout{%
+  \AddToHook{enddocument/afterlastpage}{%
     \BKM at EndHook
   }%
 \fi

Deleted: trunk/Master/texmf-dist/tex/latex/bookmark/bkm-textures.def
===================================================================
--- trunk/Master/texmf-dist/tex/latex/bookmark/bkm-textures.def	2020-11-08 21:40:47 UTC (rev 56884)
+++ trunk/Master/texmf-dist/tex/latex/bookmark/bkm-textures.def	2020-11-08 21:41:19 UTC (rev 56885)
@@ -1,358 +0,0 @@
-%%
-%% This is file `bkm-textures.def',
-%% generated with the docstrip utility.
-%%
-%% The original source files were:
-%%
-%% bookmark.dtx  (with options: `textures,pdfmark')
-%% 
-%% This is a generated file.
-%% 
-%% Project: bookmark
-%% Version: 2019/12/03 v1.28
-%% 
-%% Copyright (C)
-%%    2007-2011 Heiko Oberdiek
-%%    2016-2019 Oberdiek Package Support Group
-%% 
-%% This work may be distributed and/or modified under the
-%% conditions of the LaTeX Project Public License, either
-%% version 1.3c of this license or (at your option) any later
-%% version. This version of this license is in
-%%    https://www.latex-project.org/lppl/lppl-1-3c.txt
-%% and the latest version of this license is in
-%%    https://www.latex-project.org/lppl.txt
-%% and version 1.3 or later is part of all distributions of
-%% LaTeX version 2005/12/01 or later.
-%% 
-%% This work has the LPPL maintenance status "maintained".
-%% 
-%% The Current Maintainers of this work are
-%% 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 the derived files
-%%    bookmark.sty, bookmark.pdf, bookmark.ins, bookmark.drv,
-%%    bkm-dvipdfm.def, bkm-dvips.def, bkm-dvipsone.def,
-%%    bkm-textures.def, bkm-pdftex.def, bkm-vtex.def,
-%%    bookmark-example.tex.
-%% 
-\def\BKM at SourceLocation{%
-  \ifx\BKM at DO@srcfile\@empty
-    \ifx\BKM at DO@srcline\@empty
-    \else
-      .\MessageBreak
-      Source: line \BKM at DO@srcline
-    \fi
-  \else
-    \ifx\BKM at DO@srcline\@empty
-      .\MessageBreak
-      Source: file `\BKM at DO@srcfile'%
-    \else
-      .\MessageBreak
-      Source: file `\BKM at DO@srcfile', line \BKM at DO@srcline
-    \fi
-  \fi
-}
-\NeedsTeXFormat{LaTeX2e}
-\ProvidesFile{bkm-textures.def}%
-  [2019/12/03 v1.28 bookmark driver for textures (HO)]%
-\def\BKM at PSHeaderFile#1{%
-  \special{prePostScriptfile #1}%
-}
-\def\BKM at filename{\jobname.out.ps}
-\BKM at PSHeaderFile\BKM at filename
-\RequirePackage{atveryend}[2009/12/07]
-\AfterLastShipout{\BKM at pdfmark@out}
-\def\BKM at pdfmark@out{%
-  \if at filesw
-    \newwrite\BKM at file
-    \immediate\openout\BKM at file=\BKM at filename\relax
-    \BKM at write{\@percentchar!}%
-    \BKM at write{/pdfmark where{pop}}%
-    \BKM at write{%
-      {%
-        /globaldict where{pop globaldict}{userdict}ifelse%
-        /pdfmark/cleartomark load put%
-      }%
-    }%
-    \BKM at write{ifelse}%
-  \else
-    \let\BKM at write\@gobble
-    \let\BKM at DO@entry\@gobbletwo
-  \fi
-}
-\def\BKM at write#{%
-  \immediate\write\BKM at file
-}
-\def\BKM at DO@entry#1#2{%
-  \begingroup
-    \kvsetkeys{BKM at DO}{#1}%
-    \ifx\BKM at DO@srcfile\@empty
-    \else
-      \BKM at UnescapeHex\BKM at DO@srcfile
-    \fi
-    \def\BKM at DO@title{#2}%
-    \BKM at UnescapeHex\BKM at DO@title
-    \expandafter\expandafter\expandafter\BKM at getx
-        \csname BKM@\BKM at DO@id\endcsname\@empty\@empty
-    \let\BKM at attr\@empty
-    \ifx\BKM at DO@flags\@empty
-    \else
-      \edef\BKM at attr{\BKM at attr/F \BKM at DO@flags}%
-    \fi
-    \ifx\BKM at DO@color\@empty
-    \else
-      \edef\BKM at attr{\BKM at attr/C[\BKM at DO@color]}%
-    \fi
-    \let\BKM at action\@empty
-    \ifx\BKM at DO@gotor\@empty
-      \ifx\BKM at DO@dest\@empty
-        \ifx\BKM at DO@named\@empty
-          \ifx\BKM at DO@rawaction\@empty
-            \ifx\BKM at DO@uri\@empty
-              \ifx\BKM at DO@page\@empty
-                \PackageError{bookmark}{%
-                  Missing action\BKM at SourceLocation
-                }\@ehc
-                \edef\BKM at action{%
-                  /Action/GoTo%
-                  /Page 1%
-                  /View[/Fit]%
-                }%
-              \else
-                \ifx\BKM at DO@view\@empty
-                  \def\BKM at DO@view{Fit}%
-                \fi
-                \edef\BKM at action{%
-                  /Action/GoTo%
-                  /Page \BKM at DO@page
-                  /View[/\BKM at DO@view]%
-                }%
-              \fi
-            \else
-              \BKM at UnescapeHex\BKM at DO@uri
-              \BKM at EscapeString\BKM at DO@uri
-              \edef\BKM at action{%
-                /Action<<%
-                  /Subtype/URI%
-                  /URI(\BKM at DO@uri)%
-                >>%
-              }%
-            \fi
-          \else
-            \BKM at UnescapeHex\BKM at DO@rawaction
-            \edef\BKM at action{%
-              /Action<<%
-                \BKM at DO@rawaction
-              >>%
-            }%
-          \fi
-        \else
-          \BKM at EscapeName\BKM at DO@named
-          \edef\BKM at action{%
-            /Action<<%
-              /Subtype/Named%
-              /N/\BKM at DO@named
-            >>%
-          }%
-        \fi
-      \else
-        \BKM at UnescapeHex\BKM at DO@dest
-        \BKM at EscapeString\BKM at DO@dest
-        \edef\BKM at action{%
-          /Action/GoTo%
-          /Dest(\BKM at DO@dest)cvn%
-        }%
-      \fi
-    \else
-      \ifx\BKM at DO@dest\@empty
-        \ifx\BKM at DO@page\@empty
-          \def\BKM at DO@page{1}%
-        \fi
-        \ifx\BKM at DO@view\@empty
-          \def\BKM at DO@view{Fit}%
-        \fi
-        \edef\BKM at action{%
-          /Page \BKM at DO@page
-          /View[/\BKM at DO@view]%
-        }%
-      \else
-        \BKM at UnescapeHex\BKM at DO@dest
-        \BKM at EscapeString\BKM at DO@dest
-        \edef\BKM at action{%
-          /Dest(\BKM at DO@dest)cvn%
-        }%
-      \fi
-      \BKM at UnescapeHex\BKM at DO@gotor
-      \BKM at EscapeString\BKM at DO@gotor
-      \edef\BKM at action{%
-        /Action/GoToR%
-        /File(\BKM at DO@gotor)%
-        \BKM at action
-      }%
-    \fi
-    \BKM at write{[}%
-    \BKM at write{/Title(\BKM at DO@title)}%
-    \ifnum\BKM at x@childs>\z@
-      \BKM at write{/Count \ifBKM at DO@open\else-\fi\BKM at x@childs}%
-    \fi
-    \ifx\BKM at attr\@empty
-    \else
-      \BKM at write{\BKM at attr}%
-    \fi
-    \BKM at write{\BKM at action}%
-    \BKM at write{/OUT pdfmark}%
-  \endgroup
-}
-\RequirePackage{auxhook}
-\AddLineBeginMainAux{%
-  \string\providecommand\string\BKM at entry[2]{}%
-}
-\newcount\BKM at id
-\BKM at id=\z@
-\@namedef{BKM at 0}{000}
-\newif\ifBKM at sw
-\newcommand*{\bookmark}[2][]{%
-  \if at filesw
-    \begingroup
-      \BKM at InitSourceLocation
-      \def\bookmark at text{#2}%
-      \BKM at setup{#1}%
-      \ifx\BKM at srcfile\@empty
-      \else
-        \BKM at EscapeHex\BKM at srcfile
-      \fi
-      \edef\BKM at prev{\the\BKM at id}%
-      \global\advance\BKM at id\@ne
-      \BKM at swtrue
-      \@whilesw\ifBKM at sw\fi{%
-        \ifnum\ifBKM at startatroot\z@\else\BKM at prev\fi=\z@
-          \BKM at startatrootfalse
-          \expandafter\xdef\csname BKM@\the\BKM at id\endcsname{%
-            0{\BKM at level}0%
-          }%
-          \BKM at swfalse
-        \else
-          \expandafter\expandafter\expandafter\BKM at getx
-              \csname BKM@\BKM at prev\endcsname
-          \ifnum\BKM at level>\BKM at x@level\relax
-            \expandafter\xdef\csname BKM@\the\BKM at id\endcsname{%
-              {\BKM at prev}{\BKM at level}0%
-            }%
-            \ifnum\BKM at prev>\z@
-              \BKM at CalcExpr\BKM at CalcResult\BKM at x@childs+1%
-              \expandafter\xdef\csname BKM@\BKM at prev\endcsname{%
-                {\BKM at x@parent}{\BKM at x@level}{\BKM at CalcResult}%
-              }%
-            \fi
-            \BKM at swfalse
-          \else
-            \let\BKM at prev\BKM at x@parent
-          \fi
-        \fi
-      }%
-      \pdfstringdef\BKM at title{\bookmark at text}%
-      \edef\BKM at FLAGS{\BKM at PrintStyle}%
-      \csname BKM at HypDestOptHook\endcsname
-      \BKM at EscapeHex\BKM at dest
-      \BKM at EscapeHex\BKM at uri
-      \BKM at EscapeHex\BKM at gotor
-      \BKM at EscapeHex\BKM at rawaction
-      \BKM at EscapeHex\BKM at title
-      \immediate\write\@mainaux{%
-        \string\BKM at entry{%
-          id=\number\BKM at id
-          \ifBKM at open
-            \ifnum\BKM at level<\BKM at openlevel
-              ,open%
-            \fi
-          \fi
-          \BKM at auxentry{dest}%
-          \BKM at auxentry{named}%
-          \BKM at auxentry{uri}%
-          \BKM at auxentry{gotor}%
-          \BKM at auxentry{page}%
-          \BKM at auxentry{view}%
-          \BKM at auxentry{rawaction}%
-          \BKM at auxentry{color}%
-          \ifnum\BKM at FLAGS>\z@
-            ,flags=\BKM at FLAGS
-          \fi
-          \BKM at auxentry{srcline}%
-          \BKM at auxentry{srcfile}%
-        }{\BKM at title}%
-      }%
-    \endgroup
-  \fi
-}
-\def\BKM at getx#1#2#3{%
-  \def\BKM at x@parent{#1}%
-  \def\BKM at x@level{#2}%
-  \def\BKM at x@childs{#3}%
-}
-\def\BKM at auxentry#1{%
-  \expandafter\ifx\csname BKM@#1\endcsname\@empty
-  \else
-    ,#1={\csname BKM@#1\endcsname}%
-  \fi
-}
-\def\BKM at InitSourceLocation{%
-  \edef\BKM at srcline{\the\inputlineno}%
-  \BKM at LuaTeX@InitFile
-  \ifx\BKM at srcfile\@empty
-    \ltx at IfUndefined{currfilepath}{}{%
-      \edef\BKM at srcfile{\currfilepath}%
-    }%
-  \fi
-}
-\ifluatex
-  \ifnum\luatexversion>36 %
-    \def\BKM at LuaTeX@InitFile{%
-      \begingroup
-        \ltx at LocToksA={}%
-      \edef\x{\endgroup
-        \def\noexpand\BKM at srcfile{%
-          \the\expandafter\ltx at LocToksA
-          \directlua{%
-             if status and status.filename then %
-               tex.settoks('ltx at LocToksA', status.filename)%
-             end%
-          }%
-        }%
-      }\x
-    }%
-  \else
-    \let\BKM at LuaTeX@InitFile\relax
-  \fi
-\else
-  \let\BKM at LuaTeX@InitFile\relax
-\fi
-\SetupKeyvalOptions{family=BKM at DO,prefix=BKM at DO@}
-\DeclareStringOption[0]{id}
-\DeclareBoolOption{open}
-\DeclareStringOption{flags}
-\DeclareStringOption{color}
-\DeclareStringOption{dest}
-\DeclareStringOption{named}
-\DeclareStringOption{uri}
-\DeclareStringOption{gotor}
-\DeclareStringOption{page}
-\DeclareStringOption{view}
-\DeclareStringOption{rawaction}
-\DeclareStringOption{srcline}
-\DeclareStringOption{srcfile}
-\AtBeginDocument{%
-  \let\BKM at entry\BKM at DO@entry
-}
-\ifBKM at atend
-  \AfterLastShipout{%
-    \BKM at EndHook
-  }%
-\fi
-
-\endinput
-%%
-%% End of file `bkm-textures.def'.

Added: trunk/Master/texmf-dist/tex/latex/bookmark/bkm-vtex-2019-12-03.def
===================================================================
--- trunk/Master/texmf-dist/tex/latex/bookmark/bkm-vtex-2019-12-03.def	                        (rev 0)
+++ trunk/Master/texmf-dist/tex/latex/bookmark/bkm-vtex-2019-12-03.def	2020-11-08 21:41:19 UTC (rev 56885)
@@ -0,0 +1,300 @@
+%%
+%% This is file `bkm-vtex-2019-12-03.def',
+%% generated with the docstrip utility.
+%%
+%% The original source files were:
+%%
+%% bookmark-frozen.dtx  (with options: `vtexfrozen')
+%% 
+%% This is a generated file.
+%% 
+%% Project: bookmark
+%% Version: 2020-11-06 v1.29
+%% 
+%% Copyright (C)
+%%    2007-2011 Heiko Oberdiek
+%%    2016-2020 Oberdiek Package Support Group
+%% 
+%% This work may be distributed and/or modified under the
+%% conditions of the LaTeX Project Public License, either
+%% version 1.3c of this license or (at your option) any later
+%% version. This version of this license is in
+%%    https://www.latex-project.org/lppl/lppl-1-3c.txt
+%% and the latest version of this license is in
+%%    https://www.latex-project.org/lppl.txt
+%% and version 1.3 or later is part of all distributions of
+%% LaTeX version 2005/12/01 or later.
+%% 
+%% This work has the LPPL maintenance status "maintained".
+%% 
+%% The Current Maintainers of this work are
+%% 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,
+%%    bkm-dvipdfm.def, bkm-dvips.def, bkm-pdftex.def, bkm-vtex.def,
+%%    bkm-dvipdfm-2019-12-03.def, bkm-dvips-2019-12-03.def,
+%%    bkm-pdftex-2019-12-03.def, bkm-vtex-2019-12-03.def,
+%%    bookmark-example.tex.
+%% 
+\NeedsTeXFormat{LaTeX2e}
+\ProvidesFile{bkm-vtex.def}%
+  [2019/12/03 v1.28 bookmark driver for VTeX (HO)]%
+\ifvtexpdf
+\else
+  \PackageWarningNoLine{bookmark}{%
+    The VTeX driver only supports PDF mode%
+  }%
+\fi
+\newcount\BKM at id
+\BKM at id=\z@
+\@namedef{BKM at 0}{00}
+\newif\ifBKM at sw
+\newcommand*{\bookmark}[2][]{%
+  \if at filesw
+    \begingroup
+      \def\bookmark at text{#2}%
+      \BKM at setup{#1}%
+      \edef\BKM at prev{\the\BKM at id}%
+      \global\advance\BKM at id\@ne
+      \BKM at swtrue
+      \@whilesw\ifBKM at sw\fi{%
+        \ifnum\ifBKM at startatroot\z@\else\BKM at prev\fi=\z@
+          \BKM at startatrootfalse
+          \def\BKM at parent{0}%
+          \expandafter\xdef\csname BKM@\the\BKM at id\endcsname{%
+            0{\BKM at level}%
+          }%
+          \BKM at swfalse
+        \else
+          \expandafter\expandafter\expandafter\BKM at getx
+              \csname BKM@\BKM at prev\endcsname
+          \ifnum\BKM at level>\BKM at x@level\relax
+            \let\BKM at parent\BKM at prev
+            \expandafter\xdef\csname BKM@\the\BKM at id\endcsname{%
+              {\BKM at prev}{\BKM at level}%
+            }%
+            \BKM at swfalse
+          \else
+            \let\BKM at prev\BKM at x@parent
+          \fi
+        \fi
+      }%
+      \pdfstringdef\BKM at title{\bookmark at text}%
+      \BKM at vtex@title
+      \edef\BKM at FLAGS{\BKM at PrintStyle}%
+      \let\BKM at action\@empty
+      \ifx\BKM at gotor\@empty
+        \ifx\BKM at dest\@empty
+          \ifx\BKM at named\@empty
+            \ifx\BKM at rawaction\@empty
+              \ifx\BKM at uri\@empty
+                \ifx\BKM at page\@empty
+                  \PackageError{bookmark}{Missing action}\@ehc
+                  \def\BKM at action{!1}%
+                \else
+                  \edef\BKM at action{!\BKM at page}%
+                \fi
+              \else
+                \BKM at EscapeString\BKM at uri
+                \edef\BKM at action{%
+                  <u=%
+                    /S/URI%
+                    /URI(\BKM at uri)%
+                  >%
+                }%
+              \fi
+            \else
+              \edef\BKM at action{<u=\BKM at rawaction>}%
+            \fi
+          \else
+            \BKM at EscapeName\BKM at named
+            \edef\BKM at action{%
+              <u=%
+                /S/Named%
+                /N/\BKM at named
+              >%
+            }%
+          \fi
+        \else
+          \BKM at EscapeString\BKM at dest
+          \edef\BKM at action{\BKM at dest}%
+        \fi
+      \else
+        \ifx\BKM at dest\@empty
+          \ifx\BKM at page\@empty
+            \def\BKM at page{1}%
+          \fi
+          \ifx\BKM at view\@empty
+            \def\BKM at view{Fit}%
+          \fi
+          \edef\BKM at action{/D[\BKM at page/\BKM at view]}%
+        \else
+          \BKM at EscapeString\BKM at dest
+          \edef\BKM at action{/D(\BKM at dest)}%
+        \fi
+        \BKM at EscapeString\BKM at gotor
+        \edef\BKM at action{%
+          <u=%
+            /S/GoToR%
+            /F(\BKM at gotor)%
+            \BKM at action
+          >>%
+        }%
+      \fi
+      \ifx\BKM at color\@empty
+        \let\BKM at RGBcolor\@empty
+      \else
+        \expandafter\BKM at toRGB\BKM at color\@nil
+      \fi
+      \special{%
+        !outline \BKM at action;%
+        p=\BKM at parent,%
+        i=\number\BKM at id,%
+        s=%
+          \ifBKM at open
+            \ifnum\BKM at level<\BKM at openlevel
+              o%
+            \else
+              c%
+            \fi
+          \else
+            c%
+          \fi,%
+        \ifx\BKM at RGBcolor\@empty
+        \else
+          c=\BKM at RGBcolor,%
+        \fi
+        \ifnum\BKM at FLAGS>\z@
+          f=\BKM at FLAGS,%
+        \fi
+        t=\BKM at title
+      }%
+    \endgroup
+  \fi
+}
+\def\BKM at getx#1#2{%
+  \def\BKM at x@parent{#1}%
+  \def\BKM at x@level{#2}%
+}
+\def\BKM at toRGB#1 #2 #3\@nil{%
+  \let\BKM at RGBcolor\@empty
+  \BKM at toRGBComponent{#1}%
+  \BKM at toRGBComponent{#2}%
+  \BKM at toRGBComponent{#3}%
+}
+\def\BKM at toRGBComponent#1{%
+  \dimen@=#1pt\relax
+  \ifdim\dimen@>\z@
+    \ifdim\dimen@<\p@
+      \dimen@=255\dimen@
+      \advance\dimen@ by 32768sp\relax
+      \divide\dimen@ by 65536\relax
+      \dimen at ii=\dimen@
+      \divide\dimen at ii by 16\relax
+      \edef\BKM at RGBcolor{%
+        \BKM at RGBcolor
+        \BKM at toHexDigit\dimen at ii
+      }%
+      \dimen at ii=16\dimen at ii
+      \advance\dimen at -\dimen at ii
+      \edef\BKM at RGBcolor{%
+        \BKM at RGBcolor
+        \BKM at toHexDigit\dimen@
+      }%
+    \else
+      \edef\BKM at RGBcolor{\BKM at RGBcolor FF}%
+    \fi
+  \else
+    \edef\BKM at RGBcolor{\BKM at RGBcolor00}%
+  \fi
+}
+\def\BKM at toHexDigit#1{%
+  \ifcase\expandafter\@firstofone\expandafter{\number#1} %
+    0\or 1\or 2\or 3\or 4\or 5\or 6\or 7\or
+    8\or 9\or A\or B\or C\or D\or E\or F%
+  \fi
+}
+\begingroup
+  \catcode`\|=0 %
+  \catcode`\\=12 %
+  |gdef|BKM at vtex@title{%
+    |@onelevel at sanitize|BKM at title
+    |edef|BKM at title{|expandafter|BKM at vtex@leftparen|BKM at title\(|@nil}%
+    |edef|BKM at title{|expandafter|BKM at vtex@rightparen|BKM at title\)|@nil}%
+    |edef|BKM at title{|expandafter|BKM at vtex@zero|BKM at title\0|@nil}%
+    |edef|BKM at title{|expandafter|BKM at vtex@one|BKM at title\1|@nil}%
+    |edef|BKM at title{|expandafter|BKM at vtex@two|BKM at title\2|@nil}%
+    |edef|BKM at title{|expandafter|BKM at vtex@three|BKM at title\3|@nil}%
+  }%
+  |gdef|BKM at vtex@leftparen#1\(#2|@nil{%
+    #1%
+    |ifx||#2||%
+    |else
+      (%
+      |ltx at ReturnAfterFi{%
+        |BKM at vtex@leftparen#2|@nil
+      }%
+    |fi
+  }%
+  |gdef|BKM at vtex@rightparen#1\)#2|@nil{%
+    #1%
+    |ifx||#2||%
+    |else
+      )%
+      |ltx at ReturnAfterFi{%
+        |BKM at vtex@rightparen#2|@nil
+      }%
+    |fi
+  }%
+  |gdef|BKM at vtex@zero#1\0#2|@nil{%
+    #1%
+    |ifx||#2||%
+    |else
+      |noexpand|hv at pdf@char0%
+      |ltx at ReturnAfterFi{%
+        |BKM at vtex@zero#2|@nil
+      }%
+    |fi
+  }%
+  |gdef|BKM at vtex@one#1\1#2|@nil{%
+    #1%
+    |ifx||#2||%
+    |else
+      |noexpand|hv at pdf@char1%
+      |ltx at ReturnAfterFi{%
+        |BKM at vtex@one#2|@nil
+      }%
+    |fi
+  }%
+  |gdef|BKM at vtex@two#1\2#2|@nil{%
+    #1%
+    |ifx||#2||%
+    |else
+      |noexpand|hv at pdf@char2%
+      |ltx at ReturnAfterFi{%
+        |BKM at vtex@two#2|@nil
+      }%
+    |fi
+  }%
+  |gdef|BKM at vtex@three#1\3#2|@nil{%
+    #1%
+    |ifx||#2||%
+    |else
+      |noexpand|hv at pdf@char3%
+      |ltx at ReturnAfterFi{%
+        |BKM at vtex@three#2|@nil
+      }%
+    |fi
+  }%
+|endgroup
+\ifBKM at atend
+  \RequirePackage{atenddvi}%
+  \AtEndDvi{\BKM at EndHook}%
+\fi
+\endinput
+%%
+%% End of file `bkm-vtex-2019-12-03.def'.


Property changes on: trunk/Master/texmf-dist/tex/latex/bookmark/bkm-vtex-2019-12-03.def
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Modified: trunk/Master/texmf-dist/tex/latex/bookmark/bkm-vtex.def
===================================================================
--- trunk/Master/texmf-dist/tex/latex/bookmark/bkm-vtex.def	2020-11-08 21:40:47 UTC (rev 56884)
+++ trunk/Master/texmf-dist/tex/latex/bookmark/bkm-vtex.def	2020-11-08 21:41:19 UTC (rev 56885)
@@ -9,11 +9,11 @@
 %% This is a generated file.
 %% 
 %% Project: bookmark
-%% Version: 2019/12/03 v1.28
+%% Version: 2020-11-06 v1.29
 %% 
 %% Copyright (C)
 %%    2007-2011 Heiko Oberdiek
-%%    2016-2019 Oberdiek Package Support Group
+%%    2016-2020 Oberdiek Package Support Group
 %% 
 %% This work may be distributed and/or modified under the
 %% conditions of the LaTeX Project Public License, either
@@ -32,16 +32,17 @@
 %% https://github.com/ho-tex/bookmark/issues
 %% 
 %% 
-%% This work consists of the main source file bookmark.dtx
+%% 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,
-%%    bkm-dvipdfm.def, bkm-dvips.def, bkm-dvipsone.def,
-%%    bkm-textures.def, bkm-pdftex.def, bkm-vtex.def,
+%%    bkm-dvipdfm.def, bkm-dvips.def, bkm-pdftex.def, bkm-vtex.def,
+%%    bkm-dvipdfm-2019-12-03.def, bkm-dvips-2019-12-03.def,
+%%    bkm-pdftex-2019-12-03.def, bkm-vtex-2019-12-03.def,
 %%    bookmark-example.tex.
 %% 
 \NeedsTeXFormat{LaTeX2e}
 \ProvidesFile{bkm-vtex.def}%
-  [2019/12/03 v1.28 bookmark driver for VTeX (HO)]%
+  [2020-11-06 v1.29 bookmark driver for VTeX (HO)]%
 \ifvtexpdf
 \else
   \PackageWarningNoLine{bookmark}{%
@@ -291,8 +292,7 @@
   }%
 |endgroup
 \ifBKM at atend
-  \RequirePackage{atenddvi}%
-  \AtEndDvi{\BKM at EndHook}%
+  \AddToHook{shipout/lastpage}{\BKM at EndHook}%
 \fi
 
 \endinput

Modified: trunk/Master/texmf-dist/tex/latex/bookmark/bookmark.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/bookmark/bookmark.sty	2020-11-08 21:40:47 UTC (rev 56884)
+++ trunk/Master/texmf-dist/tex/latex/bookmark/bookmark.sty	2020-11-08 21:41:19 UTC (rev 56885)
@@ -9,11 +9,11 @@
 %% This is a generated file.
 %% 
 %% Project: bookmark
-%% Version: 2019/12/03 v1.28
+%% Version: 2020-11-06 v1.29
 %% 
 %% Copyright (C)
 %%    2007-2011 Heiko Oberdiek
-%%    2016-2019 Oberdiek Package Support Group
+%%    2016-2020 Oberdiek Package Support Group
 %% 
 %% This work may be distributed and/or modified under the
 %% conditions of the LaTeX Project Public License, either
@@ -32,16 +32,17 @@
 %% https://github.com/ho-tex/bookmark/issues
 %% 
 %% 
-%% This work consists of the main source file bookmark.dtx
+%% 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,
-%%    bkm-dvipdfm.def, bkm-dvips.def, bkm-dvipsone.def,
-%%    bkm-textures.def, bkm-pdftex.def, bkm-vtex.def,
+%%    bkm-dvipdfm.def, bkm-dvips.def, bkm-pdftex.def, bkm-vtex.def,
+%%    bkm-dvipdfm-2019-12-03.def, bkm-dvips-2019-12-03.def,
+%%    bkm-pdftex-2019-12-03.def, bkm-vtex-2019-12-03.def,
 %%    bookmark-example.tex.
 %% 
 \NeedsTeXFormat{LaTeX2e}
 \ProvidesPackage{bookmark}%
-  [2019/12/03 v1.28 PDF bookmarks (HO)]%
+  [2020-11-06 v1.29 PDF bookmarks (HO)]%
 \begingroup\expandafter\expandafter\expandafter\endgroup
 \expandafter\ifx\csname numexpr\endcsname\relax
   \def\BKM at CalcExpr#1#2#3#4{%
@@ -570,23 +571,13 @@
 }
 \BKM at DefineDriverKey{pdftex}
 \BKM at DefineDriverKey{dvips}
-\BKM at DefineDriverKey{dvipsone}
-\BKM at DefineDriverKey{textures}
 \BKM at DefineDriverKey{dvipdfm}
 \BKM at DefineDriverKey{dvipdfmx}
 \BKM at DefineDriverKey{xetex}
 \BKM at DefineDriverKey{vtex}
 \define at key{BKM}{dvipdfmx-outline-open}[true]{%
-  \expandafter\ifx\csname if#1\expandafter\endcsname
-                  \csname iftrue\endcsname
-    \chardef\SpecialDvipdfmxOutlineOpen\@ne
-  \else
-    \chardef\SpecialDvipdfmxOutlineOpen\z@
-  \fi
-}
-\g at addto@macro\BKM at DisableOptions{%
-  \DisableKeyvalOption{BKM}{dvipdfmx-outline-open}%
-}
+ \PackageWarning{bookmark}{Option 'dvipdfmx-outline-open' is obsolete
+   and ignored}{}}
 \def\bookmark at driver{\BKM at driver}
 \InputIfFileExists{bookmark.cfg}{}{}
 \providecommand*{\BookmarkDriverDefault}{dvips}
@@ -627,20 +618,6 @@
   \let\BKM at DefGotoNameAction\ltx at gobbletwo % package `hypdestopt'
   \expandafter\endinput
 \fi
-\newif\ifBKM at DvipdfmxOutlineOpen
-\ltx at IfUndefined{SpecialDvipdfmxOutlineOpen}{%
-  \ifxetex
-    \ifdim\number\XeTeXversion\XeTeXrevision in<0.9995in %
-    \else
-      \chardef\SpecialDvipdfmxOutlineOpen\ltx at one
-      \BKM at DvipdfmxOutlineOpentrue
-    \fi
-  \fi
-}{%
-  \ifnum\SpecialDvipdfmxOutlineOpen>\z@
-    \BKM at DvipdfmxOutlineOpentrue
-  \fi
-}
 \def\BKM at temp{dvipdfmx}%
 \ifx\BKM at temp\BKM at driver
   \def\BKM at driver{dvipdfm}%
@@ -694,6 +671,8 @@
     \fi
   \fi
 \fi
+\providecommand\IfFormatAtLeastTF{\@ifl at t@r\fmtversion}
+\IfFormatAtLeastTF{2020/10/01}{}{\edef\BKM at driver{\BKM at driver-2019-12-03}}
 \InputIfFileExists{bkm-\BKM at driver.def}{}{%
   \PackageError{bookmark}{%
     Unsupported driver `\BKM at driver'.\MessageBreak
@@ -735,7 +714,7 @@
           \let\partnumberline\@gobble
           \let\chapternumberline\@gobble
         \fi
-        \bookmark[level=#4,dest={#3}]{#2}%
+        \bookmark[level=#4,dest={\HyperDestNameFilter{#3}}]{#2}%
       \endgroup
     \fi
   \fi



More information about the tex-live-commits mailing list.