mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06:00
LaTeX: comment applied workaround to pict2e 0.4b breaking ellipse.sty
This commit is contained in:
parent
ec25892dd9
commit
a07e1ffb27
@ -65,13 +65,10 @@
|
||||
all non-straight corners have used circle arcs.}}%
|
||||
}%
|
||||
|
||||
% Surprisingly it seems ellipse.sty uses a \@tempdimd which does not exist in
|
||||
% LaTeX. Was it removed at some point? Perhaps ellipse.sty was always tested
|
||||
% with some other package? I don't see it being defined in packages longfbox,
|
||||
% longbox, or options either. Or pict2e stopped defining it at some point? I
|
||||
% was very surprised that my first very test after completing the coding would
|
||||
% fail with an error about \@tempdimd, but simply defining it, everything
|
||||
% does seem to work fine! Not thoroughly tested, though.
|
||||
% The pict2e release v0.4b of 2020/09/30 does not allocate scratch dimen
|
||||
% register \@tempdimd which ellipse package uses. Thus ellipse package is
|
||||
% broken since (written on March 20, 2023). Simply allocate the register
|
||||
% ourself to fix that, pending some upstream fix.
|
||||
\@ifpackageloaded{ellipse}{\ifdefined\@tempdimd\else\newdimen\@tempdimd\fi}{}
|
||||
|
||||
% Provides box registers \spx@tempboxa, \spx@tempboxb usable in other places
|
||||
|
Loading…
Reference in New Issue
Block a user