Sha256: 34c40accf5a418e2993608191a21db7c99d38fb78567d42c83bd945d1e68b896
Contents?: true
Size: 626 Bytes
Versions: 54
Compression:
Stored size: 626 Bytes
Contents
require "isodoc" require "fileutils" module IsoDoc module IEEE # A {Converter} implementation that generates PDF HTML output, and a # document schema encapsulation of the document for validation class PdfConvert < IsoDoc::XslfoPdfConvert def initialize(options) @libdir = File.dirname(__FILE__) super end def pdf_stylesheet(docxml) doctype = docxml&.at(ns("//bibdata/ext/subdoctype"))&.text if %w(amendment corrigendum erratum).include?(doctype) "ieee.amendment.xsl" else "ieee.standard.xsl" end end end end end
Version data entries
54 entries across 54 versions & 1 rubygems