%%
%% This is file `hvtexmrk.def',
%% generated with the docstrip utility.
%%
%% The original source files were:
%%
%% hyperref.dtx  (with options: `vtexpdfmark')
%% 
%% Copyright
%% 1995-2001 Sebastian Rahtz, with portions written by David Carlisle and Heiko Oberdiek
%% 2001-2015 Heiko Oberdiek
%% 2016-2019 Oberdiek Package Support Group
%% 2019-2026 LaTeX Project
%%      https://github.com/latex3/hyperref/issues
%% 
%% This file is part of the `Hyperref Bundle'.
%% -------------------------------------------
%% 
%% This work may be distributed and/or modified under the
%% conditions of the LaTeX Project Public License, either version 1.3
%% of this license or (at your option) any later version.
%% The latest version of this license is in
%%   http://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 Maintainer of this work is the LaTeX Project.
%% 
%% The list of all files belonging to the `Hyperref Bundle' is
%% given in the file `manifest.txt'.
%% 
%% File: hyperref.dtx
\ProvidesFile{hvtexmrk.def}
  [2026-06-17 v7.01r %
 Hyperref driver for VTeX in PDF/PS mode (pdfmark specials)]
\Hy@VersionCheck{hvtexmrk.def}
\providecommand*{\XR@ext}{pdf}
\let\Hy@raisedlink\@empty
\def\literalps@out#1{\special{pS:#1}}%
\def\headerps@out#1{\immediate\special{pS:#1}}%
\input{pdfmark.def}%
\ifx\@pdfproducer\relax
  \ifnum\OpMode=\@ne
    \def\@pdfproducer{VTeX}%
  \else
    \def\@pdfproducer{VTeX + Distiller}%
  \fi
\fi
\providecommand*\@pdfborder{0 0 1}
\providecommand*\@pdfborderstyle{}
\providecommand*\@pdfview{XYZ}
\providecommand*\@pdfviewparams{ H.V}
\g@addto@macro\Hy@FirstPageHook{%
  \headerps@out{%
    /vsize {\Hy@pageheight} def%
    /HyperBorder {1} def%
    /H.V {pdf@hoff pdf@voff null} def%
    /H.B {/Rect[pdf@llx pdf@lly pdf@urx pdf@ury]} def%
    /H.S {%
      currentpoint %
      HyperBorder sub%
      /pdf@lly exch def %
      dup 72 add /pdf@hoff exch def %
      HyperBorder sub%
      /pdf@llx exch def%
    } def%
    /H.L {%
      2 sub%
      /HyperBasePt exch def %
      currentpoint %
      HyperBasePt add HyperBorder add%
      /pdf@ury exch def %
      HyperBorder add%
      /pdf@urx exch def%
    } def%
    /H.A {%
      H.L %
      currentpoint exch pop %
      vsize 72 sub exch %
      HyperBasePt add add%
      /pdf@voff exch def%
    } def%
    /H.R {%
      currentpoint %
      HyperBorder add%
      /pdf@ury exch def %
      HyperBorder add%
      /pdf@urx exch def %
      currentpoint exch pop vsize 72 sub add%
      /pdf@voff exch def%
    } def%
  }%
}
\def\setpdflinkmargin#1{%
  \begingroup
    \setlength{\dimen@}{#1}%
    \literalps@out{%
      /HyperBorder{\strip@pt\dimen@}def%
    }%
  \endgroup
}
\endinput
%%
%% End of file `hvtexmrk.def'.
