From 805952177569d090149ac4d8d0bca0f50d9a1530 Mon Sep 17 00:00:00 2001 From: rideout Date: Wed, 16 Oct 2002 13:36:20 +0000 Subject: Added some comments for cryptic \ProvidesPackage code. Added \ProvidesPackage entry for building arrangement documentation. git-svn-id: http://svn.cactuscode.org/flesh/trunk@3013 17b73243-c579-4c4c-a9d2-2d5706c11dac --- doc/latex/cactus.sty | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) (limited to 'doc/latex') diff --git a/doc/latex/cactus.sty b/doc/latex/cactus.sty index 22382527..a0dfdfbd 100644 --- a/doc/latex/cactus.sty +++ b/doc/latex/cactus.sty @@ -11,17 +11,25 @@ \def\CA@getcvsdate $#1:#2/#3/#4 #5:#6:#7${#2/#3/#4} \def\CA@getcvsversion $#1:#2${#2} -\IfFileExists{../interface.ccl} +\IfFileExists{../interface.ccl} % Is this the documentation.tex for a thorn? { \ProvidesPackage{../../../../doc/latex/cactus}[\CA@styledate \CA@styleversion] } { - \IfFileExists{../FAQ} + \IfFileExists{../FAQ} % Is this the UsersGuide or MaintGuide? { \ProvidesPackage{../latex/cactus}[\CA@styledate \CA@styleversion] } { - \ProvidesPackage{cactus}[\CA@styledate \CA@styleversion] + \IfFileExists{../../../arrangements/README} % Is this the + % documentation.tex for an + % entire arrangement? + { + \ProvidesPackage{../../../doc/latex/cactus} + } + { + \ProvidesPackage{cactus}[\CA@styledate \CA@styleversion] + } } } -- cgit v1.2.3