diff options
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); |