Re: [PATCH] Make math autocorrrect work with more than 2 chars

2019-04-17 Thread Jean-Marc Lasgouttes
Le 17/04/2019 à 01:32, Isaac Oscar Gariano a écrit : Dear Jean-Marc, I was using equation to write syntax-highlighted code. So I wanted to write something like this: $\keyword{hello} \comment{this is a comment}$ Which would display as hello// this is a comment Here \comment would

Re: [PATCH] Make math autocorrrect work with more than 2 chars

2019-04-17 Thread Jean-Marc Lasgouttes
the GNU General Public License, version 2 or later I would need you to send this statement to the lyx-devel list for archival purpose. * What do you mean by a "* a more consistent commit log for your patch"? Sorry, it was a French/English false friend. I meant that git commit should

Re: [PATCH] Make math autocorrrect work with more than 2 chars

2019-04-16 Thread Scott Kostyshak
On Wed, Apr 17, 2019 at 01:58:08AM +, Isaac Oscar Gariano wrote: > Most of my brackets are unfortunantly in \texttt, so stretching them dosn't > work; however for all my normal math ones I do use the stretch forms. > Interestingly for functions the \left\right version of parentheses has a >

Re: [PATCH] Make math autocorrrect work with more than 2 chars

2019-04-16 Thread Isaac Oscar Gariano
saac Oscar Gariano From: Scott Kostyshak Sent: 17 April 2019 1:23 PM To: Isaac Oscar Gariano Cc: Jean-Marc Lasgouttes; lyx-devel@lists.lyx.org Subject: Re: [PATCH] Make math autocorrrect work with more than 2 chars On Wed, Apr 17, 2019 at 12:36:56AM +, I

Re: [PATCH] Make math autocorrrect work with more than 2 chars

