Re: Categorization of letter classes

2012-10-12 Thread Richard Heck
On 10/12/2012 03:10 AM, Jürgen Spitzmüller wrote: Richard Heck wrote: I bumped the format number, which seemed like a good idea, and wrote some lyx2lyx to deal with this, but it doesn't really work. I mean, I can use it manually to convert my own layouts, which seems like a good idea, but the ca

Re: Categorization of letter classes

2012-10-12 Thread Jürgen Spitzmüller
Jürgen Spitzmüller wrote: > The script tries to convert my layouts at run-time, but it produces an > invalid file. The attached patch fixes the problem. Jürgendiff --git a/lib/scripts/layout2layout.py b/lib/scripts/layout2layout.py index 1248c7f..02a698b 100644 --- a/lib/scripts/layout2layout.py

Re: Categorization of letter classes

2012-10-12 Thread Jürgen Spitzmüller
Richard Heck wrote: > I bumped the format number, which seemed like a good idea, and wrote > some lyx2lyx to deal with this, but it doesn't really work. I mean, I > can use it manually to convert my own layouts, which seems like a good > idea, but the category info is written at conversion time,

Re: Categorization of letter classes

2012-10-10 Thread Jean-Marc Lasgouttes
Le 10/10/12 19:58, Richard Heck a écrit : I bumped the format number, which seemed like a good idea, and wrote some lyx2lyx to deal with this, but it doesn't really work. I mean, I can use it manually to convert my own layouts, which seems like a good idea, but the category info is written at con

Re: Categorization of letter classes

2012-10-10 Thread Richard Heck
On 10/10/2012 01:15 PM, Richard Heck wrote: On 10/10/2012 11:15 AM, Jean-Marc Lasgouttes wrote: Le 10/10/12 17:12, Jürgen Spitzmüller a écrit : Good idea. This would still only be a first step, since the change also involves (or should involve) a revision of the description. But better than not

Re: Categorization of letter classes

2012-10-10 Thread Richard Heck
On 10/10/2012 11:15 AM, Jean-Marc Lasgouttes wrote: Le 10/10/12 17:12, Jürgen Spitzmüller a écrit : Good idea. This would still only be a first step, since the change also involves (or should involve) a revision of the description. But better than nothing. Did you do more than keep what is ins

Re: Categorization of letter classes

2012-10-10 Thread Jürgen Spitzmüller
2012/10/10 Jean-Marc Lasgouttes : > I see. That is indeed difficult to automate. Well, we could write a Siri plugin ;-) Jürgen

Re: Categorization of letter classes

2012-10-10 Thread Jean-Marc Lasgouttes
Le 10/10/12 17:12, Jürgen Spitzmüller a écrit : Good idea. This would still only be a first step, since the change also involves (or should involve) a revision of the description. But better than nothing. Did you do more than keep what is inside parenthesis? Any volunteers? Good question :)

Re: Categorization of letter classes

2012-10-10 Thread Jürgen Spitzmüller
2012/10/10 Jean-Marc Lasgouttes : > Would it be possible to autocategorize layouts in layout2layout, i.e. catch > the name "letter(Foo)", set category to Letter and description to Foo? > > If we do that only for the categories we know (artcile, letter, ...) this > should not be too error-prone. > >

Re: Categorization of letter classes

2012-10-10 Thread Jean-Marc Lasgouttes
Le 10/10/12 16:47, Kornel Benko a écrit : > They are categorized here (I habe categorized all layouts in the > repo). Do you have copies of these layout in your ~./lyx/layouts > directory? That's it! Would it be possible to autocategorize layouts in layout2layout, i.e. catch the name "lett

Re: Re: Categorization of letter classes

2012-10-10 Thread Kornel Benko
Am Mittwoch, 10. Oktober 2012 um 14:56:01, schrieb Jürgen Spitzmüller > 2012/10/10 Kornel Benko: > > Jürgen, the classes 'letter (g-brief...)' are not categorized. But could > > they not belong > > > > to category "Letters"? > > They are categorized here (I habe categorized all layouts in the >