lib/isodoc/iho/pdf_convert.rb
require "isodoc"
require "metanorma-generic"
require_relative "base_convert"
module IsoDoc
module Iho
# A {Converter} implementation that generates PDF HTML output, and a
# document schema encapsulation of the document for validation
class PdfConvert < IsoDoc::Generic::PdfConvert
def initialize(options)
super
@libdir = File.dirname(__FILE__)
end
def pdf_stylesheet(_docxml)
case @doctype
when "standard" then "iho.standard.xsl"
else
"iho.specification.xsl"
end
end
include BaseConvert
include Init
end
end
end