Re: LyX and (ancient) Hebrew

2016-12-08 Thread mn
On 07.12.16 23:53, Scott Kostyshak wrote: > On Wed, Dec 07, 2016 at 10:35:06PM +0100, Cor Blom wrote: >> Op 03-12-16 om 22:51 schreef Scott Kostyshak: The other thing is that on screen, when I type a rtl text in a ltr documents, I have to mark that word as e.g. Hebrew before the sequence

Re: LyX and (ancient) Hebrew

2016-12-08 Thread Jean-Marc Lasgouttes
Le 08/12/2016 à 15:23, mn a écrit : That means: default document language is, say, English and then Hebrew is added in afterwards. Apart from the slight annoyance mentioned above it becomes very hard to actually type something with nikuds, since the "foreign-language-underline" (sorry, I do not

Re: LyX and (ancient) Hebrew

2016-12-08 Thread Jean-Marc Lasgouttes
Le 08/12/2016 à 12:55, mn a écrit : Hm, I wonder if this is also effecting selecting rtl-text with the mouse. Right now it drives me crazy how it behaves once the text is marked as containig Hebrew and spans more than one row in the editor display. Cursor mode visual and logical seem to be in

Re: LyX 2.2 slowness

2016-12-08 Thread Jean-Marc Lasgouttes
Le 08/12/2016 à 14:29, Jean-Marc Lasgouttes a écrit : Le 08/12/2016 à 12:36, Tommaso Cucinotta a écrit : On 08/12/2016 11:09, Tommaso Cucinotta wrote: I'm now trying oprofile/operf, just to compare output. that's quite similar How do we know what are the freetype settings in effect

Re: LyX and (ancient) Hebrew

2016-12-08 Thread Jean-Marc Lasgouttes
Le 08/12/2016 à 15:41, Jean-Marc Lasgouttes a écrit : On a side note: I would also appreciate something to quickly change the editor's zoom level. Is there a short-cut or can I define one? Ctrl+/Ctrl- or Ctrl with mouse wheel. Sorry, you are a mac user. Use Command instead of Ctrl. JMarc

Re: LyX 2.2 slowness

2016-12-08 Thread Jean-Marc Lasgouttes
Le 08/12/2016 à 12:36, Tommaso Cucinotta a écrit : On 08/12/2016 11:09, Tommaso Cucinotta wrote: I'm now trying oprofile/operf, just to compare output. that's quite similar How do we know what are the freetype settings in effect (anitalisaing, hinting, ...)? JMarc

Re: LyX 2.2 slowness

2016-12-08 Thread Tommaso Cucinotta
On 08/12/2016 14:39, Jean-Marc Lasgouttes wrote: On my ubuntu 12.40 station I get: Xft.dpi:96 Xft.antialias:1 Xft.hinting:1 Xft.hintstyle:hintslight Xft.rgba:none Xft.lcdfilter:none mine: tommaso@tommylap:~/lyx-trunk-ws/lyx$ xrdb -query |grep Xft Xft.antialias: 1

Re: LyX 2.2 slowness

2016-12-08 Thread Tommaso Cucinotta
On 08/12/2016 04:49, Richard Heck wrote: I could do a valgrind thing of the same sort if you tell me what command to run. it's quite straightforward: valgrind --tool=callgrind /usr/bin/lyx # play with lyx, especially open a doc with a full page of text, move cursor on it, select parts

Re: problems with quotes

2016-12-08 Thread Jean-Marc Lasgouttes
Le 08/12/2016 à 00:09, Guenter Milde a écrit : * consistency: currently, if a user sees a guillemot « on screen, it can be a literal character or a Quote inset and the LaTeX export can be "«" or "\guillemotleft" (depending on the "inputencoding") "<<" (for Quote inset, even if « is

Re: LyX 2.2 slowness

2016-12-08 Thread Tommaso Cucinotta
On 08/12/2016 11:09, Tommaso Cucinotta wrote: I'm now trying oprofile/operf, just to compare output. that's quite similar CPU_CLK_UNHALT...| samples| %| -- 1873080 100.000 lyx CPU_CLK_UNHALT...| samples| %| --

Re: LyX 2.2 slowness

2016-12-08 Thread Jean-Marc Lasgouttes
Le 08/12/2016 à 16:01, Tommaso Cucinotta a écrit : On 08/12/2016 14:39, Jean-Marc Lasgouttes wrote: On my ubuntu 12.40 station I get: Xft.dpi:96 Xft.antialias:1 Xft.hinting:1 Xft.hintstyle:hintslight Xft.rgba:none Xft.lcdfilter:none mine: Did you try the patch I

Re: LyX and (ancient) Hebrew

2016-12-08 Thread Jean-Marc Lasgouttes
Le 08/12/2016 à 16:20, mn a écrit : Yes. But this means I loose the ability to immediately see whether or not this part was correctly assigned to a given language. I think there might be a better solution than to disable _a_ marking completely. A grey bar in the background? You can freely

Re: LyX 2.2 slowness

2016-12-08 Thread Guillaume Munch
Le 08/12/2016 à 16:07, Jean-Marc Lasgouttes a écrit : Also, it would be nice to know what are the callers of freettype that consume the most time. As a reminder here is where I got last time with kcachegrind: https://www.mail-archive.com/lyx-devel@lists.lyx.org/msg194401.html The caching in

Re: #10481: Hardening LyX against potential misuse

2016-12-08 Thread Guillaume Munch
Le 05/12/2016 à 08:53, Tommaso Cucinotta a écrit : On 04/12/2016 18:51, Guillaume Munch wrote: Le 04/12/2016 à 18:06, Tommaso Cucinotta a écrit : On 28/11/2016 00:42, Tommaso Cucinotta wrote: On 27/11/2016 13:52, Guillaume Munch wrote: * Converters>Security is located below the converter

Re: LyX and (ancient) Hebrew

2016-12-08 Thread Jean-Marc Lasgouttes
Le 08/12/2016 à 16:21, mn a écrit : Try to select what comes after the first colon (to the left) up until the second colon in the second line. Or in other words: what is just between those two. The selection will jump to the beginning of the first line (far right). This was not intended. If I

Re: compilation error with current master

2016-12-08 Thread Guillaume Munch
Le 07/12/2016 à 13:57, Jan Niklas Hasse a écrit : Hi, try adding #include to Encoding.cpp. Yes On Wed, 7 Dec 2016, at 00:36, Uwe Stöhr wrote: With today's master I get this compilation error: Encoding.cpp D:\LyXGit\Master\src\Encoding.cpp(267): error C3861: 'back_inserter':

Re: LyX and (ancient) Hebrew

2016-12-08 Thread mn
On 08.12.16 15:41, Jean-Marc Lasgouttes wrote: > Le 08/12/2016 à 15:23, mn a écrit : >> That means: default document language is, say, English and then Hebrew >> is added in afterwards. >> Apart from the slight annoyance mentioned above it becomes very hard to >> actually type something with

Re: #10481: Hardening LyX against potential misuse

2016-12-08 Thread Guillaume Munch
Le 05/12/2016 à 08:36, Tommaso Cucinotta a écrit : On 04/12/2016 18:37, Guillaume Munch wrote: If there are n graphics, then are there n dialogs when opening the file for the first time? it asks as many times as there are (uncached) graphics needing 'needauth' converters,unless you hit the

Re: LyX and (ancient) Hebrew

2016-12-08 Thread mn
On 08.12.16 15:45, Jean-Marc Lasgouttes wrote: > Le 08/12/2016 à 12:55, mn a écrit : >> Hm, I wonder if this is also effecting selecting rtl-text with the mouse. >> Right now it drives me crazy how it behaves once the text is marked as >> containig Hebrew and spans more than one row in the editor

Re: LyX and (ancient) Hebrew

2016-12-08 Thread Jean-Marc Lasgouttes
Le 08/12/2016 à 16:20, mn a écrit : Yes. But this means I loose the ability to immediately see whether or not this part was correctly assigned to a given language. I think there might be a better solution than to disable _a_ marking completely. A grey bar in the background? You can freely

Re: [LyX/master] Cosmetic changes to the needauth dialogs

2016-12-08 Thread Guillaume Munch
Le 04/12/2016 à 19:59, Enrico Forestieri a écrit : On Sun, Dec 04, 2016 at 06:38:42PM +0100, Guillaume Munch wrote: +// FIXME: This dialog has issues with line breaking and size, in particular with +// html. But it could easily be reimplemented as a QMessageBox using +//

Re: problems with quotes

2016-12-08 Thread Guenter Milde
Dear Jean-Marc, On 2016-12-08, Jean-Marc Lasgouttes wrote: > Le 08/12/2016 à 00:09, Guenter Milde a écrit : >> * consistency: currently, if a user sees a guillemot « on screen, it can be >> a literal character or a Quote inset and the LaTeX export can be >> "«" or "\guillemotleft" (depending

Re: problems with quotes

2016-12-08 Thread Guenter Milde
Dear Jürgen, On 2016-12-08, Jürgen Spitzmüller wrote: > Am Mittwoch, den 07.12.2016, 23:09 + schrieb Guenter Milde: >> However, given that other non-ASCII characters are exported as-is, too >> using literal characters for typographical quotes makes the generated >> document's source more

Re: LyX 2.2 slowness

2016-12-08 Thread Tommaso Cucinotta
In case it might help, this seems a recurrent stack trace during the slowness writev,??,??,xcb_writev,_XSend,XRenderAddGlyphs,QFontEngineX11FT::uploadGlyphToServer(QFontEngineFT::QGlyphSet*,,

Re: Document output format PDF(LuaTeX) .. instant preview of math

2016-12-08 Thread Scott Kostyshak
On Sat, Nov 05, 2016 at 11:40:51AM +0100, Kornel Benko wrote: > Try to open attached document. > Wait a moment until the preview is done. > The formula takes too much space. I thought someone had responded to this but I can't find it. We should make a bug report so we don't forget. Scott