Re: unicodesymbols, utf8 and textcomp

2013-02-21 Thread Guenter Milde
On 2013-02-19, Georg Baum wrote: Guenter Milde wrote: On 2013-02-17, Georg Baum wrote: This is not needed: the simple force flag does not force for any utf8 encoding. It worked always like that, but now I added an explanation to the unicodesymbols file. The force flag is ignored for

Re: #7839: equation editor: cropped PDF and EPS

2013-02-21 Thread Guenter Milde
On 2013-02-20, Liviu Andronic wrote: Hello, I'd like for this patch to be included in trunk before the feature freeze for 2.1. Are there any objections to this feature? ... We can easily provide an 'equation editor' mode in LyX. For this we can use 'pdfcrop' and 'dvips -E' converters and

Re: Failing export tests

2013-02-21 Thread Scott Kostyshak
On Wed, Feb 20, 2013 at 12:36 PM, Kornel Benko kor...@lyx.org wrote: From our provided lyx-files in lib/doc and lib/examples many of them (42!) fail, if we try to export them. Attached is the test-summary of the call ctest -R export. What do you think we should do for tests that have

[PATCH] Add templates to export tests (CMake autotools)

2013-02-21 Thread Scott Kostyshak
--- development/autotests/CMakeLists.txt |2 +- development/autotests/export-in.sh |2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/development/autotests/CMakeLists.txt b/development/autotests/CMakeLists.txt index 66968cb..d868333 100644 ---

Re: [PATCH] Add templates to export tests (CMake autotools)

2013-02-21 Thread Scott Kostyshak
On Thu, Feb 21, 2013 at 8:31 AM, Scott Kostyshak skost...@lyx.org wrote: --- development/autotests/CMakeLists.txt |2 +- development/autotests/export-in.sh |2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/development/autotests/CMakeLists.txt

Re: Re: Failing export tests

2013-02-21 Thread Kornel Benko
Am Donnerstag, 21. Februar 2013 um 07:42:41, schrieb Scott Kostyshak skost...@lyx.org On Wed, Feb 20, 2013 at 12:36 PM, Kornel Benko kor...@lyx.org wrote: From our provided lyx-files in lib/doc and lib/examples many of them (42!) fail, if we try to export them. Attached is the test-summary

Re: Re: [PATCH] Add templates to export tests (CMake autotools)

2013-02-21 Thread Kornel Benko
Am Donnerstag, 21. Februar 2013 um 08:34:28, schrieb Scott Kostyshak skost...@lyx.org On Thu, Feb 21, 2013 at 8:31 AM, Scott Kostyshak skost...@lyx.org wrote: --- development/autotests/CMakeLists.txt |2 +- development/autotests/export-in.sh |2 +- 2 files changed, 2

Re: Re: Failing export tests

2013-02-21 Thread Scott Kostyshak
On Thu, Feb 21, 2013 at 9:28 AM, Kornel Benko kor...@lyx.org wrote: Am Donnerstag, 21. Februar 2013 um 07:42:41, schrieb Scott Kostyshak skost...@lyx.org On Wed, Feb 20, 2013 at 12:36 PM, Kornel Benko kor...@lyx.org wrote: From our provided lyx-files in lib/doc and lib/examples many of them

Re: Re: [PATCH] Add templates to export tests (CMake autotools)

2013-02-21 Thread Scott Kostyshak
On Thu, Feb 21, 2013 at 9:44 AM, Kornel Benko kor...@lyx.org wrote: Am Donnerstag, 21. Februar 2013 um 08:34:28, schrieb Scott Kostyshak skost...@lyx.org On Thu, Feb 21, 2013 at 8:31 AM, Scott Kostyshak skost...@lyx.org wrote: --- development/autotests/CMakeLists.txt | 2 +-

Re: Re: Re: Failing export tests

2013-02-21 Thread Kornel Benko
Am Donnerstag, 21. Februar 2013 um 09:45:16, schrieb Scott Kostyshak skost...@lyx.org In the case of knitr, it's probably better to do something like checking the exit code of the following command: R -e library(knitr) Ideally, we would also check R -e packageVersion(\knitr\) To make sure

