texlive[63124] Master/texmf-dist: zref-vario (24apr22)

commits+karl at tug.org commits+karl at tug.org
Sun Apr 24 22:11:56 CEST 2022


Revision: 63124
          http://tug.org/svn/texlive?view=revision&revision=63124
Author:   karl
Date:     2022-04-24 22:11:55 +0200 (Sun, 24 Apr 2022)
Log Message:
-----------
zref-vario (24apr22)

Modified Paths:
--------------
    trunk/Master/texmf-dist/doc/latex/zref-vario/CHANGELOG.md
    trunk/Master/texmf-dist/doc/latex/zref-vario/zref-vario-code.pdf
    trunk/Master/texmf-dist/doc/latex/zref-vario/zref-vario-code.tex
    trunk/Master/texmf-dist/doc/latex/zref-vario/zref-vario.pdf
    trunk/Master/texmf-dist/doc/latex/zref-vario/zref-vario.tex
    trunk/Master/texmf-dist/source/latex/zref-vario/zref-vario.dtx
    trunk/Master/texmf-dist/source/latex/zref-vario/zref-vario.ins
    trunk/Master/texmf-dist/tex/latex/zref-vario/zref-vario.sty

Removed Paths:
-------------
    trunk/Master/texmf-dist/doc/latex/zref-vario/MANIFEST.md

Modified: trunk/Master/texmf-dist/doc/latex/zref-vario/CHANGELOG.md
===================================================================
--- trunk/Master/texmf-dist/doc/latex/zref-vario/CHANGELOG.md	2022-04-24 20:11:24 UTC (rev 63123)
+++ trunk/Master/texmf-dist/doc/latex/zref-vario/CHANGELOG.md	2022-04-24 20:11:55 UTC (rev 63124)
@@ -1,7 +1,12 @@
 # Changelog
 
-## [Unreleased](https://github.com/gusbrs/zref-vario/compare/v0.1.3-alpha...HEAD)
+## [Unreleased](https://github.com/gusbrs/zref-vario/compare/v0.1.4...HEAD)
 
+## [v0.1.4](https://github.com/gusbrs/zref-vario/compare/v0.1.3-alpha...v0.1.4) (2022-04-24)
+
+### Changed
+- Improved loading of dependencies.
+
 ## [v0.1.3-alpha](https://github.com/gusbrs/zref-vario/compare/v0.1.2-alpha...v0.1.3-alpha) (2022-02-11)
 
 ### Changed

