Sha256: bc34ddd9b7109e41daa69fa830712230b1a4b1b2ee11d52ac1526d075581a285

Contents?: true

Size: 682 Bytes

Versions: 6

Compression:

Stored size: 682 Bytes

Contents

#--
# Dokkit filter for Deplate
# (c) 2006, 2007, 2008 Andrea Fazzi (and contributors)
#
# See 'dokkit.rb' or LICENSE for licence information.

require 'deplate/deplate-string'
require 'deplate/fmt/latex'

class Deplate::Formatter::LaTeX
  def initialize_deplate_sty; end
end

module Dokkit
  module Filter

    class DeplateHTML

      def filter(text)
        DeplateString.new(text).to_html
      end      

    end    

    class DeplateLatex

      def filter(text)
        DeplateString.new(text).to_latex
      end      

    end        

    class DeplateText

      def filter(text)
        DeplateString.new(text).to_text
      end      

    end            

  end
end


Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
dokkit-0.4.0 lib/dokkit/filters/deplate.rb
dokkit-0.4.1 lib/dokkit/filters/deplate.rb
dokkit-0.4.2 lib/dokkit/filters/deplate.rb
dokkit-0.4.4 lib/dokkit/filters/deplate.rb
dokkit-0.5.0 lib/dokkit/filters/deplate.rb
dokkit-0.4.3 lib/dokkit/filters/deplate.rb