From 02714184258c9be072857ddcc03bc114b2e843d1 Mon Sep 17 00:00:00 2001 From: Ralph Amissah Date: Tue, 22 Oct 2019 19:32:45 -0400 Subject: cosmetic --- src/doc_reform/meta/metadoc_from_src.d | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'src/doc_reform/meta/metadoc_from_src.d') diff --git a/src/doc_reform/meta/metadoc_from_src.d b/src/doc_reform/meta/metadoc_from_src.d index ec1e01a..f5e0b81 100644 --- a/src/doc_reform/meta/metadoc_from_src.d +++ b/src/doc_reform/meta/metadoc_from_src.d @@ -313,7 +313,7 @@ template DocReformDocAbstraction() { char[][] markup_sourcefile_content, CMM conf_make_meta, Opt opt_action, - Mf manifest_matter, + Mf manifested, bool _new_doc ) { static auto rgx = Rgx(); @@ -1777,7 +1777,7 @@ template DocReformDocAbstraction() { return images_; } string[] segnames_0_to_4; - auto _image_dimensions(O,M)(O obj, M manifest_matter) { + auto _image_dimensions(O,M)(O obj, M manifested) { if (obj.has.image_without_dimensions) { import std.math; import imageformats; @@ -1786,9 +1786,9 @@ template DocReformDocAbstraction() { int max_width = 640; foreach (m; obj.text.matchAll(rgx.inline_image_without_dimensions)) { debug(images) { - writeln(manifest_matter.src.image_dir_path ~ "/" ~ m["img"]); + writeln(manifested.src.image_dir_path ~ "/" ~ m["img"]); } - read_image_info(manifest_matter.src.image_dir_path ~ "/" ~ m["img"], w, h, chans); + read_image_info(manifested.src.image_dir_path ~ "/" ~ m["img"], w, h, chans); // calculate, decide max width and proportionally reduce to keep w & h within it debug(images) { writeln("width: ", w, ", height: ", h); @@ -1923,7 +1923,7 @@ template DocReformDocAbstraction() { obj = obj.obj_heading_ancestors(lv_ancestors_txt); } else if (obj.metainfo.is_a == "para") { _images ~= extract_images(obj.text); - obj = _image_dimensions(obj, manifest_matter); + obj = _image_dimensions(obj, manifested); } obj = _links(obj); } -- cgit v1.2.3