Re: Help for writing an external template !

2011-08-31 Thread Jean-Marc Lasgouttes
Le 31/08/2011 19:00, Enrico Forestieri a écrit : I think there is a misunderstanding of what KPSE_DOT really does. From what I can gather, when KPSE_DOT is defined, it is prepended to any relative path components. We already do this by ourselves. So, we would still need to set TEXFONTS, say, to

[patch] configure fixes for java and perl scripts

2011-08-31 Thread Julien Rioux
Attached is a patch to fix issues #6339 and #7579 in configure. The bug is that we check whether perl or java are installed, but we do not check that the actual scripts are also installed. In the patch, I look once for the java interpreter and once for the perl interpreter. This information is

Re: [patch] configure fixes for java and perl scripts

2011-08-31 Thread Richard Heck
On 08/31/2011 03:25 PM, Julien Rioux wrote: > Attached is a patch to fix issues #6339 and #7579 in configure. The > bug is that we check whether perl or java are installed, but we do not > check that the actual scripts are also installed. > > In the patch, I look once for the java interpreter and o

Re: [patch] configure fixes for java and perl scripts

2011-08-31 Thread Richard Heck
On 08/31/2011 03:25 PM, Julien Rioux wrote: > Attached is a patch to fix issues #6339 and #7579 in configure. The > bug is that we check whether perl or java are installed, but we do not > check that the actual scripts are also installed. > > In the patch, I look once for the java interpreter and o

Re: merging of external material and graphics interfaces

2011-08-31 Thread Georg Baum
Julien Rioux wrote: > On 31/08/2011 3:25 PM, Pavel Sanda wrote: >> Julien Rioux wrote: >>> Is anybody working on this? Any strong discouraging opinions? This plan exists for ages. The graphics inset even was already ditched at some point in time, but it got reintroduced later, because the extern

LyX 2.0.1 Sources Available

2011-08-31 Thread Richard Heck
I have put what I hope will be LyX 2.0.1 here: http://frege.brown.edu/lyx/lyx-2.0.1.tar.gz http://frege.brown.edu/lyx/lyx-2.0.1.tar.gz.sig http://frege.brown.edu/lyx/lyx-2.0.1.tar.xz http://frege.brown.edu/lyx/lyx-2.0.1.tar.xz.sig for testing. Please let me know if you have any tro

Re: [patch] update and merge lyxpreview mechanisms

2011-08-31 Thread Julien Rioux
On 31/08/2011 7:03 PM, José Matos wrote: On 08/30/2011 06:49 PM, Julien Rioux wrote: lyxpreview2bitmap.py --png --dpi=128 --fg=00 --bg=faf0e6 0lyxpreview.tex which makes it more flexible as the arguments can move around. Then the special-casing of lilypond-book and japanese documents can be

Re: [patch] update and merge lyxpreview mechanisms

2011-08-31 Thread José Matos
On 08/30/2011 06:49 PM, Julien Rioux wrote: > lyxpreview2bitmap.py --png --dpi=128 --fg=00 --bg=faf0e6 > 0lyxpreview.tex > > which makes it more flexible as the arguments can move around. Then > the special-casing of lilypond-book and japanese documents can be > treated more easily by command-l

Re: r39575 - lyx-devel/branches/BRANCH_2_0_X

2011-08-31 Thread Richard Heck
On 08/31/2011 12:52 PM, Pavel Sanda wrote: > > just a glitch but iirc we tried to get rid of these lines under > "In case you are wondering what LyX is:" intentionaly, r27328 ... > pavel OK. They were in the 1.6.9 ANNOUNCE, though, oddly enough, which is where I got it rh

Re: Help for writing an external template !

2011-08-31 Thread Enrico Forestieri
On Wed, Aug 31, 2011 at 05:51:04PM +0200, Jean-Marc Lasgouttes wrote: > Le 31/08/2011 15:42, Enrico Forestieri a écrit : > >> When KPSE_DOT is defined in the environment, it names a directory > >> that should be considered the current directory for the purpose of > >> looking up files in the

Re: r39575 - lyx-devel/branches/BRANCH_2_0_X

2011-08-31 Thread Pavel Sanda
rgh...@lyx.org wrote: > Author: rgheck > Date: Wed Aug 31 18:25:53 2011 > New Revision: 39575 > URL: http://www.lyx.org/trac/changeset/39575 > > -LyX is a document processor that encourages an approach to writing > -based on the structure of your documents, not their appearance. It > -is released

Re: merging of external material and graphics interfaces

2011-08-31 Thread Pavel Sanda
Julien Rioux wrote: > No, not ditching it completely. But some external templates are really > graphic formats and it's confusing to have them appear elsewhere. Also, can you name which particular templates you have in mind? > I must say that as a user I did not understand this distinction. if

Re: Image Lifecycle (Create) Patch - Video

2011-08-31 Thread Tommaso Cucinotta
Il 01/08/2011 11:31, Edwin Leuven ha scritto: Tommaso Cucinotta wrote: Comments ? no offense, but i think this "feature" is bloat... perhaps the more extended explanations in: http://wiki.lyx.org/Devel/CreateFromEmptySample will help in understanding the advantages of this (especially, c

Re: merging of external material and graphics interfaces

