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/options.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/options.hxx')
-rw-r--r-- | cli/options.hxx | 129 |
1 files changed, 129 insertions, 0 deletions
diff --git a/cli/options.hxx b/cli/options.hxx index dce59bd..e8889d4 100644 --- a/cli/options.hxx +++ b/cli/options.hxx @@ -611,6 +611,15 @@ class options generate_html (const bool&); const bool& + generate_latex () const; + + bool& + generate_latex (); + + void + generate_latex (const bool&); + + const bool& generate_txt () const; bool& @@ -805,6 +814,21 @@ class options void html_heading_map_specified (bool); + const std::map<char, std::string>& + latex_section_map () const; + + std::map<char, std::string>& + latex_section_map (); + + void + latex_section_map (const std::map<char, std::string>&); + + bool + latex_section_map_specified () const; + + void + latex_section_map_specified (bool); + const bool& omit_link_check () const; @@ -890,6 +914,21 @@ class options html_prologue_specified (bool); const std::vector<std::string>& + latex_prologue () const; + + std::vector<std::string>& + latex_prologue (); + + void + latex_prologue (const std::vector<std::string>&); + + bool + latex_prologue_specified () const; + + void + latex_prologue_specified (bool); + + const std::vector<std::string>& txt_prologue () const; std::vector<std::string>& @@ -980,6 +1019,21 @@ class options html_epilogue_specified (bool); const std::vector<std::string>& + latex_epilogue () const; + + std::vector<std::string>& + latex_epilogue (); + + void + latex_epilogue (const std::vector<std::string>&); + + bool + latex_epilogue_specified () const; + + void + latex_epilogue_specified (bool); + + const std::vector<std::string>& txt_epilogue () const; std::vector<std::string>& @@ -1070,6 +1124,21 @@ class options html_prologue_file_specified (bool); const std::string& + latex_prologue_file () const; + + std::string& + latex_prologue_file (); + + void + latex_prologue_file (const std::string&); + + bool + latex_prologue_file_specified () const; + + void + latex_prologue_file_specified (bool); + + const std::string& txt_prologue_file () const; std::string& @@ -1160,6 +1229,21 @@ class options html_epilogue_file_specified (bool); const std::string& + latex_epilogue_file () const; + + std::string& + latex_epilogue_file (); + + void + latex_epilogue_file (const std::string&); + + bool + latex_epilogue_file_specified () const; + + void + latex_epilogue_file_specified (bool); + + const std::string& txt_epilogue_file () const; std::string& @@ -1280,6 +1364,36 @@ class options html_suffix_specified (bool); const std::string& + latex_suffix () const; + + std::string& + latex_suffix (); + + void + latex_suffix (const std::string&); + + bool + latex_suffix_specified () const; + + void + latex_suffix_specified (bool); + + const std::string& + latex_output_suffix () const; + + std::string& + latex_output_suffix (); + + void + latex_output_suffix (const std::string&); + + bool + latex_output_suffix_specified () const; + + void + latex_output_suffix_specified (bool); + + const std::string& txt_suffix () const; std::string& @@ -1463,6 +1577,7 @@ class options bool generate_cxx_; bool generate_man_; bool generate_html_; + bool generate_latex_; bool generate_txt_; bool stdout__; bool suppress_undocumented_; @@ -1487,6 +1602,8 @@ class options bool link_regex_trace_; std::map<char, std::string> html_heading_map_; bool html_heading_map_specified_; + std::map<char, std::string> latex_section_map_; + bool latex_section_map_specified_; bool omit_link_check_; std::vector<std::string> hxx_prologue_; bool hxx_prologue_specified_; @@ -1498,6 +1615,8 @@ class options bool man_prologue_specified_; std::vector<std::string> html_prologue_; bool html_prologue_specified_; + std::vector<std::string> latex_prologue_; + bool latex_prologue_specified_; std::vector<std::string> txt_prologue_; bool txt_prologue_specified_; std::vector<std::string> hxx_epilogue_; @@ -1510,6 +1629,8 @@ class options bool man_epilogue_specified_; std::vector<std::string> html_epilogue_; bool html_epilogue_specified_; + std::vector<std::string> latex_epilogue_; + bool latex_epilogue_specified_; std::vector<std::string> txt_epilogue_; bool txt_epilogue_specified_; std::string hxx_prologue_file_; @@ -1522,6 +1643,8 @@ class options bool man_prologue_file_specified_; std::string html_prologue_file_; bool html_prologue_file_specified_; + std::string latex_prologue_file_; + bool latex_prologue_file_specified_; std::string txt_prologue_file_; bool txt_prologue_file_specified_; std::string hxx_epilogue_file_; @@ -1534,6 +1657,8 @@ class options bool man_epilogue_file_specified_; std::string html_epilogue_file_; bool html_epilogue_file_specified_; + std::string latex_epilogue_file_; + bool latex_epilogue_file_specified_; std::string txt_epilogue_file_; bool txt_epilogue_file_specified_; std::string output_prefix_; @@ -1550,6 +1675,10 @@ class options bool man_suffix_specified_; std::string html_suffix_; bool html_suffix_specified_; + std::string latex_suffix_; + bool latex_suffix_specified_; + std::string latex_output_suffix_; + bool latex_output_suffix_specified_; std::string txt_suffix_; bool txt_suffix_specified_; std::string option_prefix_; |