]> git.evergreen-ils.org Git - working/Evergreen.git/blob - tools/1.6_onlyConvert.sh
added missing word
[working/Evergreen.git] / tools / 1.6_onlyConvert.sh
1 #/bin/bash
2
3 #generate 1.6 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 1.6 PDF via FO
8  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
9
10 # must run fop from same directory as root.xml
11 cd ~/Evergreen-DocBook/1.6/
12
13  ~/doctools/fop/fop -fo pdf/temp.fo -pdf /openils/var/web/evergreen_documentation/1.6/draft/pdf/Evergreen_Documentation.pdf 
14
15 # remove temporary .fo file
16 rm pdf/temp.fo