Re: [LyX/master] Do some caching of window title and related UI

2016-10-23 Thread Guillaume Munch
Le 23/10/2016 à 13:27, Jean-Marc Lasgouttes a écrit : Le 22/10/2016 à 22:36, Guillaume Munch a écrit : I know that this is not really followed in LyX currently but I suggest to write "Q_EMIT titleChanged(this)" instead. This is meant to warn the reader that something they do not expect can

Re: [LyX/master] Correctly track ulem commands with change tracking

2016-10-23 Thread Guillaume Munch
Le 23/10/2016 à 19:55, Richard Heck a écrit : On 10/23/2016 01:02 PM, Guillaume Munch wrote: Le 23/10/2016 à 18:38, Enrico Forestieri a écrit : commit dea5ba16de1b98d93cf30ab65119bc2364a7ac2b Author: Enrico Forestieri Date: Sun Oct 23 18:23:41 2016 +0200 Correctly track

Re: [LyX/master] Fix Ticket #9741 misleading name for font-encoding setting "default".

2016-10-23 Thread Jürgen Spitzmüller
Am Samstag, den 22.10.2016, 18:02 + schrieb Guenter Milde: > > The first option (which should be the default, IMHO) uses whatever > font > > encoding is considered appropriate for the given language(s) and > > backend. We determine that via the fontenc option in languages. >    >   Please also

LyX unstable

2016-10-23 Thread Guillaume Munch
Dear list, As announced previously in a message that was probably missed (), and after discussions, I have created a branch, kept in sync with master, which reads and writes the stable format, together with a documentation of

Re: [LyX/master] On export, mark the start of the first paragraph

2016-10-23 Thread Guillaume Munch
Le 23/10/2016 à 19:02, Guillaume Munch a écrit : Le 23/10/2016 à 18:17, Enrico Forestieri a écrit : commit 9ba76e6c40738f9bd0d45d4cdb00a9842d47feec Author: Enrico Forestieri Date: Sun Oct 23 18:04:13 2016 +0200 On export, mark the start of the first paragraph No

Re: [LyX/master] Correctly track ulem commands with change tracking

2016-10-23 Thread Richard Heck
On 10/23/2016 01:02 PM, Guillaume Munch wrote: > Le 23/10/2016 à 18:38, Enrico Forestieri a écrit : >> commit dea5ba16de1b98d93cf30ab65119bc2364a7ac2b >> Author: Enrico Forestieri >> Date: Sun Oct 23 18:23:41 2016 +0200 >> >> Correctly track ulem commands with change

Re: [LyX/master] Correctly track ulem commands with change tracking

2016-10-23 Thread Enrico Forestieri
On Sun, Oct 23, 2016 at 09:09:22PM +0200, Guillaume Munch wrote: > Le 23/10/2016 à 19:55, Richard Heck a écrit : > > On 10/23/2016 01:02 PM, Guillaume Munch wrote: > > > Le 23/10/2016 à 18:38, Enrico Forestieri a écrit : > > > > commit dea5ba16de1b98d93cf30ab65119bc2364a7ac2b > > > > Author:

Re: [LyX/master] Correctly track ulem commands with change tracking

2016-10-23 Thread Guillaume Munch
Le 23/10/2016 à 18:38, Enrico Forestieri a écrit : commit dea5ba16de1b98d93cf30ab65119bc2364a7ac2b Author: Enrico Forestieri Date: Sun Oct 23 18:23:41 2016 +0200 Correctly track ulem commands with change tracking LyX assumes that everything in \lyxdeleted is struck

Possible Qt5 bugs (bug 10436)

2016-10-23 Thread Jean-Marc Lasgouttes
The following patch posted to http://www.lyx.org/trac/ticket/10436 works around two probable Qt5 bugs related to Arabic text: * with Qt5, QFontMetrics::width does not return the correct value for some Arabic text * Likewise, the undocumented layout flags TextForceRightToLeft and

Re: LyXRC - %%s/scripts

