Re: #1624: Inserting Cross Reference without having a label (auto-labels)

2025-04-06 Thread Jürgen Spitzmüller
Am Sonntag, dem 06.04.2025 um 10:08 + schrieb Roland Schmitz: > great to see progress. This is/was my longest running issue I ever > filed 😀 Well, this was a rather challenging one. But it's good to see you're still around! -- Jürgen -- lyx-devel mailing list lyx-devel@lists.lyx.org https:

Re: #1624: Inserting Cross Reference without having a label (auto-labels)

2025-04-06 Thread Roland Schmitz
Hi, great to see progress. This is/was my longest running issue I ever filed 😀 Thanks Roland Am 4. April 2025 16:38:56 UTC schrieb LyX Ticket Tracker : >#1624: Inserting Cross Reference without having a label (auto-lab

Re: [LyX/master] Only \protect labels in \thanks notes

2024-09-22 Thread Scott Kostyshak
On Sun, Sep 22, 2024 at 05:18:40PM GMT, Jürgen Spitzmüller wrote: > Am Sonntag, dem 22.09.2024 um 11:50 +0200 schrieb Jürgen Spitzmüller: > > Yes. No idea what the issue here is (as it only breaks with the > > Spanish version). > > It's the "nohyper" option that is (only) used in the Spanish versi

Re: [LyX/master] Only \protect labels in \thanks notes

2024-09-22 Thread Jürgen Spitzmüller
Am Sonntag, dem 22.09.2024 um 11:50 +0200 schrieb Jürgen Spitzmüller: > Yes. No idea what the issue here is (as it only breaks with the > Spanish version). It's the "nohyper" option that is (only) used in the Spanish version. I'll change that. -- Jürgen signature.asc Description: This is a di

Re: [LyX/master] Only \protect labels in \thanks notes

2024-09-22 Thread Jürgen Spitzmüller
les/es/Handouts/Tufte_Handout_pdf2 > (Failed) Yes. No idea what the issue here is (as it only breaks with the Spanish version). Setting "Put fragile content out of moving arguments" solves it, but of course not for the 2.3 exports. I worked around it for now by moving the labels manually out

Re: [LyX/master] Only \protect labels in \thanks notes

2024-09-21 Thread Scott Kostyshak
On Sat, Sep 21, 2024 at 09:31:40AM GMT, Juergen Spitzmueller wrote: > commit d43e82a5a79e167c27140b609895ffdcd1ed8997 > Author: Juergen Spitzmueller > Date: Sat Sep 21 11:30:08 2024 +0200 > > Only \protect labels in \thanks notes > > See https://mar

Re: #1624: Inserting Cross Reference without having a label (auto-labels)

2024-08-10 Thread Jürgen Spitzmüller
Am Samstag, dem 10.08.2024 um 08:36 + schrieb Roland Schmitz: > great to se "my oldest Ticket" getting closed 😁 Good to see you're still around. -- Jürgen -- lyx-devel mailing list lyx-devel@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-devel

Re: #1624: Inserting Cross Reference without having a label (auto-labels)

2024-08-10 Thread Roland Schmitz
Hi *, great to se "my oldest Ticket" getting closed 😁 Thanks Roland Am 9. August 2024 15:42:21 UTC schrieb LyX Ticket Tracker : >#1624: Inserting Cross Reference without having a label (auto-labels) >--+ >

Re: Labels in Notes regression

2022-06-02 Thread Daniel
n LyX 2.4.0dev? What would be a better way? Renaming? Showing as "Duplicate"? What is your use case? That the reference is marked as BROKEN when referenced from outside of the Note seems right, or? Daniel Looking at how labels are used in notes and branches across 2.3.5 and 2.4.0dev, I ca

Re: Labels in Notes regression

2022-06-02 Thread Daniel
r way? Renaming? Showing as "Duplicate"? What is your use case? That the reference is marked as BROKEN when referenced from outside of the Note seems right, or? Daniel Looking at how labels are used in notes and branches across 2.3.5 and 2.4.0dev, I can see that this can get complic

Re: Labels in Notes regression

2022-05-28 Thread Andrew Parsloe
;? What is your use case? That the reference is marked as BROKEN when referenced from outside of the Note seems right, or? Daniel Looking at how labels are used in notes and branches across 2.3.5 and 2.4.0dev, I can see that this can get complicated. The 2.3.5 behaviour (renaming) seems cleare

Re: Labels in Notes regression

2022-05-25 Thread Daniel
referenced from outside of the Note seems right, or? Daniel Looking at how labels are used in notes and branches across 2.3.5 and 2.4.0dev, I can see that this can get complicated.  The 2.3.5 behaviour (renaming) seems clearest to me (and a little pedantic). Andrew I have never used branche

