texlive[72978] Master/texmf-dist: zref-vario (26nov24)

commits+karl at tug.org commits+karl at tug.org
Tue Nov 26 22:13:49 CET 2024


Revision: 72978
          https://tug.org/svn/texlive?view=revision&revision=72978
Author:   karl
Date:     2024-11-26 22:13:48 +0100 (Tue, 26 Nov 2024)
Log Message:
-----------
zref-vario (26nov24)

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-doc.pdf
    trunk/Master/texmf-dist/doc/latex/zref-vario/zref-vario-doc.tex
    trunk/Master/texmf-dist/source/latex/zref-vario/zref-vario.dtx
    trunk/Master/texmf-dist/tex/latex/zref-vario/zref-vario.sty

Modified: trunk/Master/texmf-dist/doc/latex/zref-vario/CHANGELOG.md
===================================================================
--- trunk/Master/texmf-dist/doc/latex/zref-vario/CHANGELOG.md	2024-11-26 21:13:30 UTC (rev 72977)
+++ trunk/Master/texmf-dist/doc/latex/zref-vario/CHANGELOG.md	2024-11-26 21:13:48 UTC (rev 72978)
@@ -1,7 +1,13 @@
 # Changelog
 
-## [Unreleased](https://github.com/gusbrs/zref-vario/compare/v0.1.11...HEAD)
+## [Unreleased](https://github.com/gusbrs/zref-vario/compare/v0.1.12...HEAD)
 
+## [v0.1.12](https://github.com/gusbrs/zref-vario/compare/v0.1.11...v0.1.12) (2024-11-25)
+
+### Added
+- Swedish localization (see issue
+  [#3](https://github.com/gusbrs/zref-vario/issues/3)).
+
 ## [v0.1.11](https://github.com/gusbrs/zref-vario/compare/v0.1.10...v0.1.11) (2024-11-07)
 
 ### Changed

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-doc.pdf
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/doc/latex/zref-vario/zref-vario-doc.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/zref-vario/zref-vario-doc.tex	2024-11-26 21:13:30 UTC (rev 72977)
+++ trunk/Master/texmf-dist/doc/latex/zref-vario/zref-vario-doc.tex	2024-11-26 21:13:48 UTC (rev 72978)
@@ -352,8 +352,10 @@
   %             and following discussion.
 
 The package's language settings have been provided or improved thanks to:
-  Matteo Ferrigato (Italian). % 'matteo339'
+  Matteo Ferrigato (Italian) % 'matteo339'
   % 2023-01-02: https://github.com/gusbrs/zref-vario/issues/1
+  and \username{Timmyfox} (Swedish).
+  % 2024-11-25: https://github.com/gusbrs/zref-vario/issues/3
 
 If I have inadvertently left anyone off the list I apologize, and please let
 me know, so that I can correct the oversight.

Modified: trunk/Master/texmf-dist/source/latex/zref-vario/zref-vario.dtx
===================================================================
--- trunk/Master/texmf-dist/source/latex/zref-vario/zref-vario.dtx	2024-11-26 21:13:30 UTC (rev 72977)
+++ trunk/Master/texmf-dist/source/latex/zref-vario/zref-vario.dtx	2024-11-26 21:13:48 UTC (rev 72978)
@@ -141,7 +141,7 @@
 %
 % Identify the package.
 %    \begin{macrocode}
-\ProvidesExplPackage {zref-vario} {2024-11-07} {0.1.11}
+\ProvidesExplPackage {zref-vario} {2024-11-25} {0.1.12}
   {Extended LaTeX page cross-references with varioref and zref-clever}
 %    \end{macrocode}
 %
@@ -1233,7 +1233,7 @@
 %
 %
 % Italian localization improved thanks to \contributor{Matteo Ferrigato} (at
-% \githubissue{1})
+% \githubissue{1}).
 %
 %    \begin{macrocode}
 \zvLanguageSetup { italian }
@@ -1253,7 +1253,30 @@
 %    \end{macrocode}
 %
 %
+% Swedish localization initially provided by \contributor{\username{Timmyfox}}
+% (at \githubissue{3}).
+%
 %    \begin{macrocode}
+\zvLanguageSetup { swedish }
+  {
+    reftextfaceafter =
+      {på~\zvhyperlink{\reftextvario{motstående}{nästa}~sida}} ,
+    reftextfacebefore =
+      {på~\zvhyperlink{\reftextvario{motstående}{föregående}~sida}} ,
+    reftextafter =
+      {på~\zvhyperlink{\reftextvario{följande}{nästa}~sida}} ,
+    reftextbefore =
+      {på~\zvhyperlink{föregående~sida}} ,
+    reftextcurrent =
+      {på~\zvhyperlink{\reftextvario{den~här~sidan}{denna~sida}}} ,
+    reftextfaraway = {på~\zcpageref{#1}} ,
+    reftextpagerange = {på~\zcpageref[range]{#1,#2}} ,
+    reftextlabelrange = {\zcref[range]{#1,#2}} ,
+  }
+%    \end{macrocode}
+%
+%
+%    \begin{macrocode}
 %</package>
 %    \end{macrocode}
 %

Modified: trunk/Master/texmf-dist/tex/latex/zref-vario/zref-vario.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/zref-vario/zref-vario.sty	2024-11-26 21:13:30 UTC (rev 72977)
+++ trunk/Master/texmf-dist/tex/latex/zref-vario/zref-vario.sty	2024-11-26 21:13:48 UTC (rev 72978)
@@ -52,7 +52,7 @@
         'zref-vario' requires a LaTeX kernel \zrefvario at required@kernel\space or newer.%
       }%
   }%
-\ProvidesExplPackage {zref-vario} {2024-11-07} {0.1.11}
+\ProvidesExplPackage {zref-vario} {2024-11-25} {0.1.12}
   {Extended LaTeX page cross-references with varioref and zref-clever}
 \RequirePackage { zref-clever } [ 2022-01-28 ] % v0.2.0-alpha
 \RequirePackage { varioref }
@@ -806,6 +806,22 @@
     reftextpagerange = {nelle~\zcpageref[range,g=f]{#1,#2}} ,
     reftextlabelrange = {\zcref[range]{#1,#2}} ,
   }
+\zvLanguageSetup { swedish }
+  {
+    reftextfaceafter =
+      {på~\zvhyperlink{\reftextvario{motstående}{nästa}~sida}} ,
+    reftextfacebefore =
+      {på~\zvhyperlink{\reftextvario{motstående}{föregående}~sida}} ,
+    reftextafter =
+      {på~\zvhyperlink{\reftextvario{följande}{nästa}~sida}} ,
+    reftextbefore =
+      {på~\zvhyperlink{föregående~sida}} ,
+    reftextcurrent =
+      {på~\zvhyperlink{\reftextvario{den~här~sidan}{denna~sida}}} ,
+    reftextfaraway = {på~\zcpageref{#1}} ,
+    reftextpagerange = {på~\zcpageref[range]{#1,#2}} ,
+    reftextlabelrange = {\zcref[range]{#1,#2}} ,
+  }
 %% 
 %%
 %% End of file `zref-vario.sty'.



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