2016-10-23 Thread Tommaso Cucinotta
On 20/10/2016 18:11, Scott Kostyshak wrote: I have no idea. If you don't figure out the problem/fix, I can probably take a look at this next week. For me, this [1] fixes the issue: commit d5495caa in tommaso/master FYI, with this patch, I can finally have a proper patch for gnuplot scripts:

Re: Supposed to be bolded page number not bolded in index

2016-10-23 Thread Jürgen Spitzmüller
Am Samstag, den 22.10.2016, 08:53 +0200 schrieb Jürgen Spitzmüller: > Am Freitag, den 21.10.2016, 16:15 -0700 schrieb Richard Opheim: > > Whoa. I'm supposed to be able to put |textbf at the end of an index > > entry tag and get a bolded page number in the index. At least it > > worked in the pre-2

Re: Inverted colors for cursor

2016-10-23 Thread racoon
On 22.10.2016 20:35, Enrico Forestieri wrote: On Sat, Oct 22, 2016 at 04:49:35PM +0200, Jean-Marc Lasgouttes wrote: As LyX stands now, it is often very difficult to put the mouse cursor between two insets, because insets, contrary to characters, are active beasts. If you click a bit to close

Re: [LyX/master] unicodesymbols fixes.

2016-10-23 Thread Guillaume Munch
Le 08/10/2016 à 16:59, Günter Milde a écrit : commit efa844702c3844f5bb72ae3218ce175890a67db3 Author: Günter Milde Date: Sat Oct 8 16:57:52 2016 +0200 unicodesymbols fixes. force=utf8 is required for most characters provided by add-on packgages and (almost) all

Re: [patch] support for Urdu

2016-10-23 Thread Jean-Marc Lasgouttes
Le 23/10/2016 à 04:09, Uwe Stöhr a écrit : Support for Urdu was once denied because of font problems. The corresponding bug reported by an Urdu-speaking LyX user is fixed in LyX 2.2: http://www.lyx.org/trac/ticket/9066 Therefore I don't see a reason why LyX cannot support Urdu. Attached is the

Re: [LyX/master] Do some caching of window title and related UI

2016-10-23 Thread Jean-Marc Lasgouttes
Le 22/10/2016 à 22:36, Guillaume Munch a écrit : I know that this is not really followed in LyX currently but I suggest to write "Q_EMIT titleChanged(this)" instead. This is meant to warn the reader that something they do not expect can happen. (And similarly whenever a signal is emitted.) The

Re: [LyX/master] Do some caching of window title and related UI

2016-10-23 Thread Jean-Marc Lasgouttes
Le 23/10/2016 à 13:55, Guillaume Munch a écrit : By the way, since we appreciate the value of static checks, it is possible to use the new syntax for signal/slot connections, which allows us to know during compilation that it is mistyped or that the signal or the slot does not exist. When we are

Re: Candidates for stable

2016-10-23 Thread Jürgen Spitzmüller
Am Samstag, den 22.10.2016, 13:35 -0400 schrieb Richard Heck: > OK, looks safe enough. Thanks, all done now. Jürgen signature.asc Description: This is a digitally signed message part

Re: Supposed to be bolded page number not bolded in index

2016-10-23 Thread Jürgen Spitzmüller
Am Sonntag, den 23.10.2016, 08:42 +0200 schrieb Jürgen Spitzmüller: > Since we now have PassThruChars, it would be easy to treat the > special > characters in index entries literally (see attached patch). > > This would restore what many people seem to be accustomed to and > expect, to the extend

Re: [LyX/master] Do some caching of window title and related UI

2016-10-23 Thread Guillaume Munch
Le 23/10/2016 à 13:57, Jean-Marc Lasgouttes a écrit : Le 23/10/2016 à 13:55, Guillaume Munch a écrit : By the way, since we appreciate the value of static checks, it is possible to use the new syntax for signal/slot connections, which allows us to know during compilation that it is mistyped or

Re: Inverted colors for cursor

