Add an "old" attribute to the pnum class to indicate pnum changes#103
Add an "old" attribute to the pnum class to indicate pnum changes#103ojhunt wants to merge 1 commit intompark:masterfrom
Conversation
… changes This does not effect the markup, and allows a purely css highlight model for the changes. We intentionally use the ::before pseudo element to inject the content so that it does not screw up selection of text (e.g. only the "real" text of the change is eligible for selection).
|
What are your thoughts on this approach? I couldn't work out a way to get similar semantics in latex, my prior approach has been |
|
For what it's worth, I never change numbers. I just insert fake numbers in the middle. I think this makes it easier to look at the old wording, since the numbers are stable. So if I want to add two paragraphs between the existing 2 and 3, instead of inserting 3 and 4 and renumbering 3 to 5, I'll insert 2a and 2b (or 2+1 and 2+2, or some other cheeky thing). |
Do you have an example paper? I've been doing |
This does not effect the markup, and allows a purely css highlighting model for the changes. We intentionally use the ::before pseudo element to inject the content so that it does not screw up selection of text (e.g. only the "real" text of the change is eligible for selection).