diff options
author | Ralph Amissah <ralph.amissah@gmail.com> | 2022-02-21 12:48:35 -0500 |
---|---|---|
committer | Ralph Amissah <ralph.amissah@gmail.com> | 2022-02-21 14:05:24 -0500 |
commit | 8757dfd0fd175698b2bdf61ae49875080b8e1612 (patch) | |
tree | f3afdbc0bfb2902b4ba826e90e67c7cac1641307 /org/out_latex.org | |
parent | cgi search housekeeping, sync & remove redundancy (diff) |
debug flags, narrow purpose
Diffstat (limited to 'org/out_latex.org')
-rw-r--r-- | org/out_latex.org | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/org/out_latex.org b/org/out_latex.org index ab4ccd2..fcd5061 100644 --- a/org/out_latex.org +++ b/org/out_latex.org @@ -132,7 +132,7 @@ void writeOutputLaTeX(T,M)( auto pth_latex = spinePathsLaTeX(doc_matters); try { { /+ debug +/ - if (doc_matters.opt.action.debug_do + if (doc_matters.opt.action.debug_do_latex && doc_matters.opt.action.verbose) { writeln(latex_content.head); writeln(latex_content.content); @@ -1695,9 +1695,9 @@ string _latex_head = format(q"┃%%%% spine LaTeX output #+NAME: output_latex_head_a_format_string_variables #+BEGIN_SRC d ┃", - doc_matters.opt.action.debug_do ? "" : doc_matters.generator_program.name_and_version.strip, - doc_matters.opt.action.debug_do ? "" : doc_matters.generator_program.compiler.strip, - doc_matters.opt.action.debug_do ? "" : doc_matters.generator_program.stime.strip, + doc_matters.opt.action.debug_do_latex ? "" : doc_matters.generator_program.name_and_version.strip, + doc_matters.opt.action.debug_do_latex ? "" : doc_matters.generator_program.compiler.strip, + doc_matters.opt.action.debug_do_latex ? "" : doc_matters.generator_program.stime.strip, doc_matters.generator_program.project_name.strip, doc_matters.generator_program.url_home.strip, paper_size_orientation_latex.strip, @@ -1904,7 +1904,7 @@ case "backmatter": break; default: { /+ debug +/ - if (doc_matters.opt.action.debug_do + if (doc_matters.opt.action.debug_do_latex && doc_matters.opt.action.verbose) { writeln(__FILE__, ":", __LINE__, ": ", obj.metainfo.is_of_part); writeln(__FILE__, ":", __LINE__, ": ", obj.metainfo.is_a); |