[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[gnugo-devel] HTML and PDF documentation
From: |
Douglas Ridgway |
Subject: |
[gnugo-devel] HTML and PDF documentation |
Date: |
Tue, 23 Mar 2004 18:14:57 -0700 (MST) |
Here's a patch which adds HTML and PDF generation to the
documentation. Necessary programs are texi2html and texi2pdf, both of
which were already installed on my machine as part of tetex.
This also requires PDF versions of the graphics files, i.e.
cdfa.pdf dfa.pdf logo-34.pdf sync-prod1.pdf
dfa2.pdf path.pdf sync-prod2.pdf
epstopdf (also in TeTex) generates usable files, ps2pdf does not. I
can send my converted files if desired.
doug.
----
Index: Makefile.in
===================================================================
RCS file: /cvsroot/gnugo/gnugo/doc/Makefile.in,v
retrieving revision 1.29
diff -u -r1.29 Makefile.in
--- Makefile.in 2 Aug 2003 14:17:52 -0000 1.29
+++ Makefile.in 24 Mar 2004 01:04:47 -0000
@@ -141,6 +141,7 @@
gnugo.info: gnugo.texi $(gnugo_TEXINFOS)
gnugo.dvi: gnugo.texi $(gnugo_TEXINFOS)
+gnugo.ps: gnugo.texi $(gnugo_TEXINFOS)
.texi.info:
@cd $(srcdir) && rm -f $@ address@hidden address@hidden
@@ -162,9 +163,18 @@
MAKEINFO = @MAKEINFO@
TEXI2DVI = texi2dvi
DVIPS = dvips
+TEXI2PDF = texi2pdf
+TEXI2HTML = texi2html
+
.dvi.ps:
$(DVIPS) $< -o $@
+gnugo.pdf: gnugo.texi $(gnugo_TEXINFOS)
+ $(TEXI2PDF) $<
+
+gnugo.html: gnugo.texi $(gnugo_TEXINFOS)
+ $(TEXI2HTML) -split=chapter -nosec_nav -expand=tex $<
+
uninstall-info-am:
$(PRE_UNINSTALL)
@if (install-info --version && \
@@ -196,7 +206,7 @@
mostlyclean-aminfo:
-rm -f gnugo.aux gnugo.cp gnugo.dvi gnugo.fn gnugo.ky gnugo.log
gnugo.pg \
- gnugo.ps gnugo.toc gnugo.tp gnugo.vr
+ gnugo.ps gnugo.toc gnugo.tp gnugo.vr gnugo.pdf gnugo*.html
maintainer-clean-aminfo:
cd $(srcdir) && \
Index: using.texi
===================================================================
RCS file: /cvsroot/gnugo/gnugo/doc/using.texi,v
retrieving revision 1.19
diff -u -r1.19 using.texi
--- using.texi 12 Aug 2003 03:05:33 -0000 1.19
+++ using.texi 24 Mar 2004 01:04:48 -0000
@@ -32,13 +32,14 @@
about the algorithms of GNU Go, for developers.
If you want a typeset copy of the Texinfo documentation, you can
address@hidden gnugo.dvi} or @command{make gnugo.ps} in the @file{doc/}
-directory.
address@hidden gnugo.dvi}, @command{make gnugo.ps}, or @command{make
+gnugo.pdf} in the @file{doc/} directory.
-You can make an HTML version with the command @command{makeinfo
---html gnugo.texi}. Better HTML documentation may be obtained
-using @command{texi2html -split_chapter gnugo.texi}. You can
-obtain the @command{texi2html} utility (version 1.61 or later) from
+You can make an HTML version with the command @command{makeinfo --html
+gnugo.texi}. If you have @command{texi2html}, better HTML documentation
+may be obtained by @command{make gnugo.html} in the @file{doc/}
+directory. You can obtain the @command{texi2html} utility (version 1.61
+or later) from
@url{http://www.mathematik.uni-kl.de/~obachman/Texi2html/}. (See also
@url{http://texinfo.org/texi2html/}.)
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [gnugo-devel] HTML and PDF documentation,
Douglas Ridgway <=