Skip to content

Commit d227004

Browse files
GAPgap
authored andcommitted
Changed component .Autoload to .AutoLoad (maybe switch back?).
Moved banner from banner.g in PkgInfo.g. Used GAPInfo to get help book paths. git-svn-id: path/gapdoc/trunk@55
1 parent eec46c6 commit d227004

File tree

4 files changed

+19
-27
lines changed

4 files changed

+19
-27
lines changed

PkgInfo.g

Lines changed: 14 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ SetPackageInfo( rec(
77
PkgName := "GAPDoc",
88
Version := "0.99",
99
Date := "02/04/2002",
10-
PkgInfoCVSRevision := "$Id: PkgInfo.g,v 1.1 2002-06-19 14:52:29 gap Exp $",
10+
PkgInfoCVSRevision := "$Id: PkgInfo.g,v 1.2 2003-02-19 02:16:39 gap Exp $",
1111
ArchiveURL := "http://www.math.rwth-aachen.de/~Frank.Luebeck/GAPDoc/gapdoc-0r99",
1212
ArchiveFormats := ".tar.bz2",
1313
Persons := [
@@ -66,7 +66,19 @@ Dependencies := rec(
6666
"http://www.latex-project.org"]]
6767
),
6868
AvailabilityTest := ReturnTrue,
69-
Autoload := false,
69+
AutoLoad := true,
70+
71+
# the banner
72+
BannerString := Concatenation(
73+
" ######################################################################\n",
74+
" ## ##\n",
75+
" ## GAPDoc 0.99 (a GAP documentation meta-package) ##\n",
76+
" ## ##\n",
77+
" ## Questions and remarks to: Frank.Luebeck@Math.RWTH-Aachen.De ##\n",
78+
" ## Max.Neunhoeffer@Math.RWTH-Aachen.De ##\n",
79+
" ## ##\n",
80+
" ######################################################################\n\n"
81+
),
7082
Keywords := ["GAP documentation", "help system", "XML"]
7183
));
7284

banner.g

Lines changed: 0 additions & 20 deletions
This file was deleted.

init.g

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
##
33
#A init.g GAPDoc Frank Lübeck / Max Neunhöffer
44
##
5-
#H @(#)$Id: init.g,v 1.6 2002-04-21 22:42:30 gap Exp $
5+
#H @(#)$Id: init.g,v 1.7 2003-02-19 02:16:39 gap Exp $
66
##
77
#Y Copyright (C) 2000, Frank Lübeck and Max Neunhöffer,
88
#Y Lehrstuhl D für Mathematik, RWTH Aachen
@@ -15,7 +15,7 @@ DeclarePackageAutoDocumentation("GAPDoc", "example", "GAPDoc Example",
1515
"Extensive Example for GAPDoc");
1616

1717

18-
ReadPkg("GAPDoc", "banner.g");
18+
#ReadPkg("GAPDoc", "banner.g");
1919

2020
ReadPkg("GAPDoc", "lib/PrintUtil.gd");
2121
ReadPkg("GAPDoc", "lib/Text.gd");

lib/GAPDoc2HTML.gi

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
##
33
#W GAPDoc2HTML.gi GAPDoc Frank Lübeck
44
##
5-
#H @(#)$Id: GAPDoc2HTML.gi,v 1.20 2003-02-07 03:39:31 gap Exp $
5+
#H @(#)$Id: GAPDoc2HTML.gi,v 1.21 2003-02-19 02:16:39 gap Exp $
66
##
77
#Y Copyright (C) 2000, Frank Lübeck, Lehrstuhl D für Mathematik,
88
#Y RWTH Aachen
@@ -1333,9 +1333,9 @@ GAPDoc2HTMLProcs.Ref := function(r, str)
13331333
ref := GAPDoc2HTMLProcs.ResolveExternalRef(r.attributes.BookName, lab, 1);
13341334
if ref <> fail and ref[6] <> fail then
13351335
if IsBound(GAPDoc2HTMLProcs.RelPath) and
1336-
PositionSublist(ref[6], GAP_ROOT_PATHS[1]) = 1 then
1336+
PositionSublist(ref[6], GAPInfo.RootPaths[1]) = 1 then
13371337
ref[6] := Concatenation(GAPDoc2HTMLProcs.RelPath, "/",
1338-
ref[6]{[Length(GAP_ROOT_PATHS[1])+1..Length(ref[6])]});
1338+
ref[6]{[Length(GAPInfo.RootPaths[1])+1..Length(ref[6])]});
13391339
fi;
13401340
if IsBound(r.attributes.Style) and r.attributes.Style = "Number" then
13411341
ref := Concatenation("<a href=\"", ref[6], "\"><b>",

0 commit comments

Comments
 (0)