Re: Fwd: Re: Image Lifecycle (Create) Patch - Video

2011-08-22 Thread Tommaso Cucinotta

Il 16/08/2011 18:07, Liviu Andronic ha scritto:

On Tue, Aug 16, 2011 at 3:42 PM, Tommaso Cucinottatomm...@lyx.org  wrote:

as said above: with the last rework, no empty sample files are needed to be
shipped with LyX. Only if the user wants, he/she can install a few sample
empty files in .lyx/samples, and activate the create feature. Perhaps, one
might want to install multiple empty samples, and choose one of them in case
more than 1 is detected to match with the file extension (or chosen
template type, in the case of external templates).


It may make sense to add a message so that, when the user clicks on
'create' and no template is available, a window pops up to inform the
user about the location of templates on the wiki and the proper path
to install them. The wiki page could contain additional installation
instructions.


In the mean-time, I thought creating a wiki page for documentation purposes
is not too bad:

  http://wiki.lyx.org/Devel/CreateFromEmptySample

I could drop there a few templates, but I don't know how to possibly 
attach binary

elements to a wiki page. Anyone knows whether this is possible ?

Bye,

T.


Re: Fwd: Re: Image Lifecycle (Create) Patch - Video

2011-08-22 Thread Tommaso Cucinotta

Il 16/08/2011 18:07, Liviu Andronic ha scritto:

On Tue, Aug 16, 2011 at 3:42 PM, Tommaso Cucinotta  wrote:

as said above: with the last rework, no empty sample files are needed to be
shipped with LyX. Only if the user wants, he/she can install a few sample
empty files in .lyx/samples, and activate the "create" feature. Perhaps, one
might want to install multiple empty samples, and choose one of them in case
more than 1 is detected to "match" with the file extension (or chosen
template type, in the case of external templates).


It may make sense to add a message so that, when the user clicks on
'create' and no template is available, a window pops up to inform the
user about the location of templates on the wiki and the proper path
to install them. The wiki page could contain additional installation
instructions.


In the mean-time, I thought creating a wiki page for documentation purposes
is not too bad:

  http://wiki.lyx.org/Devel/CreateFromEmptySample

I could drop there a few templates, but I don't know how to possibly 
attach binary

elements to a wiki page. Anyone knows whether this is possible ?

Bye,

T.


Re: Fwd: Re: Image Lifecycle (Create) Patch - Video

2011-08-16 Thread Tommaso Cucinotta

Il 10/08/2011 18:24, Julien Rioux ha scritto:

On 06/08/2011 1:06 PM, Tommaso Cucinotta wrote:


So, in the end, is there any chance to get this patch in ? I think that
most users will at least appreciate the Edit button in the image
ext material dialogs (as witnessed by the corresponding bug in Trac).
Plus, only if they install empty samples in their .lyx folder then
they take advantage of the auto-file-creation feature.

In the case, what further changes/improvements would be needed, and when
would be a good time to commit ?


Personally, I would say that the create new feature is worthwhile, 
but the sample template files should go to the wiki, so that it is not 
in our hands to maintain and not bloating.


as said above: with the last rework, no empty sample files are needed to 
be shipped with LyX. Only if the user wants, he/she can install a few 
sample empty files in .lyx/samples, and activate the create feature. 
Perhaps, one might want to install multiple empty samples, and choose 
one of them in case more than 1 is detected to match with the file 
extension (or chosen template type, in the case of external templates).


The other feature, automatic detection, seems to have problems though.


can you detail, please ? What other feature are you referring about ? 
What problems are you experiencing ?


Thanks,

Tommaso


Re: Fwd: Re: Image Lifecycle (Create) Patch - Video

2011-08-16 Thread Julien Rioux

On 16/08/2011 9:42 AM, Tommaso Cucinotta wrote:

Il 10/08/2011 18:24, Julien Rioux ha scritto:

On 06/08/2011 1:06 PM, Tommaso Cucinotta wrote:


So, in the end, is there any chance to get this patch in ? I think that
most users will at least appreciate the Edit button in the image
ext material dialogs (as witnessed by the corresponding bug in Trac).
Plus, only if they install empty samples in their .lyx folder then
they take advantage of the auto-file-creation feature.

In the case, what further changes/improvements would be needed, and when
would be a good time to commit ?


Personally, I would say that the create new feature is worthwhile,
but the sample template files should go to the wiki, so that it is not
in our hands to maintain and not bloating.


as said above: with the last rework, no empty sample files are needed to
be shipped with LyX. Only if the user wants, he/she can install a few
sample empty files in .lyx/samples, and activate the create feature.
Perhaps, one might want to install multiple empty samples, and choose
one of them in case more than 1 is detected to match with the file
extension (or chosen template type, in the case of external templates).


