summaryrefslogtreecommitdiffstats
path: root/doc/tools/texi2www
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>1999-10-01 17:44:06 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>1999-10-01 17:44:06 +0000
commited11cadf052ee8886af0a11e9e72f3c09443f6af (patch)
tree86527bfc8fc7fc02aa8b32c268a79cfa201808cb /doc/tools/texi2www
parentClarified catch and disable per suggestion from Chris Johns <ccj@acm.org>. (diff)
downloadrtems-ed11cadf052ee8886af0a11e9e72f3c09443f6af.tar.bz2
Numerous minor changes required to transition to the latest version
of texinfo and TeX. This version of the tools can produce PDF with figures included.
Diffstat (limited to 'doc/tools/texi2www')
-rw-r--r--doc/tools/texi2www/Makefile23
-rwxr-xr-xdoc/tools/texi2www/texi2www3
-rw-r--r--doc/tools/texi2www/texi2www.texi2
3 files changed, 18 insertions, 10 deletions
diff --git a/doc/tools/texi2www/Makefile b/doc/tools/texi2www/Makefile
index 4bfae2f95e..94f1d8faf5 100644
--- a/doc/tools/texi2www/Makefile
+++ b/doc/tools/texi2www/Makefile
@@ -10,7 +10,7 @@ PROJECT=texi2www
include ../../Make.config
-all: html info ps
+all: html info ps pdf
dirs:
$(make-dirs)
@@ -22,22 +22,27 @@ info:
dvi: $(PROJECT).dvi
ps: dirs $(PROJECT).ps
+pdf: dirs $(PROJECT).pdf
+
+$(PROJECT).pdf: $(FILES)
+ #$(TEXI2PDF) $(PROJECT).texi
+ #cp $(PROJECT).pdf $(PDF_INSTALL)
$(PROJECT).ps: $(PROJECT).dvi
- dvips -o $(PROJECT).ps $(PROJECT).dvi
- cp $(PROJECT).ps $(PS_INSTALL)
+ #dvips -o $(PROJECT).ps $(PROJECT).dvi
+ #cp $(PROJECT).ps $(PS_INSTALL)
$(PROJECT).dvi: $(FILES)
- $(TEXI2DVI) -v $(PROJECT).texi
+ #$(TEXI2DVI) $(PROJECT).texi
html: dirs $(FILES)
- -mkdir -p $(WWW_INSTALL)/$(PROJECT)
- $(TEXI2WWW) $(TEXI2WWW_ARGS) -dir $(WWW_INSTALL)/$(PROJECT) \
- $(PROJECT).texi
+ #-mkdir -p $(WWW_INSTALL)/$(PROJECT)
+ #$(TEXI2WWW) $(TEXI2WWW_ARGS) -dir $(WWW_INSTALL)/$(PROJECT) \
+ # $(PROJECT).texi
clean:
- rm -f *.o $(PROG) *.txt core
- rm -f *.dvi *.ps *.log *.aux *.cp *.cps \
+ rm -f *.o $(PROG) *.txt core *.pdf
+ rm -f *.dvi *.ps *.log *.aux *.cp *.cps
rm -f *.fn *.ky *.pg *.toc *.tp *.vr $(BASE)
rm -f $(PROJECT)-* $(GENERATED_FILES)
rm -f *.fixed _*
diff --git a/doc/tools/texi2www/texi2www b/doc/tools/texi2www/texi2www
index 3e677936b9..e7c8e51f92 100755
--- a/doc/tools/texi2www/texi2www
+++ b/doc/tools/texi2www/texi2www
@@ -211,6 +211,8 @@ sub expand_xref
$topic = $manual = '';
} elsif ($cmd eq 'href') {
($xrefname,$node,$infofile,$url) = split(/,/,$arg);
+ } elsif ($cmd eq 'uref') {
+ ($url,$xrefname,$node,$infofile) = split(/,/,$arg);
} else {
($node,$xrefname,$topic,$infofile,$manual) = split(/,/,$arg);
}
@@ -1146,6 +1148,7 @@ sub initialize_tables
'ref', 'X',
'pxref', 'Xsee ',
'href', 'X',
+ 'uref', 'X',
'inforef', 'XSee ',
);
diff --git a/doc/tools/texi2www/texi2www.texi b/doc/tools/texi2www/texi2www.texi
index c726564c39..753f64abb3 100644
--- a/doc/tools/texi2www/texi2www.texi
+++ b/doc/tools/texi2www/texi2www.texi
@@ -1,4 +1,4 @@
-\input ../../texinfo/texinfo @c -*-texinfo-*-
+\input texinfo @c -*-texinfo-*-
@comment %**start of header
@setfilename texi2www