commit e9ed7ce065fcb72b02db1879837dd60297f307c1
parent 7189e553a0fb175e462f06ed66349d498262d4ef
Author: Matthew Flatt <mflatt@racket-lang.org>
Date: Thu, 1 Nov 2012 09:29:26 -0600
Scribble Latex/PDF: use tocstyle only if it's available
original commit: 739aa114044d17019936cd202045eabcd2e5e13c
Diffstat:
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/collects/scribble/scribble.tex b/collects/scribble/scribble.tex
@@ -11,8 +11,7 @@
\usepackage[htt]{hyphenat}
\usepackage[usenames,dvipsnames]{color}
\hypersetup{bookmarks=true,bookmarksopen=true,bookmarksnumbered=true}
-\usepackage{tocstyle}
-\usetocstyle{standard}
+\IfFileExists{tocstyle.sty}{\usepackage{tocstyle}\usetocstyle{standard}}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Configuration that is especially meant to be overridden: