[LyX/master] Mark labels in non-outputting insets as inactive.
Scott Kostyshak
skostysh at lyx.org
Sat Oct 3 14:03:06 UTC 2020
On Sat, Oct 03, 2020 at 08:18:06AM +0200, Jürgen Spitzmüller wrote:
> Am Freitag, den 02.10.2020, 16:09 -0400 schrieb 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 attached.
> > >
> > > Actually, the ref _is_ "Broken" as the target label is in a non-
> > > outputting context.
> >
> > I guess I object to the definition of "Broken" then :)
>
> Also if the ref is outside the branch? Then you get a dangling
> reference in the output.
In that 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 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).
I see, sounds too tricky to solve every case.
Scott
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: not available
URL: <http://lists.lyx.org/pipermail/lyx-devel/attachments/20201003/cb189751/attachment-0001.asc>
More information about the lyx-devel
mailing list