File: gapdoc.g

package info (click to toggle)
gap-guava 3.13%2Bds-2
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 5,692 kB
  • ctags: 1,493
  • sloc: ansic: 20,869; xml: 10,231; makefile: 268; sh: 71
file content (20 lines) | stat: -rw-r--r-- 654 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
############################################################
#
# commands to create GUAVA documentation using GAPDoc
#
###########################################################


path := Directory("/usr/local/lib/gap4r7/pkg/guava-3.13/doc"); ## edit this path if needed

bibfile := Filename( path , "guava.bib");
bibxmlfile := Filename( path , "guava_bib.xml");

bibdata := ParseBibFiles( bibfile);;
WriteBibXMLextFile( bibxmlfile, bibdata);
Exec(Concatenation( "sed -i 's|\\\\url{http:\\([a-zA-Z0-9/\\.~]*\\)}|<URL>http:\\1</URL>|g' ", bibxmlfile));

main := "guava.xml";
files := [];
bookname := "guava";
MakeGAPDocDoc( path, main, files, bookname);