From 8757dfd0fd175698b2bdf61ae49875080b8e1612 Mon Sep 17 00:00:00 2001 From: Ralph Amissah Date: Mon, 21 Feb 2022 12:48:35 -0500 Subject: debug flags, narrow purpose --- org/out_latex.org | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'org/out_latex.org') 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); -- cgit v1.2.3