From: Robert Soulliere Date: Wed, 20 Oct 2010 19:54:03 +0000 (-0400) Subject: Add the style guide media files and the style guide conversion script. X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=eebc7af1e2337dc0f3f388e45675d2c51694f165;p=Evergreen-DocBook.git Add the style guide media files and the style guide conversion script. --- diff --git a/style_guide/media/1.png b/style_guide/media/1.png new file mode 100755 index 0000000..7d47343 Binary files /dev/null and b/style_guide/media/1.png differ diff --git a/style_guide/media/10.png b/style_guide/media/10.png new file mode 100755 index 0000000..997bbc8 Binary files /dev/null and b/style_guide/media/10.png differ diff --git a/style_guide/media/11.png b/style_guide/media/11.png new file mode 100755 index 0000000..ce47dac Binary files /dev/null and b/style_guide/media/11.png differ diff --git a/style_guide/media/12.png b/style_guide/media/12.png new file mode 100755 index 0000000..31daf4e Binary files /dev/null and b/style_guide/media/12.png differ diff --git a/style_guide/media/13.png b/style_guide/media/13.png new file mode 100755 index 0000000..14021a8 Binary files /dev/null and b/style_guide/media/13.png differ diff --git a/style_guide/media/14.png b/style_guide/media/14.png new file mode 100755 index 0000000..64014b7 Binary files /dev/null and b/style_guide/media/14.png differ diff --git a/style_guide/media/15.png b/style_guide/media/15.png new file mode 100755 index 0000000..0d65765 Binary files /dev/null and b/style_guide/media/15.png differ diff --git a/style_guide/media/2.png b/style_guide/media/2.png new file mode 100755 index 0000000..5d09341 Binary files /dev/null and b/style_guide/media/2.png differ diff --git a/style_guide/media/3.png b/style_guide/media/3.png new file mode 100755 index 0000000..ef7b700 Binary files /dev/null and b/style_guide/media/3.png differ diff --git a/style_guide/media/4.png b/style_guide/media/4.png new file mode 100755 index 0000000..adb8364 Binary files /dev/null and b/style_guide/media/4.png differ diff --git a/style_guide/media/5.png b/style_guide/media/5.png new file mode 100755 index 0000000..4d7eb46 Binary files /dev/null and b/style_guide/media/5.png differ diff --git a/style_guide/media/6.png b/style_guide/media/6.png new file mode 100755 index 0000000..0ba694a Binary files /dev/null and b/style_guide/media/6.png differ diff --git a/style_guide/media/7.png b/style_guide/media/7.png new file mode 100755 index 0000000..472e96f Binary files /dev/null and b/style_guide/media/7.png differ diff --git a/style_guide/media/8.png b/style_guide/media/8.png new file mode 100755 index 0000000..5e60973 Binary files /dev/null and b/style_guide/media/8.png differ diff --git a/style_guide/media/9.png b/style_guide/media/9.png new file mode 100755 index 0000000..a0676d2 Binary files /dev/null and b/style_guide/media/9.png differ diff --git a/style_guide/media/caution.png b/style_guide/media/caution.png new file mode 100755 index 0000000..cdc6568 Binary files /dev/null and b/style_guide/media/caution.png differ diff --git a/style_guide/media/evergreen_logo.gif b/style_guide/media/evergreen_logo.gif new file mode 100755 index 0000000..c7c7911 Binary files /dev/null and b/style_guide/media/evergreen_logo.gif differ diff --git a/style_guide/media/note.png b/style_guide/media/note.png new file mode 100755 index 0000000..198ada5 Binary files /dev/null and b/style_guide/media/note.png differ diff --git a/style_guide/media/pdf_icon.gif b/style_guide/media/pdf_icon.gif new file mode 100755 index 0000000..b260bff Binary files /dev/null and b/style_guide/media/pdf_icon.gif differ diff --git a/style_guide/media/small_logo_white.jpg b/style_guide/media/small_logo_white.jpg new file mode 100755 index 0000000..e023e03 Binary files /dev/null and b/style_guide/media/small_logo_white.jpg differ diff --git a/style_guide/media/tip.png b/style_guide/media/tip.png new file mode 100755 index 0000000..eaabe82 Binary files /dev/null and b/style_guide/media/tip.png differ diff --git a/style_guide/media/warning.png b/style_guide/media/warning.png new file mode 100755 index 0000000..cdc6568 Binary files /dev/null and b/style_guide/media/warning.png differ diff --git a/tools/styleguideConvert.sh b/tools/styleguideConvert.sh new file mode 100755 index 0000000..899faad --- /dev/null +++ b/tools/styleguideConvert.sh @@ -0,0 +1,16 @@ +#/bin/bash + +#generate draft html + xsltproc --xinclude --stringparam base.dir /openils/var/web/evergreen_documentation/style_guide/html/ ~/Evergreen-DocBook/stylesheets/styleguide/evergreen_xhtml.xsl ~/Evergreen-DocBook/style_guide/root.xml + + +#Generate PDF via FO + xsltproc --xinclude --output ~/Evergreen-DocBook/style_guide/pdf/temp.fo ~/Evergreen-DocBook/stylesheets/styleguide/evergreen_fo.xsl ~/Evergreen-DocBook/style_guide/root.xml + +# must run fop from same directory as root.xml +cd ~/Evergreen-DocBook/style_guide/ + + ~/doctools/fop/fop -fo pdf/temp.fo -pdf /openils/var/web/evergreen_documentation/style_guide/pdf/style_guide.pdf + +# remove temporary .fo file +rm pdf/temp.fo