summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/nostarch/nostarch.dtx
diff options
context:
space:
mode:
Diffstat (limited to 'macros/latex/contrib/nostarch/nostarch.dtx')
-rw-r--r--macros/latex/contrib/nostarch/nostarch.dtx13
1 files changed, 6 insertions, 7 deletions
diff --git a/macros/latex/contrib/nostarch/nostarch.dtx b/macros/latex/contrib/nostarch/nostarch.dtx
index ba0c42cdc2..1e0c86ce01 100644
--- a/macros/latex/contrib/nostarch/nostarch.dtx
+++ b/macros/latex/contrib/nostarch/nostarch.dtx
@@ -717,7 +717,7 @@
%<class>\ProvidesClass{nostarch}
%<nshyper>\ProvidesPackage{nshyper}
%<*!ist>
-[2023/06/10 v2.2 Typesetting books for No Starch Press]
+[2023/06/18 v2.3 Typesetting books for No Starch Press]
%</!ist>
% \end{macrocode}
%
@@ -2909,6 +2909,8 @@ pagecolor=black,urlcolor=black,hyperindex=false]{hyperref}
% \begin{macro}{\UrlSpecials}
% \changes{v2.1}{2023/04/08}{Redefined macro}
% \changes{v2.1}{2023/04/11}{Added slashes and double quote}
+% \changes{v2.3}{2023/06/18}{Moved out opening braces for
+% compatibility with amsmath}
% We add to macro special treatment of the chars with breaking URLs.
% Slashes are interesting: we allow breaking after them, but not
% before, even after other slashes or colons
@@ -2929,10 +2931,6 @@ pagecolor=black,urlcolor=black,hyperindex=false]{hyperref}
\do\'{\penalty\UrlBreakPenalty\mathchar39\relax}%
\do\"{\penalty\UrlBreakPenalty\mathchar34\relax}%
\do\+{\penalty\UrlBreakPenalty\mathchar43\relax}%
- \do\<{\penalty\UrlBreakPenalty\mathchar60\relax}%
- \do\[{\penalty\UrlBreakPenalty\mathchar91\relax}%
- \do\({\penalty\UrlBreakPenalty\mathchar40\relax}%
- \do\{{\penalty\UrlBreakPenalty\mathchar123\relax}%
\do\/{\unpenalty\penalty\@M\mathchar47\penalty\UrlBreakPenalty}%
}
% \end{macrocode}
@@ -2940,9 +2938,10 @@ pagecolor=black,urlcolor=black,hyperindex=false]{hyperref}
%
% \begin{macro}{\UrlNoBreaks}
% \changes{v2.1}{2023/04/08}{Redefined macro}
-% We allow breaks in urls after brackets
+% \changes{v2.3}{2023/06/18}{Removed redefinition}
+% We do not allow breaks in urls after brackets
% \begin{macrocode}
-\def\UrlNoBreaks{}
+% \def\UrlNoBreaks{} % Rolled back redefinition
% \end{macrocode}
% \end{macro}
%