Re: Labels in Notes regression

2022-05-25 Thread Daniel
seems right, or? Daniel Looking at how labels are used in notes and branches across 2.3.5 and 2.4.0dev, I can see that this can get complicated.  The 2.3.5 behaviour (renaming) seems clearest to me (and a little pedantic). Andrew I have never used branches, so pardon my ignorance. But isn&#x

Re: Labels in Notes regression

2022-05-25 Thread Andrew Parsloe
ng to do here. What is the exact issue with how it is in LyX 2.4.0dev? What would be a better way? Renaming? Showing as "Duplicate"? What is your use case? That the reference is marked as BROKEN when referenced from outside of the Note seems right, or? Daniel Looking at how lab

Re: Labels in Notes regression

2022-05-25 Thread Daniel
On 2022-05-24 23:53, Andrew Parsloe wrote: (LyX 2.4.0-alpha3 on windows 10) If I copy text containing a label (e.g. of an equation) and paste into a (yellow) Note, the label is pasted unchanged. There is no warning message about the label being changed to label-1. The label in the Note can be

Labels in Notes regression

2022-05-24 Thread Andrew Parsloe
(LyX 2.4.0-alpha3 on windows 10) If I copy text containing a label (e.g. of an equation) and paste into a (yellow) Note, the label is pasted unchanged. There is no warning message about the label being changed to label-1. The label in the Note can be referenced from within the Note or from wit

Re: Labels from inactive branches

2021-04-09 Thread Richard Kimberly Heck
On 4/9/21 11:12 AM, Scott Kostyshak wrote: > On Fri, Apr 09, 2021 at 05:34:06PM +0300, Yuriy Skalko wrote: >> Hi all, >> >> I'm working on a document with several branches that have many duplicated >> labels. Now all these labels are shown in the Cross-reference di

Re: Labels from inactive branches

2021-04-09 Thread Scott Kostyshak
On Fri, Apr 09, 2021 at 05:34:06PM +0300, Yuriy Skalko wrote: > Hi all, > > I'm working on a document with several branches that have many duplicated > labels. Now all these labels are shown in the Cross-reference dialog and it > doesn't matter if a branch is active or no

Labels from inactive branches

2021-04-09 Thread Yuriy Skalko
Hi all, I'm working on a document with several branches that have many duplicated labels. Now all these labels are shown in the Cross-reference dialog and it doesn't matter if a branch is active or not (duplicated labels have "DUPLICATE:" prefix). It would be much mor

Re: Find dialog button labels in 2.4.0 Alpha 3

2021-02-25 Thread Jürgen Spitzmüller
Thanks, this has been fixed already in master. Jürgen Paul A. Rubin schrieb am Mi., 24. Feb. 2021, 23:09: > The attached screenshot shows the find/replace dialog in Alpha 3 (on > Linux Mint, using Liv's packaged version). Note that the label "Replace" > in the replace next button is mostly off

Re: [LyX/master] Mark labels in non-outputting insets as inactive.

2020-10-03 Thread Scott Kostyshak
ly if it is in a non-outputting context > > itself). > > > > > > This indeed corresponds to the behavior I was expecting. > > > > The problem is that I am not sure how to mark "real" broken refs in > > that case (e.g., to labels in notes or commen

Re: [LyX/master] Mark labels in non-outputting insets as inactive.

2020-10-03 Thread Scott Kostyshak
case I would expect it to be marked as broken. > > > We can probably omit the mark if the ref is in the same non- > > > outputting > > > context (or generally if it is in a non-outputting context itself). > > > > This indeed corresponds to the behavior I was e

Re: [LyX/master] Mark labels in non-outputting insets as inactive.

2020-10-02 Thread Jürgen Spitzmüller
orresponds to the behavior I was expecting. > > The problem is that I am not sure how to mark "real" broken refs in > that case (e.g., to labels in notes or comments). As of 2330b4ce9ca7d references in non-outputting insets are never marked broken (even if they are arguably broken).

Re: [LyX/master] Mark labels in non-outputting insets as inactive.

2020-10-02 Thread Jürgen Spitzmüller
text itself). > > This indeed corresponds to the behavior I was expecting. The problem is that I am not sure how to mark "real" broken refs in that case (e.g., to labels in notes or comments). Jürgen > > Scott signature.asc Description: This is a digitally signed message part -- lyx-devel mailing list lyx-devel@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-devel

Re: [LyX/master] Mark labels in non-outputting insets as inactive.

2020-10-02 Thread Scott Kostyshak
On Fri, Oct 02, 2020 at 08:35:16AM +0200, Jürgen Spitzmüller wrote: > Am Donnerstag, den 01.10.2020, 17:21 -0400 schrieb Scott Kostyshak: > > Starting with this commit, if a deactivated branch has a reference to > > a label that's in the same branch, > > the reference is marked as "BROKEN". See att

