I've just noticed a small bug in the automatic relabelling of References and
Labels.

Here's the scenario:

I have some text and two Appendices.

Here is some text. Appendix [Ref: app: B] is referenced in the text.
Appendix A This is the title of Appendix A
Appendix B [app: B] This is the title of Appendix B

If I change the label to Appendix B, then the reference to it is also changed
automagically. Very neat! 

Here is some text. Appendix [Ref: app: B new] is referenced in the text.
Appendix A This is the title of Appendix A
Appendix B [app: B new] This is the title of Appendix B

here's the bug. I copy the label to Appendix B and then insert it as a label to
Appendix A to give:

Here is some text. Appendix [Ref: app: B new] is referenced in the text.
Appendix A [app: B new] This is the title of Appendix A
Appendix B [app: B new] This is the title of Appendix B

Now I edit the label to Appendix A. The reference also changes:

Here is some text. Appendix [Ref: app: A] is referenced in the text.
Appendix A [app: A] This is the title of Appendix A
Appendix B [app: B new] This is the title of Appendix B

This is clearly WRONG!
Angus




Reply via email to