2016-10-23 Thread racoon
On 22.10.2016 16:49, Jean-Marc Lasgouttes wrote: Le 22/10/2016 à 14:53, racoon a écrit : On 22.10.2016 14:38, Joel Kulesza wrote: With the ability to tweak the cursor color, I agree with Daniel's suggestion to implement the inverted color patch. Sorry, I did not make myself clear before. I

Re: [LyX/master] Fix Ticket #9741 misleading name for font-encoding setting "default".

2016-10-23 Thread Guenter Milde
On 2016-10-22, Guenter Milde wrote: > On 2016-10-22, Enrico Forestieri wrote: >> On Sat, Oct 22, 2016 at 05:16:49PM +0200, Jean-Marc Lasgouttes wrote: >>> How bad can it become for someone who has changed the [lyrc.fontenc] >>> setting? ... >> However, more damage can result if one selected T2A

Modules dialogue

2016-10-23 Thread Andrew Parsloe
In an earlier email I managed to overlook the Assumption environment, provided in the Theorems-AMS-Extended module, as Paul indicated. OK, more of this kind of thing is to be expected as I enter my dotage, but when I view the modules dialogue it looks as if it has outgrown its current

Re: [LyX/master] Do some caching of window title and related UI

2016-10-23 Thread Guillaume Munch
Le 23/10/2016 à 13:42, Guillaume Munch a écrit : Le 23/10/2016 à 13:27, Jean-Marc Lasgouttes a écrit : Le 22/10/2016 à 22:36, Guillaume Munch a écrit : I know that this is not really followed in LyX currently but I suggest to write "Q_EMIT titleChanged(this)" instead. This is meant to warn the

Re: [LyX/master] Correctly track ulem commands with change tracking

2016-10-23 Thread Enrico Forestieri
On Sun, Oct 23, 2016 at 07:02:31PM +0200, Guillaume Munch wrote: > Le 23/10/2016 à 18:38, Enrico Forestieri a écrit : > > commit dea5ba16de1b98d93cf30ab65119bc2364a7ac2b > > Author: Enrico Forestieri > > Date: Sun Oct 23 18:23:41 2016 +0200 > > > > Correctly track ulem

Re: [LyX/master] Correctly track ulem commands with change tracking

2016-10-23 Thread Guillaume Munch
Le 24/10/2016 à 01:00, Enrico Forestieri a écrit : On Sun, Oct 23, 2016 at 11:52:55PM +0200, Guillaume Munch wrote: The code does look fragile to me. I do not think that asking that developers care about maintainability is being overzealous. Then, maybe I am mistaken about the code and you got

Re: [LyX/master] Correctly track ulem commands with change tracking

2016-10-23 Thread Guillaume Munch
Le 23/10/2016 à 22:53, Enrico Forestieri a écrit : On Sun, Oct 23, 2016 at 07:02:31PM +0200, Guillaume Munch wrote: Le 23/10/2016 à 18:38, Enrico Forestieri a écrit : commit dea5ba16de1b98d93cf30ab65119bc2364a7ac2b Author: Enrico Forestieri Date: Sun Oct 23 18:23:41 2016

Re: [LyX/master] Correctly track ulem commands with change tracking

2016-10-23 Thread Enrico Forestieri
On Sun, Oct 23, 2016 at 11:52:55PM +0200, Guillaume Munch wrote: > > The code does look fragile to me. I do not think that asking that > developers care about maintainability is being overzealous. Then, maybe > I am mistaken about the code and you got to something found maintainable > enough

Re: procmail (was: [PATCH] Re: Return + Return in nested environments)

2016-10-23 Thread Enrico Forestieri
On Sat, Oct 22, 2016 at 09:55:02PM -0700, Pavel Sanda wrote: > Enrico Forestieri wrote: > > Yes, of course, because procmail inserted a ">" just in front of the > > "From " line in the attachment (which I do manually). > > > > Care to share the corresponding config line(s) for procmail? > >

Re: please revert: [LyX/2.2.x] Better title for ViewSource

