lib/polytexnic/preprocessor.rb
def preprocess(format)
      case format
      when :html    then to_xml
      when :latex   then to_processed_latex
      when :polytex then to_polytex
      end
    end
# Preprocesses the input based on output format.
Preprocesses the input based on output format.
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
def preprocess ( format ) case format when :html then to_xml when :latex then to_processed_latex when :polytex then to_polytex end end
Preprocesses the input based on output format.
Preprocesses the input based on output format .
format