From 1dfb8bda97fd16fc45c56508c8b798f565eb360b Mon Sep 17 00:00:00 2001 From: Robert Soulliere Date: Fri, 7 Jan 2011 15:31:33 -0500 Subject: [PATCH] Add a convert script for 1.6 only - for testing. --- tools/1.6_onlyConvert.sh | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100755 tools/1.6_onlyConvert.sh diff --git a/tools/1.6_onlyConvert.sh b/tools/1.6_onlyConvert.sh new file mode 100755 index 0000000000..d845c101ae --- /dev/null +++ b/tools/1.6_onlyConvert.sh @@ -0,0 +1,16 @@ +#/bin/bash + +#generate 1.6 draft html + xsltproc --xinclude --stringparam base.dir /openils/var/web/evergreen_documentation/1.6/draft/html/ ~/Evergreen-DocBook/stylesheets/evergreen_docbook_files/evergreen_xhtml.xsl ~/Evergreen-DocBook/1.6/root.xml + + +#Generate 1.6 PDF via FO + xsltproc --xinclude --output ~/Evergreen-DocBook/1.6/pdf/temp.fo ~/Evergreen-DocBook/stylesheets/evergreen_docbook_files/evergreen_fo.xsl ~/Evergreen-DocBook/1.6/root.xml + +# must run fop from same directory as root.xml +cd ~/Evergreen-DocBook/1.6/ + + ~/doctools/fop/fop -fo pdf/temp.fo -pdf /openils/var/web/evergreen_documentation/1.6/draft/pdf/Evergreen_Documentation.pdf + +# remove temporary .fo file +rm pdf/temp.fo -- 2.43.2