Ilya Zakharevich on Sun, 19 Apr 1998 03:53:52 +0200


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

Portable documentation for PARI (UPD)


It looks like all the hairy options to pod2ipf were ignored anyway,
and the default processing was giving exactly the same results.

> The following patch implements (lousy) conversion of PARI
> documentation to POD format.  Starting from POD, you may go to almost
> whatever exists (from MAN to PDF to Emacs INFO).

Here is the simplification:

--- ../config/doc_Makefile.SH.a	Sat Apr 18 21:48:46 1998
+++ ../config/doc_Makefile.SH	Sat Apr 18 21:49:32 1998
@@ -47,14 +47,9 @@
 	rm -f macros.tex 
 
 PARI.ipf: refcard.pod usersch1.pod usersch2.pod usersch3.pod usersch4.pod usersch5.pod
-	perl -S pod2ipf --by-files "--title=GP/PARI manual" \\
-		"--section=Reference card" --file=refcard.pod \\
-		"--section=Overview of the PARI System" --file=usersch1.pod \\
-		"--section=Specific use of the GP calculator" --file=usersch2.pod \\
-		"--section=Functions and Operations available in PARI and GP" --file=usersch3.pod \\
-		"--section=Programming PARI in Library Mode" --file=usersch4.pod \\
-		"--section=Technical reference guide for low-level functions" --file=usersch5.pod \\
-		--head-off=1 > \$@
+	perl -S pod2ipf --head-off=1 --by-files "--title=GP/PARI manual" \\
+		refcard.pod usersch1.pod usersch2.pod usersch3.pod \\
+		usersch4.pod usersch5.pod > \$@
 
 PARI.inf: PARI.ipf
 	ipfc /inf PARI.ipf