aboutsummaryrefslogtreecommitdiffhomepage
path: root/lib/sisu/v5/css.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/sisu/v5/css.rb')
-rw-r--r--lib/sisu/v5/css.rb9
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 {