##  makedoc.g for the package Utils 
##  This builds the documentation of the Utils package. 
##  Needs: GAPDoc & AutoDoc packages, latex, pdflatex, mkindex
##  call this with GAP from within the package root directory 
##  
LoadPackage( "GAPDoc" );
LoadPackage( "AutoDoc" ); 

AutoDoc( rec( 
    scaffold := rec(
        ## MainPage := false, 
        includes := [ "intro.xml",
                      "print.xml",
                      "lists.xml",
                      "number.xml",
                      "groups.xml",
                      "iterator.xml",
                      "record.xml",
                      "download.xml",
                      "others.xml",
                      "obsolete.xml",
                      "transfer.xml" ],
        bib := "bib.xml", 
        entities := rec( 
            AutoDoc := "<Package>AutoDoc</Package>",
            ResClasses := "<Package>ResClasses</Package>",
            RCWA := "<Package>RCWA</Package>",
            XMod := "<Package>XMod</Package>",
            Home := "<Package>Home</Package>",
            Magma := "<M>{\\sf Magma}</M>",
            MathJax := "<M>{\\sf MathJax}</M>"
        )
    )
));
