1 diff -uNr bin.org/dbtoepub bin/dbtoepub
2 --- bin.org/dbtoepub 2011-10-30 12:11:53.386513024 +0100
3 +++ bin/dbtoepub 2011-10-30 13:07:20.867922640 +0100
9 +require 'dbtoepub/docbook'
13 diff -uNr bin.org/lib/docbook.rb bin/lib/docbook.rb
14 --- bin.org/lib/docbook.rb 2011-10-30 12:11:53.386513024 +0100
15 +++ bin/lib/docbook.rb 2011-10-30 13:07:20.867922640 +0100
20 - STYLESHEET = File.expand_path(File.join(File.dirname(__FILE__), '..', '..', "docbook.xsl"))
21 + STYLESHEET_PATH = "/usr/share/xml/docbook/xsl-stylesheets-1.76.1/epub"
22 + STYLESHEET = File.expand_path(File.join(STYLESHEET_PATH, "docbook.xsl"))
23 CALLOUT_PATH = File.join('images', 'callouts')
24 - CALLOUT_FULL_PATH = File.expand_path(File.join(File.dirname(__FILE__), '..', '..', '..', CALLOUT_PATH))
25 + CALLOUT_FULL_PATH = File.expand_path(File.join(STYLESHEET_PATH, CALLOUT_PATH))
28 XSLT_PROCESSOR = "xsltproc"