aboutsummaryrefslogtreecommitdiffhomepage
path: root/org/out_xmls.org
diff options
context:
space:
mode:
authorRalph Amissah <ralph.amissah@gmail.com>2022-02-23 15:11:39 -0500
committerRalph Amissah <ralph.amissah@gmail.com>2022-02-25 19:41:09 -0500
commit20a36744ada25bf063199a24fe3eebe85f056235 (patch)
tree1f00bcdb4137ce2eb0030f4f44fb0c57053aed58 /org/out_xmls.org
parentrethink verbose & debug flags, introduce show (diff)
verbosity level, "vox_gt[lv]" (voice greater than)
Diffstat (limited to 'org/out_xmls.org')
-rw-r--r--org/out_xmls.org12
1 files changed, 6 insertions, 6 deletions
diff --git a/org/out_xmls.org b/org/out_xmls.org
index b017bf7..c082a76 100644
--- a/org/out_xmls.org
+++ b/org/out_xmls.org
@@ -667,7 +667,7 @@ import
);
}
} else {
- if (!(doc_matters.opt.action.quiet)) {
+ if (doc_matters.opt.action.vox_gt0) {
writeln(
"WARNING on internal document links, anchor to link <<"
~ m.captures["hash"]
@@ -1951,7 +1951,7 @@ default:
} catch (ErrnoException ex) {
// Handle error
}
- if (!(doc_matters.opt.action.quiet)) {
+ if (doc_matters.opt.action.vox_gt0) {
writeln(" ", pth_html.fn_scroll(doc_matters.src.filename));
}
}
@@ -2288,7 +2288,7 @@ default:
} catch (ErrnoException ex) {
// handle error
}
- if (!(doc_matters.opt.action.quiet)) {
+ if (doc_matters.opt.action.vox_gt0) {
writeln(" ", pth_html.fn_seg(doc_matters.src.filename, "toc"));
}
}
@@ -2336,7 +2336,7 @@ default:
if (exists(fn_src_in)) {
fn_src_in.copy(fn_src_out);
} else {
- if (!(doc_matters.opt.action.quiet)) {
+ if (doc_matters.opt.action.vox_gt0) {
writeln("WARNING image not found: ", fn_src_in);
}
}
@@ -3156,7 +3156,7 @@ zip -0 file.epub mimetype && zip -r -9 file.epub META-INF OEBPS
foreach (image; doc_matters.srcs.image_list) {
{ /+ debug +/
if (doc_matters.opt.action.debug_do_epub) {
- if (doc_matters.opt.action.very_verbose) {
+ if (doc_matters.opt.action.vox_gt2) {
writeln(
doc_matters.src.image_dir_path, "/", image, " -> ",
pth_epub3.dbg_doc_oebps_image(doc_matters.src.filename), "/", image
@@ -3203,7 +3203,7 @@ zip -0 file.epub mimetype && zip -r -9 file.epub META-INF OEBPS
} catch (ErrnoException ex) {
// Handle error
}
- if (!(doc_matters.opt.action.quiet)) {
+ if (doc_matters.opt.action.vox_gt0) {
writeln(" ", fn_epub);
}
#+END_SRC