Sha256: 6e17ad664e9a4cc9f64529d25429e664095b5f811f56efe01062b518d47a6bb2
Contents?: true
Size: 388 Bytes
Versions: 2
Compression:
Stored size: 388 Bytes
Contents
module Booky::Fo def self.create puts "\n-> Creating XSL-FO" raise "File #{Booky.name}.xml not found. Sorry" if !File.exists?("#{Booky.name}.xml") @@xslt = "xsltproc" @@stylesheet = "#{Booky.root}/lib/stylesheets/fo/docbook.xsl" puts `#{@@xslt} --xinclude --output #{Booky.name}.fo #{@@stylesheet} #{Booky.name}.xml` puts "Done.\n" end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
booky-0.0.2 | lib/booky/fo.rb |
booky-0.0.1 | lib/booky/fo.rb |