Deleted: trunk/Master/texmf-dist/doc/latex/zref-vario/MANIFEST.md
===================================================================
--- trunk/Master/texmf-dist/doc/latex/zref-vario/MANIFEST.md	2022-04-24 20:11:24 UTC (rev 63123)
+++ trunk/Master/texmf-dist/doc/latex/zref-vario/MANIFEST.md	2022-04-24 20:11:55 UTC (rev 63124)
@@ -1,150 +0,0 @@
-# Manifest for zref-vario
-
-This file is a listing of all files considered to be part of this package.
-It is automatically generated with `l3build manifest`.
-
-
-## Repository manifest
-
-The following groups list the files included in the development repository of the package.
-Files listed with a ‘†’ marker are included in the TDS but not CTAN files, and files listed
-with ‘‡’ are included in both.
-
-### Source files
-
-These are source files for a number of purposes, including the `unpack` process which
-generates the installation files of the package. Additional files included here will also
-be installed for processing such as testing.
-
-* zref-vario.dtx ‡
-* zref-vario.ins ‡
-
-### Typeset documentation source files
-
-These files are typeset using LaTeX to produce the PDF documentation for the package.
-
-* zref-vario-code.tex ‡
-* zref-vario.tex ‡
-
-### Text files
-
-Plain text files included as documentation or metadata.
-
-* CHANGELOG.md ‡
-* MANIFEST.md ‡
-* README.md ‡
-* readme-ctan.md 
-* DEPENDS.txt ‡
-
-### Derived files
-
-The files created by ‘unpacking’ the package sources. This typically includes
-`.sty` and `.cls` files created from DocStrip `.dtx` files.
-
-* zref-vario.sty †
-
-### Typeset documents
-
-The output files (PDF, essentially) from typesetting the various source, demo,
-etc., package files.
-
-* zref-vario-code.pdf ‡
-* zref-vario.pdf ‡
-
-### Test files
-
-These files form the test suite for the package. `.lvt` or `.lte` files are the individual
-unit tests, and `.tlg` are the stored output for ensuring changes to the package produce
-the same output. These output files are sometimes shared and sometime specific for
-different engines (pdfTeX, XeTeX, LuaTeX, etc.).
-
-* zv-basic01.lvt 
-* zv-basic02.lvt 
-* zv-basic03.lvt 
-* zv-basic04.lvt 
-* zv-hyperref01.lvt 
-* zv-languages01.lvt 
-* zv-vcheck01.lvt 
-* zv-zcref-options01.lvt 
-* zv-basic01.luatex.tlg 
-* zv-basic01.luatexdev.tlg 
-* zv-basic01.tlg 
-* zv-basic01.xetex.tlg 
-* zv-basic01.xetexdev.tlg 
-* zv-basic02.luatex.tlg 
-* zv-basic02.luatexdev.tlg 
-* zv-basic02.tlg 
-* zv-basic02.xetex.tlg 
-* zv-basic02.xetexdev.tlg 
-* zv-basic03.luatex.tlg 
-* zv-basic03.luatexdev.tlg 
-* zv-basic03.tlg 
-* zv-basic03.xetex.tlg 
-* zv-basic03.xetexdev.tlg 
-* zv-basic04.luatex.tlg 
-* zv-basic04.luatexdev.tlg 
-* zv-basic04.tlg 
-* zv-basic04.xetex.tlg 
-* zv-basic04.xetexdev.tlg 
-* zv-hyperref01.luatex.tlg 
-* zv-hyperref01.luatexdev.tlg 
-* zv-hyperref01.tlg 
-* zv-hyperref01.xetex.tlg 
-* zv-hyperref01.xetexdev.tlg 
-* zv-languages01.tlg 
-* zv-vcheck01.tlg 
-* zv-zcref-options01.luatex.tlg 
-* zv-zcref-options01.luatexdev.tlg 
-* zv-zcref-options01.tlg 
-* zv-zcref-options01.xetex.tlg 
-* zv-zcref-options01.xetexdev.tlg 
-
-
-## TDS manifest
-
-The following groups list the files included in the TeX Directory Structure used to install
-the package into a TeX distribution.
-
-### Source files (TDS)
-
-All files included in the `zref-vario/source` directory.
-
-* zref-vario.dtx 
-* zref-vario.ins 
-
-### TeX files (TDS)
-
-All files included in the `zref-vario/tex` directory.
-
-* zref-vario.sty 
-
-### Doc files (TDS)
-
-All files included in the `zref-vario/doc` directory.
-
-* CHANGELOG.md 
-* DEPENDS.txt 
-* MANIFEST.md 
-* README.md 
-* zref-vario-code.pdf 
-* zref-vario-code.tex 
-* zref-vario.pdf 
-* zref-vario.tex 
-
-
-## CTAN manifest
-
-The following group lists the files included in the CTAN package.
-
-### CTAN files
-
-* CHANGELOG.md 
-* DEPENDS.txt 
-* MANIFEST.md 
-* README.md 
-* zref-vario-code.pdf 
-* zref-vario-code.tex 
-* zref-vario.dtx 
-* zref-vario.ins 
-* zref-vario.pdf 
-* zref-vario.tex 

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

Modified: trunk/Master/texmf-dist/doc/latex/zref-vario/zref-vario-code.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/zref-vario/zref-vario-code.tex	2022-04-24 20:11:24 UTC (rev 63123)
+++ trunk/Master/texmf-dist/doc/latex/zref-vario/zref-vario-code.tex	2022-04-24 20:11:55 UTC (rev 63124)
@@ -24,7 +24,7 @@
 %                                 zref-vario.ins,
 %                                 zref-vario.tex,
 %                                 zref-vario-code.tex,
