Re: row-breaking question

2017-01-25 Thread Guillaume Munch
Le 21/01/2017 à 20:22, Jean-Marc Lasgouttes a écrit : Le 21/01/2017 à 19:33, Scott Kostyshak a écrit : The attached sequence of screenshots show the phases of row-breaking that happens as I keep typing " abc" in the footnote. The word "OLS" seems to jump around a lot and I find that (mildly)

Re: Standalone Math Editor

2017-02-21 Thread Guillaume Munch
Le 20/02/2017 à 07:44, Wei-Ting Lin a écrit : Thanks a lot! I'm trying Lyxserver and Lyx functions. They are amazing. I can just send commands to open a document and insert a display math! One problem seems that there is no Lyx function allowing me to get the content of math. I can use select

Re: [LyX/master] Add tableaux to outliner

2017-02-21 Thread Guillaume Munch
Le 21/02/2017 à 19:28, Kornel Benko a écrit : Am Dienstag, 21. Februar 2017 um 18:52:28, schrieb Guillaume Munch <g...@lyx.org> Le 21/02/2017 à 18:49, Kornel Benko a écrit : Could it be made translatable? It should be already. It is nether in po-file nor in layouttransl

Re: Standalone Math Editor

2017-02-18 Thread Guillaume Munch
Le 18/02/2017 à 06:44, Guenter Milde a écrit : On 2017-02-18, Wei-Ting Lin wrote: Your suggestions are valuable and important for me. I never think Lyx is not lightweight. Actually, I'm always satisfied with its speed. I just think to type math equations we don't need a full Lyx. But you're

Re: Memory leak in master?

2017-02-20 Thread Guillaume Munch
Le 20/02/2017 à 18:27, Jean-Marc Lasgouttes a écrit : Le 13/02/2017 à 20:55, Jean-Marc Lasgouttes a écrit : What I mean is that you can easily force QCache into shared ownership by replacing QCache with QCache and create the appropriate

