diff options
author | Ralph Amissah <ralph@amissah.com> | 2018-07-31 10:25:29 -0400 |
---|---|---|
committer | Ralph Amissah <ralph@amissah.com> | 2019-04-10 15:14:15 -0400 |
commit | 9f5a72665fd94dcb082a9710c71e6a6a08386450 (patch) | |
tree | 7b5fbb382c6382b51cd6035e3f37744cb7eb9688 /org/output_xmls.org | |
parent | meson build related (reggae removed for now) (diff) |
messages & remove outputs not generated
Diffstat (limited to 'org/output_xmls.org')
-rw-r--r-- | org/output_xmls.org | 19 |
1 files changed, 12 insertions, 7 deletions
diff --git a/org/output_xmls.org b/org/output_xmls.org index 6854f4d..6be553f 100644 --- a/org/output_xmls.org +++ b/org/output_xmls.org @@ -435,7 +435,7 @@ auto inline_images(O)( _img_pth = "../../../image/"; } if (_txt.match(rgx.inline_image)) { - _txt = _txt.replaceAll( // TODO bug where image dimensions (w or h) not given & consequently set to 0; should not be used (calculate earlier, abstraction) + _txt = _txt.replaceAll( rgx.inline_image, ("$1<img src=\"" ~ _img_pth @@ -1394,7 +1394,7 @@ void scroll(D,I)( break; } break; - case "body": assert(part == "body" || "head"); // surprise + case "body": assert(part == "body" || "head"); switch (obj.metainfo.is_of_type) { case "para": switch (obj.metainfo.is_a) { @@ -1524,7 +1524,9 @@ void scroll_write_output(M,C)( } catch (ErrnoException ex) { // Handle error } - writeln(" ", pth_html.fn_scroll(doc_matters.src.filename)); + if (!(doc_matters.opt.action.quiet)) { + writeln(" ", pth_html.fn_scroll(doc_matters.src.filename)); + } } #+END_SRC @@ -1587,10 +1589,9 @@ void seg(D,M)( segment_filename = obj.tags.segment_anchor_tag; doc_html[segment_filename] ~= xhtml_format.html_head(doc_matters, "seg"); auto navigation_bar = xhtml_format.nav_pre_next_svg(obj); - doc_html[segment_filename] ~= navigation_bar.toc_pre_next; // navigation bar + doc_html[segment_filename] ~= navigation_bar.toc_pre_next; previous_seg_filename = segment_filename; foreach (top_level_heading; top_level_headings) { - // writeln(top_level_heading); doc_html[segment_filename] ~= top_level_heading; } auto t = xhtml_format.heading_seg(obj, _txt, suffix, "seg"); @@ -1793,7 +1794,9 @@ void seg_write_output(M,D,E)( } catch (ErrnoException ex) { // handle error } - writeln(" ", pth_html.fn_seg(doc_matters.src.filename, "toc")); + if (!(doc_matters.opt.action.quiet)) { + writeln(" ", pth_html.fn_seg(doc_matters.src.filename, "toc")); + } } #+END_SRC @@ -2687,7 +2690,9 @@ void epub3_write_output_files(M,D,E,Mt,Mic,Otnx,Otn,Oc)( } catch (ErrnoException ex) { // Handle error } - writeln(" ", fn_epub); + if (!(doc_matters.opt.action.quiet)) { + writeln(" ", fn_epub); + } #+END_SRC ** zip debug, read zip archive |