-
Notifications
You must be signed in to change notification settings - Fork 1
/
makedoc.g
29 lines (27 loc) · 1008 Bytes
/
makedoc.g
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
## makedoc.g for the package groupoids,
## This builds the documentation of the groupoids package.
## Needs: GAPDoc & AutoDoc packages, latex, pdflatex, mkindex
## call this with GAP from within the package root directory
LoadPackage( "groupoids" );
LoadPackage( "GAPDoc" );
LoadPackage( "AutoDoc" );
AutoDoc(rec(
gapdoc := rec(
LaTeXOptions := rec( EarlyExtraPreamble := """
\usepackage[all]{xy}
\newcommand{\Aut} {\mathrm{Aut}}
\newcommand{\AUT} {\mathrm{AUT}}
\newcommand{\Inn} {\mathrm{Inn}}
""" )),
scaffold := rec(
includes := [ "intro.xml", "mwo.xml", "mwohom.xml",
"gpd.xml", "gpdhom.xml", "ggraph.xml",
"double.xml", "tecnotes.xml", "history.xml"
],
bib := "bib.xml",
entities := rec(
AutoDoc := "<Package>AutoDoc</Package>",
XMod := "<Package>XMod</Package>"
)
)
));