Re: [LyX/master] Generalise the deletion protection mechanism from math to text (#9540)

2017-02-24 Thread Guillaume Munch
Le 22/02/2017 à 14:59, Jean-Marc Lasgouttes a écrit : Le 18/02/2017 à 23:05, Guillaume Munch a écrit : commit 71623b88b2c613dd4ab826a9783a53e840bcd6e1 Author: Guillaume Munch <g...@lyx.org> Date: Sat Feb 18 19:12:55 2017 +0100 Generalise the deletion protection mechanism fro

Re: Memory leak in master?

2017-02-24 Thread Guillaume Munch
Le 22/02/2017 à 18:03, Jean-Marc Lasgouttes a écrit : Le 21/02/2017 à 20:13, Guillaume Munch a écrit : BTW, why don't you use Cache::contains in getLayout like you do for other cache uses? This is explained in the documentation of Cache::object. It is enough to check for a null pointer

Re: Regular expression search

2017-02-24 Thread Guillaume Munch
Le 24/02/2017 à 20:54, Kornel Benko a écrit : Am Freitag, 24. Februar 2017 um 17:30:39, schrieb Jean-Marc Lasgouttes src/lyxfind.cpp:escape_map.push_back(P("\\", "(?:|backslash)")); src/lyxfind.cpp:escape_map.push_back(P("~",

Re: [LyX/master] Generalise the deletion protection mechanism from math to text (#9540)

2017-02-25 Thread Guillaume Munch
Le 25/02/2017 à 20:07, Guenter Milde a écrit : On 2017-02-18, Guillaume Munch wrote: Generalise the deletion protection mechanism from math to text (#9540) Now backspace and delete in text will select non-empty math and text insets before deleting them. This is consistent

Re: EmDash Problems (patch)

2017-02-25 Thread Guillaume Munch
../../../../src/frontends/qt4/GuiViewSource.cpp: In member function ‘void lyx::frontend::ViewSourceWidget::realUpdateView()’: ../../../../src/frontends/qt4/GuiViewSource.cpp:229:14: error: ambiguous overload for ‘operator!=’ (operand types are ‘const QChar’ and ‘char’) while (*oc != '\0'

Re: [LyX/master] Generalise the deletion protection mechanism from math to text (#9540)

2017-02-25 Thread Guillaume Munch
Le 25/02/2017 à 21:12, Guillaume Munch a écrit : Le 25/02/2017 à 20:07, Guenter Milde a écrit : On a similar note: could the "backspace at begin of inset dissolves it" feature be ported to mathed, too? This is a good idea, for consistency with math macros. If you are

Re: [LyX/master] Add tableaux to outliner

2017-02-21 Thread Guillaume Munch
Le 21/02/2017 à 07:11, Juergen Spitzmueller a écrit : commit ed233663008608e5e32a3c675ade790ea63f0a24 Author: Juergen Spitzmueller Date: Tue Feb 21 07:11:23 2017 +0100 Add tableaux to outliner --- +OutlinerName tableau"Tableaux" #no AddToToc (built-in) + Thanks, I

Re: [LyX/master] Add tableaux to outliner

2017-02-21 Thread Guillaume Munch
Le 21/02/2017 à 18:49, Kornel Benko a écrit : Could it be made translatable? It should be already.

Re: Memory leak in master?

2017-02-21 Thread Guillaume Munch
Le 20/02/2017 à 18:25, Jean-Marc Lasgouttes a écrit : Le 10/02/2017 à 17:58, Guillaume Munch a écrit : There's more data, but I am not sure how to interpret the results that massif-visualizer shows. If you send the file or make it available, I can take a look. Here it is. But if it is like

Re: Memory leak in master?

2017-02-21 Thread Guillaume Munch
Le 21/02/2017 à 07:19, Jean-Marc Lasgouttes a écrit : Le 21/02/2017 à 00:08, Guillaume Munch a écrit : Could you do the backport to stable? :) What about that? Please check especially the code related to LYX_USE_CXX11 in Cache.h. For the caching, I re-read the code to make sure that my hand

Re: alpha dot

2017-02-15 Thread Guillaume Munch
ne. Guillaume >From 45d8c5edc2c8e26065468c691f90a1d50ddc20a9 Mon Sep 17 00:00:00 2001 From: Guillaume Munch <g...@lyx.org> Date: Mon, 28 Nov 2016 03:27:30 +0100 Subject: [PATCH 1/3] Increase thickness of math delimiter with zoom --- src/mathed/InsetMathAMSArray.cpp | 15 ++- src/mathed

Re: alpha dot

2017-02-15 Thread Guillaume Munch
Le 15/02/2017 à 13:46, Guenter Milde a écrit : On 2017-02-15, Guillaume Munch wrote: [-- Type: text/plain, Encoding: 8bit --] Le 15/02/2017 à 05:02, Scott Kostyshak a écrit : On Wed, Jan 04, 2017 at 09:00:44AM +0100, Wolfgang Engelmann wrote: On 03.01.2017 21:32, Scott Kostyshak wrote

Re: Standalone Math Editor

2017-02-17 Thread Guillaume Munch
Le 17/02/2017 à 07:17, Wei-Ting Lin a écrit : Hi all, I have used Lyx for several years. This is a really amazing software. However, many people still write LaTex with text editors. That usually means when we cowork on some article, we have to write LaTex directly. This is ok. However,

Re: [LyX/master] Correct comment

2016-08-21 Thread Guillaume Munch
Le 15/08/2016 à 02:24, Enrico Forestieri a écrit : Hopefully, this important issue has been solved at f323a64f. I like your solution. I had to adapt it to make sure there is no unused variable warning.

[patch] Experiment with c++11 unicode strings

2016-08-21 Thread Guillaume Munch
Guillaume >From 7ca4a7383c4a77d85996d77dbb3b9f4110a83cc5 Mon Sep 17 00:00:00 2001 From: Guillaume Munch <g...@lyx.org> Date: Sat, 20 Aug 2016 16:27:52 +0100 Subject: [PATCH 1/4] typedef char32_t char_type; typedef std::u32string docstring; MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Conten

Re: middle-click to open child documents?

2016-08-20 Thread Guillaume Munch
Le 20/08/2016 à 04:06, Scott Kostyshak a écrit : I see, but José seems against it. So it would be nice to see what others think. Subject line sounds intuitive.

Re: [LyX/master] Introduce "inverted" branch insets: These are branches whose content is output when a branch is NOT activated. Fixes bug #7698.

2016-08-20 Thread Guillaume Munch
Le 08/08/2016 à 17:40, Richard Heck a écrit : (We did not do a format change for that.) I am worried at the idea of certain commits introducing hidden file format changes. Is there a test somewhere that I could use, to check that lyx writes the files identically as it does in earlier stable

Re: [LyX/master] Replace static with thread_local when used for caching

2016-08-05 Thread Guillaume Munch
Le 05/08/2016 à 08:39, Stephan Witt a écrit : Am 04.08.2016 um 14:55 schrieb Guillaume Munch <g...@lyx.org>: Le 04/08/2016 à 08:48, Stephan Witt a écrit : On my Mac with clang I cannot compile after this commit :( src/frontends/qt4/GuiFontLoader.cpp:380:2: error: thread-local s

Re: EmDash Problems (patch)

2017-02-26 Thread Guillaume Munch
Le 25/02/2017 à 21:09, Enrico Forestieri a écrit : Then, a decision has to still be taken as regards the original problem in this thread. I think that the patch Günther proposed on Jan. 25 is the less controversial one. I think you mean

Re: [LyX/master] Generalise the deletion protection mechanism from math to text (#9540)

2017-02-28 Thread Guillaume Munch
Le 28/02/2017 à 11:22, Jean-Marc Lasgouttes a écrit : I agree. My point is that the behavior should be predictable and as far as possible uniform between text and math. Note that I am actually not sure that special casing empty insets is a good idea. I makes things less predictable, and I do

Re: [LyX/master] Generalise the deletion protection mechanism from math to text (#9540)

2017-02-27 Thread Guillaume Munch
Le 27/02/2017 à 11:23, Jean-Marc Lasgouttes a écrit : Small questions though: - I create an empty \mathord inset in a formula, backspace does use deletion confirmation. Is this normal? This is the legacy behaviour, but can be changed. - if there are several cells (empty fraction) that are

Re: [LyX/master] Simplify menus when there is only one caption type

2016-08-23 Thread Guillaume Munch
Le 23/08/2016 à 14:30, Jean-Marc Lasgouttes a écrit : Le 19/08/2016 à 14:17, Jean-Marc Lasgouttes a écrit : Simplify menus when there is only one caption type This removes the submenu indirection in Insert and the type changer in contextual menu. Interestingly, the code was there,

Re: [LyX/master] Simplify menus when there is only one caption type

2016-08-23 Thread Guillaume Munch
Le 23/08/2016 à 16:13, Guillaume Munch a écrit : Le 23/08/2016 à 14:30, Jean-Marc Lasgouttes a écrit : Le 19/08/2016 à 14:17, Jean-Marc Lasgouttes a écrit : Simplify menus when there is only one caption type This removes the submenu indirection in Insert and the type changer

Re: 10188: change voids to bools or use exceptions?

2016-08-31 Thread Guillaume Munch
Le 31/08/2016 à 17:55, Scott Kostyshak a écrit : On Wed, Aug 31, 2016 at 12:24:32PM -0400, Richard Heck wrote: On 08/31/2016 12:16 PM, Scott Kostyshak wrote: I'm trying to make a patch for #10188, which has to do with the fact that in some cases LyX GUI gives an error but lyx -e does not exit

Re: Icons in menus

2016-09-02 Thread Guillaume Munch
Le 05/08/2016 à 12:54, racoon a écrit : Sorry, missed your post. I have just a single icon there. So every (non-submenu) item show an icon now. Replacing qMenu.addAction(new Action(QIcon(), label(*m), by, for example, qMenu.addAction(new Action(QIcon("images/box-insert.svgz"), label(*m),

Re: Mark line(s) on Reverse search instead of close position

2016-09-03 Thread Guillaume Munch
Le 29/08/2016 à 11:33, racoon a écrit : On Reverse search LyX puts the cursor at a position only *close* to but not exactly at the position chosen in the pdf document. It is a bit tricky for me to always find the former position in my document. Since it is anyway not the exact position maybe it

Re: current branch is incompilable

2016-09-03 Thread Guillaume Munch
Le 03/09/2016 à 21:24, Uwe Stöhr a écrit : I am now back and compiled today's LyX. Master is compilable but in branch I get now these errors: "D:\LyXGit\2.2.x\compile-2015\src\LyX.vcxproj" (Standardziel) (4) -> (Link Ziel) -> frontend_qt.lib(GuiCitation.obj) : error LNK2001: unresolved

Re: GUI changes for inserting citations in 2.2x

2016-09-06 Thread Guillaume Munch
Le 06/09/2016 à 21:20, Maria Gouskova a écrit : Hi developers, I just upgraded to 2.2.1 today. I can see that there have been a lot of changes in the appearance of the interface, so obviously quite a lot of work went into the redesign. I confess I was stumped, though, when I went to insert a

Re: [RFC][PATCH] Set window title according to platform UI

2016-09-06 Thread Guillaume Munch
Le 06/09/2016 à 17:42, Jean-Marc Lasgouttes a écrit : Le 06/09/2016 à 18:12, Jean-Marc Lasgouttes a écrit : Hello, The following patch uses Qt built-in mechanism for creating window title. This means that changed status is shown using an asterisk (except on Mac OS) and that read-only and

Re: Mark line(s) on Reverse search instead of close position

2016-09-06 Thread Guillaume Munch
Le 06/09/2016 à 07:55, racoon a écrit : On 04.09.2016 00:18, Guillaume Munch wrote: Le 29/08/2016 à 11:33, racoon a écrit : On Reverse search LyX puts the cursor at a position only *close* to but not exactly at the position chosen in the pdf document. It is a bit tricky for me to always find

Re: Enable View master document even if there are no child documents

2016-08-29 Thread Guillaume Munch
Le 29/08/2016 à 16:05, Richard Heck a écrit : Or just modify the bindings to use what's above. +1

Re: [LyX/2.2.x] Start preparations for 2.2.1.

2016-08-29 Thread Guillaume Munch
Le 29/08/2016 à 03:11, Richard Heck a écrit : On 08/28/2016 06:26 PM, Guillaume Munch wrote: I intend to replace "Source pane" with "Code Preview Pane" (and related changes) for the purpose of, I hope, avoid confusing people regarding LyX not being meant for editing tex f

Re: [patch] Experiment with c++11 unicode strings

2016-08-30 Thread Guillaume Munch
Le 30/08/2016 à 21:12, Georg Baum a écrit : Guillaume Munch wrote: * Why ascii_num_get_facet::do_get uses from_local8bit at some point. The encoding does not matter here: Our own numpunct_facet does not override truename() and falsename(), so std::numpunct::truename() and std::numpunct

Re: Insert inset should not remove tracked changes

2016-08-30 Thread Guillaume Munch
Le 30/08/2016 à 12:52, racoon a écrit : Say you have a passage with a lot of tracked changes. Now, however, you would like to "comment it out" with a LyX note. Surely, you don't want to loose the changes made but keep them for later evaluation. +1 http://www.lyx.org/trac/ticket/10244

Re: [PATCH] A fix for the zombie -lyxformat- files invasion ?

2016-09-09 Thread Guillaume Munch
Le 09/09/2016 à 09:45, Jean-Marc Lasgouttes a écrit : Hello, Here is a trivial idea to limit the proliferation of myfile-lyxformat-322.lyx files that are more annoying than helpful to many people (or helpful in a Clippy sense). Can we at least use .lyx~ as extension? Is the ~ convention

Re: Translations for 2.2.2

2016-09-11 Thread Guillaume Munch
Le 11/09/2016 à 21:42, Richard Heck a écrit : On 09/11/2016 03:47 PM, Guillaume Munch wrote: Hi Richard, you may have missed my messages below: https://www.mail-archive.com/lyx-devel@lists.lyx.org/msg196283.html https://www.mail-archive.com/lyx-devel@lists.lyx.org/msg196232.html Of course

Re: Translations for 2.2.2

2016-09-11 Thread Guillaume Munch
Le 11/09/2016 à 17:15, Richard Heck a écrit : We have fixed enough bugs now, including the critical bug #10340, that it is time to prepare the release of LyX 2.2.2. I'm hoping to do the release toward the end of the month, so please prepare translations within the next two weeks. Thanks for

Re: fix math toolbars

2016-09-11 Thread Guillaume Munch
Le 11/09/2016 à 11:05, Enrico Forestieri a écrit : On Sun, Sep 11, 2016 at 03:48:06AM +0100, Guillaume Munch wrote:> Apart from the fact that I waited for three days (http://www.mail-archive.com/lyx-devel@lists.lyx.org/msg196459.html), experience tells me that who is against a change speaks

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

2016-09-13 Thread Guillaume Munch
Le 12/09/2016 à 15:30, Jean-Marc Lasgouttes a écrit : Le 11/09/2016 à 04:49, Guillaume Munch a écrit : LyX produces the following message on the console in current master: QWidget::setWindowModified: The window title does not contain a '[*]' placeholder Can you describe when this happens? I

Re: fix math toolbars

2016-09-13 Thread Guillaume Munch
Le 13/09/2016 à 06:45, Enrico Forestieri a écrit : The symptom seems to be the same, so I am maybe missing some case. Unfortunately, without a test case there is not much I can do. In the mean time I will commit both patches, as the alternative one will also help in the other cases mentioned

Re: fix math toolbars

2016-09-14 Thread Guillaume Munch
Le 14/09/2016 à 01:39, Enrico Forestieri a écrit : Oh, yes. Apparently, macros are not the only thing that may be not up to date. Hopefully, I nailed this at 8ec91e80. Please, try again. Unfortunately, the attached file which used to compile successfully no longer does. LyX used to export

Re: GUI changes for inserting citations in 2.2x

2016-09-08 Thread Guillaume Munch
Le 08/09/2016 à 14:04, Jürgen Spitzmüller a écrit : Am Donnerstag, den 08.09.2016, 14:45 +0200 schrieb Jean-Marc Lasgouttes: I am sure this has been debated but what is the reason why we do not use good old tabs for these two panes? I'd say that what you using there can be good for sidebars,

Re: GUI changes for inserting citations in 2.2x

2016-09-08 Thread Guillaume Munch
Le 07/09/2016 à 07:06, Jürgen Spitzmüller a écrit : As I wrote, I think it is important that the dialogs work on all current screens, and in general, I think 800x600 is still a good maximum for dialogs. And now with Hi-DPI it is no longer a matter of resolution since one also has to take

Re: GUI changes for inserting citations in 2.2x

2016-09-08 Thread Guillaume Munch
Le 07/09/2016 à 06:36, Jürgen Spitzmüller a écrit : Am Dienstag, den 06.09.2016, 23:29 -0600 schrieb Joel Kulesza: On Tue, Sep 6, 2016 at 11:19 PM, Jürgen Spitzmüller wrote: Am Dienstag, den 06.09.2016, 23:15 -0600 schrieb Joel Kulesza: On OSX, Alt-S does nothing. Same for

Re: GUI changes for inserting citations in 2.2x

2016-09-08 Thread Guillaume Munch
Le 08/09/2016 à 14:27, Jürgen Spitzmüller a écrit : Am Donnerstag, den 08.09.2016, 09:20 -0400 schrieb Maria Gouskova: What about at least changing it so that "Search" appears in "open position" or in a top tab, and "Formatting" is in a back tab? I thought about this. I think for people using

Re: GUI changes for inserting citations in 2.2x

2016-09-08 Thread Guillaume Munch
Le 08/09/2016 à 19:28, Jürgen Spitzmüller a écrit : Am Donnerstag, den 08.09.2016, 11:55 -0400 schrieb Richard Heck: I would second this. I think what is confusing people is partly the "stacked" nature of these tabs. As someone else mentioned, it would also save vertical space to use a

Re: [RFC][PATCH] Set window title according to platform UI

2016-09-10 Thread Guillaume Munch
Le 08/09/2016 à 22:27, Enrico Forestieri a écrit : On Thu, Sep 08, 2016 at 03:04:17PM +0200, Jean-Marc Lasgouttes wrote: Le 08/09/2016 à 03:31, Enrico Forestieri a écrit : On Wed, Sep 07, 2016 at 03:13:38PM +0200, Jean-Marc Lasgouttes wrote: And of course, a screenshot (no you are not

Re: fix math toolbars

2016-09-10 Thread Guillaume Munch
Le 10/09/2016 à 17:29, Enrico Forestieri a écrit : On Fri, Sep 09, 2016 at 12:04:47PM +0200, Enrico Forestieri wrote: Tell me how much time you think it will take you. One month? Two months? Three months? I'll wait for that time. No response and no other nay. So, I am going ahead. Hi

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

2016-09-10 Thread Guillaume Munch
Le 08/09/2016 à 14:59, Jean-Marc Lasgouttes a écrit : commit 82808fea04315fd323ec074e8ad7865d190987d4 Author: Jean-Marc Lasgouttes Date: Tue Sep 6 11:17:10 2016 +0200 Set window title according to platform UI + // Tell Qt whether the current document is changed

Re: fix math toolbars

2016-09-14 Thread Guillaume Munch
Le 14/09/2016 à 01:39, Enrico Forestieri a écrit : Oh, yes. Apparently, macros are not the only thing that may be not up to date. Hopefully, I nailed this at 8ec91e80. Please, try again. Thanks, I no longer have crashes on opening.

Re: fix math toolbars

2016-09-12 Thread Guillaume Munch
Le 12/09/2016 à 19:35, Enrico Forestieri a écrit : On Mon, Sep 12, 2016 at 05:01:33AM +0200, Enrico Forestieri wrote: You can spare your time as I think I found the problem. The patch simply uncovered a latent bug. The crash only occurs when there is a user defined math macro. In this case,

Re: fix math toolbars

2016-09-15 Thread Guillaume Munch
Le 15/09/2016 à 01:05, Enrico Forestieri a écrit : On Wed, Sep 14, 2016 at 04:46:20PM +0100, Guillaume Munch wrote: Le 14/09/2016 à 01:39, Enrico Forestieri a écrit : Oh, yes. Apparently, macros are not the only thing that may be not up to date. Hopefully, I nailed this at 8ec91e80. Please

Re: fix math toolbars

2016-09-15 Thread Guillaume Munch
Le 15/09/2016 à 23:52, Enrico Forestieri a écrit : On Thu, Sep 15, 2016 at 01:41:30PM +0100, Guillaume Munch wrote: Now same problem with the attached. I get $\mbox{\ensuremath{\comp}\comp}$ instead of $\mbox{\ensuremath{\comp\comp}}$. Also, I was surprised to see that when I enter \textit

Re: GUI changes for inserting citations in 2.2x

2016-09-15 Thread Guillaume Munch
Le 15/09/2016 à 22:30, Guillaume Munch a écrit : * One could use the search field with the "clear" button already present in the outliner. But this can be done another time. In fact, it is only in the search field of the settings and document preferences dialogs (look up Fan

Re: 2 compilation errors in TexRow.cpp

2016-09-23 Thread Guillaume Munch
Le 24/09/2016 à 00:40, Uwe Stöhr a écrit : with today's git master i get this: TexRow.cpp D:\LyXGit\Master\src\TexRow.cpp(68): error C3861: 'back_inserter': identifier not found [D:\LyXGit\Master\compile-2015\src\LyX.vcxproj] D:\LyXGit\Master\src\TexRow.cpp(185): error C3861: 'back_inserter':

Re: Mark line(s) on Reverse search instead of close position

2016-09-23 Thread Guillaume Munch
Le 29/08/2016 à 12:33, racoon a écrit : On Reverse search LyX puts the cursor at a position only *close* to but not exactly at the position chosen in the pdf document. It is a bit tricky for me to always find the former position in my document. Since it is anyway not the exact position maybe it

Re: 2 compilation errors in TexRow.cpp

2016-09-23 Thread Guillaume Munch
Le 24/09/2016 à 00:40, Uwe Stöhr a écrit : with today's git master i get this: TexRow.cpp D:\LyXGit\Master\src\TexRow.cpp(68): error C3861: 'back_inserter': identifier not found [D:\LyXGit\Master\compile-2015\src\LyX.vcxproj] D:\LyXGit\Master\src\TexRow.cpp(185): error C3861: 'back_inserter':

Re: [LyX/master] Do not rely on math macros being updated

2016-09-25 Thread Guillaume Munch
Le 25/09/2016 à 20:37, Enrico Forestieri a écrit : commit 6642152e6610f1e885babfaeb3c99bd0004916fc Author: Enrico Forestieri Date: Sun Sep 25 20:31:13 2016 +0200 Do not rely on math macros being updated Trying to spare a few cycles by avoiding computing metrics

Re: Track changes: copy and paste of elements with tracked changes keeps changes

2016-09-26 Thread Guillaume Munch
Le 26/09/2016 à 19:43, racoon a écrit : On 12.09.2016 15:06, racoon wrote: Hi, I'd like to hear what you think about the suggestion in https://www.lyx.org/trac/ticket/10278. Today I ran into another use case. I have a document with a lot of tracked changes. Since it also grew over time I

Re: Should forward search (re)?generate preview if needed?

2016-10-08 Thread Guillaume Munch
Le 07/10/2016 à 03:47, Scott Kostyshak a écrit : On Sat, Aug 20, 2016 at 01:55:46PM -0400, Scott Kostyshak wrote: I am still a newcommer to the forward search feature, and am enjoying it a lot. Sometimes forward search does not work (even though it is enabled) [1]. For example, if you have not

Re: toolbars Lock menu

2016-09-21 Thread Guillaume Munch
Le 11/08/2016 à 14:56, racoon a écrit : Hi, Thanks and sorry for the delay. Here is an updated version. (I hope I have not forgotten to include all files in the patch.) This time the Lock Toolbars Positions is locked if and only if each toolbar is locked. I guess that makes more sense. Hi

Re: fix math toolbars

2016-09-21 Thread Guillaume Munch
Le 16/09/2016 à 02:41, Enrico Forestieri a écrit : On Fri, Sep 16, 2016 at 12:33:08AM +0100, Guillaume Munch wrote: Le 15/09/2016 à 23:52, Enrico Forestieri a écrit : On Thu, Sep 15, 2016 at 01:41:30PM +0100, Guillaume Munch wrote: Now same problem with the attached. I get $\mbox{\ensuremath

Re: [LyX/master] Document the new behaviour in mathed

2016-09-21 Thread Guillaume Munch
Le 19/09/2016 à 11:58, Enrico Forestieri a écrit : commit d0f608d28ebeabadc8308f408f2a67980da8e73c Author: Enrico Forestieri Date: Mon Sep 19 11:57:39 2016 +0200 Document the new behaviour in mathed --- lib/RELEASE-NOTES | 12 +--- 1 files changed, 9

Re: Translations for 2.2.2

2016-09-21 Thread Guillaume Munch
Le 12/09/2016 à 01:44, Richard Heck a écrit : Feel free to do all this as soon as 2.2.2 is released. Or we can create a 2.2.3-staging branch and you can commit them there. I have tried to push a branch 2.2.3-staging but either I use the wrong command, or I don't have credentials to create a

Re: GUI changes for inserting citations in 2.2x

2016-09-15 Thread Guillaume Munch
Le 15/09/2016 à 18:55, Jürgen Spitzmüller a écrit : Am Samstag, den 10.09.2016, 14:47 +0200 schrieb Charles de Miramon: If there is a redesign of the dialog, could it be posible to put the search field on the top ? Patch and screenshot attached. Opinions (I prefer this one)? This looks

Re: GUI changes for inserting citations in 2.2x

2016-09-16 Thread Guillaume Munch
Le 16/09/2016 à 13:53, Jürgen Spitzmüller a écrit : Am Freitag, den 16.09.2016, 13:41 +0100 schrieb Guillaume Munch: Am Freitag, den 16.09.2016, 12:39 +0100 schrieb Guillaume Munch: Now one will expect "search on the fly" to be always activated, for consistency for other sea

Re: GUI changes for inserting citations in 2.2x

2016-09-16 Thread Guillaume Munch
. Where else should that be done? Guillaume >From d803e0b6c566dc1d4ba74b7a901df1c6e1cceade Mon Sep 17 00:00:00 2001 From: Guillaume Munch <g...@lyx.org> Date: Fri, 16 Sep 2016 22:06:38 +0100 Subject: [PATCH] GuiCitation: Set infoML to read-only colors --- src/frontends/qt4/GuiCitation

Re: GUI changes for inserting citations in 2.2x

2016-09-18 Thread Guillaume Munch
Le 18/09/2016 à 11:33, Enrico Forestieri a écrit : On Sat, Sep 17, 2016 at 10:35:15PM +0100, g...@lyx.org wrote: In general the data manipulated by LyX is very small. In my experience LyX is sometimes slow not because of the size of the data but because of bad design in certain places (e.g.

Re: LyX-menu problem on mac OS

2016-09-18 Thread Guillaume Munch
Le 18/09/2016 à 12:39, pdv a écrit : Commit 4d99... on august 28 did break the LyX-menu on mac OS; This is due to the loop counter not being incremented in the for-loop starting on line number 1957 in Menus.cpp. This should be fixed now. Thanks!

Re: toolbars Lock menu

2016-09-22 Thread Guillaume Munch
me how to do the improvements. While I think it is helpful to do exercises to learn it myself, I also need to see a couple of times how to do it first. On 21.09.2016 17:24, Guillaume Munch wrote: Le 11/08/2016 à 14:56, racoon a écrit : * I expected to find the lock toolbar option when right

Re: Enable View master document even if there are no child documents

2016-09-23 Thread Guillaume Munch
Le 23/09/2016 à 11:31, Jean-Marc Lasgouttes a écrit : Le 22/09/2016 à 00:43, Guillaume Munch a écrit : The attached patch does what you want. The only problem is that now "View/Update Master Document" is always shown. What about renaming master-buffer-view to buffer-view and b

Re: Enable View master document even if there are no child documents

2016-09-21 Thread Guillaume Munch
patch does what you want. The only problem is that now "View/Update Master Document" is always shown. >From 683f25efbcb36cf0ff310395fe7cca1e7eaaf4a4 Mon Sep 17 00:00:00 2001 From: Guillaume Munch <g...@lyx.org> Date: Thu, 22 Sep 2016 00:38:40 +0200 Subject: [PATCH] master-buffe

Re: Enable View master document even if there are no child documents

2016-09-22 Thread Guillaume Munch
Le 22/09/2016 à 04:41, Richard Heck a écrit : On 09/21/2016 06:43 PM, Guillaume Munch wrote: Le 29/08/2016 à 17:02, Jean-Marc Lasgouttes a écrit : This has been discussed some time ago. The command: command-alternative master-buffer-view; buffer-view does what you want. However, it would

Re: GUI changes for inserting citations in 2.2x

2016-09-16 Thread Guillaume Munch
Le 16/09/2016 à 08:22, Jürgen Spitzmüller a écrit : I've pushed the stuff with these fixes to master. Probably something to come back to for 2.2.3. Works very well. Now one will expect "search on the fly" to be always activated, for consistency for other search fields. If this is done, it

Re: Inkscape /LyX integration (working!)

2016-09-21 Thread Guillaume Munch
Le 06/09/2016 à 05:48, Vermeer Martin a écrit : Pavel thanks! Attached the changes you proposed (though still to HEAD). Yes, the Inkscape bug is known upstream. Fixing seems to be a bit tricky as it is due to a change in the Cairo library, aimed at enabling the output of "layers",

Re: [LyX/master] LaTeX highlighter: make at a letter in the user preamble

2016-08-27 Thread Guillaume Munch
Le 15/07/2016 à 17:54, Richard Heck a écrit : On 07/15/2016 12:51 PM, Guillaume Munch wrote: commit 10f6eb2e7eeffc757b7f54059524441e90008240 Author: Guillaume Munch <g...@lyx.org> Date: Fri Jul 15 17:45:47 2016 +0100 LaTeX highlighter: make at a letter in the user preamble

Re: [patch] Experiment with c++11 unicode strings

2016-08-27 Thread Guillaume Munch
Le 25/08/2016 à 20:36, Georg Baum a écrit : Guillaume Munch wrote: Le 22/08/2016 à 20:56, Georg Baum a écrit : Our own facets work, and the implementation is confined to one file which nobody needs to look at (unless he wants to). I made it work with libc++ too, which

Re: clang warning in InsetBranch.h

2016-08-27 Thread Guillaume Munch
Le 24/08/2016 à 14:07, Jean-Marc Lasgouttes a écrit : I get this warning with clang in master: In file included from ../../master/src/InsetList.cpp:21: ../../master/src/insets/InsetBranch.h:106:7: warning: 'lyx::InsetBranch::producesOutput' hides overloaded virtual function

Re: Universal function of backspace key at beginning of paragraph

2016-08-26 Thread Guillaume Munch
Le 26/08/2016 à 20:34, racoon a écrit : Hi devs and users, I still think a more universal function of the backspace key at beginning of paragraphs is a very good idea. http://www.lyx.org/trac/ticket/10156 Summary: The idea is to have backspace at the beginning of a non-default paragraph to

Re: [patch] Experiment with c++11 unicode strings

2016-08-22 Thread Guillaume Munch
Le 22/08/2016 à 20:56, Georg Baum a écrit : Guillaume Munch wrote: This is not the final version of the patch however because there is one big disappointment: the C++11 standard does not require several facets (including ctype) that are necessary to use stringstreams of char32_t. So these need

Re: clang warning in InsetBranch.h

2016-08-28 Thread Guillaume Munch
Le 28/08/2016 à 09:29, Stephan Witt a écrit : This is a problem in the Enchant library - not in LyX. It gets me every time.

Re: [LyX/2.2.x] Start preparations for 2.2.1.

2016-08-28 Thread Guillaume Munch
Le 30/07/2016 à 21:10, Guillaume Munch a écrit : Le 27/07/2016 à 17:37, Jean-Pierre Chrétien a écrit : After reviewing the various uses of Format in the menus and the translations I made, I eventually agree upon this, as I use Format in French in Preferences->File Formats. Ok so for

Re: [LyX/master] Convert deprecated '\rm' to '\textrm' in examples

2016-08-28 Thread Guillaume Munch
Le 29/08/2016 à 00:41, Scott Kostyshak a écrit : commit 0e49231bbfefe339b33b8ccc4d13e716a74871c4 Author: Scott Kostyshak Date: Sun Aug 28 19:12:20 2016 -0400 Convert deprecated '\rm' to '\textrm' in examples This change fixes the export of our FeynmanDiagrams.lyx

Re: Anonymous functions: replace bind with lambdas

2016-08-28 Thread Guillaume Munch
Le 05/07/2016 à 20:39, Georg Baum a écrit : Guillaume Munch wrote: I have split the patch in two for you, and already committed the part that does not introduce lambda expressions. Attached is the remainder of the patch that replaces all remaining std::bind with lambda expressions. Thanks. I

Re: Inkscape /LyX integration (working!)

2016-08-28 Thread Guillaume Munch
Le 19/08/2016 à 19:19, Vermeer Martin a écrit : Just noticed that a similar, more extensive and probably allround better project was completed back in 2011 by one Daniel Groger... great minds think alike! http://www.mail-archive.com/lyx-devel%40lists.lyx.org/msg169820.html But why is this not

[patch] On-screen justification: stretch in proportion with the em, up to a limit

2016-08-28 Thread Guillaume Munch
(1.5em) to prevent situations where there are weirdly wide gaps between words (inspired my Kindle). Sincerely Guillaume >From 3895e6e7265f0767259e7c7987281376aaca4bad Mon Sep 17 00:00:00 2001 From: Guillaume Munch <g...@lyx.org> Date: Sat, 13 Aug 2016 19:03:02 +0100 Subject: [PATCH]

Re: [LyX/master] Change "Format" into "Formats"

2016-08-28 Thread Guillaume Munch
Le 29/08/2016 à 00:11, Kornel Benko a écrit : Am Monday 29 August 2016 um 01:04:50, schrieb Kornel Benko <kor...@lyx.org> Am Monday 29 August 2016 um 00:23:46, schrieb Guillaume Munch <g...@lyx.org> commit 0779b3c36cb693bdb85aea7a155f4384b49c4902 Author: Guillaume Munch <g..

Re: [LyX/2.2.x] Start preparations for 2.2.1.

2016-08-28 Thread Guillaume Munch
Le 31/07/2016 à 22:00, Guenter Milde a écrit : On 2016-07-30, Guillaume Munch wrote: Le 26/07/2016 à 09:23, Guenter Milde a écrit : (I have a similar issue with the "source panel": it should really be called "output panel". I cannot follow this argument: the "so

Re: [LyX/master] Reset anchor before selecting with S-button1

2016-08-28 Thread Guillaume Munch
Le 23/08/2016 à 11:23, Jean-Marc Lasgouttes a écrit : commit b583fb26e89ccdc242e5c11d5e9d8b0606bee957 Author: Jean-Marc Lasgouttes Date: Tue Aug 23 12:22:35 2016 +0200 Reset anchor before selecting with S-button1 --- src/Text3.cpp |1 + 1 files changed, 1

Re: [LyX/master] Change "Format" into "Formats"

2016-08-28 Thread Guillaume Munch
Le 29/08/2016 à 00:04, Kornel Benko a écrit : Am Monday 29 August 2016 um 00:23:46, schrieb Guillaume Munch <g...@lyx.org> commit 0779b3c36cb693bdb85aea7a155f4384b49c4902 Author: Guillaume Munch <g...@lyx.org> Date: Sun Aug 28 16:51:15 2016 +0100 Change "Form

Re: Custom Insets on a Menu

2016-08-28 Thread Guillaume Munch
Le 14/08/2016 à 22:43, Richard Heck a écrit : On 08/14/2016 07:07 AM, Guillaume Munch wrote: Le 04/08/2016 à 02:11, Guillaume Munch a écrit : In the attached patch, I propose to replace the reference with a shared_ptr to avoid copying tens of FuncRequests every time one opens a menu. I

Re: Tarballs for LyX 2.2.0 are on FTP

2016-08-28 Thread Guillaume Munch
Le 09/06/2016 à 04:03, Richard Heck a écrit : On 06/08/2016 03:57 PM, Georg Baum wrote: Guillaume Munch wrote: Le 07/06/2016 00:00, Richard Heck a écrit : Our use of git would make it very easy for us to have a branch in which new features not requiring format changes could also be put

Re: Enable View master document even if there are no child documents

2016-08-29 Thread Guillaume Munch
Le 29/08/2016 à 11:22, racoon a écrit : Hi, I almost never View child documents. Most of the time they don't compile properly on their own anyway. So I would like to remove the View button from my interface. Unfortunately, the View master document button is grayed out if there are no child

Re: [LyX/master] Introduce "inverted" branch insets: These are branches whose content is output when a branch is NOT activated. Fixes bug #7698.

2016-08-22 Thread Guillaume Munch
Le 20/08/2016 à 15:31, Scott Kostyshak a écrit : On Sat, Aug 20, 2016 at 02:25:16PM +0100, Guillaume Munch wrote: Le 08/08/2016 à 17:40, Richard Heck a écrit : (We did not do a format change for that.) I am worried at the idea of certain commits introducing hidden file format changes

Re: clang warning in InsetBranch.h

2016-08-24 Thread Guillaume Munch
Le 24/08/2016 à 14:07, Jean-Marc Lasgouttes a écrit : I get this warning with clang in master: In file included from ../../master/src/InsetList.cpp:21: ../../master/src/insets/InsetBranch.h:106:7: warning: 'lyx::InsetBranch::producesOutput' hides overloaded virtual function

<    3   4   5   6   7   8   9   10   >