-%         and the files listed in MANIFEST.md.
+%                   and the files generated from them.
 %
 % The released version of this package is available from CTAN.
 %

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

Modified: trunk/Master/texmf-dist/doc/latex/zref-vario/zref-vario.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/zref-vario/zref-vario.tex	2022-04-24 20:11:24 UTC (rev 63123)
+++ trunk/Master/texmf-dist/doc/latex/zref-vario/zref-vario.tex	2022-04-24 20:11:55 UTC (rev 63124)
@@ -24,7 +24,7 @@
 %                                 zref-vario.ins,
 %                                 zref-vario.tex,
 %                                 zref-vario-code.tex,
-%         and the files listed in MANIFEST.md.
+%                   and the files generated from them.
 %
 % The released version of this package is available from CTAN.
 %
@@ -135,18 +135,13 @@
 \usepackage{zref-vario}
 \end{zvexample}
 
-\pkg{zref-vario} will load \pkg{varioref} and \pkg{zref-clever} at
-\texttt{begindocument/before}, if they have not already been loaded.  However,
+\pkg{zref-vario} loads \pkg{zref-clever}, and will load \pkg{varioref} at
+\texttt{begindocument/before}, if it hasn't already been loaded.  However,
 considering \pkg{varioref} has known load order interaction with other
 packages, prominently with \pkg{hyperref}, you may wish to load it explicitly
 to ensure its load order requirements are met.
 
 
-\section{Dependencies}
-
-\pkg{zref-vario} requires \pkg{varioref} and \pkg{zref-clever}.
-
-
 \section{User interface}
 
 \begin{function}{\zvref}
@@ -296,8 +291,10 @@
 
 A change log with relevant changes for each version, eventual upgrade
 instructions, and upcoming changes, is maintained in the package's repository,
