Re: [TeXmacs] copy/pasting labels

Jorge Fernández de Cossío Díaz <[email protected]>
Newsgroups gmane.editors.texmacs.user,gmane.editors.texmacs.devel
Message-ID <CACcWK+KMrdMYApiypRzaLqvia9v6SwY6cixkyRnbnSTThmPG0Q@mail.gmail.com>
A sort of "fix" for the flags running outside the page is to increase the
"Margins on screen", Document -> Page -> Margins.

On Tue, Sep 18, 2018 at 5:02 AM Peter Rapčan <[email protected]> wrote:

> According to the manual:
>
> "When labeling single equations (created using Insert -> Mathematics ->
> †’Equation), the recommended place is at the start inside the equation.
> When labeling multiple equations (created using Insert† -> Mathematics ->
> ’Equations), you must put the labels just behind the equation numbers."
>
> Thus, I assume the reason is the internal workings of TeXmacs. Needless to
> say, it is certainly confusing (especially for newcomers) to have different
> label placements for equations and equation arrays. I don’t know know how
> hard it would be to unify the behavior, nor am I a programmer who would be
> able to implement such a change. Maybe some of the developers could say
> something about this?
>
> With regard to the label flags, the situation is even more problematic
> than Jorge noted. In the multiple-equations environment you will see only
> part of the label flag if the label text is longer than the remaining space
> on the paper/white canvas shown — see enclosed screenshot. It would be
> perhaps better if the flags were semi-transparent and drawn leftward from
> the flags “stick” (flag origin) in the case of the label being placed after
> the equation number. Or at least the whole application window width could
> be used to display the flag, as opposed to only using the paper width, as
> is the case now.
>
> Cheers,
> Peter.
>
>
>
>
>
>
> On 18 Sep 2018, at 00:05, Jorge Fernández de Cossío Díaz <
> [email protected]> wrote:
>
> Thanks. I like having the label flags. However the recommendation is to
> place the labels at the beginning of equations, anybody knows why? The
> problem is that the label flag then hides part of the equation.
>
> On Mon, Sep 17, 2018 at 3:03 AM Basile Audoly <[email protected]> wrote:
>
>> Peter's suggestion to show labels in blue can be set using Documents >
>> Informative flags > Detailed
>>
>> The 'Error messages' window will be brought up with the menu Documents >
>> Refresh > All
>>
>>
>>
>>
>>
>> Le 14 sept. 2018 à 22:25, Peter Rapčan <[email protected]> a écrit :
>>
>>
>>
>> On 14 Sep 2018, at 21:58, Jorge Fernández de Cossío Díaz <
>> [email protected]> wrote:
>>
>> Yes, I see the warning.
>>
>> Another question. When I rename a label, references to it are
>> automatically updated?
>>
>>
>> No.
>>
>> I think not. Is there a way to rename a label and also have all
>> references to it automatically updated?
>>
>>
>> I am not aware of such functionality, but it would definitely be very
>> convenient. :-)
>>
>> As a possible mitigation to this, try to use the replace functionality,
>> perhaps it can search & replace also within labels and references... (I am
>> not sure and I have no way ro try now).
>>
>> A sidenote: there is a way to turn on showing labels as blue flags with
>> the label names displayed. That way one has at least an overview of what
>> the labels are, which is convenient if a document contains many of them.
>> Also note that tab completion works on referencing labels within \ref, so
>> you can cycle through the labels within the document even if you don't
>> remember them.
>>
>> Peter
>>
>>
>> On Fri, Sep 14, 2018 at 10:38 AM Peter Rapčan <[email protected]>
>> 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 <
>>> [email protected]> 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 <[email protected]> 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?
>>>>
>>>>
>>>
>> <PastedGraphic-2.png><PastedGraphic-2.png>
>
>
>
Screen Shot 2018-09-18 at 10.28.06.png (image/png, 27 KB) - not displayed
Screen Shot 2018-09-18 at 10.28.06.png (image/png, 27 KB) - not displayed
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.