diff options
Diffstat (limited to 'org/ocda.org')
| -rw-r--r-- | org/ocda.org | 15 | 
1 files changed, 1 insertions, 14 deletions
| diff --git a/org/ocda.org b/org/ocda.org index 946dcb9..dca0098 100644 --- a/org/ocda.org +++ b/org/ocda.org @@ -1068,20 +1068,7 @@ if (the_document_body_section.length > 1) { // writeln("body");      obj = _links(obj);    }  } -auto image_list = (_images.sort()).uniq; // also get digest on each image here? // workon -if (_images.length > 0) { -  foreach (img; image_list) { -    try { // also get sha digest on image file -      // read_image -      auto data = (cast(byte[]) (manifested.src.image_dir_path ~ "/" ~ img).read); -      // calculate, digest, hash -      writeln(img, "\n", data.sha256Of.toHexString, "::", data.length, " ", img); -      writeln(data.sha256Of.toHexString, " ", img, " ", data.length); -    } catch (Exception ex) { -      writeln("WARNING, image not found: ", img, "\n  ", manifested.src.image_dir_path ~ "/" ~ img); -    } -  } -} +auto image_list = (_images.sort()).uniq;  // endnotes optional only one 1~ level  if (the_document_endnotes_section.length > 1) { // writeln("endnotes");    dom_structure_markedup_tags_status_buffer           = dom_structure_markedup_tags_status.dup; | 
