Module: Asciidoctor::LaTeX
- Defined in:
- lib/asciidoctor/latex/dollar.rb,
lib/asciidoctor/latex.rb,
lib/asciidoctor/latex/chem.rb,
lib/asciidoctor/latex/version.rb,
lib/asciidoctor/latex/tex_block.rb,
lib/asciidoctor/latex/converter.rb,
lib/asciidoctor/latex/ent_to_uni.rb,
lib/asciidoctor/latex/inject_html.rb,
lib/asciidoctor/latex/click_block.rb,
lib/asciidoctor/latex/macro_insert.rb,
lib/asciidoctor/latex/inline_macros.rb,
lib/asciidoctor/latex/node_processors.rb,
lib/asciidoctor/latex/tex_preprocessor.rb,
lib/asciidoctor/latex/environment_block.rb,
lib/asciidoctor/latex/tex_postprocessor.rb,
lib/asciidoctor/latex/prepend_processor.rb,
lib/asciidoctor/latex/macro_preprocessor.rb
Overview
a postprocessor to map the nonsense string 'DOLLOD' back to '$'
This is used in for the LaTeX backend in conjunction with the code in 'tex_preprocessor' which maps '$' to 'DOLLOD'
There should be a better solution to the vexing proble of dealing with both $ … $ for mathematics and '$' for currency. But this works and wil have to do for now.
@jirutka: Advice?
Defined Under Namespace
Modules: Html5ConverterExtensions, TeXBlock, TeXPostProcess Classes: Chem, ChemInlineMacro, ClickBlock, ClickStyleInsert, Converter, Dollar, EntToUni, EnvironmentBlock, EnvironmentBlock2, GlossInlineMacro, HTMLPostprocessor, IndexTermInlineMacro, InjectHTML, MacroInsert, MacroPreprocessor, TeXPreprocessor, TexPostprocessor
Constant Summary
- DATA_DIR =
File. '../../data', __dir__
- TEX_SNIPPET =
'TeX: { equationNumbers: { autoNumber: "none" } }'
- CHEM_SNIPPET =
'TeX: { extensions: ["mhchem.js"] }'
- VERSION =
'1.5.0.6.dev'