-at \url{https://github.com/gusbrs/zref-vario/blob/main/CHANGELOG.md}.  An
-archive of historical versions of the package is also kept at
-\url{https://github.com/gusbrs/zref-vario/releases}.
+at \url{https://github.com/gusbrs/zref-vario/blob/main/CHANGELOG.md}.  The
+change log is also distributed with the package's documentation through CTAN
+upon release so, most likely, \texttt{texdoc zref-vario/changelog} should
+provide easy local access to it.  An archive of historical versions of the
+package is also kept at \url{https://github.com/gusbrs/zref-vario/releases}.
 
 \end{document}

Modified: trunk/Master/texmf-dist/source/latex/zref-vario/zref-vario.dtx
===================================================================
--- trunk/Master/texmf-dist/source/latex/zref-vario/zref-vario.dtx	2022-04-24 20:11:24 UTC (rev 63123)
+++ trunk/Master/texmf-dist/source/latex/zref-vario/zref-vario.dtx	2022-04-24 20:11:55 UTC (rev 63124)
@@ -24,7 +24,7 @@
 %                                 zref-vario.ins,
 %                                 zref-vario.tex,
 %                                 zref-vario-code.tex,
-%         and the files listed in MANIFEST.md.
+%                   and the files generated from them.
 %
 % The released version of this package is available from CTAN.
 %
@@ -128,19 +128,21 @@
 %
 % Identify the package.
 %    \begin{macrocode}
-\ProvidesExplPackage {zref-vario} {2022-02-11} {0.1.3-alpha}
+\ProvidesExplPackage {zref-vario} {2022-04-24} {0.1.4}
   {Extended LaTeX page cross-references with varioref and zref-clever}
 %    \end{macrocode}
 %
 %
-% Required packages.
+% Required packages.  The loading of \pkg{varioref} is delayed until
+% \texttt{begindocument/before} since it has potential load order issues
+% (e.g.\ with \pkg{hyperref}) so, ideally, it should be explicitly loaded by
+% the user (and the manual recommends it).  But we do it, if it hasn't been
+% done.
 %
 %    \begin{macrocode}
+\RequirePackage { zref-clever } [ 2022-01-28 ] % v0.2.0-alpha
 \AddToHook { begindocument/before }
-  {
-    \RequirePackage { varioref }
-    \RequirePackage { zref-clever } [ 2022-01-28 ] % v0.2.0-alpha
-  }
+  { \RequirePackage { varioref } }
 %    \end{macrocode}
 %
 %
@@ -613,7 +615,7 @@
 %    \begin{macrocode}
 \cs_new_protected:Npn \@@_vref_pagenum:Nn #1#2
   {
-    \exp_args:NNNo \exp_args:NNo \def #1
+    \exp_args:NNNo \exp_args:NNo \cs_set_nopar:Npn #1
       { \zref at extractdefault {#2} { page } { ?? } }
   }
 \cs_new_protected:Npn \@@_vrefpagenum:Nn #1#2

Modified: trunk/Master/texmf-dist/source/latex/zref-vario/zref-vario.ins
===================================================================
--- trunk/Master/texmf-dist/source/latex/zref-vario/zref-vario.ins	2022-04-24 20:11:24 UTC (rev 63123)
+++ trunk/Master/texmf-dist/source/latex/zref-vario/zref-vario.ins	2022-04-24 20:11:55 UTC (rev 63124)
@@ -24,7 +24,7 @@
 %                                 zref-vario.ins,
 %                                 zref-vario.tex,
 %                                 zref-vario-code.tex,
-%         and the files listed in MANIFEST.md.
+%                   and the files generated from them.
 %
 % The released version of this package is available from CTAN.
 %
@@ -70,7 +70,7 @@
                                 zref-vario.ins,
                                 zref-vario.tex,
                                 zref-vario-code.tex,
-        and the files listed in MANIFEST.md.
+                  and the files generated from them.
 
 The released version of this package is available from CTAN.
 

Modified: trunk/Master/texmf-dist/tex/latex/zref-vario/zref-vario.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/zref-vario/zref-vario.sty	2022-04-24 20:11:24 UTC (rev 63123)
+++ trunk/Master/texmf-dist/tex/latex/zref-vario/zref-vario.sty	2022-04-24 20:11:55 UTC (rev 63124)
@@ -28,7 +28,7 @@
 %%                                 zref-vario.ins,
 %%                                 zref-vario.tex,
 %%                                 zref-vario-code.tex,
-%%         and the files listed in MANIFEST.md.
+%%                   and the files generated from them.
 %% 
 %% The released version of this package is available from CTAN.
 %% 
@@ -42,13 +42,11 @@
 %% 
 %% -----------------------------------------------------------------------
 %% 
-\ProvidesExplPackage {zref-vario} {2022-02-11} {0.1.3-alpha}
+\ProvidesExplPackage {zref-vario} {2022-04-24} {0.1.4}
   {Extended LaTeX page cross-references with varioref and zref-clever}
+\RequirePackage { zref-clever } [ 2022-01-28 ] % v0.2.0-alpha
 \AddToHook { begindocument/before }
-  {
-    \RequirePackage { varioref }
-    \RequirePackage { zref-clever } [ 2022-01-28 ] % v0.2.0-alpha
-  }
+  { \RequirePackage { varioref } }
 \cs_new:Npn \__zrefvario_ref_opt_default_cs:nn #1#2
   { __zrefvario_ref_opt_default_ #1 : #2 }
 \cs_new:Npn \__zrefvario_base_lang:n #1
@@ -385,7 +383,7 @@
   }
 \cs_new_protected:Npn \__zrefvario_vref_pagenum:Nn #1#2
   {
-    \exp_args:NNNo \exp_args:NNo \def #1
+    \exp_args:NNNo \exp_args:NNo \cs_set_nopar:Npn #1
       { \zref at extractdefault {#2} { page } { ?? } }
   }
 \cs_new_protected:Npn \__zrefvario_vrefpagenum:Nn #1#2



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