Method: Polytexnic::Postprocessor#postprocess
- Defined in:
- lib/polytexnic/postprocessor.rb
#postprocess(format) ⇒ Object
13 14 15 16 17 18 19 20 21 22 23 24 25 26 |
# File 'lib/polytexnic/postprocessor.rb', line 13 def postprocess(format) case format when :html @html = xml_to_html(@xml) when :latex hyperrefs(@polytex) raw_source = replace_hashes(@polytex) @latex = highlight_source_code(raw_source) when :polytex remove_hypertarget fix_verbatim_bug write_polytex_code end end |