1############################################################################# 2## 3#W GAPDoc.gd GAPDoc Frank Lübeck 4## 5## 6#Y Copyright (C) 2000, Frank Lübeck, Lehrstuhl D für Mathematik, 7#Y RWTH Aachen 8## 9## The files GAPDoc.g{d,i} contain some utilities for trees returned by 10## ParseTreeXMLString applied to a GAPDoc document. 11## 12 13DeclareGlobalFunction("CheckAndCleanGapDocTree"); 14DeclareGlobalFunction("AddParagraphNumbersGapDocTree"); 15DeclareGlobalFunction("AddPageNumbersToSix"); 16DeclareGlobalFunction("PrintSixFile"); 17DeclareGlobalFunction("PrintGAPDocElementTemplates"); 18DeclareGlobalFunction("TextM"); 19DeclareGlobalFunction("NormalizedArgList"); 20 21## <#GAPDoc Label="InfoGAPDoc"> 22## <ManSection > 23## <InfoClass Name="InfoGAPDoc" /> 24## <Description> 25## The default level of this info class is 1. The converter functions 26## for &GAPDoc; documents are then 27## printing some information. You can suppress this by setting the 28## level of <Ref InfoClass="InfoGAPDoc"/> to 0. With level 2 there 29## may be some more information for debugging purposes. 30## </Description> 31## </ManSection> 32## <#/GAPDoc> 33## 34# Info class with default level 1 35BindGlobal("InfoGAPDoc", NewInfoClass("InfoGAPDoc")); 36SetInfoLevel(InfoGAPDoc, 1); 37SetInfoHandler(InfoGAPDoc, PlainInfoHandler); 38 39DeclareGlobalVariable("GAPDocTexts"); 40DeclareGlobalFunction("SetGapDocLanguage"); 41