2016-10-23 Thread Guillaume Munch
Le 23/10/2016 à 23:20, Uwe Stöhr a écrit : commit a36706c3ffe9570588962a5ad3206d57e63ffcfd Author: Guillaume Munch Date: Sun Aug 28 21:57:17 2016 +0100 Better title for ViewSource Sorry for being quite rude here: I am strictly opposed to these changes. LyX 2.2.x are

Re: Possible Qt5 bugs (bug 10436)

2016-10-23 Thread Scott Kostyshak
On Sun, Oct 23, 2016 at 09:36:46PM +0200, Jean-Marc Lasgouttes wrote: > It would be nice to report at least the first issue (see > GuiFontMetrics::width), but I do not know how to make a self contained Qt > program for this kind of thing. How minimal can I afford to be? I have had unfortunately

please revert: [LyX/2.2.x] Better title for ViewSource

2016-10-23 Thread Uwe Stöhr
commit a36706c3ffe9570588962a5ad3206d57e63ffcfd Author: Guillaume Munch Date: Sun Aug 28 21:57:17 2016 +0100 Better title for ViewSource Sorry for being quite rude here: I am strictly opposed to these changes. LyX 2.2.x are bugfix releases. If the developers agree also

Re: please revert: [LyX/2.2.x] Better title for ViewSource

2016-10-23 Thread Richard Heck
On 10/23/2016 06:38 PM, Guillaume Munch wrote: > > I can revert the menu name to "Source Pane" in 2.2.x for the > documentation reasons you gave. I can also revert it in master if > the majority wants it. But I hope that my explanation reassured > you. > I think that's a good idea for 2.2.x, and

Re: Inverted colors for cursor

