mirror of
https://github.com/storytold/indd-utils.git
synced 2026-11-19 16:50:48 +01:00
tools/root_values.py collects the root styles from the pairs that compare.py compares (little-endian, same major version, without the privately held samples): 794 distinct IDML files, DOM 7 to 21, instead of the 88 the corpus had first. The pair rule leaves out an IDML with no root styles beside a newer INDD and a big-endian pair. The other object styles and the preferences stay pinned to SOURCE; their files are unchanged. The root table style writes every mapped attribute of its list, since the stroke weights, spacing and end tints now vary between files and are no longer in the values file. The root object style's varying values (named grid, optical margin size, baseline frame grid colour, corner radii, gutter, first baseline offset) are read from the INDD. Evidence in idml-values.md and tables.md. compare.py --exclude own/, trustworthy pairs: coverage 98.53 % -> 98.56 % (+2,942 values whose first DOM version is now earlier: IncludeClass, EpubAriaRole, paragraph border options, ParagraphKashidaWidth, shading overprint, TransformAttributeOption and FlexLayoutAttributeOption), documents >= 99 % 278 -> 313; all pairs 96.65 % -> 96.67 %. No pair loses a reproduced value; extras unchanged (8,968 trustworthy, 278,333 all). No new failures.