diff options
Diffstat (limited to 'org/meta_abstraction.org')
-rw-r--r-- | org/meta_abstraction.org | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/org/meta_abstraction.org b/org/meta_abstraction.org index 6408866..bff74a4 100644 --- a/org/meta_abstraction.org +++ b/org/meta_abstraction.org @@ -42,7 +42,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(); @@ -2347,7 +2347,7 @@ string[] segnames_0_to_4; #+name: abs_post #+BEGIN_SRC d -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; @@ -2356,9 +2356,9 @@ auto _image_dimensions(O,M)(O obj, M manifest_matter) { 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); @@ -2523,7 +2523,7 @@ if (the_document_body_section.length > 1) { 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); } |