Skip to Content.
Sympa Menu

texmacs-users - Re: [TeXmacs] copy/pasting labels

Subject: mailing-list for TeXmacs Users

List archive

Re: [TeXmacs] copy/pasting labels


Chronological Thread 
  • From: Jorge Fernández de Cossío Díaz <address@hidden>
  • To: address@hidden
  • Cc: Basile Audoly <address@hidden>, address@hidden
  • Subject: Re: [TeXmacs] copy/pasting labels
  • Date: Fri, 14 Sep 2018 15:58:16 -0400

Yes, I see the warning.

Another question. When I rename a label, references to it are automatically updated?
I think not. Is there a way to rename a label and also have all references to it automatically updated?

On Fri, Sep 14, 2018 at 10:38 AM Peter Rapčan <address@hidden> wrote:
As far as I remember there is a warning (window with errors) displayed if you open a file which has duplicate labels - the warnings say that numbers assigned to equations were changed, which happens if a duplicate label is encountered in a file. From this I would assume that the reference then references the last occasion of a duplicate label but don’t take my word for it.

Peter.

On 14 Sep 2018, at 16:02, Jorge Fernández de Cossío Díaz <address@hidden> wrote:

When I have multiple labels with the same id, and a reference pointing to this id, where does the reference actually point? Is this defined?

Coming from Lyx, I would at least expect a warning. In a large document it might be hard to realize that you are using the same label id more than once.

On Fri, Sep 14, 2018 at 9:50 AM Basile Audoly <address@hidden> wrote:
Copying and pasting a label won't change the label. That is sensible design decision given that label assignments are always done manually.
You should simply modify one of the two labels by hand, and check the references.
Basile.

> When I copy/paste an equation with a label, the label is copied and I end up with two equations with the same label. Shouldn't this be an error? What happens to the references in my document that point to this label?





Archive powered by MHonArc 2.6.19.

Top of Page