]> git.evergreen-ils.org Git - working/Evergreen.git/blob - tools/docbtest.sh
Add upgrading to 2.0 Documentation.
[working/Evergreen.git] / tools / docbtest.sh
1 #/bin/bash
2
3 #generate draft html
4  # 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
5
6
7 #Generate PDF via FO
8  xsltproc --xinclude  --output ~/temp.fo ~/Evergreen-DocBook/stylesheets/evergreen_docbook_files/evergreen_fo.xsl ~/Evergreen-DocBook/1.6/test.xml
9
10 # must run fop from same directory as file
11 cd ~/Evergreen-DocBook/1.6/
12
13  ~/doctools/fop/fop -fo ~/temp.fo -pdf ~/testfile.pdf 
14
15 # remove temporary .fo file
16 rm pdf/temp.fo