Dear list,

If I have a document with a reference to a program listing,

Ref:A     Listing_with_Label_A

If I copy Listing_with_Label_A to another listing and change its label
to B. Ref:A will be automatically changed to B. That is to say

Ref:B     Listing_with_Label_A   Listing_with_Label_B.

Does it make sense to only do this if there is no Label_A in the
document? I copy listings inset around a lot so that I do not have to
re-specify some listings parameters, and the automatic change of
references have been annoying.

Cheers,
Bo

Reply via email to