summaryrefslogtreecommitdiff
path: root/doc/latex
diff options
context:
space:
mode:
authorrideout <rideout@17b73243-c579-4c4c-a9d2-2d5706c11dac>2002-10-16 13:36:20 +0000
committerrideout <rideout@17b73243-c579-4c4c-a9d2-2d5706c11dac>2002-10-16 13:36:20 +0000
commit805952177569d090149ac4d8d0bca0f50d9a1530 (patch)
tree9147f7f376e58fb329484ca091e12fba8c450e2e /doc/latex
parent7bf96ccc586b94b647c36ae65ee317a4dfe6bdc9 (diff)
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
Diffstat (limited to 'doc/latex')
-rw-r--r--doc/latex/cactus.sty14
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]
+ }
}
}