DescriptionWorking insertion of hash values; added a few labels in spec
Hash values are now computed for each "paragraph" starting with \LMHash
(which includes subsequent grammar, dartCode, itemize blocks, but stops
at \section-like commands). Now addlatexhash.dart expects three arguments
(first the source latex file, then the destination simplified and
hash-value-annotated latex source file, and finally a file name used to
create the list of hash values emitted). Adjusted testing accordingly.
Added a test for robustness of the hash value generation: It is checked
that lots of different "unimportant" changes make no difference for the
generated hash values (e.g., we can add/remove comments, change white
space, add \commentary{..} etc. without changing the hash values).
In order to ensure that all "structure" commands in the spec have a label,
I added an \LMLabel{..} a handful of places, following the style which is
used throughout the spec.
In dart.sty, the \renewcommand that made \LMHash{} produce a fixed
hash value has been removed such that the actual hash values are now
inserted into the generated spec PDF/DVI file. Tests have been adjusted
to handle this difference between the spec with and without hash values
when comparing the two.
R=gbracha@google.com, lrn@google.com, ricow@google.com
Committed: https://code.google.com/p/dart/source/detail?r=41658
Reverted: https://code.google.com/p/dart/source/detail?r=41662
Committed: https://code.google.com/p/dart/source/detail?r=41687
Patch Set 1 #
Total comments: 29
Patch Set 2 : Response to reviews #Patch Set 3 : Impl. sectioning; adjusted dart.sty; added Makefile #
Total comments: 10
Patch Set 4 : Adjusted according to review #
Total comments: 3
Patch Set 5 : Adjusted according to reviews ([ \t] fix) #Patch Set 6 : Adjusted tricky RegExp to explicitly express the intention (and avoid issues with <NBSP> etc.) #Patch Set 7 : Rebase after revert #Patch Set 8 : Working insertion of hash values (fix: invokes dart with full path) #
Messages
Total messages: 27 (3 generated)
|