Re: Re: [PATCH] Pass the binary dir to the configure script to find tex2lyx

2013-03-30 Thread Kornel Benko
Am Samstag, 30. März 2013 um 16:35:02, schrieb Vincent van Ravesteijn > > So the directory for binaries is more like $ > > (to be used in add_custom_command() for example) > > > > Kornel > > > > I'm not sure how that is related to the patch. > > Vincent Never mind. The patch is needed.

Re: [PATCH] Pass the binary dir to the configure script to find tex2lyx

2013-03-30 Thread Kornel Benko
Am Samstag, 30. März 2013 um 14:46:20, schrieb Vincent van Ravesteijn > When using CMake, the binary files are stored in /bin. LyX can't > fin tex2lyx with the current code. So, we have to point configure.py to > explicitly look in the binary dir. > > Any objections ? > > Vincent First, I wa

Re: [PATCH] Pass the binary dir to the configure script to find tex2lyx

2013-03-30 Thread Vincent van Ravesteijn
Op 30-3-2013 15:29, Kornel Benko schreef: Am Samstag, 30. März 2013 um 14:46:20, schrieb Vincent van Ravesteijn > When using CMake, the binary files are stored in /bin. LyX can't fin tex2lyx with the current code. So, we have to point configure.py to explicitly look in the binary dir. >

Re: Word wrapping problem

2013-03-30 Thread Richard Heck
On 03/30/2013 06:48 AM, Lin Wei wrote: Hi there, Word wrapping doesn't work perfectly when I use LyX with both Chinese and English. Seems this bug/defect has been identified for over 5 years but still left unclosed. I'm trying fix it myself but get stuck

Re: [PATCH] Pass the binary dir to the configure script to find tex2lyx

2013-03-30 Thread Kornel Benko
Am Samstag, 30. März 2013 um 14:46:20, schrieb Vincent van Ravesteijn > When using CMake, the binary files are stored in /bin. LyX can't > fin tex2lyx with the current code. So, we have to point configure.py to > explicitly look in the binary dir. > > Any objections ? > > Vincent It is not a

Re: [PATCH] (Incomplete) Nonexistent debug flag now throws an error

2013-03-30 Thread Vincent van Ravesteijn
Op 30-3-2013 6:08, Scott Kostyshak schreef: + // Search for an explicit name + bool foundMatch = false; + for (int i = 0 ; i < numErrorTags ; ++i) + if (tmp == errorTags[i].name) { +

Re: [PATCH] (Incomplete) Nonexistent debug flag now throws an error

2013-03-30 Thread Vincent van Ravesteijn
Op 30-3-2013 6:08, Scott Kostyshak schreef: The following command now throws an error: lyx -dbg doesNotExist NOTE: THIS PATCH IS INCOMPLETE. I think I have the right condition for detecting the error, but I don't know what to do with it. I see two ways of throwing an error: (1) create a new

[PATCH] Pass the binary dir to the configure script to find tex2lyx

2013-03-30 Thread Vincent van Ravesteijn
When using CMake, the binary files are stored in /bin. LyX can't fin tex2lyx with the current code. So, we have to point configure.py to explicitly look in the binary dir. Any objections ? Vincent --- lib/configure.py|9 - src/support/Package.cpp |2 +- 2 files changed

Word wrapping problem

2013-03-30 Thread Lin Wei
Hi there, Word wrapping doesn't work perfectly when I use LyX with both Chinese and English. Seems this bug/defect has been identified for over 5 years but still left unclosed. I'm trying fix it myself but get stuck in locating the source file of word wrapping