diff options
author | Ralph Amissah <ralph@amissah.com> | 2014-07-15 18:48:40 -0400 |
---|---|---|
committer | Ralph Amissah <ralph@amissah.com> | 2014-07-15 18:48:40 -0400 |
commit | d8917347b5dbadd17510c417bedd2fbf61dbf67c (patch) | |
tree | 1f5073254e95f8e67c872cdb160e37b8871dffce /lib/sisu/v5/css.rb | |
parent | v5 v6: docbook, images, and adjustment (diff) |
v5 v6: docbook, css (needs work), also doc header, sisu processing info
Diffstat (limited to 'lib/sisu/v5/css.rb')
-rw-r--r-- | lib/sisu/v5/css.rb | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/lib/sisu/v5/css.rb b/lib/sisu/v5/css.rb index 676290d8..50e80f5b 100644 --- a/lib/sisu/v5/css.rb +++ b/lib/sisu/v5/css.rb @@ -104,6 +104,8 @@ module SiSU_Style css_path.xml_sax when 'xml_dom' css_path.xml_dom + when 'xml_docbook' + css_path.xml_docbook else css_embed_content.html end @@ -150,6 +152,11 @@ module SiSU_Style style << css.xml_dom style.close css_path.xml_dom + when 'xml_docbook' + style=File.new("#{css_pth}/#{@fn_css.xml_docbook}",'w') + style << css.xml_docbook + style.close + css_path.xml_docbook end end end @@ -3122,7 +3129,7 @@ WOK br { display: block; } WOK end - def docbook_xml #stylesheet for docbook + def xml_docbook #stylesheet for docbook <<WOK /* SiSU css docbook.xml default style */ book { |