Clean up some of my admin docs. add schema.xml to repo.
[working/Evergreen.git] / tools / docbookConvert.sh
1 #/bin/bash
2
3 #generate draft html
4  xsltproc --xinclude --stringparam base.dir /openils/var/web/evergreen_documentation/draft/html/ /home/rsoulliere/doctools/EvergreenDocumentation/evergreen_docbook_files/evergreen_xhtml.xsl /home/rsoulliere/doctools/EvergreenDocumentation/root.xml
5
6
7 #Generate PDF via FO
8 xsltproc --xinclude  --output /home/rsoulliere/doctools/EvergreenDocumentation/pdf/temp.fo /home/rsoulliere/doctools/EvergreenDocumentation/evergreen_docbook_files/evergreen_fo.xsl /home/rsoulliere/doctools/EvergreenDocumentation/root.xml
9
10 # must run fop from same directory as root.xml
11 cd /home/rsoulliere/doctools/EvergreenDocumentation/
12
13  ~/doctools/fop/fop -fo pdf/temp.fo -pdf /openils/var/web/evergreen_documentation/draft/pdf/Evergreen_Documentation.pdf 
14
15 # remove temporary .fo file
16 rm pdf/temp.fo