diff options
author | Matthew Krupcale <mkrupcale@matthewkrupcale.com> | 2019-03-09 21:23:02 -0500 |
---|---|---|
committer | Matthew Krupcale <mkrupcale@matthewkrupcale.com> | 2019-03-14 14:53:02 -0400 |
commit | eb6df5fd19436dfff69c433befca47c47067b909 (patch) | |
tree | a73aa7d20e118678c913d2d08f0c21d2bcbea3ae /cli/latex.hxx | |
parent | 7d02451df7a97a03ed010cd324178a666f9ccd7a (diff) | |
download | cli-generate-latex.tar.gz cli-generate-latex.tar.xz cli-generate-latex.zip |
Add support for LaTeX output.generate-latex
* cli/content.cxx: Handle LaTeX generation in format_line and format for escaped and un-escaped CLI translated input.
* cli/context.hxx: Add ot_latex to output_type enum.
* cli/generator.cxx: Include LaTeX output if gen_latex is specified.
* cli/latex.{cxx,hxx}: LaTeX output generation: LaTeX escapes, line-wrapping, and doc, option, class_ traversal
* cli/options.{cli,cxx,hxx,ixx}: Add LaTeX generation options
Diffstat (limited to 'cli/latex.hxx')
-rw-r--r-- | cli/latex.hxx | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/cli/latex.hxx b/cli/latex.hxx new file mode 100644 index 0000000..4b48eb6 --- /dev/null +++ b/cli/latex.hxx @@ -0,0 +1,14 @@ +// file : cli/latex.hxx +// author : Boris Kolpackov <boris@codesynthesis.com> +// copyright : Copyright (c) 2009-2019 Code Synthesis Tools CC +// license : MIT; see accompanying LICENSE file + +#ifndef CLI_LATEX_HXX +#define CLI_LATEX_HXX + +#include <cli/context.hxx> + +void +generate_latex (context&); + +#endif // CLI_LATEX_HXX |