diff options
author | Ralph Amissah <ralph.amissah@gmail.com> | 2019-10-22 19:32:45 -0400 |
---|---|---|
committer | Ralph Amissah <ralph.amissah@gmail.com> | 2019-11-18 14:59:47 -0500 |
commit | 02714184258c9be072857ddcc03bc114b2e843d1 (patch) | |
tree | 9818170940f4db2334c54059869819f07f57a10d /org/meta_abstraction.org | |
parent | multilingual pods, zipped source (diff) |
cosmetic
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); } |