One sample file should be enough for now.



The other feature, automatic detection, seems to have problems though.


can you detail, please ? What other feature are you referring about ?
What problems are you experiencing ?



See Pavel's message in this thread.


Thanks,

Tommaso



--
Julien



Re: Fwd: Re: Image Lifecycle (Create) Patch - Video

2011-08-16 Thread Liviu Andronic
Hello

On Tue, Aug 16, 2011 at 3:42 PM, Tommaso Cucinotta tomm...@lyx.org wrote:
 Personally, I would say that the create new feature is worthwhile, but
 the sample template files should go to the wiki, so that it is not in our
 hands to maintain and not bloating.

 as said above: with the last rework, no empty sample files are needed to be
 shipped with LyX. Only if the user wants, he/she can install a few sample
 empty files in .lyx/samples, and activate the create feature. Perhaps, one
 might want to install multiple empty samples, and choose one of them in case
 more than 1 is detected to match with the file extension (or chosen
 template type, in the case of external templates).

It may make sense to add a message so that, when the user clicks on
'create' and no template is available, a window pops up to inform the
user about the location of templates on the wiki and the proper path
to install them. The wiki page could contain additional installation
instructions.

Regards
Liviu


Re: Fwd: Re: Image Lifecycle (Create) Patch - Video

2011-08-16 Thread Tommaso Cucinotta

Il 10/08/2011 18:24, Julien Rioux ha scritto:

On 06/08/2011 1:06 PM, Tommaso Cucinotta wrote:


So, in the end, is there any chance to get this patch in ? I think that
most users will at least appreciate the "Edit" button in the image&
ext material dialogs (as witnessed by the corresponding bug in Trac).
Plus, only if they install empty samples in their .lyx folder then
they take advantage of the auto-file-creation feature.

In the case, what further changes/improvements would be needed, and when
would be a good time to commit ?


Personally, I would say that the "create new" feature is worthwhile, 
but the sample template files should go to the wiki, so that it is not 
in our hands to maintain and not bloating.


as said above: with the last rework, no empty sample files are needed to 
be shipped with LyX. Only if the user wants, he/she can install a few 
sample empty files in .lyx/samples, and activate the "create" feature. 
Perhaps, one might want to install multiple empty samples, and choose 
one of them in case more than 1 is detected to "match" with the file 
extension (or chosen template type, in the case of external templates).


The other feature, automatic detection, seems to have problems though.


can you detail, please ? What "other feature" are you referring about ? 
What problems are you experiencing ?


Thanks,

Tommaso


Re: Fwd: Re: Image Lifecycle (Create) Patch - Video

2011-08-16 Thread Julien Rioux

On 16/08/2011 9:42 AM, Tommaso Cucinotta wrote:

Il 10/08/2011 18:24, Julien Rioux ha scritto:

On 06/08/2011 1:06 PM, Tommaso Cucinotta wrote:


So, in the end, is there any chance to get this patch in ? I think that
most users will at least appreciate the "Edit" button in the image&
ext material dialogs (as witnessed by the corresponding bug in Trac).
Plus, only if they install empty samples in their .lyx folder then
they take advantage of the auto-file-creation feature.

In the case, what further changes/improvements would be needed, and when
would be a good time to commit ?


Personally, I would say that the "create new" feature is worthwhile,
but the sample template files should go to the wiki, so that it is not
in our hands to maintain and not bloating.


as said above: with the last rework, no empty sample files are needed to
be shipped with LyX. Only if the user wants, he/she can install a few
sample empty files in .lyx/samples, and activate the "create" feature.
Perhaps, one might want to install multiple empty samples, and choose
one of them in case more than 1 is detected to "match" with the file
extension (or chosen template type, in the case of external templates).


One sample file should be enough for now.



The other feature, automatic detection, seems to have problems though.


can you detail, please ? What "other feature" are you referring about ?
What problems are you experiencing ?



See Pavel's message in this thread.


Thanks,

Tommaso



--
Julien



Re: Fwd: Re: Image Lifecycle (Create) Patch - Video

2011-08-16 Thread Liviu Andronic
Hello

