]> git.evergreen-ils.org Git - working/Evergreen.git/blob - tools/2.0Convert.sh
oops, close para tag.
[working/Evergreen.git] / tools / 2.0Convert.sh
1 #/bin/bash
2
3 #generate 2.0 draft html
4  xsltproc --xinclude --stringparam base.dir /openils/var/web/evergreen_documentation/2.0/draft/html/ ~/Evergreen-DocBook/stylesheets/evergreen_docbook_files/evergreen_xhtml-2.0.xsl ~/Evergreen-DocBook/2.0/root.xml
5
6
7 #Generate 2.0 PDF via FO
8  xsltproc --xinclude  --output ~/Evergreen-DocBook/2.0/pdf/temp.fo ~/Evergreen-DocBook/stylesheets/evergreen_docbook_files/evergreen_fo.xsl ~/Evergreen-DocBook/2.0/root.xml
9
10 # must run fop from same directory as root.xml
11 cd ~/Evergreen-DocBook/2.0/
12
13  ~/doctools/fop/fop -fo pdf/temp.fo -pdf /openils/var/web/evergreen_documentation/2.0/draft/pdf/Evergreen_Documentation.pdf 
14
15 # remove temporary .fo file
16 #rm pdf/temp.fo
17
18 #generate 1.6 draft html
19 # 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
20
21
22 #Generate 1.6 PDF via FO
23 # 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
24
25 # must run fop from same directory as root.xml
26 #cd ~/Evergreen-DocBook/1.6/
27
28 # ~/doctools/fop/fop -fo pdf/temp.fo -pdf /openils/var/web/evergreen_documentation/1.6/draft/pdf/Evergreen_Documentation.pdf 
29
30 # remove temporary .fo file
31 #rm pdf/temp.fo