Sha256: 3e34ce783078557897df9bc534576a1330d9934485ae3ce3adf1272da0fba4f4
Contents?: true
Size: 420 Bytes
Versions: 2
Compression:
Stored size: 420 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 --stringparam fop1.extensions 1 --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.4 | lib/booky/fo.rb |
booky-0.0.3 | lib/booky/fo.rb |