search math macros

Kornel Benko kornel at lyx.org
Thu Jan 25 12:10:10 UTC 2024


Am Wed, 24 Jan 2024 11:05:38 -0500
schrieb Richard Kimberly Heck <rikiheck at gmail.com>:

> On 1/24/24 03:09, Kornel Benko wrote:
> > Am Mon, 22 Jan 2024 17:35:25 -0500
> > schrieb Richard Kimberly Heck <rikiheck at gmail.com>:
> >  
> >> On 1/22/24 16:27, Michael Dean Pugh wrote:  
> >>> I've been using LyX for a number of years.  Because I was reusing a
> >>> lot of math macros, I started putting them in a separate file and
> >>> loading that file at the beginning of each document with an input
> >>> statement.  Over time, the list has grown and I wanted to search for a
> >>> macro to see how I had defined it (probably because I had since found
> >>> a better way).  But no configuration in Advanced Search that I have
> >>> tried will allow me to search math macros.  Am I missing something or
> >>> is this a feature that might be added in the future?  
> >> OK, this is a bit weird: If you USE the macro, then the definition will
> >> be found. So use it temporarily.
> >>
> >>
> >> I think I understand why this happens, but it is a bit of a long story,
> >> and not a terribly interesting one. I'm not sure it is even possible to
> >> fix this.
> >>
> >>
> >> Riki
> >>  
> > I think the reason is that the macro definitions are not part of any latex output.  
> 
> Yes, that's what I assumed. Though what's odd is that the definition IS 
> found if it is used. What's not found is the actual usage, at least in 
> my testing.
> 
> Riki
> 
> 

Ouch. Should have been exactly reversed (fading memory).

	Kornel
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 488 bytes
Desc: Digitale Signatur von OpenPGP
URL: <http://lists.lyx.org/pipermail/lyx-users/attachments/20240125/1fe07cab/attachment.asc>


More information about the lyx-users mailing list