diff options
author | Karl Berry <karl@freefriends.org> | 2023-07-30 20:03:56 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2023-07-30 20:03:56 +0000 |
commit | 3b949b98bee5fb8ce2fd3169750d04f5545bfb1b (patch) | |
tree | cfffd7f9c53af8eed26ccda5ab842a0881f6816c /Master/texmf-dist/tex/latex/gamebooklib | |
parent | 8149fd6ad2a77d8e404b3db858ec9b9361808052 (diff) |
gamebooklib (30jul23)
git-svn-id: svn://tug.org/texlive/trunk@67772 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/gamebooklib')
-rw-r--r-- | Master/texmf-dist/tex/latex/gamebooklib/gamebooklib.sty | 17 |
1 files changed, 15 insertions, 2 deletions
diff --git a/Master/texmf-dist/tex/latex/gamebooklib/gamebooklib.sty b/Master/texmf-dist/tex/latex/gamebooklib/gamebooklib.sty index 882565f7e2d..703694bbfe6 100644 --- a/Master/texmf-dist/tex/latex/gamebooklib/gamebooklib.sty +++ b/Master/texmf-dist/tex/latex/gamebooklib/gamebooklib.sty @@ -20,12 +20,25 @@ %% and version 1.3 or later is part of all distributions of %% LaTeX version 2005/12/01 or later. %% -\ProvidesPackage{gamebooklib}[2022/05/25 Gamebook by R Lee latex@rjlee.homelinux.org] +\ProvidesPackage{gamebooklib}[2023/07/28 Gamebook by R Lee latex@rjlee.homelinux.org] \NeedsTeXFormat{LaTeX2e}[1994/06/01] \newcommand{\gamebook@info}[1]{}% \DeclareOption{verbose}{% \renewcommand{\gamebook@info}[1]{\PackageInfo{gamebooklib}{#1}}% \gamebook@info{Gamebook Library package is logging}}% +%% RL: Untested start of mark support +%% % \popt{mark} +%% % The |mark| package option enables support for \LaTeXe Mark +%% % interface, intruduced in 2022. This enables |gamebooklib| to declare +%% % its own \cs{mark} class, ensuring that other packages' marks are +%% % unaffected. +%% \newcommand{\gamebooklibmarkclass}{gamebooklibmark} +\def\gamebooklib@mark{\mark} +%% \DeclareOption{mark}{% +%% \gamebook@info{Using mark class \gamebooklibmarkclass}% +%% \NewMarkClass{\gamebooklibmarkclass}% +%% \renewcommand{\gamebooklib@mark}[1]{\InsertMark{\gamebooklibmarkclass}{#1}}% +%% }% \newcommand\gamebook@beforelast{} \DeclareOption{endpage}{% \renewcommand\gamebook@beforelast{\eject}% @@ -260,7 +273,7 @@ }% \g@addto@macro{\@makefnmark}{% \ifcsname in@out\endcsname\else% - \mark{\arabic{\@mpfn}}% + \gamebooklib@mark{\arabic{\@mpfn}}% \fi% }% \g@addto@macro{\gentry@footnotespergentry}{% |