From 572d05c50ddf0c7e65a26a7fa42f1c0ddd5e7fe9 Mon Sep 17 00:00:00 2001 From: Chris Wensley Date: Fri, 22 Nov 2024 22:59:08 +0000 Subject: [PATCH] change referenced file (#277) --- doc/Tutorials.xml | 36 ++++++++++++++++++------------------ 1 file changed, 18 insertions(+), 18 deletions(-) diff --git a/doc/Tutorials.xml b/doc/Tutorials.xml index 08f76f26..d3bf2089 100644 --- a/doc/Tutorials.xml +++ b/doc/Tutorials.xml @@ -36,7 +36,7 @@ LoadPackage( "AutoDoc" ); AutoDoc( rec( scaffold := true ) ); This first reads the PackageInfo.g file from the current -directory. It extracts information about package from it +directory. It extracts information about the package from it (such as its name and version, see Section ). It then creates two XML files doc/NAME_OF_YOUR_PACKAGE.xml and doc/title.xml inside the package directory. Finally, it runs @@ -195,7 +195,7 @@ Even if you already have an existing &GAPDoc; manual, it might be interesting for you to use &AutoDoc; for two purposes:

-First off, with &AutoDoc; is very convenient to regenerate your +First off, with &AutoDoc; it is very convenient to regenerate your documentation.

@@ -207,8 +207,8 @@ sync with your PackageInfo.g is fully automated this way and so on).

-There are various examples of packages using &AutoDoc; for only -this purpose, e.g. &io; and orb. +There are various examples of packages using &AutoDoc; for +this purpose only, e.g. &io; and orb.

@@ -219,14 +219,14 @@ XML files and some documentation for operations distributed over all your .g, .gd, and .gi files. Suppose the main XML file is named PACKAGENAME.xml and is in the /doc subdirectory of your package. Then you can rebuild your manual -by executing the following two ⪆ commands from a ⪆ sessions started -started in the root directory of your package: +by executing the following two ⪆ commands from a ⪆ session started +in the root directory of your package:

LoadPackage( "AutoDoc" ); AutoDoc( ); -In contrast, the RingsForHomalg currently uses -essentially the following code in its makedoc.g file to achieve the same result +In contrast, the RingsForHomalg package currently uses +essentially the following code in its makedoc.g file to achieve the same result: LoadPackage( "GAPDoc" ); SetGapDocLaTeXOptions( "utf8" ); @@ -378,14 +378,6 @@ Edit PackageName/makedoc.g as follows. which may be used to produce the &LaTeX; formula f : \bbZ^2 \to \bbZ. - - - In the entities record enter any entities - previously stored in manual.xml. - (Again, if you have none, you may safely delete this record.) - To illustrate this option the &AutoDoc; file makedoc.g - defines entities for the names of packages &io; and &PackageName;. - @@ -409,9 +401,17 @@ Now edit PackageName/PackageInfo.g as follows. record with the corresponding material from your manual.xml. (If you do not have an abstract, then delete the Abstract field, etc.) - For other introductory components, such as Colophon, - consult the file gap/Magic.gd. + + + + + In the entities record enter any entities + previously stored in your manual.xml. + (Again, if you have none, you may safely delete this record.) + To illustrate this option the &AutoDoc; file PackageInfo.g + defines entities for the names of packages &io; and &PackageName;. +