summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/lwarp/lwarp.dtx
diff options
context:
space:
mode:
Diffstat (limited to 'macros/latex/contrib/lwarp/lwarp.dtx')
-rw-r--r--macros/latex/contrib/lwarp/lwarp.dtx18
1 files changed, 14 insertions, 4 deletions
diff --git a/macros/latex/contrib/lwarp/lwarp.dtx b/macros/latex/contrib/lwarp/lwarp.dtx
index 6df598436e..8945b5d12d 100644
--- a/macros/latex/contrib/lwarp/lwarp.dtx
+++ b/macros/latex/contrib/lwarp/lwarp.dtx
@@ -16,7 +16,7 @@
% \iffalse
%<package>\NeedsTeXFormat{LaTeX2e}[1999/12/01]
%<package>\ProvidesPackage{lwarp}
-%<package> [2022/07/11 v0.907 Allows LaTeX to directly produce HTML5 output.]
+%<package> [2022/07/13 v0.908 Allows LaTeX to directly produce HTML5 output.]
%
%<*driver>
\documentclass{ltxdoc}
@@ -3280,7 +3280,7 @@ This boolean may be tested by the user for later use.
%<*package>
% \fi
%
-% \CheckSum{55579}
+% \CheckSum{55578}
%
% \CharacterTable
% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z
@@ -3432,6 +3432,7 @@ This boolean may be tested by the user for later use.
% \changes{v0.905}{2022/03/22}{\ 2022/03/22}
% \changes{v0.906}{2022/06/23}{\ 2022/06/23}
% \changes{v0.907}{2022/07/11}{\ 2022/07/11}
+% \changes{v0.908}{2022/07/13}{\ 2022/07/13}
@@ -3665,6 +3666,11 @@ This boolean may be tested by the user for later use.
% see the end of the Change History on page \pageref{sec:changesend}.
%
% \begin{description}
+% \item[v0.908:] Bug fix.
+% \begin{itemize}
+% \item Fixed obscure cross-reference issue, seen in some citations.
+% \end{itemize}
+% \needspace{2\baselineskip}
% \item[v0.907:] Bug fix.
% \begin{itemize}
% \item Fixed \SVG\ images for \brand{Windows}.
@@ -21068,7 +21074,7 @@ MathJax = {
-- Copyright 2016-2022 Brian Dunn
-printversion = "v0.907"
+printversion = "v0.908"
requiredconfversion = "2" -- also at *lwarpmk.conf
function printhelp ()
@@ -34926,9 +34932,13 @@ end -- not --version
% If |LWR@lateximagedepth| is known.
% Use a lateximage if the depth is greater than zero,
% or a regular link otherwise:
+%
+% (Using \pkg{xifthen} \cs{ifthenelse} here failed in some cases,
+% but \pkg{etoolbox} \cs{ifnumgreater} works.)
+% \changes{v0.908}{2022/07/13}{Fixed reference expansion.}
% \begin{macrocode}
{%
- \ifthenelse{\cnttest{\LWR@lateximagedepthref{#1}}{>}{0}}%
+ \ifnumgreater{\LWR@lateximagedepthref{#1}}{0}%
{%
% \end{macrocode}
% \changes{v0.86}{2020/05/11}{Fixed: \cs{label} inside \env{lateximage}.}