commit 995a847c339116139c1314f98da1487cd462d978
parent 0e5e7040f88956b30b096f29ec6b9ae87884cbae
Author: Ben Greenman <benjaminlgreenman@gmail.com>
Date: Fri, 7 Jul 2017 11:07:04 -0400
acmart: remove 'tocstyle' package
Prevent 'scribble/acmart' documents from loading the 'tocstyle' package,
because this package conflicts with 'acmart.cls'.
(Specifically, 'tocstyle' should be loaded before 'hyperref', but 'acmart.cls'
loads 'hyperref'.)
Without 'tocstyle', Scribble's 'table-of-contents' function produces an OK
table of contents.
See also:
https://tex.stackexchange.com/questions/378547/using-tocstyle-with-acm-acmart-style/
Diffstat:
1 file changed, 5 insertions(+), 0 deletions(-)
diff --git a/scribble-lib/scribble/acmart/acmart-load.tex b/scribble-lib/scribble/acmart/acmart-load.tex
@@ -1,4 +1,9 @@
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% BEGIN acmart-load.tex
% Avoid package option conflict
\renewcommand\packageColor\relax
+\renewcommand\packageTocstyle\relax
\let\Footnote\undefined
\let\captionwidth\undefined
+% END acmart-load.tex
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%