Re: [PATCH] New Templates/Examples dialog

2019-03-29 Thread Kornel Benko
Am Freitag, 29. März 2019, 12:49:15 CET schrieb Guenter Milde: > > [/]//[*/] > > Now, the menu entry Help>Specific_Manuals ... > fails to open any of the specific manuals. The terminal says > > LyX: unable to find documentation file `Linguistics'. Bad installation? Changing lib/ui/stdmenus.in

Re: [PATCH] New Templates/Examples dialog

2019-03-29 Thread Jürgen Spitzmüller
Am Freitag, den 29.03.2019, 12:49 + schrieb Guenter Milde: > Now, the menu entry Help>Specific_Manuals ... > fails to open any of the specific manuals. The terminal says > > LyX: unable to find documentation file `Linguistics'. Bad > installation? Fixed. Thanks. > Some ideas: > > * Could

Re: [PATCH] New Templates/Examples dialog

2019-03-29 Thread Guenter Milde
On 2019-03-17, Jürgen Spitzmüller wrote: Thank you for the dialogue. It is an improvement, indeed. > The dialog also has a Browse button that opens the file dialog (in the > respective system directory) if a user wants to open a file beyond > those dirs. So the current procedure is still there, j

Re: [PATCH] New Templates/Examples dialog

2019-03-29 Thread Jürgen Spitzmüller
Am Freitag, den 29.03.2019, 12:56 +0100 schrieb Daniel: > The dialog has the default group box style. Fixed. Jürgen signature.asc Description: This is a digitally signed message part

Re: [PATCH] New Templates/Examples dialog

2019-03-29 Thread Daniel
On 17/03/2019 17:25, Jürgen Spitzmüller wrote: Dear all I have set up a new dialog for easier and more convenient access to LyX Templates and Examples. The dialog has the default group box style. I seem to remember that this is by your own lights wrong. (Though I am still inclined to think t

Re: [PATCH] New Templates/Examples dialog

2019-03-23 Thread Jürgen Spitzmüller
Am Samstag, den 23.03.2019, 09:29 +0100 schrieb Daniel: > So, just disabling it if no file is chosen seems clearer to me. Just to let you know that I took note of your opinion. Jürgen signature.asc Description: This is a digitally signed message part

Re: [PATCH] New Templates/Examples dialog

2019-03-23 Thread Daniel
On 23/03/2019 09:16, Jürgen Spitzmüller wrote: Am Samstag, den 23.03.2019, 08:35 +0100 schrieb Daniel: I'll just keep adding my thoughts on the language selector here even though it did not get a response yet. I think I have implemented almost every of your (and other's) suggestions to this di

Re: [PATCH] New Templates/Examples dialog

2019-03-23 Thread Jürgen Spitzmüller
Am Samstag, den 23.03.2019, 08:35 +0100 schrieb Daniel: > I'll just keep adding my thoughts on the language selector here even > though it did not get a response yet. I think I have implemented almost every of your (and other's) suggestions to this dialog (and as quickly as I could in parallel to

Re: [PATCH] New Templates/Examples dialog

2019-03-23 Thread Daniel
On 22/03/2019 06:53, Daniel wrote: On 2019-03-21 11:04, Daniel wrote: On 21/03/2019 10:49, Jean-Marc Lasgouttes wrote: Le 21/03/2019 à 10:39, Jürgen Spitzmüller a écrit : Am Do., 21. März 2019 um 10:35 Uhr schrieb Jean-Marc Lasgouttes mailto:lasgout...@lyx.org>>:     It looks good. A few add

Re: [PATCH] New Templates/Examples dialog

2019-03-22 Thread Jürgen Spitzmüller
Am Sonntag, den 17.03.2019, 23:03 +0100 schrieb Jean-Marc Lasgouttes: > Could this be used for prefs too? I think of bindings, > user interface, keyboards, and generally all the things that force us > to > use non-native dialogs. Done for ui, bind and keymap. Please check it out. Jürgen signa

Re: [PATCH] New Templates/Examples dialog

2019-03-21 Thread Daniel
On 2019-03-21 11:04, Daniel wrote: On 21/03/2019 10:49, Jean-Marc Lasgouttes wrote: Le 21/03/2019 à 10:39, Jürgen Spitzmüller a écrit : Am Do., 21. März 2019 um 10:35 Uhr schrieb Jean-Marc Lasgouttes mailto:lasgout...@lyx.org>>:     It looks good. A few additional remarks:     * the Type sele

Re: [PATCH] New Templates/Examples dialog

2019-03-21 Thread Jürgen Spitzmüller
Am Donnerstag, den 21.03.2019, 12:52 +0100 schrieb Jürgen Spitzmüller: > Am Do., 21. März 2019 um 10:49 Uhr schrieb Jean-Marc Lasgouttes < > lasgout...@lyx.org>: > > > I thought it would make sense to be able to open an example file > > as > > > template and vice versa. > > > > I would say that i

Re: [PATCH] New Templates/Examples dialog

2019-03-21 Thread Jürgen Spitzmüller
Am Donnerstag, den 21.03.2019, 09:11 +0100 schrieb Daniel: > But I'd be happy about an options to show only user, only system, or > both templates the last state of which is saved and restored upon > re-opening the dialog. Use case: apart from my very beginnings with > LyX, > I never used any sy

Re: [PATCH] New Templates/Examples dialog

2019-03-21 Thread Kornel Benko
Am Donnerstag, 21. März 2019 14:41:04 CET schrieb Jürgen Spitzmüller : > Am Do., 21. März 2019 um 14:38 Uhr schrieb Kornel Benko : > > > But there are some files which are _not_ in translations (but in system > > dir) which nonetheless are displayed. > > > > See Letters->Serial_Letter_?.lyx > > B

Re: [PATCH] New Templates/Examples dialog

2019-03-21 Thread Jürgen Spitzmüller
Am Do., 21. März 2019 um 14:38 Uhr schrieb Kornel Benko : > But there are some files which are _not_ in translations (but in system > dir) which nonetheless are displayed. > > See Letters->Serial_Letter_?.lyx > But I see, what you mean, the language dir part is missing. > Should be fixed. Jürgen

Re: [PATCH] New Templates/Examples dialog

2019-03-21 Thread Kornel Benko
Am Donnerstag, 21. März 2019 14:23:33 CET schrieb Jürgen Spitzmüller : > Am Do., 21. März 2019 um 14:02 Uhr schrieb Kornel Benko : > > > For instance a file in ~/.lyx/examples/de/Curricula_Vitae/xyzzy.lyx > > is not visible. > > > > The language subtrees are only used for translations to real fi

Re: [PATCH] New Templates/Examples dialog

2019-03-21 Thread Jürgen Spitzmüller
Am Do., 21. März 2019 um 14:02 Uhr schrieb Kornel Benko : > For instance a file in ~/.lyx/examples/de/Curricula_Vitae/xyzzy.lyx > is not visible. > The language subtrees are only used for translations to real files. So ~/.lyx/examples/de/Curricula_Vitae/xyzzy.lyx will be displayed only if there

Re: [PATCH] New Templates/Examples dialog

2019-03-21 Thread Jürgen Spitzmüller
Am Do., 21. März 2019 um 10:39 Uhr schrieb Jürgen Spitzmüller : > * can the tooltip be used to convey explicitly whether the file is from >> user or system dir ? I am not sure that people will understand >> immediately what the icons mean. >> > > Yes, it should do this, but this is currently broke

Re: [PATCH] New Templates/Examples dialog

2019-03-21 Thread Jürgen Spitzmüller
Am Do., 21. März 2019 um 12:56 Uhr schrieb Jürgen Spitzmüller : > I can just fill the combo with all available languages if no item is > selected. This will not be of (much) use, but maybe it is less confusing. > Done. Jürgen

Re: [PATCH] New Templates/Examples dialog

2019-03-21 Thread Kornel Benko
Am Mittwoch, 20. März 2019 12:40:39 CET schrieb Jürgen Spitzmüller : > Am Mi., 20. März 2019 um 10:46 Uhr schrieb Daniel : > > > I think own templates (from the user directory) should appear in their > > own category, maybe called "User templates", and right at the top of the > > list. (If it app

Re: [PATCH] New Templates/Examples dialog

2019-03-21 Thread Jürgen Spitzmüller
Am Do., 21. März 2019 um 12:52 Uhr schrieb Jürgen Spitzmüller : > Well, it cannot be a global selector, since we do not have translations > for all files. But in a way it is a global selector, since the selected > value is preferred to other selections as well, if it is available. > I can just fi

Re: [PATCH] New Templates/Examples dialog

2019-03-21 Thread Jürgen Spitzmüller
Am Do., 21. März 2019 um 10:49 Uhr schrieb Jean-Marc Lasgouttes < lasgout...@lyx.org>: > > I thought it would make sense to be able to open an example file as > > template and vice versa. > > I would say that it is more confusing than helpful, but it is only me. > MAybe I remove it again. > > >

Re: [PATCH] New Templates/Examples dialog

2019-03-21 Thread Kornel Benko
Am Donnerstag, 21. März 2019 10:55:57 CET schrieb Daniel : > On 21/03/2019 09:47, Jürgen Spitzmüller wrote: > > Am Donnerstag, den 21.03.2019, 09:18 +0100 schrieb Daniel: > >> I find the default state of the Language drop down a bit confusing. > >> It > >> seems to always show its first entry (Afri

Re: [PATCH] New Templates/Examples dialog

2019-03-21 Thread Daniel
On 21/03/2019 10:49, Jean-Marc Lasgouttes wrote: Le 21/03/2019 à 10:39, Jürgen Spitzmüller a écrit : Am Do., 21. März 2019 um 10:35 Uhr schrieb Jean-Marc Lasgouttes mailto:lasgout...@lyx.org>>:     It looks good. A few additional remarks:     * the Type selector is a bit confusing, since the t

Re: [PATCH] New Templates/Examples dialog

2019-03-21 Thread Daniel
On 21/03/2019 09:47, Jürgen Spitzmüller wrote: Am Donnerstag, den 21.03.2019, 09:18 +0100 schrieb Daniel: I find the default state of the Language drop down a bit confusing. It seems to always show its first entry (Afrikaans) when opening (after a restart). What does this mean? Do I have to cha

Re: [PATCH] New Templates/Examples dialog

2019-03-21 Thread Jean-Marc Lasgouttes
Le 21/03/2019 à 10:39, Jürgen Spitzmüller a écrit : Am Do., 21. März 2019 um 10:35 Uhr schrieb Jean-Marc Lasgouttes mailto:lasgout...@lyx.org>>: It looks good. A few additional remarks: * the Type selector is a bit confusing, since the two types are open from a different menu entry.

Re: [PATCH] New Templates/Examples dialog

2019-03-21 Thread Jürgen Spitzmüller
Am Do., 21. März 2019 um 10:35 Uhr schrieb Jean-Marc Lasgouttes < lasgout...@lyx.org>: > It looks good. A few additional remarks: > * the Type selector is a bit confusing, since the two types are open > from a different menu entry. What is the use case? I would get rid of it. > I thought it would

Re: [PATCH] New Templates/Examples dialog

2019-03-21 Thread Jean-Marc Lasgouttes
Le 20/03/2019 à 18:40, Jürgen Spitzmüller a écrit : I tried it, and it does not look bad IMHO. Please try it out. I also added the icons to the subcategories, so this should also cure JMarc's woes with the alignment. It looks good. A few additional remarks: * the Type selector is a bit confusin

Re: [PATCH] New Templates/Examples dialog

2019-03-21 Thread Jürgen Spitzmüller
Am Donnerstag, den 21.03.2019, 09:18 +0100 schrieb Daniel: > I find the default state of the Language drop down a bit confusing. > It > seems to always show its first entry (Afrikaans) when opening (after > a > restart). What does this mean? > > Do I have to change it every time to the language

Re: [PATCH] New Templates/Examples dialog

2019-03-21 Thread Daniel
On 19/03/2019 16:46, Jürgen Spitzmüller wrote: Am Di., 19. März 2019 um 16:43 Uhr schrieb Kornel Benko >: The problem starts with multi-language. Imagine following: 1.) The GUI is German 2.) We want write a French presentation 3.) Load a template (e.g.

Re: [PATCH] New Templates/Examples dialog

2019-03-21 Thread Daniel
On 20/03/2019 18:40, Jürgen Spitzmüller wrote: Am Mittwoch, den 20.03.2019, 18:03 +0100 schrieb Jürgen Spitzmüller: Am Mittwoch, den 20.03.2019, 14:02 +0100 schrieb Jean-Marc Lasgouttes: The icons (that I personally find useless right now) could be used to convey (1) the system/user status and

Re: [PATCH] New Templates/Examples dialog

2019-03-20 Thread Jürgen Spitzmüller
Am Mittwoch, den 20.03.2019, 18:03 +0100 schrieb Jürgen Spitzmüller: > Am Mittwoch, den 20.03.2019, 14:02 +0100 schrieb Jean-Marc > Lasgouttes: > > The icons (that I personally find useless right now) could be used > > to > > convey (1) the system/user status and (2) the language. > > I doubt we

Re: [PATCH] New Templates/Examples dialog

2019-03-20 Thread Jürgen Spitzmüller
Am Mittwoch, den 20.03.2019, 14:02 +0100 schrieb Jean-Marc Lasgouttes: > The icons (that I personally find useless right now) could be used > to > convey (1) the system/user status and (2) the language. I doubt we can display both. But if somebody has concrete suggestions for such icons, I would

Re: [PATCH] New Templates/Examples dialog

2019-03-20 Thread Jean-Marc Lasgouttes
Le 20/03/2019 à 12:40, Jürgen Spitzmüller a écrit : Am Mi., 20. März 2019 um 10:46 Uhr schrieb Daniel >: I think own templates (from the user directory) should appear in their own category, maybe called "User templates", and right at the top of the list. (

Re: [PATCH] New Templates/Examples dialog

2019-03-20 Thread Daniel
On 20/03/2019 12:40, Jürgen Spitzmüller wrote: Am Mi., 20. März 2019 um 10:46 Uhr schrieb Daniel mailto:xraco...@gmx.de>>: I think own templates (from the user directory) should appear in their own category, maybe called "User templates", and right at the top of the list. (If

Re: [PATCH] New Templates/Examples dialog

2019-03-20 Thread Jürgen Spitzmüller
Am Mi., 20. März 2019 um 10:46 Uhr schrieb Daniel : > I think own templates (from the user directory) should appear in their > own category, maybe called "User templates", and right at the top of the > list. (If it appearing at the top is tricky due to automatic sorting > maybe add an asterisk at

Re: [PATCH] New Templates/Examples dialog

2019-03-20 Thread Daniel
I think own templates (from the user directory) should appear in their own category, maybe called "User templates", and right at the top of the list. (If it appearing at the top is tricky due to automatic sorting maybe add an asterisk at the beginning, e.g. "* User templates".) Daniel

Re: [PATCH] New Templates/Examples dialog

2019-03-20 Thread Daniel
It would be better if one could not open a category and instead it expands. Daniel

Re: [PATCH] New Templates/Examples dialog

2019-03-19 Thread Jürgen Spitzmüller
Am Di., 19. März 2019 um 16:43 Uhr schrieb Kornel Benko : > The problem starts with multi-language. > Imagine following: > 1.) The GUI is German > 2.) We want write a French presentation > 3.) Load a template (e.g. Beamer.lyx) > > Since the GUI is German, we get the German version. If there is no

Re: [PATCH] New Templates/Examples dialog

2019-03-19 Thread Kornel Benko
Am Montag, 18. März 2019 13:37:53 CET schrieb Jürgen Spitzmüller : > Am Montag, den 18.03.2019, 13:13 +0100 schrieb Pavel Sanda: > > Minor detail, but I would let the default of the list to be > > uncollapsed > > so you see all categories at once. > > I tried this, but I prefer to have them uncol

Re: [PATCH] New Templates/Examples dialog

2019-03-18 Thread Jürgen Spitzmüller
Am Montag, den 18.03.2019, 13:13 +0100 schrieb Pavel Sanda: > Minor detail, but I would let the default of the list to be > uncollapsed > so you see all categories at once. I tried this, but I prefer to have them uncollapsed (since it requires less clicks) > And the icons seem useless... P I th

Re: [PATCH] New Templates/Examples dialog

2019-03-18 Thread Pavel Sanda
On Sun, Mar 17, 2019 at 05:25:24PM +0100, Jürgen Spitzmüller wrote: > Thoughts? Minor detail, but I would let the default of the list to be uncollapsed so you see all categories at once. And the icons seem useless... P

Re: [PATCH] New Templates/Examples dialog

2019-03-18 Thread Jürgen Spitzmüller
Am Montag, den 18.03.2019, 08:19 +0100 schrieb Stephan Witt: > The only thing I can see ATM is a minor cosmetic issue: the icon in > front of the file names is too large. I’d prefer to see more file > names and less pictures :) Thanks, I'll scale it down a bit. I have also ironed out some issues s

Re: [PATCH] New Templates/Examples dialog

2019-03-18 Thread Stephan Witt
Am 17.03.2019 um 17:25 schrieb Jürgen Spitzmüller : > > Dear all > > I have set up a new dialog for easier and more convenient access to LyX > Templates and Examples. Rather than using the file dialog, this dialog > lists all templates or examples in a categorized tree and lets you > immediately

Re: [PATCH] New Templates/Examples dialog

2019-03-17 Thread Jürgen Spitzmüller
Am Sonntag, den 17.03.2019, 23:03 +0100 schrieb Jean-Marc Lasgouttes: > This looks great. Could this be used for prefs too? I think of > bindings, > user interface, keyboards, and generally all the things that force us > to > use non-native dialogs. Yes, it can be extended for such means. Jürge

Re: [PATCH] New Templates/Examples dialog

2019-03-17 Thread Jean-Marc Lasgouttes
Le 17/03/2019 à 17:25, Jürgen Spitzmüller a écrit : Dear all I have set up a new dialog for easier and more convenient access to LyX Templates and Examples. Rather than using the file dialog, this dialog lists all templates or examples in a categorized tree and lets you immediately open one by d

[PATCH] New Templates/Examples dialog

2019-03-17 Thread Jürgen Spitzmüller
Dear all I have set up a new dialog for easier and more convenient access to LyX Templates and Examples. Rather than using the file dialog, this dialog lists all templates or examples in a categorized tree and lets you immediately open one by double-click (or "Open"). So each and any Template/Exam