Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

PATCH: PDF documentation



This adds zsh.pdf to the documentation output using pdfetex which made a
very good job of the bookmarks and indexes, apart from hiding the
bookmarks for the indexes inside one another.

I'd be tempted to remove the .ps files from the documentation bundle
since acroread is so widespread and, indeed, on Windows PDF files are
easier to print that PostScript, unless anyone knows of a series
objection.

Index: configure.ac
===================================================================
RCS file: /cvsroot/zsh/zsh/configure.ac,v
retrieving revision 1.26
diff -u -r1.26 configure.ac
--- configure.ac	4 Feb 2005 10:32:22 -0000	1.26
+++ configure.ac	4 Feb 2005 16:43:35 -0000
@@ -490,6 +490,7 @@
 AC_PROG_AWK                 dnl Check for mawk,gawk,nawk, then awk.
 AC_PROG_LN                  dnl Check for working ln, for "make install"
 AC_CHECK_PROGS([YODL], [yodl], [: yodl])
+AC_CHECK_PROGS([PDFETEX], [pdfetex], [: pdfetex])
 AC_CHECK_PROGS([ANSI2KNR], [ansi2knr], [: ansi2knr])
 
 if test x"$ansi2knr" = xyes && test x"$ANSI2KNR" = x": ansi2knr"; then
Index: Config/defs.mk.in
===================================================================
RCS file: /cvsroot/zsh/zsh/Config/defs.mk.in,v
retrieving revision 1.8
diff -u -r1.8 defs.mk.in
--- Config/defs.mk.in	20 Dec 2001 23:48:39 -0000	1.8
+++ Config/defs.mk.in	4 Feb 2005 16:43:35 -0000
@@ -69,6 +69,7 @@
 YODL            = @YODL@
 YODL2TXT        = $(YODL)2txt
 YODL2HTML       = $(YODL)2html
+PDFETEX		= @PDFETEX@
 
 # install utility
 INSTALL_PROGRAM = @INSTALL_PROGRAM@
Index: Doc/.distfiles
===================================================================
RCS file: /cvsroot/zsh/zsh/Doc/.distfiles,v
retrieving revision 1.4
diff -u -r1.4 .distfiles
--- Doc/.distfiles	3 Jun 2004 15:15:53 -0000	1.4
+++ Doc/.distfiles	4 Feb 2005 16:43:35 -0000
@@ -15,4 +15,5 @@
     zsh.info zsh.info-[0-9]*
     zsh.html zsh_*toc.html zsh_[0-9]*.html
     zsh.dvi zsh_us.ps zsh_a4.ps
+    zsh.pdf
 '
Index: Doc/Makefile.in
===================================================================
RCS file: /cvsroot/zsh/zsh/Doc/Makefile.in,v
retrieving revision 1.21
diff -u -r1.21 Makefile.in
--- Doc/Makefile.in	15 Apr 2004 17:13:21 -0000	1.21
+++ Doc/Makefile.in	4 Feb 2005 16:43:35 -0000
@@ -81,7 +81,7 @@
 all: man texi ../META-FAQ
 .PHONY: all
 
-everything: all dvi ps html
+everything: all dvi ps html pdf
 .PHONY: everything
 
 dvi: zsh.dvi
@@ -90,6 +90,12 @@
 zsh.dvi: $(sdir)/zsh.texi
 	$(TEXI2DVI) $(sdir)/zsh.texi
 
+pdf: zsh.pdf
+.PHONY: pdf
+
+zsh.pdf: $(sdir)/zsh.texi
+	$(PDFETEX) $(sdir)/zsh.texi
+
 texi: $(sdir)/zsh.texi
 .PHONY: texi
 
-- 
Peter Stephenson <pws@xxxxxxx>                  Software Engineer
CSR PLC, Churchill House, Cambridge Business Park, Cowley Road
Cambridge, CB4 0WZ, UK                          Tel: +44 (0)1223 692070




**********************************************************************
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
the system manager.

**********************************************************************



Messages sorted by: Reverse Date, Date, Thread, Author