Re: Re: Re: Failing export tests

2013-02-21 Thread Scott Kostyshak
On Thu, Feb 21, 2013 at 10:09 AM, Kornel Benko kor...@lyx.org wrote: Am Donnerstag, 21. Februar 2013 um 09:45:16, schrieb Scott Kostyshak skost...@lyx.org In the case of knitr, it's probably better to do something like checking the exit code of the following command: R -e library(knitr)

Re: Re: Re: Re: Failing export tests

2013-02-21 Thread Kornel Benko
Am Donnerstag, 21. Februar 2013 um 10:21:04, schrieb Scott Kostyshak skost...@lyx.org ... As long as cmake can get things automatically, it should do so. OK. It might be nice for ctest to remind us which tests were not added. But it doesn't seem like this is easy with ctest (you either add

Re: cursor (selection) question

2013-02-21 Thread Richard Heck
On 02/20/2013 12:23 AM, Scott Kostyshak wrote: I think I am close to correctly fixing #8543, where search finds the same word twice when switching directions. See the patch here: http://www.lyx.org/trac/attachment/ticket/8543/0001-This-patch-flips-the-cursor-but-sel-is-lost.patch The only

Re: [LyX master] Merge branch 'master' of git.lyx.org:lyx

2013-02-21 Thread Jürgen Spitzmüller
Kornel Benko wrote: As said, I don't think this is correct. Instead, the current platex support should be fixed. Sorry. Also for my next commit I done. So can you please revert these commits? Jürgen

Re: #7839: equation editor: cropped PDF and EPS

2013-02-21 Thread Liviu Andronic
On Thu, Feb 21, 2013 at 10:14 AM, Guenter Milde mi...@users.sf.net wrote: Please also consider view/export cropped SVG (if unicode-math is used): * with the traditional TeX math fonts, the conversion of mathematical content is buggy, because of the non-standard font metrics. * with

Re: unicodesymbols, utf8 and textcomp

2013-02-21 Thread Guenter Milde
On 2013-02-19, Georg Baum wrote: > Guenter Milde wrote: >> On 2013-02-17, Georg Baum wrote: >>> This is not needed: the simple force flag does not force for any utf8 >>> encoding. It worked always like that, but now I added an explanation to >>> the unicodesymbols file. >> The "force" flag is

Re: #7839: equation editor: cropped PDF and EPS

2013-02-21 Thread Guenter Milde
On 2013-02-20, Liviu Andronic wrote: > Hello, > I'd like for this patch to be included in trunk before the feature > freeze for 2.1. Are there any objections to this feature? ... >> We can easily provide an 'equation editor' "mode" in LyX. For this we can >> use 'pdfcrop' and 'dvips -E'

Re: Failing export tests

2013-02-21 Thread Scott Kostyshak
On Wed, Feb 20, 2013 at 12:36 PM, Kornel Benko wrote: > From our provided lyx-files in lib/doc and lib/examples many of them (42!) > > fail, if we try to export them. Attached is the test-summary of > > the call "ctest -R export". What do you think we should do for tests that

[PATCH] Add templates to export tests (CMake & autotools)

2013-02-21 Thread Scott Kostyshak
--- development/autotests/CMakeLists.txt |2 +- development/autotests/export-in.sh |2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/development/autotests/CMakeLists.txt b/development/autotests/CMakeLists.txt index 66968cb..d868333 100644 ---

Re: [PATCH] Add templates to export tests (CMake & autotools)

2013-02-21 Thread Scott Kostyshak
On Thu, Feb 21, 2013 at 8:31 AM, Scott Kostyshak wrote: > --- > development/autotests/CMakeLists.txt |2 +- > development/autotests/export-in.sh |2 +- > 2 files changed, 2 insertions(+), 2 deletions(-) > > diff --git a/development/autotests/CMakeLists.txt >