2019-04-16 Thread Scott Kostyshak
On Wed, Apr 17, 2019 at 12:36:56AM +, Isaac Oscar Gariano wrote: > Dear Scott, > > It does thank you! However presing "alt+m, shift+9" is a bit unconfortable > and slow. A command like \( would be more convienet, however if I make one > like that with an arugment, LyX places the cursor

Re: [PATCH] Make math autocorrrect work with more than 2 chars

2019-04-16 Thread Isaac Oscar Gariano
, it works as expected. — Isaac From: Scott Kostyshak Sent: 17 April 2019 12:26 PM To: Isaac Oscar Gariano Cc: Jean-Marc Lasgouttes; lyx-devel@lists.lyx.org Subject: Re: [PATCH] Make math autocorrrect work with more than 2 chars On Tue, Apr 16, 2019 at 11:36:

Re: [PATCH] Make math autocorrrect work with more than 2 chars

2019-04-16 Thread Scott Kostyshak
On Tue, Apr 16, 2019 at 11:36:36PM +, Isaac Oscar Gariano wrote: > Interestingly, microsoft word has a lovely feature where it autosizes braces! > So you type (a/b) and the parantheses will match the high of the fraction. I > know lyx has a way of doing this with insert->math->delimiters,

Re: [PATCH] Make math autocorrrect work with more than 2 chars

2019-04-16 Thread Isaac Oscar Gariano
ac Oscar Gariano Subject: Re: [PATCH] Make math autocorrrect work with more than 2 chars Le 15/04/2019 à 16:08, Enrico Forestieri a écrit : > On Mon, Apr 15, 2019 at 12:16:26PM +0200, Jean-Marc Lasgouttes wrote: >> >> OK, it was just a suggestion. More important would be to have new bind

Re: [PATCH] Make math autocorrrect work with more than 2 chars

2019-04-16 Thread Isaac Oscar Gariano
Gariano; LyX Mechanics Subject: Re: [PATCH] Make math autocorrrect work with more than 2 chars Hi again, Let's go through the remaining issues now. Le 12/04/2019 à 05:23, Isaac Oscar Gariano a écrit : > * It supports unicode input. LyX seems supports this as well, but when >

Re: patch to include latest supported programming languages in listings.tex

2019-04-15 Thread Jürgen Spitzmüller
Am Montag, den 15.04.2019, 10:01 -0700 schrieb Sergei Winitzki: > Thank you Jürgen for a quick response! I have been using LyX since > 1999 for every technical document I write, and I am glad to see that > the project is going strong after 20 years. Meanwhile, I also encountered that we already

Re: patch to include latest supported programming languages in listings.tex

2019-04-15 Thread Sergei Winitzki
700 schrieb Sergei Winitzki: > > > > "I hereby grant permission to license my contributions to LyX > > under the GNU General Public License, version 2 or later." > > Thanks, Sergei. Patch is in (master). > > Riki, this could also be backported. > > Jürgen > >

Re: [PATCH] Make math autocorrrect work with more than 2 chars

2019-04-15 Thread Guenter Milde
On 2019-04-15, Enrico Forestieri wrote: > On Mon, Apr 15, 2019 at 12:16:26PM +0200, Jean-Marc Lasgouttes wrote: >> Le 12/04/2019 à 05:23, Isaac Oscar Gariano a écrit : >> > * It supports unicode input. LyX seems supports this as well, but when >> > I put '→' in the autocorrect file instead

Re: [PATCH] Make math autocorrrect work with more than 2 chars

2019-04-15 Thread Enrico Forestieri
On Mon, Apr 15, 2019 at 05:33:13PM +0200, Enrico Forestieri wrote: > On Mon, Apr 15, 2019 at 05:18:52PM +0200, Jean-Marc Lasgouttes wrote: > > > > In this case of this rightarrow, why was it decided that it is a text thing? > > The unicode reference puts in the the Symbol and Math categories. I

Re: [PATCH] Make math autocorrrect work with more than 2 chars

2019-04-15 Thread Enrico Forestieri
On Mon, Apr 15, 2019 at 05:18:52PM +0200, Jean-Marc Lasgouttes wrote: > Le 15/04/2019 à 16:54, Enrico Forestieri a écrit : > > > I guess this is the question: what is the reason why the character is > > > entered as text? Don't we have means to know that this one could be > > > entered > > >

Re: [PATCH] Make math autocorrrect work with more than 2 chars

2019-04-15 Thread Jean-Marc Lasgouttes
Le 15/04/2019 à 16:54, Enrico Forestieri a écrit : I guess this is the question: what is the reason why the character is entered as text? Don't we have means to know that this one could be entered directly as math character? We already do that with some symbols such as è, which is entered in

Re: [PATCH] Make math autocorrrect work with more than 2 chars

2019-04-15 Thread Enrico Forestieri
On Mon, Apr 15, 2019 at 04:33:16PM +0200, Jean-Marc Lasgouttes wrote: > > [Enrico, please try to keep Isaac in the loop for now, at least until we > know he is subscribed] Will try to remember. > Le 15/04/2019 à 16:28, Enrico Forestieri a écrit : > > On Mon, Apr 15, 2019 at 12:16:26PM +0200,

Re: [PATCH] Make math autocorrrect work with more than 2 chars

2019-04-15 Thread Enrico Forestieri
uld be to have new bindings > > > that use the feature. I guess one candidate is > > > --> \longrightarrow > > > > Another interesting feature made possible by this patch is the > > following one: > > > > ( *\bigl( &

Re: [PATCH] Make math autocorrrect work with more than 2 chars

2019-04-15 Thread Jean-Marc Lasgouttes
[Enrico, please try to keep Isaac in the loop for now, at least until we know he is subscribed] Le 15/04/2019 à 16:28, Enrico Forestieri a écrit : On Mon, Apr 15, 2019 at 12:16:26PM +0200, Jean-Marc Lasgouttes wrote: Let's go through the remaining issues now. Le 12/04/2019 à 05:23, Isaac

Re: [PATCH] Make math autocorrrect work with more than 2 chars

2019-04-15 Thread Enrico Forestieri
On Mon, Apr 15, 2019 at 12:16:26PM +0200, Jean-Marc Lasgouttes wrote: > > Let's go through the remaining issues now. > > Le 12/04/2019 à 05:23, Isaac Oscar Gariano a écrit : > > * It supports unicode input. LyX seems supports this as well, but when > > I put '→' in the autocorrect file

Re: [PATCH] Make math autocorrrect work with more than 2 chars

2019-04-15 Thread Jean-Marc Lasgouttes
ing feature made possible by this patch is the following one: ( *\bigl( \bigl(*\Bigl( \Bigl(*\biggl( \biggl( *\Biggl( \Biggl( *( This will let you type ( and then, by repeteadly hitting *, cycle through all fixed si

Re: [PATCH] Make math autocorrrect work with more than 2 chars

2019-04-15 Thread Enrico Forestieri
On Mon, Apr 15, 2019 at 12:16:26PM +0200, Jean-Marc Lasgouttes wrote: > > OK, it was just a suggestion. More important would be to have new bindings > that use the feature. I guess one candidate is > --> \longrightarrow Another interesting feature made possibl

Re: [PATCH] Make math autocorrrect work with more than 2 chars

2019-04-15 Thread Jean-Marc Lasgouttes
Hi again, Let's go through the remaining issues now. Le 12/04/2019 à 05:23, Isaac Oscar Gariano a écrit : * It supports unicode input. LyX seems supports this as well, but when I put '→' in the autocorrect file instead of '\rightarrow' it shows in lyx with a different font, however

Re: [PATCH] Make math autocorrrect work with more than 2 chars

2019-04-15 Thread Jean-Marc Lasgouttes
: * It supports autocorrect from an arbitrarilly long sequence of unicode characters. * It supports undoing the autocorrect with Ctrl-Z So, let us start with those two issues. Attached is a simple revision of your own patch with two changes * a warning fixed * I use MathData::erase instead

Re: patch to include latest supported programming languages in listings.tex

2019-04-15 Thread Jürgen Spitzmüller
Am Sonntag, den 14.04.2019, 22:26 -0700 schrieb Sergei Winitzki: > > "I hereby grant permission to license my contributions to LyX > under the GNU General Public License, version 2 or later." Thanks, Sergei. Patch is in (master). Riki, this could also be backported. Jürg

Fwd: Re: [PATCH] Make math autocorrrect work with more than 2 chars

2019-04-15 Thread Jean-Marc Lasgouttes
* or that you create tickets on www.lyx.org/trac for the different subjects that are outlines below. Next, I'll write about the patches, which are the interesting part :) JMarc Message transféré Sujet : Re: [PATCH] Make math autocorrrect work with more than 2 chars Date

Re: patch to include latest supported programming languages in listings.tex

2019-04-14 Thread Sergei Winitzki
> Listings.tex support is missing a few newer languages. This patch > > adds them. > > Dear Sergei > > Many thanks for this contribution! There's a small glitch in it, > though: you dropped "C" from languages_gui. > > Also, before we can commit, we need your explicit

Re: patch to include latest supported programming languages in listings.tex

2019-04-14 Thread Jürgen Spitzmüller
Am Donnerstag, den 11.04.2019, 19:12 -0700 schrieb Sergei Winitzki: > Hi, > Listings.tex support is missing a few newer languages. This patch > adds them. Dear Sergei Many thanks for this contribution! There's a small glitch in it, though: you dropped "C" from languages_gui.

patch to include latest supported programming languages in listings.tex

2019-04-12 Thread Sergei Winitzki
Hi, Listings.tex support is missing a few newer languages. This patch adds them. Regards, Sergei mychanges.diff Description: Binary data

Re: [RFC][PATCH] Draw display math numbering outside of inset

2019-04-03 Thread Joel Kulesza
On Wed, Apr 3, 2019 at 2:09 AM Jean-Marc Lasgouttes wrote: > Le 03/04/2019 à 06:19, Joel Kulesza a écrit : > > My apologies for not trying this patch to know the implications before > > asking, but will this provide a path to incorporating native subequation > > numbering?

Re: [RFC][PATCH] Draw display math numbering outside of inset

2019-04-03 Thread Jean-Marc Lasgouttes
Le 03/04/2019 à 06:19, Joel Kulesza a écrit : My apologies for not trying this patch to know the implications before asking, but will this provide a path to incorporating native subequation numbering? From the submodule I submitted previously, I use an inset to set the environment around them

Re: [RFC][PATCH] Draw display math numbering outside of inset

2019-04-02 Thread Daniel
that have starting or ending material). This is not related to the existence of equation numbers. But I understand that numbers and labels can collide. I agree that the existence of the bug is independent of your patch. But its severity depends on the cases where it occurs. With your patch

Re: [RFC][PATCH] Draw display math numbering outside of inset

2019-04-02 Thread Joel Kulesza
On Tue, Apr 2, 2019 at 3:24 AM Jean-Marc Lasgouttes wrote: > Dear all, > > This is something I have been wanting to do for some time. For now, I > present the easy part. I will continue if there is an agreement that > this is the way to go. > > Comments? > My apologies f

Re: [RFC][PATCH] Draw display math numbering outside of inset

2019-04-02 Thread Daniel
). This is not related to the existence of equation numbers. But I understand that numbers and labels can collide. I agree that the existence of the bug is independent of your patch. But its severity depends on the cases where it occurs. With your patch it occurs much more often. Hence I

Re: [RFC][PATCH] Draw display math numbering outside of inset

2019-04-02 Thread Daniel
to the existence of equation numbers. But I understand that numbers and labels can collide. I agree that the existence of the bug is independent of your patch. But its severity depends on the cases where it occurs. With your patch it occurs much more often. Hence I disagree that these issues

Re: [RFC][PATCH] Draw display math numbering outside of inset

2019-04-02 Thread Jean-Marc Lasgouttes
Le 02/04/2019 à 16:56, Richard Kimberly Heck a écrit : On 4/2/19 5:17 AM, Jean-Marc Lasgouttes wrote: Dear all, This is something I have been wanting to do for some time. For now, I present the easy part. I will continue if there is an agreement that this is the way to go. Comments? Simple

Re: [RFC][PATCH] Draw display math numbering outside of inset

2019-04-02 Thread Richard Kimberly Heck
On 4/2/19 5:17 AM, Jean-Marc Lasgouttes wrote: > Dear all, > > This is something I have been wanting to do for some time. For now, I > present the easy part. I will continue if there is an agreement that > this is the way to go. > > Comments? Simple comment about the log entry: The numbering is

Re: [RFC][PATCH] Draw display math numbering outside of inset

2019-04-02 Thread Jean-Marc Lasgouttes
Le 02/04/2019 à 16:00, Daniel a écrit : On 02/04/2019 15:45, Daniel wrote: On 02/04/2019 11:17, Jean-Marc Lasgouttes wrote: Dear all, This is something I have been wanting to do for some time. For now, I present the easy part. I will continue if there is an agreement that this is the way to

Re: [RFC][PATCH] Draw display math numbering outside of inset

2019-04-02 Thread Daniel
On 02/04/2019 15:45, Daniel wrote: On 02/04/2019 11:17, Jean-Marc Lasgouttes wrote: Dear all, This is something I have been wanting to do for some time. For now, I present the easy part. I will continue if there is an agreement that this is the way to go. Comments? Equations that end

Re: [RFC][PATCH] Draw display math numbering outside of inset

2019-04-02 Thread Jean-Marc Lasgouttes
Le 02/04/2019 à 15:45, Daniel a écrit : On 02/04/2019 11:17, Jean-Marc Lasgouttes wrote: Dear all, This is something I have been wanting to do for some time. For now, I present the easy part. I will continue if there is an agreement that this is the way to go. Comments? Equations that

Re: [RFC][PATCH] Draw display math numbering outside of inset

2019-04-02 Thread Daniel
On 02/04/2019 11:17, Jean-Marc Lasgouttes wrote: Dear all, This is something I have been wanting to do for some time. For now, I present the easy part. I will continue if there is an agreement that this is the way to go. Comments? Equations that end proofs are a corner case that you might

[RFC][PATCH] Draw display math numbering outside of inset

2019-04-02 Thread Jean-Marc Lasgouttes
Date: Tue, 2 Apr 2019 11:05:19 +0200 Subject: [PATCH] Draw display math numbering outside of inset This is the first (easiest) step in fixing bugs 10668 and 11333. The numbering is not drawn outside of the insets, which solves the alignment problems and make editing easier. What does not work yet

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

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,

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

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

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

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

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

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

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

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

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 > >

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.

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

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

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

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

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

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

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

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

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

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

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] Make math autocorrrect work with more than 2 chars

2019-03-20 Thread Scott Kostyshak
On Wed, Mar 20, 2019 at 06:47:21PM +0100, Jean-Marc Lasgouttes wrote: > Le 17/03/2019 à 01:28, Isaac Oscar Gariano a écrit : > > Dear Lyx Developors, > > Dear Isaac, > > Thanks a lot for this contribution. Yes, thank you Isaac. I hope you stick around! > Would it be possible to reload the file

Re: [PATCH] Make math autocorrrect work with more than 2 chars

2019-03-20 Thread Jean-Marc Lasgouttes
files. I understand why you found it useful, but we (I) try to limit new entries in preference files. Would it be possible to reload the file automatically when it is detected that it has changed? I have attached my git patch if you want to incorporate this feature into LyX. Would it be

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

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

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
me issues since the patch and added a filter bar. Jürgen signature.asc Description: This is a digitally signed message part

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-18 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.

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

[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

[PATCH] Make math autocorrrect work with more than 2 chars

2019-03-16 Thread Isaac Oscar Gariano
n Editing → Input Completion) to reload the autocorrect file, in case you modify it whilst LyX is running. I have attached my git patch if you want to incorporate this feature into LyX. I also wanted to get Ctrl+Z to undo the autocorrect (but not the character that triggered it), for example you w

Re: patch: added document language malayalam

2019-03-10 Thread Joe Doe
Thank you very much. :-)Joice10.03.2019, 21:15, "Jürgen Spitzmüller" :Am Sonntag, den 10.03.2019, 20:57 +0530 schrieb Joe Doe: Thank you very much for the support, Jürgen.Thank you! It's committed.Jürgen Joice

Re: patch: added document language malayalam

2019-03-10 Thread Jürgen Spitzmüller
Am Sonntag, den 10.03.2019, 20:57 +0530 schrieb Joe Doe: > Thank you very much for the support, Jürgen. Thank you! It's committed. Jürgen > > Joice signature.asc Description: This is a digitally signed message part

Re: patch: added document language malayalam

2019-03-10 Thread Joe Doe
I'd suggest to only support polyglossia for the moment.It is al right. I will update the patch and send it. thank yIs that fine with you, Joice?JürgenThank you very much for the support, Jürgen. JoiceFrom b663546a41fb4db0762cd894d63f0c21d76a2642 Mon Sep 17 00:00:00 2001 From: Joice Date: Thu,

Re: patch: added document language malayalam

2019-03-09 Thread Jürgen Spitzmüller
Am Samstag, den 09.03.2019, 20:52 +0530 schrieb Joe Doe: > hi. > why not. Thanks for the help. > I hereby grant permission to license any and all contributions I've > made to LyX under the Gnu GPL version 2 or later. Thanks for this. Meanwhile I had a closer look at the language situation. If I

Re: patch: added document language malayalam

2019-03-09 Thread Joe Doe
as introduced) Also, it looks like the indentation is wrong at this very place and the convert list above (you used tabs, whereas spaces are used). Python is picky with this.And one last thing we need before I can commit your patch is your GPLagreement. Please post a message to this list with a tex

Re: patch: added document language malayalam

2019-03-09 Thread Jürgen Spitzmüller
e (you used tabs, whereas spaces are used). Python > is > picky with this. And one last thing we need before I can commit your patch is your GPL agreement. Please post a message to this list with a text such as: "I hereby grant permission to license any and all contributions I've made to L

Re: patch: added document language malayalam

2019-03-09 Thread Jürgen Spitzmüller
ler" : > > Am Freitag, den 08.03.2019, 21:17 +0530 schrieb Joe Doe: > > > > > > 08.03.2019, 21:10, "Joe Doe" : > > > > I will update and send the patch now within, > > > > I think you misunderstood. You should not change lyx_2_

Re: patch: added document language malayalam

2019-03-08 Thread Joe Doe
Oh. Sorry. Thank you for the help.Joice08.03.2019, 21:35, "Jürgen Spitzmüller" :Am Freitag, den 08.03.2019, 21:17 +0530 schrieb Joe Doe: 08.03.2019, 21:10, "Joe Doe" <joi...@yandex.com>: > I will update and send the patch now within,I think you misunderstood. You

Re: patch: added document language malayalam

2019-03-08 Thread Jürgen Spitzmüller
Am Freitag, den 08.03.2019, 21:17 +0530 schrieb Joe Doe: > > > 08.03.2019, 21:10, "Joe Doe" : > > I will update and send the patch now within, I think you misunderstood. You should not change lyx_2_3.py at all. Instead, move your new reversion routines to lyx_2_4

<    4   5   6   7   8   9   10   11   12   13   >