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 --- src/doc_reform/io_out/latex.d | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'src/doc_reform/io_out/latex.d') diff --git a/src/doc_reform/io_out/latex.d b/src/doc_reform/io_out/latex.d index 088ffbd..e876eab 100644 --- a/src/doc_reform/io_out/latex.d +++ b/src/doc_reform/io_out/latex.d @@ -1110,9 +1110,9 @@ string table(O,M)( stringstyle=\color[rgb]{0.627,0.126,0.941}, } ┃", - 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, @@ -1275,7 +1275,7 @@ string table(O,M)( 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); @@ -1313,7 +1313,7 @@ string table(O,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); -- cgit v1.2.3