Author: wyoung
Date: Thu Jan  3 13:26:27 2008
New Revision: 2074

URL: http://svn.gna.org/viewcvs/mysqlpp?rev=2074&view=rev
Log:
Added support for RenderX and Antenna House XSL-FO formatters for
userman.  Still FOP by default.

Modified:
    trunk/doc/userman/Makefile
    trunk/doc/userman/README.txt

Modified: trunk/doc/userman/Makefile
URL: 
http://svn.gna.org/viewcvs/mysqlpp/trunk/doc/userman/Makefile?rev=2074&r1=2073&r2=2074&view=diff
==============================================================================
--- trunk/doc/userman/Makefile (original)
+++ trunk/doc/userman/Makefile Thu Jan  3 13:26:27 2008
@@ -2,7 +2,12 @@
 ## Things you may need to diddle for your local system
 ## ------------------------
 
-FOPDIR=/usr/local/fop
+# If you've installed one of these three XSL-FO formatters but it's in a
+# different location, change this as needed.  Only one should be
+# uncommented for proper performance; by default, this is FOP.
+#AHCMD=/usr/XSLFormatterV42/run.sh
+FOPCMD=/usr/local/fop/fop
+#XEPCMD=/usr/local/xep/xep
 
 
 ## ------------------------
@@ -54,7 +59,9 @@
 
 $(PDFFILE): $(DOCFILE) $(FO_SS) $(COMMON_SS)
        xsltproc --xinclude $(FO_SS) $(DOCFILE) > $(FOFILE)
-       -$(FOPDIR)/fop -fo $(FOFILE) $(PDFFILE) > /dev/null 2>&1
+       @if [ -n "$(FOPCMD)" ] ; then $(FOPCMD) -q -fo $(FOFILE) $(PDFFILE) ; fi
+       @if [ -n "$(AHCMD)" ] ; then $(AHCMD) -silent -d $(FOFILE) -o 
$(PDFFILE) ; fi
+       @if [ -n "$(XEPCMD)" ] ; then $(XEPCMD) -quiet $(FOFILE) ; fi
        cp $(PDFFILE) ../pdf
 
 $(HTML_DIR)/index.html: $(DOCFILE) $(EX_TXT) $(HTML_SS) $(COMMON_SS)

Modified: trunk/doc/userman/README.txt
URL: 
http://svn.gna.org/viewcvs/mysqlpp/trunk/doc/userman/README.txt?rev=2074&r1=2073&r2=2074&view=diff
==============================================================================
--- trunk/doc/userman/README.txt (original)
+++ trunk/doc/userman/README.txt Thu Jan  3 13:26:27 2008
@@ -43,15 +43,17 @@
     Project (http://xml.apache.org/fop/), because it's the best of
     the free-as-in-freedom XSL-FO processors.
 
-    FOP isn't without its faults.  If you'd like to try some of the
-    commercial XSL-FO processors, RenderX's XEP (renderx.com) is
-    available in a free-as-in-beer demo version that adds watermarks
-    to your pages.  Another popular option is Antenna House's XSL
-    Formatter (antennahouse.com), which comes in a 90-day demo version
-    that adds watermarks.  The low-end commercial version of each of
-    these is around $300.  Another relatively inexpensive option is
-    Lunasil's Xinc (lunasil.com), which is available in a personal-use
-    edition for under $100.
+    FOP isn't without its faults.  If you'd like to try a commercial
+    XSL-FO processor, the userman Makefile has support for RenderX's
+    XEP (http://renderx.com/) and Antenna House's XSL Formatter
+    (http://antennahouse.com/).  See the top of the Makefile for
+    details on choosing one of these alternatives.  Both of them are
+    available in crippled demo versions that you can try, and both
+    have low-end versions for about US$300 that are suitable for
+    formatting this manual.  A cheaper alternative that I haven't
+    tried (owing to the fact that it hasn't been updated in a few
+    years) is Lunasil's Xinc (lunasil.com), which is available in a
+    personal-use edition for under $100.
 
 The third replaceable piece above is the DocBook XSL stylesheet set.
 The stylesheets are the XSLT processor's rules, controlling how


_______________________________________________
Mysqlpp-commits mailing list
[email protected]
https://mail.gna.org/listinfo/mysqlpp-commits

Reply via email to