diff options
Diffstat (limited to 'doc/latex')
-rw-r--r-- | doc/latex/cactus.sty | 14 |
1 files changed, 11 insertions, 3 deletions
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] + } } } |