Re: [LyX/master] Mark labels in non-outputting insets as inactive.

2020-10-01 Thread Jürgen Spitzmüller
Am Donnerstag, den 01.10.2020, 17:21 -0400 schrieb Scott Kostyshak: > Starting with this commit, if a deactivated branch has a reference to > a label that's in the same branch, > the reference is marked as "BROKEN". See attached. Actually, the ref _is_ "Broken" as the target label is in a non- out

Re: [LyX/master] Mark labels in non-outputting insets as inactive.

2020-10-01 Thread Scott Kostyshak
On Mon, Dec 31, 2018 at 06:32:10PM +0100, Juergen Spitzmueller wrote: > commit 1db5abbfbd38c8a709eefe63aea65e1297b7725e > Author: Juergen Spitzmueller > Date: Mon Dec 31 18:32:38 2018 +0100 > > Mark labels in non-outputting insets as inactive. > > Fixes: #

Re: [PATCH] Update labels and tooltips for moderncv layout

2020-07-07 Thread Richard Kimberly Heck
On 7/7/20 1:09 PM, Jürgen Spitzmüller wrote: > Am Dienstag, den 07.07.2020, 19:36 +0300 schrieb Yuval Deutscher: >> I hereby agree that my contributions to LyX be licensed under the >> General Public License, Version 2 or any later version. > Thank you very much. Committed to master. > > Riki, this

Re: [PATCH] Update labels and tooltips for moderncv layout

2020-07-07 Thread Jürgen Spitzmüller
Am Dienstag, den 07.07.2020, 19:36 +0300 schrieb Yuval Deutscher: > I hereby agree that my contributions to LyX be licensed under the > General Public License, Version 2 or any later version. Thank you very much. Committed to master. Riki, this is candidate for stable. Jürgen signature.asc De

Re: [PATCH] Update labels and tooltips for moderncv layout

2020-07-07 Thread Yuval Deutscher
nt, please contact the sender and delete all copies.* 0001-Update-labels-and-tooltips-for-moderncv-layout.patch Description: Binary data -- lyx-devel mailing list lyx-devel@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-devel

Re: [PATCH] Update labels and tooltips for moderncv layout

2020-07-07 Thread Jürgen Spitzmüller
Am Samstag, den 04.07.2020, 22:03 +0300 schrieb Yuval Deutscher: > Update the user-facing strings in modercv's layout according to the > documentation of the cventry command in moderncv. Thanks for this. Could you please re-send the patch as an attachment, and also add a license agreement assuring

[PATCH] Update labels and tooltips for moderncv layout

2020-07-04 Thread Yuval Deutscher
Update the user-facing strings in modercv's layout according to the documentation of the cventry command in moderncv. Signed-off-by: Yuval Deutscher --- lib/layouts/moderncv.layout | 18 +- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/lib/layouts/moderncv.layout

Re: [LyX/master] Do not consider deleted labels in ambiguity check

2018-12-29 Thread Jürgen Spitzmüller
Am Samstag, den 29.12.2018, 17:14 +0100 schrieb Jean-Marc Lasgouttes: > Stylistic remarks: > > * Why does linfo need to be static here? Looks like a cut and paste > issue. Yes, a relict from the old code. It does not need to be static indeed. Fixed. > * Is it necessary to initialize references?

Re: [LyX/master] Do not consider deleted labels in ambiguity check

