Skip to content

Commit

Permalink
fix(sys): Add missing \pgf@sys@tonumber before <dimen>
Browse files Browse the repository at this point in the history
Signed-off-by: muzimuzhi <muzimuzhi@gmail.com>
  • Loading branch information
muzimuzhi committed Dec 12, 2021
1 parent 00ef2e1 commit 81f63ab
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions tex/generic/pgf/systemlayer/pgfsys.code.tex
Original file line number Diff line number Diff line change
Expand Up @@ -519,20 +519,20 @@
\pgf@ya#4%
\advance\pgf@xa by-\pgf@x%
\advance\pgf@ya by-\pgf@y%
\pgfmathdivide@\pgf@xa\pgf@ya%
\pgfmathdivide@{\pgf@sys@tonumber\pgf@xa}{\pgf@sys@tonumber\pgf@ya}%
\let\aspectr\pgfmathresult%
\pgf@xb#5%
\pgf@yb#6%
\pgf@xc#7%
\pgf@yc#8%
\advance\pgf@xc by-\pgf@xb%
\advance\pgf@yc by-\pgf@yb%
\pgfmathdivide@\pgf@xc\pgf@yc%
\pgfmathdivide@{\pgf@sys@tonumber\pgf@xc}{\pgf@sys@tonumber\pgf@yc}%
\let\aspects\pgfmathresult%
\ifdim\aspectr pt#9\aspects pt%
\pgfmathdivide@\pgf@xa\pgf@xc%
\pgfmathdivide@{\pgf@sys@tonumber\pgf@xa}{\pgf@sys@tonumber\pgf@xc}%
\else%
\pgfmathdivide@\pgf@ya\pgf@yc%
\pgfmathdivide@{\pgf@sys@tonumber\pgf@ya}{\pgf@sys@tonumber\pgf@yc}%
\fi%
\advance\pgf@x by.5\pgf@xa%
\advance\pgf@xb by.5\pgf@xc%
Expand Down

0 comments on commit 81f63ab

Please sign in to comment.