  
  [1X6 [33X[0;0YVarious other functions[133X[101X
  
  
  [1X6.1 [33X[0;0YOperations on folders[133X[101X
  
  [1X6.1-1 FindMatchingFiles[101X
  
  [29X[2XFindMatchingFiles[102X( [3Xpkg[103X, [3Xdirs[103X, [3Xextns[103X ) [32X function
  [29X[2XCreateDirIfMissing[102X( [3Xstr[103X ) [32X function
  
  [33X[0;0YThese  functions  have been transferred from package [5XAutoDoc[105X where they were
  named [10XAutoDoc_FindMatchingFiles[110X and [10XAutoDoc_CreateDirIfMissing[110X.[133X
  
  [33X[0;0Y[10XFindMatchingFiles[110X  scans  the  given  (by  name) subdirectories of a package
  directory  for  files  with  one  of  the  given extensions, and returns the
  corresponding filenames, as paths relative to the package directory.[133X
  
  [33X[0;0Y[10XCreateDirIfMissing[110X  checks  whether  the given directory exists and, if not,
  attempts to create it. In either case [10Xtrue[110X is returned.[133X
  
  [33X[0;0Y[13XWarning:[113X   this   function  relies  on  the  undocumented  library  function
  [10XCreateDir[110X, so use it with caution.[133X
  
  [4X[32X  Example  [32X[104X
    [4X[28X[128X[104X
    [4X[25Xgap>[125X [27XFindMatchingFiles( "utils", [ "/", "tst" ], [ "g", "txt" ] );[127X[104X
    [4X[28X[ "/LICENSE.txt", "/PackageInfo.g", "/init.g", "/makedoc.g", "/read.g", [128X[104X
    [4X[28X  "tst/testall.g" ][128X[104X
    [4X[25Xgap>[125X [27XCreateDirIfMissing( "/Applications/gap/temp/" );[127X[104X
    [4X[28Xtrue[128X[104X
    [4X[28X[128X[104X
  [4X[32X[104X
  
  
  [1X6.2 [33X[0;0YFile operations[133X[101X
  
  [1X6.2-1 Log2HTML[101X
  
  [29X[2XLog2HTML[102X( [3Xfilename[103X ) [32X function
  
  [33X[0;0YThis  function is in the process of being transferred from package [5XRCWA[105X: for
  now you should [10XLoadPackage("rcwa")[110X in order to use it.[133X
  
  [33X[0;0YThis function converts the [5XGAP[105X logfile logfilename to HTML. The extension of
  the input file must be [3X*.log[103X. The name of the output file is the same as the
  one of the input file except that the extension [3X*.log[103X is replaced by [3X*.html[103X.
  There  is a sample CSS file in [11Xutils/doc/gaplog.css[111X, which you can adjust to
  your taste.[133X
  
  [4X[32X  Example  [32X[104X
    [4X[28X[128X[104X
    [4X[25Xgap>[125X [27XLogTo("mar2.log");[127X[104X
    [4X[25Xgap>[125X [27XFindMatchingFiles( "utils", [""], ["g"] ); [127X[104X
    [4X[28X[ "/PackageInfo.g", "/init.g", "/makedoc.g", "/read.g" ][128X[104X
    [4X[25Xgap>[125X [27XLogTo();[127X[104X
    [4X[25Xgap>[125X [27XLog2HTML( "mar2.log" );[127X[104X
    [4X[25Xgap>[125X [27XFindMatchingFiles( "utils", [""], ["html", "log"] );[127X[104X
    [4X[28X[ "/mar2.html", "/mar2.log" ][128X[104X
    [4X[28X[128X[104X
  [4X[32X[104X
  
  
  [1X6.3 [33X[0;0YLaTeX strings[133X[101X
  
  [1X6.3-1 IntOrOnfinityToLaTeX[101X
  
  [29X[2XIntOrOnfinityToLaTeX[102X( [3Xn[103X ) [32X function
  
  [33X[0;0YThis   function  is  in  the  process  of  being  transferred  from  package
  [5XResClasses[105X: for now you should [10XLoadPackage("resclasses")[110X in order to use it.[133X
  
  [33X[0;0Y[10XIntOrInfinityToLaTeX(n)[110X returns the LaTeX string for [3Xn[103X.[133X
  
  [4X[32X  Example  [32X[104X
    [4X[28X[128X[104X
    [4X[25Xgap>[125X [27XIntOrInfinityToLaTeX( 10^3 );[127X[104X
    [4X[28X"1000"[128X[104X
    [4X[25Xgap>[125X [27XIntOrInfinityToLaTeX( infinity );[127X[104X
    [4X[28X"\\infty"[128X[104X
    [4X[28X[128X[104X
  [4X[32X[104X
  
  [1X6.3-2 LaTeXStringFactorsInt[101X
  
  [29X[2XLaTeXStringFactorsInt[102X( [3Xn[103X ) [32X function
  
  [33X[0;0YThis  function is in the process of being transferred from package [5XRCWA[105X: for
  now you should [10XLoadPackage("rcwa")[110X in order to use it.[133X
  
  [33X[0;0YIt  returns  the  prime  factorization of the integer [22Xn[122X as a string in LaTeX
  format.[133X
  
  [4X[32X  Example  [32X[104X
    [4X[28X[128X[104X
    [4X[25Xgap>[125X [27XLaTeXStringFactorsInt( Factorial(12) );[127X[104X
    [4X[28X"2^{10} \\cdot 3^5 \\cdot 5^2 \\cdot 7 \\cdot 11"[128X[104X
    [4X[28X[128X[104X
  [4X[32X[104X
  
