Skip to content

Commit

Permalink
Fix hyperref patch
Browse files Browse the repository at this point in the history
  • Loading branch information
zepinglee committed Jan 1, 2020
1 parent 3c7300b commit dd1fae1
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 deletions.
2 changes: 1 addition & 1 deletion ustcthesis.cls
Original file line number Diff line number Diff line change
Expand Up @@ -1095,7 +1095,7 @@
\let\hspace\@gobble
}
\@ifpackagelater{hyperref}{2019/04/27}{}{%
\g@addto@macro\psdmapshortnames{\let\mu\textmugreek}%
\g@addto@macro\psdmapshortnames{\let\mu\textmu}%
}
\ifustc@chinese
\def\equationautorefname~#1\null{公式~(#1)\null}
Expand Down
10 changes: 6 additions & 4 deletions ustcthesis.dtx
Original file line number Diff line number Diff line change
Expand Up @@ -2462,12 +2462,14 @@ version 2005/12/01 or later.
% \end{macrocode}
%
% \pkg{hyperref} 与 \pkg{unicode-math} 存在一些兼容性问题,见
% \href{https://github.com/ustctug/ustcthesis/issues/223}{
% ustctug/ustcthesis\#223} 和
% \href{https://github.com/ho-tex/hyperref/pull/90}{ho-tex/hyperref\#90}。
% \href{https://github.com/ustctug/ustcthesis/issues/223}{%
% ustctug/ustcthesis\#223},
% \href{https://github.com/ho-tex/hyperref/pull/90}{ho-tex/hyperref\#90} 和
% \href{https://github.com/ustctug/ustcthesis/issues/235}{%
% ustctug/ustcthesis/\#235}。
% \begin{macrocode}
\@ifpackagelater{hyperref}{2019/04/27}{}{%
\g@addto@macro\psdmapshortnames{\let\mu\textmugreek}%
\g@addto@macro\psdmapshortnames{\let\mu\textmu}%
}
% \end{macrocode}
%
Expand Down

0 comments on commit dd1fae1

Please sign in to comment.