Sha256: f5f31f972b31c2a8655e51e10a1bc211b55d5fb418e180ef1fa96cebb4c019e1
Contents?: true
Size: 525 Bytes
Versions: 36
Compression:
Stored size: 525 Bytes
Contents
# encoding=utf-8 require 'polytexnic/literal' require 'polytexnic/preprocessors/html' require 'polytexnic/preprocessors/latex' require 'polytexnic/preprocessors/polytex' module Polytexnic module Preprocessor include Literal include Html include Latex include Polytex # Preprocesses the input based on output format. def preprocess(format) case format when :html then to_xml when :latex then to_processed_latex when :polytex then to_polytex end end end end
Version data entries
36 entries across 36 versions & 1 rubygems