mirror of
https://github.com/storytold/indd-utils.git
synced 2026-11-21 17:50:47 +01:00
tools/root_values.py collects the object styles other than [None] and the preferences from the pairs compare.py compares, like the root styles, instead of the part of the corpus it had first: 1,585 pairs, 1,448 distinct IDML files. tools/element_values.py reads 1,495 distinct IDML files. The DOM 8 to 11 merge of the DOM 12 object style frame values is gone: the file has those versions itself. Values that vary in the larger corpus are dropped, also where only one document differs and the converter does not read the value from the INDD: 209 keys, most of them preferences (EPubExportPreference, TextDefault, PageItemDefault, IndexOptions, TextPreference), object style values (line ends, gap colour, stroke tint, anchored object and text wrap settings, baseline frame grid before DOM 18), Spread PageTransitionType and PageTransitionDirection, and character style PreviewColor. Evidence in idml-values.md. compare.py --exclude own/, trustworthy pairs: coverage 97.79 % -> 97.09 % (-212,444 values on dropped keys, +11,501 on keys whose first version is now earlier); documents >= 99 % 514 -> 106 of 1,251; all pairs 96.55 % -> 95.85 %. Extras 94,610 -> 94,328. Every lost value is on a regenerated key. No new failures; story text unchanged.