Re: Re: Failing export tests

2013-02-21 Thread Kornel Benko
Am Donnerstag, 21. Februar 2013 um 07:42:41, schrieb Scott Kostyshak > On Wed, Feb 20, 2013 at 12:36 PM, Kornel Benko wrote: > > From our provided lyx-files in lib/doc and lib/examples many of them (42!) > > > > fail, if we try to export them. Attached is the

Re: Re: [PATCH] Add templates to export tests (CMake & autotools)

2013-02-21 Thread Kornel Benko
Am Donnerstag, 21. Februar 2013 um 08:34:28, schrieb Scott Kostyshak > On Thu, Feb 21, 2013 at 8:31 AM, Scott Kostyshak wrote: > > --- > > development/autotests/CMakeLists.txt |2 +- > > development/autotests/export-in.sh |2 +- > > 2 files

Re: Re: Failing export tests

2013-02-21 Thread Scott Kostyshak
On Thu, Feb 21, 2013 at 9:28 AM, Kornel Benko wrote: > Am Donnerstag, 21. Februar 2013 um 07:42:41, schrieb Scott Kostyshak > > >> On Wed, Feb 20, 2013 at 12:36 PM, Kornel Benko wrote: > >> > From our provided lyx-files in lib/doc and

Re: Re: [PATCH] Add templates to export tests (CMake & autotools)

2013-02-21 Thread Scott Kostyshak
On Thu, Feb 21, 2013 at 9:44 AM, Kornel Benko wrote: > Am Donnerstag, 21. Februar 2013 um 08:34:28, schrieb Scott Kostyshak > > >> On Thu, Feb 21, 2013 at 8:31 AM, Scott Kostyshak wrote: > >> > --- > >> > development/autotests/CMakeLists.txt |

Re: Re: Re: Failing export tests

2013-02-21 Thread Kornel Benko
Am Donnerstag, 21. Februar 2013 um 09:45:16, schrieb Scott Kostyshak > > In the case of knitr, it's probably better to do something like > checking the exit code of the following command: > R -e "library(knitr)" > Ideally, we would also check > R -e "packageVersion(\"knitr\")"

Re: Re: Re: Failing export tests

2013-02-21 Thread Scott Kostyshak
On Thu, Feb 21, 2013 at 10:09 AM, Kornel Benko wrote: > Am Donnerstag, 21. Februar 2013 um 09:45:16, schrieb Scott Kostyshak > > >> > >> In the case of knitr, it's probably better to do something like > >> checking the exit code of the following command: > >> R

Re: Re: Re: Re: Failing export tests

2013-02-21 Thread Kornel Benko
Am Donnerstag, 21. Februar 2013 um 10:21:04, schrieb Scott Kostyshak ... > > As long as cmake can get things automatically, it should do so. > > OK. It might be nice for ctest to remind us which tests were not > added. But it doesn't seem like this is easy with ctest (you

Re: cursor (selection) question

2013-02-21 Thread Richard Heck
On 02/20/2013 12:23 AM, Scott Kostyshak wrote: I think I am close to correctly fixing #8543, where search finds the same word twice when switching directions. See the patch here: http://www.lyx.org/trac/attachment/ticket/8543/0001-This-patch-flips-the-cursor-but-sel-is-lost.patch The only

Re: [LyX master] Merge branch 'master' of git.lyx.org:lyx

2013-02-21 Thread Jürgen Spitzmüller
Kornel Benko wrote: > > As said, I don't think this is correct. Instead, the current platex > > support should be fixed. > > Sorry. Also for my next commit I done. So can you please revert these commits? Jürgen

Re: #7839: equation editor: cropped PDF and EPS

2013-02-21 Thread Liviu Andronic
On Thu, Feb 21, 2013 at 10:14 AM, Guenter Milde wrote: > Please also consider "view/export cropped SVG" (if unicode-math is used): > > * with the traditional TeX math fonts, the conversion of mathematical > content is buggy, because of the non-standard font metrics. > > *