diff options
Diffstat (limited to 'cli/options.cxx')
-rw-r--r-- | cli/options.cxx | 450 |
1 files changed, 296 insertions, 154 deletions
diff --git a/cli/options.cxx b/cli/options.cxx index 809b588..b4f5723 100644 --- a/cli/options.cxx +++ b/cli/options.cxx @@ -611,6 +611,7 @@ options () generate_cxx_ (), generate_man_ (), generate_html_ (), + generate_latex_ (), generate_txt_ (), stdout__ (), suppress_undocumented_ (), @@ -635,6 +636,8 @@ options () link_regex_trace_ (), html_heading_map_ (), html_heading_map_specified_ (false), + latex_section_map_ (), + latex_section_map_specified_ (false), omit_link_check_ (), hxx_prologue_ (), hxx_prologue_specified_ (false), @@ -646,6 +649,8 @@ options () man_prologue_specified_ (false), html_prologue_ (), html_prologue_specified_ (false), + latex_prologue_ (), + latex_prologue_specified_ (false), txt_prologue_ (), txt_prologue_specified_ (false), hxx_epilogue_ (), @@ -658,6 +663,8 @@ options () man_epilogue_specified_ (false), html_epilogue_ (), html_epilogue_specified_ (false), + latex_epilogue_ (), + latex_epilogue_specified_ (false), txt_epilogue_ (), txt_epilogue_specified_ (false), hxx_prologue_file_ (), @@ -670,6 +677,8 @@ options () man_prologue_file_specified_ (false), html_prologue_file_ (), html_prologue_file_specified_ (false), + latex_prologue_file_ (), + latex_prologue_file_specified_ (false), txt_prologue_file_ (), txt_prologue_file_specified_ (false), hxx_epilogue_file_ (), @@ -682,6 +691,8 @@ options () man_epilogue_file_specified_ (false), html_epilogue_file_ (), html_epilogue_file_specified_ (false), + latex_epilogue_file_ (), + latex_epilogue_file_specified_ (false), txt_epilogue_file_ (), txt_epilogue_file_specified_ (false), output_prefix_ (), @@ -698,6 +709,10 @@ options () man_suffix_specified_ (false), html_suffix_ (".html"), html_suffix_specified_ (false), + latex_suffix_ (".tex"), + latex_suffix_specified_ (false), + latex_output_suffix_ (".pdf"), + latex_output_suffix_specified_ (false), txt_suffix_ (".txt"), txt_suffix_specified_ (false), option_prefix_ ("-"), @@ -749,6 +764,7 @@ options (int& argc, generate_cxx_ (), generate_man_ (), generate_html_ (), + generate_latex_ (), generate_txt_ (), stdout__ (), suppress_undocumented_ (), @@ -773,6 +789,8 @@ options (int& argc, link_regex_trace_ (), html_heading_map_ (), html_heading_map_specified_ (false), + latex_section_map_ (), + latex_section_map_specified_ (false), omit_link_check_ (), hxx_prologue_ (), hxx_prologue_specified_ (false), @@ -784,6 +802,8 @@ options (int& argc, man_prologue_specified_ (false), html_prologue_ (), html_prologue_specified_ (false), + latex_prologue_ (), + latex_prologue_specified_ (false), txt_prologue_ (), txt_prologue_specified_ (false), hxx_epilogue_ (), @@ -796,6 +816,8 @@ options (int& argc, man_epilogue_specified_ (false), html_epilogue_ (), html_epilogue_specified_ (false), + latex_epilogue_ (), + latex_epilogue_specified_ (false), txt_epilogue_ (), txt_epilogue_specified_ (false), hxx_prologue_file_ (), @@ -808,6 +830,8 @@ options (int& argc, man_prologue_file_specified_ (false), html_prologue_file_ (), html_prologue_file_specified_ (false), + latex_prologue_file_ (), + latex_prologue_file_specified_ (false), txt_prologue_file_ (), txt_prologue_file_specified_ (false), hxx_epilogue_file_ (), @@ -820,6 +844,8 @@ options (int& argc, man_epilogue_file_specified_ (false), html_epilogue_file_ (), html_epilogue_file_specified_ (false), + latex_epilogue_file_ (), + latex_epilogue_file_specified_ (false), txt_epilogue_file_ (), txt_epilogue_file_specified_ (false), output_prefix_ (), @@ -836,6 +862,10 @@ options (int& argc, man_suffix_specified_ (false), html_suffix_ (".html"), html_suffix_specified_ (false), + latex_suffix_ (".tex"), + latex_suffix_specified_ (false), + latex_output_suffix_ (".pdf"), + latex_output_suffix_specified_ (false), txt_suffix_ (".txt"), txt_suffix_specified_ (false), option_prefix_ ("-"), @@ -890,6 +920,7 @@ options (int start, generate_cxx_ (), generate_man_ (), generate_html_ (), + generate_latex_ (), generate_txt_ (), stdout__ (), suppress_undocumented_ (), @@ -914,6 +945,8 @@ options (int start, link_regex_trace_ (), html_heading_map_ (), html_heading_map_specified_ (false), + latex_section_map_ (), + latex_section_map_specified_ (false), omit_link_check_ (), hxx_prologue_ (), hxx_prologue_specified_ (false), @@ -925,6 +958,8 @@ options (int start, man_prologue_specified_ (false), html_prologue_ (), html_prologue_specified_ (false), + latex_prologue_ (), + latex_prologue_specified_ (false), txt_prologue_ (), txt_prologue_specified_ (false), hxx_epilogue_ (), @@ -937,6 +972,8 @@ options (int start, man_epilogue_specified_ (false), html_epilogue_ (), html_epilogue_specified_ (false), + latex_epilogue_ (), + latex_epilogue_specified_ (false), txt_epilogue_ (), txt_epilogue_specified_ (false), hxx_prologue_file_ (), @@ -949,6 +986,8 @@ options (int start, man_prologue_file_specified_ (false), html_prologue_file_ (), html_prologue_file_specified_ (false), + latex_prologue_file_ (), + latex_prologue_file_specified_ (false), txt_prologue_file_ (), txt_prologue_file_specified_ (false), hxx_epilogue_file_ (), @@ -961,6 +1000,8 @@ options (int start, man_epilogue_file_specified_ (false), html_epilogue_file_ (), html_epilogue_file_specified_ (false), + latex_epilogue_file_ (), + latex_epilogue_file_specified_ (false), txt_epilogue_file_ (), txt_epilogue_file_specified_ (false), output_prefix_ (), @@ -977,6 +1018,10 @@ options (int start, man_suffix_specified_ (false), html_suffix_ (".html"), html_suffix_specified_ (false), + latex_suffix_ (".tex"), + latex_suffix_specified_ (false), + latex_output_suffix_ (".pdf"), + latex_output_suffix_specified_ (false), txt_suffix_ (".txt"), txt_suffix_specified_ (false), option_prefix_ ("-"), @@ -1031,6 +1076,7 @@ options (int& argc, generate_cxx_ (), generate_man_ (), generate_html_ (), + generate_latex_ (), generate_txt_ (), stdout__ (), suppress_undocumented_ (), @@ -1055,6 +1101,8 @@ options (int& argc, link_regex_trace_ (), html_heading_map_ (), html_heading_map_specified_ (false), + latex_section_map_ (), + latex_section_map_specified_ (false), omit_link_check_ (), hxx_prologue_ (), hxx_prologue_specified_ (false), @@ -1066,6 +1114,8 @@ options (int& argc, man_prologue_specified_ (false), html_prologue_ (), html_prologue_specified_ (false), + latex_prologue_ (), + latex_prologue_specified_ (false), txt_prologue_ (), txt_prologue_specified_ (false), hxx_epilogue_ (), @@ -1078,6 +1128,8 @@ options (int& argc, man_epilogue_specified_ (false), html_epilogue_ (), html_epilogue_specified_ (false), + latex_epilogue_ (), + latex_epilogue_specified_ (false), txt_epilogue_ (), txt_epilogue_specified_ (false), hxx_prologue_file_ (), @@ -1090,6 +1142,8 @@ options (int& argc, man_prologue_file_specified_ (false), html_prologue_file_ (), html_prologue_file_specified_ (false), + latex_prologue_file_ (), + latex_prologue_file_specified_ (false), txt_prologue_file_ (), txt_prologue_file_specified_ (false), hxx_epilogue_file_ (), @@ -1102,6 +1156,8 @@ options (int& argc, man_epilogue_file_specified_ (false), html_epilogue_file_ (), html_epilogue_file_specified_ (false), + latex_epilogue_file_ (), + latex_epilogue_file_specified_ (false), txt_epilogue_file_ (), txt_epilogue_file_specified_ (false), output_prefix_ (), @@ -1118,6 +1174,10 @@ options (int& argc, man_suffix_specified_ (false), html_suffix_ (".html"), html_suffix_specified_ (false), + latex_suffix_ (".tex"), + latex_suffix_specified_ (false), + latex_output_suffix_ (".pdf"), + latex_output_suffix_specified_ (false), txt_suffix_ (".txt"), txt_suffix_specified_ (false), option_prefix_ ("-"), @@ -1174,6 +1234,7 @@ options (int start, generate_cxx_ (), generate_man_ (), generate_html_ (), + generate_latex_ (), generate_txt_ (), stdout__ (), suppress_undocumented_ (), @@ -1198,6 +1259,8 @@ options (int start, link_regex_trace_ (), html_heading_map_ (), html_heading_map_specified_ (false), + latex_section_map_ (), + latex_section_map_specified_ (false), omit_link_check_ (), hxx_prologue_ (), hxx_prologue_specified_ (false), @@ -1209,6 +1272,8 @@ options (int start, man_prologue_specified_ (false), html_prologue_ (), html_prologue_specified_ (false), + latex_prologue_ (), + latex_prologue_specified_ (false), txt_prologue_ (), txt_prologue_specified_ (false), hxx_epilogue_ (), @@ -1221,6 +1286,8 @@ options (int start, man_epilogue_specified_ (false), html_epilogue_ (), html_epilogue_specified_ (false), + latex_epilogue_ (), + latex_epilogue_specified_ (false), txt_epilogue_ (), txt_epilogue_specified_ (false), hxx_prologue_file_ (), @@ -1233,6 +1300,8 @@ options (int start, man_prologue_file_specified_ (false), html_prologue_file_ (), html_prologue_file_specified_ (false), + latex_prologue_file_ (), + latex_prologue_file_specified_ (false), txt_prologue_file_ (), txt_prologue_file_specified_ (false), hxx_epilogue_file_ (), @@ -1245,6 +1314,8 @@ options (int start, man_epilogue_file_specified_ (false), html_epilogue_file_ (), html_epilogue_file_specified_ (false), + latex_epilogue_file_ (), + latex_epilogue_file_specified_ (false), txt_epilogue_file_ (), txt_epilogue_file_specified_ (false), output_prefix_ (), @@ -1261,6 +1332,10 @@ options (int start, man_suffix_specified_ (false), html_suffix_ (".html"), html_suffix_specified_ (false), + latex_suffix_ (".tex"), + latex_suffix_specified_ (false), + latex_output_suffix_ (".pdf"), + latex_output_suffix_specified_ (false), txt_suffix_ (".txt"), txt_suffix_specified_ (false), option_prefix_ ("-"), @@ -1313,6 +1388,7 @@ options (::cli::scanner& s, generate_cxx_ (), generate_man_ (), generate_html_ (), + generate_latex_ (), generate_txt_ (), stdout__ (), suppress_undocumented_ (), @@ -1337,6 +1413,8 @@ options (::cli::scanner& s, link_regex_trace_ (), html_heading_map_ (), html_heading_map_specified_ (false), + latex_section_map_ (), + latex_section_map_specified_ (false), omit_link_check_ (), hxx_prologue_ (), hxx_prologue_specified_ (false), @@ -1348,6 +1426,8 @@ options (::cli::scanner& s, man_prologue_specified_ (false), html_prologue_ (), html_prologue_specified_ (false), + latex_prologue_ (), + latex_prologue_specified_ (false), txt_prologue_ (), txt_prologue_specified_ (false), hxx_epilogue_ (), @@ -1360,6 +1440,8 @@ options (::cli::scanner& s, man_epilogue_specified_ (false), html_epilogue_ (), html_epilogue_specified_ (false), + latex_epilogue_ (), + latex_epilogue_specified_ (false), txt_epilogue_ (), txt_epilogue_specified_ (false), hxx_prologue_file_ (), @@ -1372,6 +1454,8 @@ options (::cli::scanner& s, man_prologue_file_specified_ (false), html_prologue_file_ (), html_prologue_file_specified_ (false), + latex_prologue_file_ (), + latex_prologue_file_specified_ (false), txt_prologue_file_ (), txt_prologue_file_specified_ (false), hxx_epilogue_file_ (), @@ -1384,6 +1468,8 @@ options (::cli::scanner& s, man_epilogue_file_specified_ (false), html_epilogue_file_ (), html_epilogue_file_specified_ (false), + latex_epilogue_file_ (), + latex_epilogue_file_specified_ (false), txt_epilogue_file_ (), txt_epilogue_file_specified_ (false), output_prefix_ (), @@ -1400,6 +1486,10 @@ options (::cli::scanner& s, man_suffix_specified_ (false), html_suffix_ (".html"), html_suffix_specified_ (false), + latex_suffix_ (".tex"), + latex_suffix_specified_ (false), + latex_output_suffix_ (".pdf"), + latex_output_suffix_specified_ (false), txt_suffix_ (".txt"), txt_suffix_specified_ (false), option_prefix_ ("-"), @@ -1430,238 +1520,267 @@ print_usage (::std::ostream& os, ::cli::usage_para p) if (p == ::cli::usage_para::text) os << ::std::endl; - os << "--help Print usage information and exit." << ::std::endl; + os << "--help Print usage information and exit." << ::std::endl; - os << "--version Print version and exit." << ::std::endl; + os << "--version Print version and exit." << ::std::endl; - os << "--include-path|-I <dir> Search <dir> for bracket-included (<>) options" << ::std::endl - << " files." << ::std::endl; + os << "--include-path|-I <dir> Search <dir> for bracket-included (<>) options" << ::std::endl + << " files." << ::std::endl; - os << "--output-dir|-o <dir> Write the generated files to <dir> instead of the" << ::std::endl - << " current directory." << ::std::endl; + os << "--output-dir|-o <dir> Write the generated files to <dir> instead of" << ::std::endl + << " the current directory." << ::std::endl; - os << "--std <version> Specify the C++ standard that should be used" << ::std::endl - << " during compilation." << ::std::endl; + os << "--std <version> Specify the C++ standard that should be used" << ::std::endl + << " during compilation." << ::std::endl; - os << "--generate-modifier Generate option value modifiers in addition to" << ::std::endl - << " accessors." << ::std::endl; + os << "--generate-modifier Generate option value modifiers in addition to" << ::std::endl + << " accessors." << ::std::endl; - os << "--generate-specifier Generate functions for determining whether the" << ::std::endl - << " option was specified on the command line." << ::std::endl; + os << "--generate-specifier Generate functions for determining whether the" << ::std::endl + << " option was specified on the command line." << ::std::endl; - os << "--generate-parse Generate parse() functions instead of parsing" << ::std::endl - << " constructors." << ::std::endl; + os << "--generate-parse Generate parse() functions instead of parsing" << ::std::endl + << " constructors." << ::std::endl; - os << "--generate-description Generate the option description list that can be" << ::std::endl - << " examined at runtime." << ::std::endl; + os << "--generate-description Generate the option description list that can be" << ::std::endl + << " examined at runtime." << ::std::endl; - os << "--generate-file-scanner Generate the argv_file_scanner implementation." << ::std::endl; + os << "--generate-file-scanner Generate the argv_file_scanner implementation." << ::std::endl; - os << "--generate-vector-scanner Generate the vector_scanner implementation." << ::std::endl; + os << "--generate-vector-scanner Generate the vector_scanner implementation." << ::std::endl; - os << "--generate-group-scanner Generate the group_scanner implementation." << ::std::endl; + os << "--generate-group-scanner Generate the group_scanner implementation." << ::std::endl; - os << "--suppress-inline Generate all functions non-inline." << ::std::endl; + os << "--suppress-inline Generate all functions non-inline." << ::std::endl; - os << "--suppress-cli Do not generate the CLI support types (scanners," << ::std::endl - << " parser, etc)." << ::std::endl; + os << "--suppress-cli Do not generate the CLI support types (scanners," << ::std::endl + << " parser, etc)." << ::std::endl; - os << "--cli-namespace <ns> Generate the CLI support types in the <ns>" << ::std::endl - << " namespace (cli by default)." << ::std::endl; + os << "--cli-namespace <ns> Generate the CLI support types in the <ns>" << ::std::endl + << " namespace (cli by default)." << ::std::endl; - os << "--ostream-type <type> Output stream type instead of the default" << ::std::endl - << " std::ostream that should be used to print usage" << ::std::endl - << " and exception information." << ::std::endl; + os << "--ostream-type <type> Output stream type instead of the default" << ::std::endl + << " std::ostream that should be used to print usage" << ::std::endl + << " and exception information." << ::std::endl; - os << "--generate-cxx Generate C++ code." << ::std::endl; + os << "--generate-cxx Generate C++ code." << ::std::endl; - os << "--generate-man Generate documentation in the man page format." << ::std::endl; + os << "--generate-man Generate documentation in the man page format." << ::std::endl; - os << "--generate-html Generate documentation in the HTML format." << ::std::endl; + os << "--generate-html Generate documentation in the HTML format." << ::std::endl; - os << "--generate-txt Generate documentation in the plain text format," << ::std::endl - << " similar to usage." << ::std::endl; + os << "--generate-latex Generate documentation in the LaTeX format." << ::std::endl; - os << "--stdout Write output to STDOUT instead of a file." << ::std::endl; + os << "--generate-txt Generate documentation in the plain text format," << ::std::endl + << " similar to usage." << ::std::endl; - os << "--suppress-undocumented Suppress the generation of documentation entries" << ::std::endl - << " for undocumented options." << ::std::endl; + os << "--stdout Write output to STDOUT instead of a file." << ::std::endl; - os << "--suppress-usage Suppress the generation of the usage printing" << ::std::endl - << " code." << ::std::endl; + os << "--suppress-undocumented Suppress the generation of documentation entries" << ::std::endl + << " for undocumented options." << ::std::endl; - os << "--long-usage If no short documentation string is provided, use" << ::std::endl - << " the complete long documentation string in usage." << ::std::endl; + os << "--suppress-usage Suppress the generation of the usage printing" << ::std::endl + << " code." << ::std::endl; - os << "--short-usage If specified together with --long-usage, generate" << ::std::endl - << " both short and long usage versions." << ::std::endl; + os << "--long-usage If no short documentation string is provided," << ::std::endl + << " use the complete long documentation string in" << ::std::endl + << " usage." << ::std::endl; - os << "--page-usage <name> Generate the combined usage printing code for the" << ::std::endl - << " entire page." << ::std::endl; + os << "--short-usage If specified together with --long-usage," << ::std::endl + << " generate both short and long usage versions." << ::std::endl; - os << "--option-length <len> Indent option descriptions <len> characters when" << ::std::endl - << " printing usage." << ::std::endl; + os << "--page-usage <name> Generate the combined usage printing code for" << ::std::endl + << " the entire page." << ::std::endl; - os << "--ansi-color Use ANSI color escape sequences when printing" << ::std::endl - << " usage." << ::std::endl; + os << "--option-length <len> Indent option descriptions <len> characters when" << ::std::endl + << " printing usage." << ::std::endl; - os << "--exclude-base Exclude base class information from usage and" << ::std::endl - << " documentation." << ::std::endl; + os << "--ansi-color Use ANSI color escape sequences when printing" << ::std::endl + << " usage." << ::std::endl; - os << "--include-base-last Include base class information after derived for" << ::std::endl - << " usage and documentation." << ::std::endl; + os << "--exclude-base Exclude base class information from usage and" << ::std::endl + << " documentation." << ::std::endl; - os << "--class-doc <name>=<kind> Specify the documentation <kind> that should be" << ::std::endl - << " used for the options class <name>." << ::std::endl; + os << "--include-base-last Include base class information after derived for" << ::std::endl + << " usage and documentation." << ::std::endl; - os << "--class <name> Generate the man page, HTML, or text documentation" << ::std::endl - << " only for the options class <name>." << ::std::endl; + os << "--class-doc <name>=<kind> Specify the documentation <kind> that should be" << ::std::endl + << " used for the options class <name>." << ::std::endl; - os << "--docvar|-v <name>=<val> Set documentation variable <name> to the value" << ::std::endl - << " <val>." << ::std::endl; + os << "--class <name> Generate the man page, HTML, LaTeX, or text" << ::std::endl + << " documentation only for the options class <name>." << ::std::endl; - os << "--link-regex <regex> Add <regex> to the list of regular expressions" << ::std::endl - << " used to transform link targets in the generated" << ::std::endl - << " documentation." << ::std::endl; + os << "--docvar|-v <name>=<val> Set documentation variable <name> to the value" << ::std::endl + << " <val>." << ::std::endl; - os << "--link-regex-trace Trace the process of applying regular expressions" << ::std::endl - << " specified with the --link-regex option." << ::std::endl; + os << "--link-regex <regex> Add <regex> to the list of regular expressions" << ::std::endl + << " used to transform link targets in the generated" << ::std::endl + << " documentation." << ::std::endl; - os << "--html-heading-map <c>=<h> Map CLI heading <c> (valid values: 'H', '0', '1'," << ::std::endl - << " 'h', and '2') to HTML heading <h> (for example," << ::std::endl - << " 'h1', 'h2', etc)." << ::std::endl; + os << "--link-regex-trace Trace the process of applying regular" << ::std::endl + << " expressions specified with the --link-regex" << ::std::endl + << " option." << ::std::endl; - os << "--omit-link-check Don't check that local fragment link references" << ::std::endl - << " (\\l{#ref ...}) resolve to ids." << ::std::endl; + os << "--html-heading-map <c>=<h> Map CLI heading <c> (valid values: 'H', '0'," << ::std::endl + << " '1', 'h', and '2') to HTML heading <h> (for" << ::std::endl + << " example, 'h1', 'h2', etc)." << ::std::endl; - os << "--hxx-prologue <text> Insert <text> at the beginning of the generated" << ::std::endl - << " C++ header file." << ::std::endl; + os << "--latex-section-map <c>=<h> Map CLI heading <c> (valid values: 'H', '0'," << ::std::endl + << " '1', 'h', and '2') to LaTeX section <h> (for" << ::std::endl + << " example, 'part', 'chapter', etc)." << ::std::endl; - os << "--ixx-prologue <text> Insert <text> at the beginning of the generated" << ::std::endl - << " C++ inline file." << ::std::endl; + os << "--omit-link-check Don't check that local fragment link references" << ::std::endl + << " (\\l{#ref ...}) resolve to ids." << ::std::endl; - os << "--cxx-prologue <text> Insert <text> at the beginning of the generated" << ::std::endl - << " C++ source file." << ::std::endl; + os << "--hxx-prologue <text> Insert <text> at the beginning of the generated" << ::std::endl + << " C++ header file." << ::std::endl; - os << "--man-prologue <text> Insert <text> at the beginning of the generated" << ::std::endl - << " man page file." << ::std::endl; + os << "--ixx-prologue <text> Insert <text> at the beginning of the generated" << ::std::endl + << " C++ inline file." << ::std::endl; - os << "--html-prologue <text> Insert <text> at the beginning of the generated" << ::std::endl - << " HTML file." << ::std::endl; + os << "--cxx-prologue <text> Insert <text> at the beginning of the generated" << ::std::endl + << " C++ source file." << ::std::endl; - os << "--txt-prologue <text> Insert <text> at the beginning of the generated" << ::std::endl - << " text file." << ::std::endl; + os << "--man-prologue <text> Insert <text> at the beginning of the generated" << ::std::endl + << " man page file." << ::std::endl; - os << "--hxx-epilogue <text> Insert <text> at the end of the generated C++" << ::std::endl - << " header file." << ::std::endl; + os << "--html-prologue <text> Insert <text> at the beginning of the generated" << ::std::endl + << " HTML file." << ::std::endl; - os << "--ixx-epilogue <text> Insert <text> at the end of the generated C++" << ::std::endl - << " inline file." << ::std::endl; + os << "--latex-prologue <text> Insert <text> at the beginning of the generated" << ::std::endl + << " LaTeX file." << ::std::endl; - os << "--cxx-epilogue <text> Insert <text> at the end of the generated C++" << ::std::endl - << " source file." << ::std::endl; + os << "--txt-prologue <text> Insert <text> at the beginning of the generated" << ::std::endl + << " text file." << ::std::endl; - os << "--man-epilogue <text> Insert <text> at the end of the generated man page" << ::std::endl - << " file." << ::std::endl; + os << "--hxx-epilogue <text> Insert <text> at the end of the generated C++" << ::std::endl + << " header file." << ::std::endl; - os << "--html-epilogue <text> Insert <text> at the end of the generated HTML" << ::std::endl - << " file." << ::std::endl; + os << "--ixx-epilogue <text> Insert <text> at the end of the generated C++" << ::std::endl + << " inline file." << ::std::endl; - os << "--txt-epilogue <text> Insert <text> at the end of the generated text" << ::std::endl - << " file." << ::std::endl; + os << "--cxx-epilogue <text> Insert <text> at the end of the generated C++" << ::std::endl + << " source file." << ::std::endl; - os << "--hxx-prologue-file <file> Insert the content of <file> at the beginning of" << ::std::endl - << " the generated C++ header file." << ::std::endl; + os << "--man-epilogue <text> Insert <text> at the end of the generated man" << ::std::endl + << " page file." << ::std::endl; - os << "--ixx-prologue-file <file> Insert the content of <file> at the beginning of" << ::std::endl - << " the generated C++ inline file." << ::std::endl; + os << "--html-epilogue <text> Insert <text> at the end of the generated HTML" << ::std::endl + << " file." << ::std::endl; - os << "--cxx-prologue-file <file> Insert the content of <file> at the beginning of" << ::std::endl - << " the generated C++ source file." << ::std::endl; + os << "--latex-epilogue <text> Insert <text> at the end of the generated LaTeX" << ::std::endl + << " file." << ::std::endl; - os << "--man-prologue-file <file> Insert the content of <file> at the beginning of" << ::std::endl - << " the generated man page file." << ::std::endl; + os << "--txt-epilogue <text> Insert <text> at the end of the generated text" << ::std::endl + << " file." << ::std::endl; - os << "--html-prologue-file <file> Insert the content of <file> at the beginning of" << ::std::endl - << " the generated HTML file." << ::std::endl; + os << "--hxx-prologue-file <file> Insert the content of <file> at the beginning of" << ::std::endl + << " the generated C++ header file." << ::std::endl; - os << "--txt-prologue-file <file> Insert the content of <file> at the beginning of" << ::std::endl - << " the generated text file." << ::std::endl; + os << "--ixx-prologue-file <file> Insert the content of <file> at the beginning of" << ::std::endl + << " the generated C++ inline file." << ::std::endl; - os << "--hxx-epilogue-file <file> Insert the content of <file> at the end of the" << ::std::endl - << " generated C++ header file." << ::std::endl; + os << "--cxx-prologue-file <file> Insert the content of <file> at the beginning of" << ::std::endl + << " the generated C++ source file." << ::std::endl; - os << "--ixx-epilogue-file <file> Insert the content of <file> at the end of the" << ::std::endl - << " generated C++ inline file." << ::std::endl; + os << "--man-prologue-file <file> Insert the content of <file> at the beginning of" << ::std::endl + << " the generated man page file." << ::std::endl; - os << "--cxx-epilogue-file <file> Insert the content of <file> at the end of the" << ::std::endl - << " generated C++ source file." << ::std::endl; + os << "--html-prologue-file <file> Insert the content of <file> at the beginning of" << ::std::endl + << " the generated HTML file." << ::std::endl; - os << "--man-epilogue-file <file> Insert the content of <file> at the end of the" << ::std::endl - << " generated man page file." << ::std::endl; + os << "--latex-prologue-file <file> Insert the content of <file> at the beginning of" << ::std::endl + << " the generated LaTeX file." << ::std::endl; - os << "--html-epilogue-file <file> Insert the content of <file> at the end of the" << ::std::endl - << " generated HTML file." << ::std::endl; + os << "--txt-prologue-file <file> Insert the content of <file> at the beginning of" << ::std::endl + << " the generated text file." << ::std::endl; - os << "--txt-epilogue-file <file> Insert the content of <file> at the end of the" << ::std::endl - << " generated text file." << ::std::endl; + os << "--hxx-epilogue-file <file> Insert the content of <file> at the end of the" << ::std::endl + << " generated C++ header file." << ::std::endl; - os << "--output-prefix <prefix> Add <prefix> at the beginning of the generated" << ::std::endl - << " output file name(s)." << ::std::endl; + os << "--ixx-epilogue-file <file> Insert the content of <file> at the end of the" << ::std::endl + << " generated C++ inline file." << ::std::endl; - os << "--output-suffix <suffix> Add <suffix> at the end of the generated output" << ::std::endl - << " file name(s)." << ::std::endl; + os << "--cxx-epilogue-file <file> Insert the content of <file> at the end of the" << ::std::endl + << " generated C++ source file." << ::std::endl; - os << "--hxx-suffix <suffix> Use <suffix> instead of the default .hxx to" << ::std::endl - << " construct the name of the generated header file." << ::std::endl; + os << "--man-epilogue-file <file> Insert the content of <file> at the end of the" << ::std::endl + << " generated man page file." << ::std::endl; - os << "--ixx-suffix <suffix> Use <suffix> instead of the default .ixx to" << ::std::endl - << " construct the name of the generated inline file." << ::std::endl; + os << "--html-epilogue-file <file> Insert the content of <file> at the end of the" << ::std::endl + << " generated HTML file." << ::std::endl; - os << "--cxx-suffix <suffix> Use <suffix> instead of the default .cxx to" << ::std::endl - << " construct the name of the generated source file." << ::std::endl; + os << "--latex-epilogue-file <file> Insert the content of <file> at the end of the" << ::std::endl + << " generated LaTeX file." << ::std::endl; - os << "--man-suffix <suffix> Use <suffix> instead of the default .1 to" << ::std::endl - << " construct the name of the generated man page file." << ::std::endl; + os << "--txt-epilogue-file <file> Insert the content of <file> at the end of the" << ::std::endl + << " generated text file." << ::std::endl; - os << "--html-suffix <suffix> Use <suffix> instead of the default .html to" << ::std::endl - << " construct the name of the generated HTML file." << ::std::endl; + os << "--output-prefix <prefix> Add <prefix> at the beginning of the generated" << ::std::endl + << " output file name(s)." << ::std::endl; - os << "--txt-suffix <suffix> Use <suffix> instead of the default .txt to" << ::std::endl - << " construct the name of the generated text file." << ::std::endl; + os << "--output-suffix <suffix> Add <suffix> at the end of the generated output" << ::std::endl + << " file name(s)." << ::std::endl; - os << "--option-prefix <prefix> Use <prefix> instead of the default '-' as an" << ::std::endl - << " option prefix." << ::std::endl; + os << "--hxx-suffix <suffix> Use <suffix> instead of the default .hxx to" << ::std::endl + << " construct the name of the generated header file." << ::std::endl; - os << "--option-separator <sep> Use <sep> instead of the default '--' as an" << ::std::endl - << " optional separator between options and arguments." << ::std::endl; + os << "--ixx-suffix <suffix> Use <suffix> instead of the default .ixx to" << ::std::endl + << " construct the name of the generated inline file." << ::std::endl; - os << "--keep-separator Leave the option separator in the scanner." << ::std::endl; + os << "--cxx-suffix <suffix> Use <suffix> instead of the default .cxx to" << ::std::endl + << " construct the name of the generated source file." << ::std::endl; - os << "--no-combined-flags Disable support for combining multiple" << ::std::endl - << " single-character flags into a single argument (the" << ::std::endl - << " -xyz form that is equivalent to -x -y -z)." << ::std::endl; + os << "--man-suffix <suffix> Use <suffix> instead of the default .1 to" << ::std::endl + << " construct the name of the generated man page" << ::std::endl + << " file." << ::std::endl; - os << "--no-combined-values Disable support for combining an option and its" << ::std::endl - << " value into a single argument with the assignment" << ::std::endl - << " sign (the option=value form)." << ::std::endl; + os << "--html-suffix <suffix> Use <suffix> instead of the default .html to" << ::std::endl + << " construct the name of the generated HTML file." << ::std::endl; - os << "--include-with-brackets Use angle brackets (<>) instead of quotes (\"\") in" << ::std::endl - << " the generated #include directives." << ::std::endl; + os << "--latex-suffix <suffix> Use <suffix> instead of the default .tex to" << ::std::endl + << " construct the name of the generated LaTeX file." << ::std::endl; - os << "--include-prefix <prefix> Add <prefix> to the generated #include directive" << ::std::endl - << " paths." << ::std::endl; + os << "--latex-output-suffix <suffix> Use <suffix> instead of the default .pdf to" << ::std::endl + << " construct the name of the processed output file" << ::std::endl + << " of the generated LaTeX file." << ::std::endl; - os << "--guard-prefix <prefix> Add <prefix> to the generated header inclusion" << ::std::endl - << " guards." << ::std::endl; + os << "--txt-suffix <suffix> Use <suffix> instead of the default .txt to" << ::std::endl + << " construct the name of the generated text file." << ::std::endl; - os << "--reserved-name <name>=<rep> Add <name> with an optional <rep> replacement to" << ::std::endl - << " the list of names that should not be used as" << ::std::endl - << " identifiers." << ::std::endl; + os << "--option-prefix <prefix> Use <prefix> instead of the default '-' as an" << ::std::endl + << " option prefix." << ::std::endl; - os << "--options-file <file> Read additional options from <file> with each" << ::std::endl - << " option appearing on a separate line optionally" << ::std::endl - << " followed by space and an option value." << ::std::endl; + os << "--option-separator <sep> Use <sep> instead of the default '--' as an" << ::std::endl + << " optional separator between options and" << ::std::endl + << " arguments." << ::std::endl; + + os << "--keep-separator Leave the option separator in the scanner." << ::std::endl; + + os << "--no-combined-flags Disable support for combining multiple" << ::std::endl + << " single-character flags into a single argument" << ::std::endl + << " (the -xyz form that is equivalent to -x -y -z)." << ::std::endl; + + os << "--no-combined-values Disable support for combining an option and its" << ::std::endl + << " value into a single argument with the assignment" << ::std::endl + << " sign (the option=value form)." << ::std::endl; + + os << "--include-with-brackets Use angle brackets (<>) instead of quotes (\"\")" << ::std::endl + << " in the generated #include directives." << ::std::endl; + + os << "--include-prefix <prefix> Add <prefix> to the generated #include directive" << ::std::endl + << " paths." << ::std::endl; + + os << "--guard-prefix <prefix> Add <prefix> to the generated header inclusion" << ::std::endl + << " guards." << ::std::endl; + + os << "--reserved-name <name>=<rep> Add <name> with an optional <rep> replacement to" << ::std::endl + << " the list of names that should not be used as" << ::std::endl + << " identifiers." << ::std::endl; + + os << "--options-file <file> Read additional options from <file> with each" << ::std::endl + << " option appearing on a separate line optionally" << ::std::endl + << " followed by space and an option value." << ::std::endl; p = ::cli::usage_para::option; @@ -1727,6 +1846,8 @@ struct _cli_options_map_init &::cli::thunk< options, bool, &options::generate_man_ >; _cli_options_map_["--generate-html"] = &::cli::thunk< options, bool, &options::generate_html_ >; + _cli_options_map_["--generate-latex"] = + &::cli::thunk< options, bool, &options::generate_latex_ >; _cli_options_map_["--generate-txt"] = &::cli::thunk< options, bool, &options::generate_txt_ >; _cli_options_map_["--stdout"] = @@ -1771,6 +1892,9 @@ struct _cli_options_map_init _cli_options_map_["--html-heading-map"] = &::cli::thunk< options, std::map<char, std::string>, &options::html_heading_map_, &options::html_heading_map_specified_ >; + _cli_options_map_["--latex-section-map"] = + &::cli::thunk< options, std::map<char, std::string>, &options::latex_section_map_, + &options::latex_section_map_specified_ >; _cli_options_map_["--omit-link-check"] = &::cli::thunk< options, bool, &options::omit_link_check_ >; _cli_options_map_["--hxx-prologue"] = @@ -1788,6 +1912,9 @@ struct _cli_options_map_init _cli_options_map_["--html-prologue"] = &::cli::thunk< options, std::vector<std::string>, &options::html_prologue_, &options::html_prologue_specified_ >; + _cli_options_map_["--latex-prologue"] = + &::cli::thunk< options, std::vector<std::string>, &options::latex_prologue_, + &options::latex_prologue_specified_ >; _cli_options_map_["--txt-prologue"] = &::cli::thunk< options, std::vector<std::string>, &options::txt_prologue_, &options::txt_prologue_specified_ >; @@ -1806,6 +1933,9 @@ struct _cli_options_map_init _cli_options_map_["--html-epilogue"] = &::cli::thunk< options, std::vector<std::string>, &options::html_epilogue_, &options::html_epilogue_specified_ >; + _cli_options_map_["--latex-epilogue"] = + &::cli::thunk< options, std::vector<std::string>, &options::latex_epilogue_, + &options::latex_epilogue_specified_ >; _cli_options_map_["--txt-epilogue"] = &::cli::thunk< options, std::vector<std::string>, &options::txt_epilogue_, &options::txt_epilogue_specified_ >; @@ -1824,6 +1954,9 @@ struct _cli_options_map_init _cli_options_map_["--html-prologue-file"] = &::cli::thunk< options, std::string, &options::html_prologue_file_, &options::html_prologue_file_specified_ >; + _cli_options_map_["--latex-prologue-file"] = + &::cli::thunk< options, std::string, &options::latex_prologue_file_, + &options::latex_prologue_file_specified_ >; _cli_options_map_["--txt-prologue-file"] = &::cli::thunk< options, std::string, &options::txt_prologue_file_, &options::txt_prologue_file_specified_ >; @@ -1842,6 +1975,9 @@ struct _cli_options_map_init _cli_options_map_["--html-epilogue-file"] = &::cli::thunk< options, std::string, &options::html_epilogue_file_, &options::html_epilogue_file_specified_ >; + _cli_options_map_["--latex-epilogue-file"] = + &::cli::thunk< options, std::string, &options::latex_epilogue_file_, + &options::latex_epilogue_file_specified_ >; _cli_options_map_["--txt-epilogue-file"] = &::cli::thunk< options, std::string, &options::txt_epilogue_file_, &options::txt_epilogue_file_specified_ >; @@ -1866,6 +2002,12 @@ struct _cli_options_map_init _cli_options_map_["--html-suffix"] = &::cli::thunk< options, std::string, &options::html_suffix_, &options::html_suffix_specified_ >; + _cli_options_map_["--latex-suffix"] = + &::cli::thunk< options, std::string, &options::latex_suffix_, + &options::latex_suffix_specified_ >; + _cli_options_map_["--latex-output-suffix"] = + &::cli::thunk< options, std::string, &options::latex_output_suffix_, + &options::latex_output_suffix_specified_ >; _cli_options_map_["--txt-suffix"] = &::cli::thunk< options, std::string, &options::txt_suffix_, &options::txt_suffix_specified_ >; |