Re: Searching in math macros

2015-10-02 Thread Liviu Andronic
On Thu, Oct 1, 2015 at 11:49 PM, Guillaume Munch  wrote:
> Le 01/10/2015 12:03, David a écrit :
>>
>> Dear Lyx users,
>>
>> I work on a document that contains a long list of math macros
>> defining various mathematical symbols. I would like to search in
>> this list.
>>
>> Please consider the example Lyx file attached. How could I find, for
>>  example, \speedOfLight ?  I have tried Edit > Find (Quick) and Edit
>>>
>>> Find (Advanced), but without luck.
>>
>>
>> Do you know a way to do this? Thanks in advance.
>>
>> Regards, David
>>
>
> I often found myself in the same situation and there was no solution to my
> knowledge.
>
> As of now, there is a list of math macros in the navigation menu and the
> outline pane. Especially the outline pane works well for that: math macros
> can now be accessed and ordered either by appearance or alphabetically, and
> can be searched for using the filter.
>
Is a list of math macros very different from a list of ERT insets?
Will both contain cryptic code?

Liviu


> One more reason to be impatient for the 2.2 release.
>
>
> Guillaume
>



-- 
Do you think you know what math is?
http://www.ideasroadshow.com/issues/ian-stewart-2013-08-02
Or what it means to be intelligent?
http://www.ideasroadshow.com/issues/john-duncan-2013-08-30
Think again:
http://www.ideasroadshow.com/library


Re: Searching in math macros

2015-10-02 Thread David
Am 01.10.2015 um 23:49 schrieb Guillaume Munch:

> 
> As of now, there is a list of math macros in the navigation menu and the
> outline pane. Especially the outline pane works well for that: math
> macros can now be accessed and ordered either by appearance or
> alphabetically, and can be searched for using the filter.

Oh great, thanks a ton for this tip!

David




Re: Searching in math macros

2015-10-02 Thread Guenter Milde
On 2015-10-02, Liviu Andronic wrote:
> On Thu, Oct 1, 2015 at 11:49 PM, Guillaume Munch  wrote:
>> Le 01/10/2015 12:03, David a écrit :

...

>> As of now, there is a list of math macros in the navigation menu and the
>> outline pane. Especially the outline pane works well for that: math macros
>> can now be accessed and ordered either by appearance or alphabetically, and
>> can be searched for using the filter.

> Is a list of math macros very different from a list of ERT insets?
> Will both contain cryptic code?

Every math-macro has a unique name (as it defines a macro which is later
used by this name), while an ERT inset can contain arbitrary
LaTeX code, usually just calling already defined macros.


Günter



Re: Searching in math macros

2015-10-02 Thread Liviu Andronic
On Fri, Oct 2, 2015 at 10:40 AM, Guenter Milde  wrote:
> On 2015-10-02, Liviu Andronic wrote:
>> On Thu, Oct 1, 2015 at 11:49 PM, Guillaume Munch  wrote:
>>> Le 01/10/2015 12:03, David a écrit :
>
> ...
>
>>> As of now, there is a list of math macros in the navigation menu and the
>>> outline pane. Especially the outline pane works well for that: math macros
>>> can now be accessed and ordered either by appearance or alphabetically, and
>>> can be searched for using the filter.
>
>> Is a list of math macros very different from a list of ERT insets?
>> Will both contain cryptic code?
>
> Every math-macro has a unique name (as it defines a macro which is later
> used by this name), while an ERT inset can contain arbitrary
> LaTeX code, usually just calling already defined macros.
>
Right. So this is about a collection of macro names. Same approach
would be useful with Sweave/knitr chunks, using their labels (and
numbering, especially when labels are missing) in the Outliner.

Liviu


>
> Günter
>



-- 
Do you think you know what math is?
http://www.ideasroadshow.com/issues/ian-stewart-2013-08-02
Or what it means to be intelligent?
http://www.ideasroadshow.com/issues/john-duncan-2013-08-30
Think again:
http://www.ideasroadshow.com/library


Re: Searching in math macros

2015-10-02 Thread Guillaume Munch

Le 02/10/2015 09:58, Liviu Andronic a écrit :

On Fri, Oct 2, 2015 at 10:40 AM, Guenter Milde  wrote:

On 2015-10-02, Liviu Andronic wrote:

On Thu, Oct 1, 2015 at 11:49 PM, Guillaume Munch  wrote:

Le 01/10/2015 12:03, David a écrit :


...


As of now, there is a list of math macros in the navigation menu and the
outline pane. Especially the outline pane works well for that: math macros
can now be accessed and ordered either by appearance or alphabetically, and
can be searched for using the filter.



Is a list of math macros very different from a list of ERT insets?
Will both contain cryptic code?


Every math-macro has a unique name (as it defines a macro which is later
used by this name), while an ERT inset can contain arbitrary
LaTeX code, usually just calling already defined macros.


Right. So this is about a collection of macro names. Same approach
would be useful with Sweave/knitr chunks, using their labels (and
numbering, especially when labels are missing) in the Outliner.

Liviu




Yes if we implement lists of custom insets then it would be easy to make 
an inset argument behave like a caption from the outliner point of view 
using the new 2.2 implementation. This can be discussed in 
.


Guillaume



Searching in math macros

2015-10-01 Thread David
Dear Lyx users,

I work on a document that contains a long list of math macros defining
various mathematical symbols. I would like to search in this list.

Please consider the example Lyx file attached. How could I find, for
example, \speedOfLight ?  I have tried Edit > Find (Quick) and Edit >
Find (Advanced), but without luck.

Do you know a way to do this? Thanks in advance.

Regards,
David



symbols.lyx
Description: application/lyx


Re: Searching in math macros

2015-10-01 Thread Guillaume Munch

Le 01/10/2015 12:03, David a écrit :

Dear Lyx users,

I work on a document that contains a long list of math macros
defining various mathematical symbols. I would like to search in
this list.

Please consider the example Lyx file attached. How could I find, for
 example, \speedOfLight ?  I have tried Edit > Find (Quick) and Edit

Find (Advanced), but without luck.


Do you know a way to do this? Thanks in advance.

Regards, David



I often found myself in the same situation and there was no solution to 
my knowledge.


As of now, there is a list of math macros in the navigation menu and the 
outline pane. Especially the outline pane works well for that: math 
macros can now be accessed and ordered either by appearance or 
alphabetically, and can be searched for using the filter.


One more reason to be impatient for the 2.2 release.


Guillaume