Re: Search & Replace in Math Mode

2014-08-21 Thread Tommaso Cucinotta
On 21/08/14 22:45, Jacob Shapiro wrote: > It would be nice to have a search & replace within math mode. > It could work document wide or only in currently focused math-box. > > It would allow you to search and replace via latex commands, > for instance, search ^{2} and replace with _{2}. > > Ma

Re: Search & Replace in Math Mode

2014-08-21 Thread Richard Heck
On 08/21/2014 07:48 PM, Jacob Shapiro wrote: Thanks for your reponse. Interestingly, it seems to already sift through math-code, but the escaping code is somewhat messy. For example, if you try to replace \hbar with 'word' it will work, but if you try to replace 'word' with \hbar it will plac

Re: Search & Replace in Math Mode

2014-08-21 Thread Jacob Shapiro
Thanks for your reponse. Interestingly, it seems to already sift through math-code, but the escaping code is somewhat messy. For example, if you try to replace \hbar with 'word' it will work, but if you try to replace 'word' with \hbar it will place \\hbar. I bet _that_ cannot be too hard t

Re: Search & Replace in Math Mode

2014-08-21 Thread Scott Kostyshak
On Thu, Aug 21, 2014 at 5:45 PM, Jacob Shapiro wrote: > It would be nice to have a search & replace within math mode. > It could work document wide or only in currently focused math-box. LyX has this. It's called "Advanced Find". You can access it through the edit menu or with ctrl + shift + F.

Search & Replace in Math Mode

2014-08-21 Thread Jacob Shapiro
It would be nice to have a search & replace within math mode. It could work document wide or only in currently focused math-box. It would allow you to search and replace via latex commands, for instance, search ^{2} and replace with _{2}. Maybe the search box itself could have a math-editor s

Re: [LyX/master] Add QtMacExtras detection for Qt5 support

2014-08-21 Thread Stephan Witt
Am 21.08.2014 um 19:50 schrieb Kornel Benko : > Am Donnerstag, 21. August 2014 um 19:43:42, schrieb Stephan Witt > >> Am 21.08.2014 um 19:31 schrieb Stephan Witt : >> >>> No. For Mac builds it is needed to compile Mac extras dependencies like >>> QMacStyle. >> >> >> I have to correct myself.

Re: [LyX/master] Add QtMacExtras detection for Qt5 support

2014-08-21 Thread Kornel Benko
Am Donnerstag, 21. August 2014 um 19:50:19, schrieb Stephan Witt > Am 21.08.2014 um 19:41 schrieb Kornel Benko : > > > Am Donnerstag, 21. August 2014 um 19:31:24, schrieb Stephan Witt > > > >> Am 21.08.2014 um 18:58 schrieb Kornel Benko : > >> > >>> Am Donnerstag, 21. August 2014 um 18:22:46,

Re: [LyX/master] Add QtMacExtras detection for Qt5 support

2014-08-21 Thread Stephan Witt
Am 21.08.2014 um 19:41 schrieb Kornel Benko : > Am Donnerstag, 21. August 2014 um 19:31:24, schrieb Stephan Witt > >> Am 21.08.2014 um 18:58 schrieb Kornel Benko : >> >>> Am Donnerstag, 21. August 2014 um 18:22:46, schrieb Stephan Witt >>> + if(APPLE) +

Re: [LyX/master] Add QtMacExtras detection for Qt5 support

2014-08-21 Thread Kornel Benko
Am Donnerstag, 21. August 2014 um 19:43:42, schrieb Stephan Witt > Am 21.08.2014 um 19:31 schrieb Stephan Witt : > > > No. For Mac builds it is needed to compile Mac extras dependencies like > > QMacStyle. > > > I have to correct myself. QMacStyle is not available with Qt5 yet. > A correct ex

Re: [LyX/master] Add QtMacExtras detection for Qt5 support

2014-08-21 Thread Stephan Witt
Am 21.08.2014 um 19:31 schrieb Stephan Witt : > No. For Mac builds it is needed to compile Mac extras dependencies like > QMacStyle. I have to correct myself. QMacStyle is not available with Qt5 yet. A correct example is e.g. QMacPasteboardMime. Stephan

Re: [LyX/master] Add QtMacExtras detection for Qt5 support

2014-08-21 Thread Kornel Benko
Am Donnerstag, 21. August 2014 um 19:31:24, schrieb Stephan Witt > Am 21.08.2014 um 18:58 schrieb Kornel Benko : > > > Am Donnerstag, 21. August 2014 um 18:22:46, schrieb Stephan Witt > > > >> + if(APPLE) > >> + find_package(Qt5MacExtras) > >> +

Re: [LyX/master] Add QtMacExtras detection for Qt5 support

2014-08-21 Thread Stephan Witt
Am 21.08.2014 um 18:58 schrieb Kornel Benko : > Am Donnerstag, 21. August 2014 um 18:22:46, schrieb Stephan Witt > >> + if(APPLE) >> + find_package(Qt5MacExtras) >> + elseif(UNIX) >> + find_package(Qt5X11Extras) >> +

Re: [LyX/master] Add QtMacExtras detection for Qt5 support

2014-08-21 Thread Kornel Benko
Am Donnerstag, 21. August 2014 um 18:22:46, schrieb Stephan Witt > + if(APPLE) > + find_package(Qt5MacExtras) > + elseif(UNIX) > + find_package(Qt5X11Extras) > + endif() Why this? find_package(Qt5X11Extras) sho

Re: LyX+Qt5 build (CMake+XCode) on OS X

2014-08-21 Thread Stephan Witt
Am 20.08.2014 um 23:31 schrieb Patrick De Visschere : > On 20 Aug, 2014, at 22:40 , Stephan Witt wrote: > >> Am 20.08.2014 um 20:46 schrieb Patrick De Visschere : >> >>> On 20 Aug, 2014, at 08:40 , Stephan Witt wrote: >>> Am 19.08.2014 um 22:41 schrieb Patrick De Visschere :