On Tue, Aug 16, 2011 at 3:42 PM, Tommaso Cucinotta  wrote:
>> Personally, I would say that the "create new" feature is worthwhile, but
>> the sample template files should go to the wiki, so that it is not in our
>> hands to maintain and not bloating.
>
> as said above: with the last rework, no empty sample files are needed to be
> shipped with LyX. Only if the user wants, he/she can install a few sample
> empty files in .lyx/samples, and activate the "create" feature. Perhaps, one
> might want to install multiple empty samples, and choose one of them in case
> more than 1 is detected to "match" with the file extension (or chosen
> template type, in the case of external templates).
>
It may make sense to add a message so that, when the user clicks on
'create' and no template is available, a window pops up to inform the
user about the location of templates on the wiki and the proper path
to install them. The wiki page could contain additional installation
instructions.

Regards
Liviu


Re: Fwd: Re: Image Lifecycle (Create) Patch - Video

2011-08-10 Thread Julien Rioux

On 06/08/2011 1:06 PM, Tommaso Cucinotta wrote:

Il 31/07/2011 22:18, Tommaso Cucinotta ha scritto:


If you agree, a nice trade-off could be for LyX:
1) to be shipped without any binary blob;
2) to allow users for placing empty sample files in their
$HOME/.lyx/samples folder, then being automatically recognized by this
feature and being proposed as empty templates for new material
(feature to be documented in the manual and its existence properly
advertised in the tooltip of the Edit/Create button).
3) [optional]: to provide a separate package file lyx-samples,
shipping a bunch of empty files, that a user might try to optionally
install.


So, in the end, is there any chance to get this patch in ? I think that
most users will at least appreciate the Edit button in the image
ext material dialogs (as witnessed by the corresponding bug in Trac).
Plus, only if they install empty samples in their .lyx folder then
they take advantage of the auto-file-creation feature.

In the case, what further changes/improvements would be needed, and when
would be a good time to commit ?

On a related note, what's the current development/releasing status of
(the upcoming versions of) LyX ?

Thx,

T.




Personally, I would say that the create new feature is worthwhile, but 
the sample template files should go to the wiki, so that it is not in 
our hands to maintain and not bloating.


The other feature, automatic detection, seems to have problems though.

--
Julien



Re: Fwd: Re: Image Lifecycle (Create) Patch - Video

2011-08-10 Thread Julien Rioux

On 06/08/2011 1:06 PM, Tommaso Cucinotta wrote:

Il 31/07/2011 22:18, Tommaso Cucinotta ha scritto:


If you agree, a nice trade-off could be for LyX:
1) to be shipped without any binary blob;
2) to allow users for placing empty sample files in their
$HOME/.lyx/samples folder, then being automatically recognized by this
feature and being proposed as empty templates for new material
(feature to be documented in the manual and its existence properly
advertised in the tooltip of the "Edit/Create" button).
3) [optional]: to provide a separate package file "lyx-samples",
shipping a bunch of empty files, that a user might try to optionally
install.


So, in the end, is there any chance to get this patch in ? I think that
most users will at least appreciate the "Edit" button in the image&
ext material dialogs (as witnessed by the corresponding bug in Trac).
Plus, only if they install empty samples in their .lyx folder then
they take advantage of the auto-file-creation feature.

In the case, what further changes/improvements would be needed, and when
would be a good time to commit ?

On a related note, what's the current development/releasing status of
(the upcoming versions of) LyX ?

Thx,

T.




Personally, I would say that the "create new" feature is worthwhile, but 
the sample template files should go to the wiki, so that it is not in 
our hands to maintain and not bloating.


The other feature, automatic detection, seems to have problems though.

--
Julien



Re: Fwd: Re: Image Lifecycle (Create) Patch - Video

2011-08-08 Thread Pavel Sanda
Tommaso Cucinotta wrote:
 In the case, what further changes/improvements would be needed, and when

currently i'm no more able to insert .eps figs without some warning messages 
about
It was not possible to infer the format from the file contents or its name.
edit/create is not enabled even when the file exists.
when going to external material browse for .dia file and trying to edit it
lyx asserts.

On a related note, what's the current development/releasing status of
(the upcoming versions of) LyX ?

the feature seems to be somewhat controversial, but i'm no more the right one
to be CC-ed, Vincent took the command.

pavel


Re: Fwd: Re: Image Lifecycle (Create) Patch - Video

2011-08-08 Thread Pavel Sanda
Tommaso Cucinotta wrote:
> In the case, what further changes/improvements would be needed, and when

currently i'm no more able to insert .eps figs without some warning messages 
about
"It was not possible to infer the format from the file contents or its name."
edit/create is not enabled even when the file exists.
when going to external material browse for .dia file and trying to edit it
lyx asserts.

>On a related note, what's the current development/releasing status of
>(the upcoming versions of) LyX ?

the feature seems to be somewhat controversial, but i'm no more the right one
to be CC-ed, Vincent took the command.

pavel