Sha256: 6050c6b6509efa58be6031944453b4c26a3a6f4382ea2ba713c92610ba427cb9
Contents?: true
Size: 402 Bytes
Versions: 16
Compression:
Stored size: 402 Bytes
Contents
require 'polytexnic/literal' module Polytexnic module Postprocessor module Latex # Restores literal environments (verbatim, code, math, etc.). def replace_hashes(polytex) puts polytex if debug? polytex.tap do literal_cache.each do |key, value| polytex.gsub!(key, escape_backslashes(value)) end end end end end end
Version data entries
16 entries across 16 versions & 1 rubygems