lib/polytexnic/preprocessors/latex.rb
# Returns LaTeX with hashed versions of literal environments.
# Literal environments are hashed and passed through the pipeline
# so that we can process things like refs and hyperrefs using gsubs.
Returns LaTeX with hashed versions of literal environments.
Literal environments are hashed and passed through the pipeline
so that we can process things like refs and hyperrefs using gsubs.
Returns LaTeX with hashed versions of literal environments . Literal environments are hashed and passed through the pipeline so that we can process things like refs and hyperrefs using gsubs .
def clean_latex_document
        cache_literal(@polytex, :latex).tap do |doc|
          expand_input!(doc,
                        Proc.new { |source| cache_literal(source, :latex) },
                        'tex')
        end
      end
def clean_latex_document cache_literal ( @polytex , :latex ) . tap do | doc | expand_input! ( doc , Proc . new { | source | cache_literal ( source , :latex ) } , 'tex' ) end end
Returns LaTeX with hashed versions of literal environments.
Returns LaTeX with hashed versions of literal environments .