Simplified rule for sub.sh: both fig and dia go via cmp.txt now.