From 995a847c339116139c1314f98da1487cd462d978 Mon Sep 17 00:00:00 2001 From: Ben Greenman Date: Fri, 7 Jul 2017 11:07:04 -0400 Subject: [PATCH] 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/ --- scribble-lib/scribble/acmart/acmart-load.tex | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/scribble-lib/scribble/acmart/acmart-load.tex b/scribble-lib/scribble/acmart/acmart-load.tex index f08c99fb..6959ae55 100644 --- 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 +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%