2016-10-23 Thread racoon
On 23.10.2016 16:20, Joel Kulesza wrote: On Sun, Oct 23, 2016 at 1:02 AM, racoon > wrote: However, since there are clear benefits of an inverted cursor (think about the poor person with red cursor who happens to land in an inset that has a

Re: Inverted colors for cursor

2016-10-23 Thread Joel Kulesza
On Sun, Oct 23, 2016 at 9:01 AM, racoon wrote: > > On 23.10.2016 16:55, Joel Kulesza wrote: > >> >> >> Speaking of highlighting: is there a way to highlight text in LyX (e.g., >> \hl{...} via soul) without ERT? I can change its color, but not its >> background... >> > > The PDF

Re: LinuxDay @ Pisa - Oct 22nd

2016-10-23 Thread Tommaso Cucinotta
On 23/10/2016 01:27, Tommaso Cucinotta wrote: [more or less, all things included in my tommaso repo, linux-day-2016 branch, perhaps I'll polish and push something else tomorrow] pushed, details below [1]. http://git.lyx.org/?p=developers/tommaso/lyx.git;a=shortlog;h=refs/heads/linux-day-2016

Re: [LyX/master] Fix Ticket #9741 misleading name for font-encoding setting "default".

2016-10-23 Thread Jürgen Spitzmüller
Am Sonntag, den 23.10.2016, 08:45 +0200 schrieb Jürgen Spitzmüller: > In the meantime, could you please revert your original change? I > think > it is clear that we will change the strings, but differently. Since you didn't do it, I did. Jürgen signature.asc Description: This is a digitally

Highlight text in style dialog via soul

2016-10-23 Thread racoon
On 23.10.2016 17:13, Joel Kulesza wrote: > On Sun, Oct 23, 2016 at 9:01 AM, racoon > wrote: > > > On 23.10.2016 16:55, Joel Kulesza wrote: > > > > Speaking of highlighting: is there a way to highlight text in > LyX (e.g., >

Re: Highlight text in style dialog via soul

2016-10-23 Thread Joel Kulesza
On Sun, Oct 23, 2016 at 9:25 AM, racoon wrote: > > You might be able to create a module for soul. But, as far as I know, it > is not possible to utilize the text style dialog for this. So that might > not be too different from the PDF Comments module user interface wise. I >

Re: [LyX/master] On export, mark the start of the first paragraph

2016-10-23 Thread Guillaume Munch
Le 23/10/2016 à 18:17, Enrico Forestieri a écrit : commit 9ba76e6c40738f9bd0d45d4cdb00a9842d47feec Author: Enrico Forestieri Date: Sun Oct 23 18:04:13 2016 +0200 On export, mark the start of the first paragraph No newline is written after \begin{document}, such that

Re: Inverted colors for cursor

2016-10-23 Thread racoon
On 23.10.2016 16:11, Joel Kulesza wrote: On Sun, Oct 23, 2016 at 12:41 AM, racoon > wrote: On 22.10.2016 20:35, Enrico Forestieri wrote: On Sat, Oct 22, 2016 at 04:49:35PM +0200, Jean-Marc Lasgouttes wrote: As LyX

Re: Inverted colors for cursor

2016-10-23 Thread Joel Kulesza
On Sun, Oct 23, 2016 at 8:39 AM, racoon wrote: > > > I guess these are very limited applications as to the changes that occur > background color wise during usage. I disagree: one can both select text (highlighting it to operate on it) and highlight the text (e.g., through

Re: [LyX/master] unicodesymbols fixes.

2016-10-23 Thread Guillaume Munch
Le 23/10/2016 à 13:18, Guillaume Munch a écrit : 1942c1942 < \textrm{created with \textbf{\textbackslash frac}} & & \textrm{created with \textbf{\textbackslash cfrac}}\\ --- \textrm{created with \textbf{⧵frac}} & & \textrm{created with \textbf{⧵cfrac}}\\ As I understand, Günter fixed

request to test Urdu support for LyX

2016-10-23 Thread Uwe Stöhr
Dear Jamil, 2 years ago you kindly tested LyX's support for Urdu. You found out that we had some font display bugs: http://www.lyx.org/trac/ticket/9066 Since LyX 2.2 this bug is fixed and we also added some more support for right-to-left languages. Now we want to enable full Urdu support

Re: Inverted colors for cursor

2016-10-23 Thread racoon
On 23.10.2016 16:55, Joel Kulesza wrote: On Sun, Oct 23, 2016 at 8:39 AM, racoon > wrote: I guess these are very limited applications as to the changes that occur background color wise during usage. I disagree: one can both select text

Re: Inverted colors for cursor

2016-10-23 Thread Joel Kulesza
On Sun, Oct 23, 2016 at 12:41 AM, racoon wrote: > On 22.10.2016 20:35, Enrico Forestieri wrote: > >> On Sat, Oct 22, 2016 at 04:49:35PM +0200, Jean-Marc Lasgouttes wrote: >> >>> >>> As LyX stands now, it is often very difficult to put the mouse cursor >>> between two insets,

Re: [patch] support for Urdu

2016-10-23 Thread Uwe Stöhr
Am 23.10.2016 um 13:26 schrieb Jean-Marc Lasgouttes: I do not see the code that make the LaTeX output work. One does not need special LaTeX code, that is the advantage of LuaTeX/XeTeX with polyglossia. No more nasty hacks. If one tells polyglossia that the following text is in Urdu, LuaTeX

Re: Inverted colors for cursor

2016-10-23 Thread Joel Kulesza
On Sun, Oct 23, 2016 at 1:02 AM, racoon wrote: > >> However, since there are clear benefits of an inverted cursor (think > about the poor person with red cursor who happens to land in an inset that > has a red background by default, like insets of modules not available on > her

Re: LyXRC - %%s/scripts

2016-10-23 Thread Scott Kostyshak
On Sun, Oct 23, 2016 at 09:47:10PM +0200, Tommaso Cucinotta wrote: > For me, this [1] fixes the issue: commit d5495caa in tommaso/master Thanks for coming up with a fix and sorry for the trouble my commit caused. > FYI, with this patch, I can finally have a proper patch for gnuplot scripts: >