2018-12-29 Thread Jean-Marc Lasgouttes
Le 29/12/2018 à 10:10, Juergen Spitzmueller a écrit : commit 3ae6bff5389d61b8f471fa337d5a016a725cf7d5 Author: Juergen Spitzmueller Date: Sat Dec 29 10:08:02 2018 +0100 Do not consider deleted labels in ambiguity check -void Buffer::setInsetLabel(docstring const & label, InsetL

Re: Font of Labels in Section Headings

2017-05-29 Thread Richard Heck
On 05/29/2017 04:28 PM, Scott Kostyshak wrote: > On Mon, May 29, 2017 at 02:03:10PM -0400, Richard Heck wrote: >> In 2.3.x, the font of a label in a section heading matches that of the >> section heading (e.g., large and bold), which leads it to consume more >> space than it did in 2.2.x, when it w

Re: Font of Labels in Section Headings

2017-05-29 Thread Scott Kostyshak
On Mon, May 29, 2017 at 02:03:10PM -0400, Richard Heck wrote: > In 2.3.x, the font of a label in a section heading matches that of the > section heading (e.g., large and bold), which leads it to consume more > space than it did in 2.2.x, when it was just normal size. I would > suggest that this be

Font of Labels in Section Headings

2017-05-29 Thread Richard Heck
In 2.3.x, the font of a label in a section heading matches that of the section heading (e.g., large and bold), which leads it to consume more space than it did in 2.2.x, when it was just normal size. I would suggest that this be switched back. Richard

Re: #6563: Change tracking and moving labels

2016-10-16 Thread UD
labels -+ Reporter: venik| Owner: vfr Type: defect | Status: new Priority: high | Milestone: 2.2.3 Component: changes | Version: 1.6.5 Severity: normal | Resolution: Keywords: patch

Re: #9188: Labels and References Panel cannot close

2014-07-10 Thread Marc de Lussanet
I did not yet upgrade to 2.1 because it takes exceedingly long to start on my MacBook Pro (Mavericks). In the 2.1 version the issue seems to be solved. On 10 Jul 2014, at 11:51 , LyX Ticket Tracker wrote: > #9188: Labels and References Panel cannot cl

Re: equation labels in 2.1.0beta1

2013-08-05 Thread Scott Kostyshak
label, eq:Def[a], is >> being output as: >> >> \label{eq:Def=5Ba=5D} >> >> So it looks as they certain characters are being escaped here. >> Intentionally? The same happens with all other labels. > > > This does look to be intentional. (I

Re: equation labels in 2.1.0beta1

2013-08-05 Thread Richard Heck
x27;s not forgotten? If you look at View> Source, you can see that the label, eq:Def[a], is being output as: \label{eq:Def=5Ba=5D} So it looks as they certain characters are being escaped here. Intentionally? The same happens with all other labels. This does look to be int

Re: equation labels in 2.1.0beta1

2013-08-05 Thread Richard Heck
; Source, you can see that the label, eq:Def[a], is being output as: \label{eq:Def=5Ba=5D} So it looks as they certain characters are being escaped here. Intentionally? The same happens with all other labels. Richard

Re: equation labels in 2.1.0beta1

2013-08-05 Thread Pavel Sanda
John Kennan wrote: > When instant preview is on, an equation label with square brackets shows up > as hex codes. Confirmed as regression to 2.0.x. Please can you create bug and attach the file there so it's not forgotten? Pavel

equation labels in 2.1.0beta1

2013-08-02 Thread John Kennan
When instant preview is on, an equation label with square brackets shows up as hex codes. John -- John Kennan Department of Economics University of Wisconsin Social Science Building 1180 Observatory Drive Madison, WI 53706 Phone: 608-262-5393 Fax: 608-263-3876 or 608-262-2033 http://www.ssc

Re: Any way to have custom inset labels always displayed?

2012-12-07 Thread Richard Heck
On 12/07/2012 09:10 AM, Jürgen Spitzmüller wrote: Jürgen Spitzmüller wrote: 2012/12/4 Jean-Marc Lasgouttes : Or we could always insert them opened. I would not object. Jürgen JMarc I'll do that change in trunk if I hear no objections. This looks like a good idea to me. rh

Re: Any way to have custom inset labels always displayed?

2012-12-07 Thread Jürgen Spitzmüller
Jürgen Spitzmüller wrote: > 2012/12/4 Jean-Marc Lasgouttes : > > Or we could always insert them opened. > > I would not object. > > Jürgen > > > JMarc I'll do that change in trunk if I hear no objections. Jürgen

Re: Modifying HTML for Figure Labels, Wraps

2011-12-15 Thread Richard Heck
On 12/15/2011 11:34 AM, Rob Oakes wrote: Dear Developers, I've been working on modifying the XHTML created by LyX to be more compliant with HTML5. In the process, though, I've run into a couple of snags, particularly with wrap floats and figure labels. In way of experimentation, I

Modifying HTML for Figure Labels, Wraps

2011-12-15 Thread Rob Oakes
Dear Developers, I've been working on modifying the XHTML created by LyX to be more compliant with HTML5. In the process, though, I've run into a couple of snags, particularly with wrap floats and figure labels. In way of experimentation, I would like to use the tag for figures a

Re: GuiRef.cpp and BROKEN: labels

2009-09-02 Thread Tommaso Cucinotta
Abdelrazak Younes ha scritto: What about the buffer().isInternal() or buffer().internal() method ? Afterward, implementation may be changed as appropriate. OK for the new buffer().isInternal() but this method should be used in the same commit. I guess this is in TocBackend.cpp: - buffer_-

Re: GuiRef.cpp and BROKEN: labels

2009-09-02 Thread Abdelrazak Younes
Jean-Marc Lasgouttes wrote: Le 28/08/2009 08:40, Abdelrazak Younes a écrit : Vincent van Ravesteijn wrote: Most of all, I don't like the randomness with which this is done. All LFUNs handled in LyXFunc should relate to the documentBuffer(). Now some LFUNs are corrected and others are not. At le

Re: GuiRef.cpp and BROKEN: labels

2009-09-02 Thread Abdelrazak Younes
Tommaso Cucinotta wrote: Vincent van Ravesteijn ha scritto: The comment was about r31219. I really don't like that commit because: 1) I don't want to spoil the code with an infinite amount of if (buffer().fileName().extension() == "internal") Absolutely agree. At least, it should be "if (buff

Re: GuiRef.cpp and BROKEN: labels

2009-08-30 Thread Tommaso Cucinotta
Vincent van Ravesteijn ha scritto: The comment was about r31219. I really don't like that commit because: 1) I don't want to spoil the code with an infinite amount of if (buffer().fileName().extension() == "internal") Absolutely agree. At least, it should be "if (buffer().isInternal())". 2) th

Re: GuiRef.cpp and BROKEN: labels

2009-08-28 Thread Jean-Marc Lasgouttes
Le 28/08/2009 08:40, Abdelrazak Younes a écrit : Vincent van Ravesteijn wrote: Most of all, I don't like the randomness with which this is done. All LFUNs handled in LyXFunc should relate to the documentBuffer(). Now some LFUNs are corrected and others are not. At least the following should all

Re: GuiRef.cpp and BROKEN: labels

2009-08-27 Thread Abdelrazak Younes
Vincent van Ravesteijn wrote: My guess is that you wanted to refer to the LyXView.{h,cpp} patch which introduces LyXView::documentBufferView() where I actually violated the protocol, apologies. Actually, I was probably mislead by a comment from Vincent, I thought he was talking about thi

Re: GuiRef.cpp and BROKEN: labels

2009-08-27 Thread Vincent van Ravesteijn
My guess is that you wanted to refer to the LyXView.{h,cpp} patch which introduces LyXView::documentBufferView() where I actually violated the protocol, apologies. Actually, I was probably mislead by a comment from Vincent, I thought he was talking about this GuiRef patch. The comment w

Re: GuiRef.cpp and BROKEN: labels

2009-08-27 Thread Abdelrazak Younes
On 27/08/2009 23:07, Abdelrazak Younes wrote: On 27/08/2009 22:08, Tommaso Cucinotta wrote: On a related note, I just wanted to "complete" (but not commit) the patch by: -) renaming the LyXView::view() method to LyXView::currentBufferView() [ or LyXView::selectedBufferView() might constitute

Re: GuiRef.cpp and BROKEN: labels

2009-08-27 Thread Abdelrazak Younes
On 27/08/2009 22:08, Tommaso Cucinotta wrote: Abdelrazak Younes ha scritto: Tommaso Cucinotta wrote: when clicking on a broken reference to label, the current reference is shown as BROKEN: also in the GuiRef.cpp dialog, but when clicking on it (i.e., confirming its value -- for example, becaus

Re: GuiRef.cpp and BROKEN: labels

2009-08-27 Thread Tommaso Cucinotta
Abdelrazak Younes ha scritto: Tommaso Cucinotta wrote: when clicking on a broken reference to label, the current reference is shown as BROKEN: also in the GuiRef.cpp dialog, but when clicking on it (i.e., confirming its value -- for example, because I'm going Hello Tommaso, Even if you are a

Re: GuiRef.cpp and BROKEN: labels

2009-08-24 Thread Abdelrazak Younes
Tommaso Cucinotta wrote: Hello, when clicking on a broken reference to label, the current reference is shown as BROKEN: also in the GuiRef.cpp dialog, but when clicking on it (i.e., confirming its value -- for example, because I'm going to add the label just a few seconds afterward), the "BRO

GuiRef.cpp and BROKEN: labels

2009-08-24 Thread Tommaso Cucinotta
Hello, when clicking on a broken reference to label, the current reference is shown as BROKEN: also in the GuiRef.cpp dialog, but when clicking on it (i.e., confirming its value -- for example, because I'm going to add the label just a few seconds afterward), the "BROKEN: Ref: " label is ente

Re: [patch] Bug #2969. Double labels appear on empty lines of multi-line equations

2009-07-26 Thread Jürgen Spitzmüller
Jürgen Spitzmüller wrote: > > Hmm, that's the problem, the action that would lead to this bug is not > > possible anymore. > > At least it is possible without your patch. What exactly doesn't work? I verified the bug didn't come back with your commit, so I guess you can commit this to branch as w

Re: [patch] Bug #2969. Double labels appear on empty lines of multi-line equations

2009-07-26 Thread Jürgen Spitzmüller
Vincent van Ravesteijn wrote: > > However, your explanations strike me sensible. Just check the reported > > undo bug doesn't come back. > > > > > > Hmm, that's the problem, the action that would lead to this bug is not > possible anymore. At least it is possible without your patch. What exactly

Re: [patch] Bug #2969. Double labels appear on empty lines of multi-line equations

2009-07-26 Thread Andre Poenitz
On Sun, Jul 26, 2009 at 10:21:47PM +0200, Vincent van Ravesteijn wrote: > As to the proposed patch, I'd like to hear the opinion of math users. >>> After some further investigation I found out that the bug was introduced >>> in changeset 10553: "Output \\ at the end of the last lin

Re: [patch] Bug #2969. Double labels appear on empty lines of multi-line equations

2009-07-26 Thread Vincent van Ravesteijn
As to the proposed patch, I'd like to hear the opinion of math users. After some further investigation I found out that the bug was introduced in changeset 10553: "Output \\ at the end of the last line if it is empty (fixes bug 2067)". This is wrong, because outputting an extra "\\" woul

Re: [patch] Bug #2969. Double labels appear on empty lines of multi-line equations

2009-07-26 Thread Jürgen Spitzmüller
Vincent van Ravesteijn wrote: > > As to the proposed patch, I'd like to hear the opinion of math users. > > After some further investigation I found out that the bug was introduced > in changeset 10553: "Output \\ at the end of the last line if it is > empty (fixes bug 2067)". This is wrong, becaus

Re: [patch] Bug #2969. Double labels appear on empty lines of multi-line equations

2009-07-26 Thread Vincent van Ravesteijn
and the patch. Index: C:/Users/Vincent/OpenSource/LyX/svn-filename/src/mathed/InsetMathGrid.cpp === --- C:/Users/Vincent/OpenSource/LyX/svn-filename/src/mathed/InsetMathGrid.cpp (revision 30748) +++ C:/Users/Vincent/OpenSourc

Re: [patch] Bug #2969. Double labels appear on empty lines of multi-line equations

2009-07-26 Thread Vincent van Ravesteijn
As to the proposed patch, I'd like to hear the opinion of math users. After some further investigation I found out that the bug was introduced in changeset 10553: "Output \\ at the end of the last line if it is empty (fixes bug 2067)". This is wrong, because outputting an extra "\\" would mea

Re: [patch] Bug #2969. Double labels appear on empty lines of multi-line equations

2009-07-26 Thread Jürgen Spitzmüller
Uwe Stöhr wrote: > > It looks like someone spent some effort not to output &'s if they are > > not necessary. André: http://www.lyx.org/trac/changeset/5004 > > Why would it be more correct to output all &'s ? Isn't it > > much cleaner not to output them ? > > It is not clean and even wrong. That

Re: [patch] Bug #2969. Double labels appear on empty lines of multi-line equations

2009-07-25 Thread Uwe Stöhr
Vincent van Ravesteijn schrieb: Besides this, have a look at the LaTeX companion 2nd edition. Ah, I always wondered what this LaTeX thing is you were all talking about. This book is the best LaTeX book I know. You find there not only the usual LaTeX things but also special solutions and des

Re: [patch] Bug #2969. Double labels appear on empty lines of multi-line equations

2009-07-25 Thread Jürgen Spitzmüller
Vincent van Ravesteijn wrote: > > Besides this, have a look at the LaTeX companion 2nd edition. > > Ah, I always wondered what this LaTeX thing is you were all talking about. And it isn't even friday :-) Jürgen

Re: [patch] Bug #2969. Double labels appear on empty lines of multi-line equations

2009-07-25 Thread Vincent van Ravesteijn
Besides this, have a look at the LaTeX companion 2nd edition. Ah, I always wondered what this LaTeX thing is you were all talking about. Vincent

Re: [patch] Bug #2969. Double labels appear on empty lines of multi-line equations

2009-07-25 Thread Uwe Stöhr
Vincent van Ravesteijn schrieb: It looks like someone spent some effort not to output &'s if they are not necessary. Why would it be more correct to output all &'s ? Isn't it much cleaner not to output them ? It is not clean and even wrong. That we not output the column separators causes the

Re: [patch] Bug #2969. Double labels appear on empty lines of multi-line equations

2009-07-25 Thread Vincent van Ravesteijn
Uwe Stöhr schreef: > Is the attached ok ? This only cures the symptom. The bug is that mathed doesn't output a "&" for every column, no matter if the row is empty or not. Create for example a multiline equation where the first row reads "a = b = c", the second row is empty, and the third row

Re: [patch] Bug #2969. Double labels appear on empty lines of multi-line equations

2009-07-24 Thread Uwe Stöhr
> Is the attached ok ? This only cures the symptom. The bug is that mathed doesn't output a "&" for every column, no matter if the row is empty or not. Create for example a multiline equation where the first row reads "a = b = c", the second row is empty, and the third row reads "x = y = z" L

[patch] Bug #2969. Double labels appear on empty lines of multi-line equations

2009-07-24 Thread Vincent van Ravesteijn
Is the attached ok ? Vincent Index: X:/lyx-devel/src/mathed/InsetMathGrid.cpp === --- X:/lyx-devel/src/mathed/InsetMathGrid.cpp (revision 30609) +++ X:/lyx-devel/src/mathed/InsetMathGrid.cpp (working copy) @@ -654,6 +654,9 @@

Re: Translating the labels

2009-06-24 Thread rgheck
Michal Skrzypek wrote: Dear LyX developers, I have some question: I will soon need to write a paper in Polish, but currently there is no way of having "Theorem", "Proposition" and alike in Polish language other than translating layouts manually (or have I missed something?). What is the

Translating the labels

2009-06-24 Thread Michal Skrzypek
Dear LyX developers, I have some question: I will soon need to write a paper in Polish, but currently there is no way of having "Theorem", "Proposition" and alike in Polish language other than translating layouts manually (or have I missed something?). What is the best approach to this tas

Labels and references in read-only documents

2009-05-03 Thread Pavel Sanda
hi, labels and references in read-only documents seem no to work. if you click on either on label or crosref dialog they appear empty. this can be seen if you work with eg manuals if lyx is properly installed (wont be seen on checkout-ed tree). pavel

Re: Auto-generation of Labels

2009-04-15 Thread Helge Hafting
ability to make a label, because it will still have some uses. But lots of labels could be automatic: Writer wants to reference something 1. The writer bring up a list of all things that can be referenced. 2. The writer select an item, perhaps using that "right-click->copy as r

Re: Auto-generation of Labels

2009-04-14 Thread Guenter Milde
On 2009-04-13, Vincent van Ravesteijn wrote: >> Another solution would be a kind of "implicit" label, that doesn't >> actually surface in LyX at all. Every section-type entity, and maybe >> other things, too---figures, tables, etc---could have an "implicit" >> label which would get generated w

Re: Auto-generation of Labels

2009-04-14 Thread Jean-Marc Lasgouttes
rgheck writes: > The labels can be output only if they're referenced. That might need > some kind of double pass, but I'll bet the reference cache could be > used for this purpose already. I guess validate() can take care of that. JMarc

Re: Auto-generation of Labels

2009-04-13 Thread rgheck
are lots of problems any way you try to do this. And I think you're right that the "invisible inset" approach won't work. So we're back to the other idea: EVERY section, figure, etc, always has a label associated with it, but this label won't be an inset; it'll

Re: Auto-generation of Labels

2009-04-13 Thread rgheck
The label is just a piece of machinery I don't care about. When I write a document, why should the list of labels be polluted with labels I don't reference? This way writing a book would be horror. But when the automatic labels don't appear in the list of referable labels, then

Re: Auto-generation of Labels

2009-04-13 Thread Uwe Stöhr
e discussions. When I write a document, why should the list of labels be polluted with labels I don't reference? > We won't add labels you don't refer to. I thought I said " 'Insert reference to section', that will insert a label and a reference at once." I

Re: Auto-generation of Labels

2009-04-13 Thread Vincent van Ravesteijn
to section", that will > insert a label and a reference at once. Or one can think of a second tab in the cross-reference > dialog showing all sections too. We've had this discussion several times the last years. Auto-labeling is not useful. ... says Uwe... When I write a docum

Re: Auto-generation of Labels

2009-04-13 Thread Uwe Stöhr
. Or one can think of a second tab in the cross-reference > dialog showing all sections too. We've had this discussion several times the last years. Auto-labeling is not useful. When I write a document, why should the list of labels be polluted with labels I don't reference? This way

Re: Auto-generation of Labels

2009-04-13 Thread Vincent van Ravesteijn
a label ? Maybe if it's not, we can add it? Duplicate labels aren't such a problem, really. Technically not, but if I have a document in which multiple labels point to the same thing, I will get confused or I will make errors. Another solution would be a kind of "implicit"

Auto-generation of Labels

2009-04-13 Thread Richard Heck
label doesn't have to be in the section environment itself. Maybe if it's not, we can add it? Duplicate labels aren't such a problem, really. Another solution would be a kind of "implicit" label, that doesn't actually surface in LyX at all. Every section-type entit

Re: Labels/Crossrefs problem

2008-10-28 Thread rgheck
Vincent van Ravesteijn - TNW wrote: I don't see any issue here, but I'd like to hear from Abdel. I do. thebuffer should maybe read the_buffer, and both thebuffer and num should be constified. I'm not sure what you mean about the first bit, but I did the second. rh

RE: Labels/Crossrefs problem

2008-10-28 Thread Vincent van Ravesteijn - TNW
-Original Message- From: rgheck [mailto:[EMAIL PROTECTED] Sent: dinsdag 28 oktober 2008 16:39 To: Abdelrazak Younes Cc: Vincent van Ravesteijn - TNW; LyX Devel List Subject: Re: Labels/Crossrefs problem Abdelrazak Younes wrote: > On 28/10/2008 14:51, rgheck wrote: >> Vi

Re: Labels/Crossrefs problem

2008-10-28 Thread rgheck
(in doc2) then the labels in the cross-ref dialog are those from doc1. This is solved by the attached patch. We should not restore the last used buffer if the active buffer has changed. Especially not when you cannot choose the buffer which is now still the case. I don't see any issue

Re: Labels/Crossrefs problem

2008-10-28 Thread Abdelrazak Younes
On 28/10/2008 14:51, rgheck wrote: Vincent van Ravesteijn wrote: On Sat, 2008-10-25 at 14:55 +0200, Vincent van Ravesteijn wrote: Hi all, A. 1. create a new document (doc1), 2. insert a label, 3. insert a cross-ref 4. create a new document (doc2) 5. insert a cross-ref (in doc2) then the labels

Re: Labels/Crossrefs problem

2008-10-28 Thread rgheck
Vincent van Ravesteijn wrote: On Sat, 2008-10-25 at 14:55 +0200, Vincent van Ravesteijn wrote: Hi all, A. 1. create a new document (doc1), 2. insert a label, 3. insert a cross-ref 4. create a new document (doc2) 5. insert a cross-ref (in doc2) then the labels in the cross-ref dialog are

Re: Labels/Crossrefs problem

2008-10-26 Thread Vincent van Ravesteijn
On Sat, 2008-10-25 at 14:55 +0200, Vincent van Ravesteijn wrote: > Hi all, > > A. > 1. create a new document (doc1), > 2. insert a label, > 3. insert a cross-ref > 4. create a new document (doc2) > 5. insert a cross-ref (in doc2) > then the labels in the cross-ref

Re: The list and section labels disappear in InsetCollapsables

2008-10-25 Thread rgheck
Vincent van Ravesteijn wrote: On Sat, 2008-10-25 at 11:32 -0400, rgheck wrote: Vincent van Ravesteijn wrote: On Sat, 2008-10-25 at 11:12 -0400, rgheck wrote: Why isn't red colored text being painted in a footnote ? You want it to be? Wel

Re: The list and section labels disappear in InsetCollapsables

2008-10-25 Thread Vincent van Ravesteijn
On Sat, 2008-10-25 at 11:32 -0400, rgheck wrote: > Vincent van Ravesteijn wrote: > > On Sat, 2008-10-25 at 11:12 -0400, rgheck wrote: > > > > > >>> Why isn't red colored text being painted in a footnote ? > >>> > >>> > >>> > >> You want it to be? > >> > > > > Well, if I choose to

Re: The list and section labels disappear in InsetCollapsables

2008-10-25 Thread Abdelrazak Younes
On 25/10/2008 16:57, Vincent van Ravesteijn wrote: Why do we have the InsetFootLike class ? History. Part of my black list... :-) Why does InsetFootLike::draw do what it does ? Same... the idea is (IIUC) that the font used is always fixed and independent of the context around the

Re: The list and section labels disappear in InsetCollapsables

2008-10-25 Thread rgheck
Vincent van Ravesteijn wrote: On Sat, 2008-10-25 at 11:12 -0400, rgheck wrote: Why isn't red colored text being painted in a footnote ? You want it to be? Well, if I choose to make text red (and in the LaTeX output it is), then I expect it to be drawn with a nice red color

Re: The list and section labels disappear in InsetCollapsables

2008-10-25 Thread Vincent van Ravesteijn
On Sat, 2008-10-25 at 11:12 -0400, rgheck wrote: > > Why isn't red colored text being painted in a footnote ? > > > > > You want it to be? Well, if I choose to make text red (and in the LaTeX output it is), then I expect it to be drawn with a nice red color on the screen. > rh > Vincent

Re: The list and section labels disappear in InsetCollapsables

2008-10-25 Thread rgheck
Vincent van Ravesteijn wrote: On Sat, 2008-10-25 at 10:43 -0400, rgheck wrote: Vincent van Ravesteijn wrote: On Sat, 2008-10-25 at 16:18 +0200, Vincent van Ravesteijn wrote: Hi all, The list and section labels disappear in InsetCollapsables Well, that is

  1   2   3   4   >