2011-08-31 Thread Julien Rioux
On 31/08/2011 3:25 PM, Pavel Sanda wrote: Julien Rioux wrote: Is anybody working on this? Any strong discouraging opinions? i'm not sure what exactly you have in mind. - ditching the whole external material stuff? what will be done with non graphics templates? - or just moving some graphics f

Re: Help for writing an external template !

2011-08-31 Thread Jean-Marc Lasgouttes
Le 31/08/2011 15:42, Enrico Forestieri a écrit : When KPSE_DOT is defined in the environment, it names a directory that should be considered the current directory for the purpose of looking up files in the search paths. This feature is needed by the ?mktex...? scripts mktex scripts, b

Re: merging of external material and graphics interfaces

2011-08-31 Thread Tommaso Cucinotta
Il 31/08/2011 14:17, Julien Rioux ha scritto: Is anybody working on this? Any strong discouraging opinions? Tommaso, were you working on achieving this? Where can I find your latest patch? I forgot to mention the wiki note: http://wiki.lyx.org/Devel/CreateFromEmptySample Bye, T.

Branch is Frozen

2011-08-31 Thread Richard Heck
Branch is now frozen. No commits please until I announce the tarball. Richard

Re: 2.0.x - Ghostscript error when opening EmbeddedObjects.lyx with InstantPreview

2011-08-31 Thread venom00
On Sat, 2011-08-27 at 22:07 +0200, Tommaso Cucinotta wrote: > Hi all, > > on BRANCH (r39537), when I open EmbeddedObjects.lyx with InstantPreview > on, I get the following > on the terminal: > > GPL Ghostscript 9.01: Unrecoverable error, exit code 1 > GPL Ghostscript 9.01: Unrecoverable error, e

Re: merging of external material and graphics interfaces

2011-08-31 Thread Tommaso Cucinotta
Il 31/08/2011 16:37, Julien Rioux ha scritto: No, not ditching it completely. But some external templates are really graphic formats and it's confusing to have them appear elsewhere. Also, chunks of the user interface are similar and could be merged. Hello, my last patch was attached to #5962

Re: Help for writing an external template !

2011-08-31 Thread Enrico Forestieri
On Wed, Aug 31, 2011 at 10:27:43AM -0400, Richard Heck wrote: > > So, do we want something in ANNOUNCE about this? If so, can someone send > me some text? I do not know well enough what needs saying. Maybe something along this line: The support for using external files in ERT has been improved b

Re: Help for writing an external template !

2011-08-31 Thread Richard Heck
So, do we want something in ANNOUNCE about this? If so, can someone send me some text? I do not know well enough what needs saying. Richard On 08/31/2011 09:42 AM, Enrico Forestieri wrote: > On Wed, Aug 31, 2011 at 10:33:36AM +0200, Jean-Marc Lasgouttes wrote: >> Le 30/08/2011 19:47, Enrico Fore

Re: merging of external material and graphics interfaces

2011-08-31 Thread Pavel Sanda
Julien Rioux wrote: > Is anybody working on this? Any strong discouraging opinions? i'm not sure what exactly you have in mind. - ditching the whole external material stuff? what will be done with non graphics templates? - or just moving some graphics format from external to "internal"? there was

Re: merging of external material and graphics interfaces

2011-08-31 Thread Jürgen Spitzmüller
Julien Rioux wrote: > Is anybody working on this? Any strong discouraging opinions? On the contrary, I'd like to encourage you on this. Jürgen

Re: Help for writing an external template !

2011-08-31 Thread Enrico Forestieri
On Wed, Aug 31, 2011 at 10:33:36AM +0200, Jean-Marc Lasgouttes wrote: > Le 30/08/2011 19:47, Enrico Forestieri a écrit : > >Indeed, it works theoretically but, in practice, it is going to break > >documents written by taking advantage of the fact that \input@path > >was being being defined by LyX.

merging of external material and graphics interfaces

2011-08-31 Thread Julien Rioux
Is anybody working on this? Any strong discouraging opinions? Tommaso, were you working on achieving this? Where can I find your latest patch? Thanks, Julien

Re: 2.0.x - Ghostscript error when opening EmbeddedObjects.lyx with InstantPreview

2011-08-31 Thread Julien Rioux
On 27/08/2011 10:07 PM, Tommaso Cucinotta wrote: Hi all, on BRANCH (r39537), when I open EmbeddedObjects.lyx with InstantPreview on, I get the following on the terminal: GPL Ghostscript 9.01: Unrecoverable error, exit code 1 GPL Ghostscript 9.01: Unrecoverable error, exit code 1 GPL Ghostscript

Re: [patch] update and merge lyxpreview mechanisms

2011-08-31 Thread Pavel Sanda
Julien Rioux wrote: > Comments awaited eagerly, can't comment on the code but thanks for returning to the merge of doubled scripts, it was needed. pavel

Re: [patch] update and merge lyxpreview mechanisms

2011-08-31 Thread Jürgen Spitzmüller
Julien Rioux wrote: > Here's a patch that cleans up the handling of previews. Excellent move. Jürgen

Re: Help for writing an external template !

2011-08-31 Thread Jean-Marc Lasgouttes
Le 30/08/2011 19:47, Enrico Forestieri a écrit : Indeed, it works theoretically but, in practice, it is going to break documents written by taking advantage of the fact that \input@path was being being defined by LyX. See the use case about fontspec in bug 6634. I'd say this is just life. \inpu