# [OS X TeX] Smart search

George Gratzer gratzer at me.com
Sat Dec 19 01:45:15 CET 2015

Sleeping is overrated

> On Dec 18, 2015, at 7:14 PM, Vamos, Peter <P.Vamos at exeter.ac.uk> wrote:
>
> George,
>
>> On 18 Dec 2015, at 22:05, George Gratzer <gratzer at me.com> wrote:
>>
>> My lattice book is almost ready. For maps I use functional notation:
>>
>> \alpha(x)
>>
>> etc. I’m thinking of changing it to a simple prefix:
>>
>> \alpha x
>>
>> This is easy to do, except that there are a few thousand instances of
>>
>> \alpha'(x)
>>
>> \alpha(x_2)
>>
>> and so on.
>>
>> How could I get the job done the best way?
>
> I would use grep. It is getting late here (UK) and my grep is rusty but I am sure there are plenty of people on this list who could cook up the code for you.
>
> Peter
>
> ----------- Please Consult the Following Before Posting -----------
> TeX FAQ: http://www.tex.ac.uk/faq <http://www.tex.ac.uk/faq>
> List Reminders and Etiquette: https://www.esm.psu.edu/~gray/tex/ <https://www.esm.psu.edu/~gray/tex/>
> List Archives: http://dir.gmane.org/gmane.comp.tex.macosx <http://dir.gmane.org/gmane.comp.tex.macosx>
>                https://email.esm.psu.edu/pipermail/macosx-tex/ <https://email.esm.psu.edu/pipermail/macosx-tex/>
> TeX on Mac OS X Website: http://mactex-wiki.tug.org/ <http://mactex-wiki.tug.org/>
> List Info: https://email.esm.psu.edu/mailman/listinfo/macosx-tex <https://email.esm.psu.edu/mailman/listinfo/macosx-tex>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://tug.org/pipermail/macostex-archives/attachments/20151218/ed35f28f/attachment.html>