Re: [patch] Increase precision of TexRow in captions

2016-10-19 Thread Guillaume Munch
Le 19/10/2016 à 01:23, Enrico Forestieri a écrit : As always. But I don't understand. Given your goal, this is something only useful for the non-nice export. So, why introducing a gratuitous change? Note that readability is subjective. I find that this change would reduce readability. You

Re: LyXRC - %%s/scripts

2016-10-19 Thread Scott Kostyshak
On Wed, Oct 19, 2016 at 10:57:05PM +0200, Tommaso Cucinotta wrote: > Hi, > > LyXRC specifies "%%s/scripts/" as converter command, but how/where is the > %%s/ expanded/processed, when running those commands? See 8b66f9ce. Perhaps the commit introduced a bug? Scott signature.asc

Re: [PATCH] Re: Return + Return in nested environments

2016-10-19 Thread Scott Kostyshak
On Wed, Oct 19, 2016 at 07:03:32PM +0200, Enrico Forestieri wrote: > This is because mutt takes them to be separate emails placed somewhere > else in the list of emails and I have to search for them or edit the > mailbox file to add a ">" just before "From" in order to actually see > them as

Redundant Methods?

2016-10-19 Thread Richard Heck
In BufferParams, we have both an isExportable method and an isExportableFormat method. Is there actually any functional difference between these? The latter may be slightly different, in that it passes the only_viewable flag to exportableFormats. But that could be handled quite differently, by

Re: [patch] Increase precision of TexRow in captions

2016-10-19 Thread Kornel Benko
Am Mittwoch, 19. Oktober 2016 um 22:31:50, schrieb Guillaume Munch > Le 19/10/2016 à 01:23, Enrico Forestieri a écrit : > > > > As always. But I don't understand. Given your goal, this is something > > only useful for the non-nice export. So, why introducing a gratuitous > >

Re: [patch] Increase precision of TexRow in captions

2016-10-19 Thread Enrico Forestieri
On Wed, Oct 19, 2016 at 10:31:50PM +0200, Guillaume Munch wrote: > > Test-wise, is there anything to adapt? Are there tests specific to the > non-nice export? I don't know, but I don't think so. -- Enrico

Re: LyXRC - %%s/scripts

2016-10-19 Thread Tommaso Cucinotta
On 19/10/2016 23:10, Scott Kostyshak wrote: See 8b66f9ce. Perhaps the commit introduced a bug? might be. AFAICS, the attempt to replace $$s centrally in filetools.cpp:commandPrep() fails because the string getting there, is NOT the converter command as from the \converter line, but rather a

Re: [PATCH] Re: Return + Return in nested environments

2016-10-19 Thread Enrico Forestieri
On Wed, Oct 19, 2016 at 04:12:54PM -0400, Scott Kostyshak wrote: > On Wed, Oct 19, 2016 at 07:03:32PM +0200, Enrico Forestieri wrote: > > > This is because mutt takes them to be separate emails placed somewhere > > else in the list of emails and I have to search for them or edit the > > mailbox

LyXRC - %%s/scripts

2016-10-19 Thread Tommaso Cucinotta
Hi, LyXRC specifies "%%s/scripts/" as converter command, but how/where is the %%s/ expanded/processed, when running those commands? Trying to add this in ~/.lyx/lyxrc.defaults +\converter gnuplot pdf6 "$$s/scripts/gnuplot2pdf.sh $$i $$o" ""''' ]) but it gives me this error

Re: [LyX/master] Set window title according to platform UI

2016-10-19 Thread Kornel Benko
Am Dienstag, 18. Oktober 2016 um 21:32:06, schrieb Scott Kostyshak > On Thu, Sep 08, 2016 at 03:59:50PM +0200, Jean-Marc Lasgouttes wrote: > > commit 82808fea04315fd323ec074e8ad7865d190987d4 > > Author: Jean-Marc Lasgouttes > > Date: Tue Sep 6 11:17:10

Re: LinuxDay @ Pisa - Oct 22nd

2016-10-19 Thread CarLaTeX
Visto che è in italiano io metterei "ebraico" al posto di "Ebreo" e penso anche "arabo" al posto di "Arabico". Ciao. Carla Il 19 Ott 2016 12:30 PM, "Tommaso Cucinotta" ha scritto: FYI, that's the few slides I prepared for Saturday

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

2016-10-19 Thread Jürgen Spitzmüller
2016-10-19 12:00 GMT+02:00 Jean-Marc Lasgouttes : > -string LyXVC::vcname() const > +docstring LyXVC::vcstatus() const > { > - return vcs->vcname(); > + if (!vcs) > + return docstring(); > + if (locking()) > + return bformat(_("%1$s

Re: LinuxDay @ Pisa - Oct 22nd

2016-10-19 Thread Tommaso Cucinotta
FYI, that's the few slides I prepared for Saturday http://retis.sssup.it/~tommaso/LinuxDay-2016.pdf in case you have some feedback. These are to be inter-mixed with a live demo, overall 15 mins, so it's just a few notes about things not to forget. You might be curious about the devel stats

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

2016-10-19 Thread Jean-Marc Lasgouttes
Le 19/10/2016 à 14:04, Jürgen Spitzmüller a écrit : I suppose the latter 4 lines are not supposed to be indented. GCC 6.2 issues a warning about this. Definitely, thanks. JMarc

Re: [LyX/master] Take into account font changes when striking out display math formulas

2016-10-19 Thread Jean-Marc Lasgouttes
Le 18/10/2016 à 03:49, Enrico Forestieri a écrit : commit 129459a71b52babb1a8e5a1e3de986976c93bde6 Author: Enrico Forestieri Date: Tue Oct 18 03:29:53 2016 +0200 Take into account font changes when striking out display math formulas Font changes are brought inside

Re: [LyX/master] Set window title according to platform UI

2016-10-19 Thread Kornel Benko
Am Mittwoch, 19. Oktober 2016 um 12:03:01, schrieb Jean-Marc Lasgouttes > Le 19/10/2016 à 03:32, Scott Kostyshak a écrit : > > I get a SIGSEGV starting from this commit from the following > > reproducible steps: > > > > 1. open lib/examples/fr/beamer-article.lyx > > 2.

Re: [LyX/master] Set window title according to platform UI

2016-10-19 Thread Jean-Marc Lasgouttes
Le 19/10/2016 à 03:32, Scott Kostyshak a écrit : I get a SIGSEGV starting from this commit from the following reproducible steps: 1. open lib/examples/fr/beamer-article.lyx 2. right-click on the include inset and go to "edit included file" 3. press ctrl+w to close the child doc. Backtrace is

[PATCH] Cache Exportable Format Info

2016-10-19 Thread Richard Heck
As discussed recently, we seem to spend a lot of time figuring out what formats are exportable. The first of the attached patches introduces caching of this information, in a very simple way. The second and third use this to clean up a few things elsewhere: We can just sort this list the first

Re: Feature: open pdf from right click on citation inset ?

2016-10-19 Thread Pavel Sanda
Scott Kostyshak wrote: > On Sun, May 03, 2015 at 07:14:47PM -0400, Scott Kostyshak wrote: > > On Wed, May 7, 2014 at 2:34 AM, Scott Kostyshak wrote: > > > > > I would like to be able to right click on a citation and be able to > > > click on "open pdf". The filenames of the

Re: [PATCH] Re: Return + Return in nested environments

2016-10-19 Thread Pavel Sanda
Enrico Forestieri wrote: > On Wed, Oct 19, 2016 at 03:09:53PM -0700, Pavel Sanda wrote: > > > > Funny thing is that my mutt read the previous message without doing > > what you describe... > > I guess you are using the maildir format for your mailbox. mbox here. but mutt version is somewhat

Re: [PATCH] Re: Return + Return in nested environments

2016-10-19 Thread Pavel Sanda
Enrico Forestieri wrote: > On Wed, Oct 19, 2016 at 06:20:51PM +0200, Jean-Marc Lasgouttes wrote: > > > > Thanks, it seems to work well. Here is the combo commit, for reference. > > Jean-Marc, please, can you use some kind of encoding (base64, > quoted-printable or whatever) when attaching

Re: [PATCH] Re: Return + Return in nested environments

2016-10-19 Thread Enrico Forestieri
On Wed, Oct 19, 2016 at 03:09:53PM -0700, Pavel Sanda wrote: > > Funny thing is that my mutt read the previous message without doing > what you describe... I guess you are using the maildir format for your mailbox. -- Enrico

Re: missing glyphs with title of chapter

2016-10-19 Thread Uwe Stöhr
Am 18.10.2016 um 17:43 schrieb edu Gpl: "What is your error message?" the error msg: \AtBeginEnvironment { }{\selectlanguage{}} The control sequence at the end of the top line of your error message was never \def'ed. If you have misspelled it This error is because you have these 2 lines

Re: [LyX/master] Add shell wrapper for Maxima on MacOSX The command line utility of Maxima is inside the Maxima.app bundle and isn't named "maxima"

2016-10-19 Thread Stephan Witt
Am 20.10.2016 um 06:35 schrieb Stephan Witt : > > commit b37d6c9e941068bbf29281ca854687c7717e0d4d > Author: Stephan Witt > Date: Thu Oct 20 06:35:13 2016 +0200 > >Add shell wrapper for Maxima on MacOSX >The command line utility of Maxima is inside the

Re: [LyX/master] Take into account font changes when striking out display math formulas

2016-10-19 Thread Enrico Forestieri
On Wed, Oct 19, 2016 at 02:38:24PM +0200, Jean-Marc Lasgouttes wrote: > > I do get warnings with default compiler switches (which include -Wall here). Just checked and discovered that my building script has a --disable-warnigs set as an unmodifiable read-only variable ;-) > I guess it is a

Re: LinuxDay @ Pisa - Oct 22nd

2016-10-19 Thread Tommaso Cucinotta
On 19/10/2016 12:39, CarLaTeX wrote: Visto che è in italiano io metterei "ebraico" al posto di "Ebreo" e penso anche "arabo" al posto di "Arabico". Ciao. Carla my poor (mother-tongue) language abilities :-P... thanks a million! AFAIK, the event will be kind of a mix of IT/EN

Re: [LyX/master] Take into account font changes when striking out display math formulas

2016-10-19 Thread Enrico Forestieri
On Wed, Oct 19, 2016 at 12:18:08PM +0200, Jean-Marc Lasgouttes wrote: > Le 18/10/2016 à 03:49, Enrico Forestieri a écrit : > >commit 129459a71b52babb1a8e5a1e3de986976c93bde6 > >Author: Enrico Forestieri > >Date: Tue Oct 18 03:29:53 2016 +0200 > > > >Take into account font

Re: [LyX/master] Take into account font changes when striking out display math formulas

2016-10-19 Thread Jean-Marc Lasgouttes
Le 19/10/2016 à 14:29, Enrico Forestieri a écrit : ../../master/src/Paragraph.cpp: In member function ‘void lyx::Paragraph::latex(const lyx::BufferParams&, const lyx::Font&, lyx::otexstream&, const lyx::OutputParams&, int, int, bool) const’: ../../master/src/Paragraph.cpp:2409:13: attention :

Re: [PATCH] Re: Return + Return in nested environments

2016-10-19 Thread Enrico Forestieri
On Wed, Oct 19, 2016 at 02:53:43PM +0200, Jean-Marc Lasgouttes wrote: > > Enrico, do you have thoughts about what we really want there? What is the > use case that we have in mind, especially when we are in a nested > environment? It does not seem to be something about nested environments. For

Re: [PATCH] Re: Return + Return in nested environments

2016-10-19 Thread Enrico Forestieri
On Wed, Oct 19, 2016 at 02:53:43PM +0200, Jean-Marc Lasgouttes wrote: > Le 19/10/2016 à 14:30, Jean-Marc Lasgouttes a écrit : > >>Tested and I think there is a minor issue. In the attached .lyx file, > >>put the cursor at the end of "hello". Press return three times. The > >>first two times show

Re: [PATCH] Re: Return + Return in nested environments

2016-10-19 Thread Jean-Marc Lasgouttes
Le 19/10/2016 à 18:12, Enrico Forestieri a écrit : I had a look and it turns out that the code dealing with separator insets was specifically tailored to the old behaviour. If you change that behaviour, you should also change the corresponding separator code. This is what the attached patch

Re: [LyX/master] Take into account font changes when striking out display math formulas

2016-10-19 Thread Enrico Forestieri
On Wed, Oct 19, 2016 at 03:39:53PM +0200, Jean-Marc Lasgouttes wrote: > Le 19/10/2016 à 15:09, Enrico Forestieri a écrit : > >Just checked and discovered that my building script has a --disable-warnigs > >set as an unmodifiable read-only variable ;-) > > No warnings, no trouble :) ;-) > Why do

Re: [LyX/master] Set window title according to platform UI

2016-10-19 Thread Jean-Marc Lasgouttes
Le 19/10/2016 à 17:06, Scott Kostyshak a écrit : On Wed, Oct 19, 2016 at 01:48:13PM +0200, Kornel Benko wrote: Am Mittwoch, 19. Oktober 2016 um 12:03:01, schrieb Jean-Marc Lasgouttes It should be fixed now, and hopefully updateTabText should appear less heavily in

Re: [LyX/master] Set window title according to platform UI

2016-10-19 Thread Scott Kostyshak
On Wed, Oct 19, 2016 at 01:48:13PM +0200, Kornel Benko wrote: > Am Mittwoch, 19. Oktober 2016 um 12:03:01, schrieb Jean-Marc Lasgouttes > > > It should be fixed now, and hopefully updateTabText should appear less > > heavily in Guillaume's callgrind logs. > > > > JMarc >

Re: [PATCH] Re: Return + Return in nested environments

2016-10-19 Thread Richard Heck
On 10/19/2016 12:20 PM, Jean-Marc Lasgouttes wrote: > Le 19/10/2016 à 18:12, Enrico Forestieri a écrit : >> I had a look and it turns out that the code dealing with separator >> insets was specifically tailored to the old behaviour. If you change >> that behaviour, you should also change the

Re: [LyX/master] Set window title according to platform UI

2016-10-19 Thread Richard Heck
On 10/19/2016 01:29 PM, Jean-Marc Lasgouttes wrote: > 2.2.3. It was fresh from Monday, I think. OK, great. rh > > JMarc > > Le 19 octobre 2016 18:58:22 GMT+02:00, Richard Heck a écrit : Richard, since I backported the window title feature to branch, I will >>> backport

Re: [PATCH] Re: Return + Return in nested environments

2016-10-19 Thread Jean-Marc Lasgouttes
Le 14/10/2016 à 17:16, Scott Kostyshak a écrit : On Fri, Oct 14, 2016 at 03:22:09PM +0200, Jean-Marc Lasgouttes wrote: Le 07/10/2016 à 03:48, Scott Kostyshak a écrit : I don't know much about layout nesting, but my first reaction is that I agree with you regarding the expected behavior. Did

Re: [PATCH] Re: Return + Return in nested environments

2016-10-19 Thread Jean-Marc Lasgouttes
Le 19/10/2016 à 14:30, Jean-Marc Lasgouttes a écrit : Tested and I think there is a minor issue. In the attached .lyx file, put the cursor at the end of "hello". Press return three times. The first two times show that the issue initially reported is fixed (because it is itemize instead of

Re: [LyX/master] Take into account font changes when striking out display math formulas

2016-10-19 Thread Jean-Marc Lasgouttes
Le 19/10/2016 à 15:09, Enrico Forestieri a écrit : Just checked and discovered that my building script has a --disable-warnigs set as an unmodifiable read-only variable ;-) No warnings, no trouble :) Why do you disable them, BTW? The build is quite clean these days (some warnings are

Re: [LyX/master] Set window title according to platform UI

2016-10-19 Thread Jean-Marc Lasgouttes
2.2.3. It was fresh from Monday, I think. JMarc Le 19 octobre 2016 18:58:22 GMT+02:00, Richard Heck a écrit : >>> Richard, since I backported the window title feature to branch, I will >> backport this too. > >OK. Was that done for 2.2.2? or just for 2.2.3?

Re: [PATCH] Re: Return + Return in nested environments

2016-10-19 Thread Enrico Forestieri
On Wed, Oct 19, 2016 at 06:20:51PM +0200, Jean-Marc Lasgouttes wrote: > > Thanks, it seems to work well. Here is the combo commit, for reference. Jean-Marc, please, can you use some kind of encoding (base64, quoted-printable or whatever) when attaching patches that start with the word "From"?

Re: [LyX/master] Set window title according to platform UI

2016-10-19 Thread Richard Heck
On 10/19/2016 11:26 AM, Jean-Marc Lasgouttes wrote: > Le 19/10/2016 à 17:06, Scott Kostyshak a écrit : >> On Wed, Oct 19, 2016 at 01:48:13PM +0200, Kornel Benko wrote: >>> Am Mittwoch, 19. Oktober 2016 um 12:03:01, schrieb Jean-Marc >>> Lasgouttes >> It should be fixed

Re: ctests: 4 failing "Unicode-characters" tests

2016-10-19 Thread Jean-Pierre Chrétien
Le 18/10/2016 à 19:17, Guenter Milde a écrit : On 2016-10-18, jeanpierre.chret...@free.fr wrote: OK, I did it, and the failing tests (due to the userdir problem) now pass. But I still have failing tests, this time because of missing textalpha.sty package in my TeXLive distribution. This is