Profiling results of scrolling through the Users Guide

2011-06-09 Thread Stephan Witt
To investigate the recently mentioned scrolling problems I did some profiling on my machine. See http://www.mail-archive.com/lyx-users@lists.lyx.org/msg87278.html Ok, it's a completely different environment (Mac, Qt-4.6-Cocoa, SVN-trunk) but it's interesting too. To scroll with Page-Down

Re: Language change within Flex inset exports wrong babel construct

2011-06-09 Thread Jean-Pierre Chrétien
Guenter Milde milde at users.berlios.de writes: This exports as \code{\selectlanguage{english}% word\selectlanguage{french} } There correct LaTeX code is: \code{\selectlanguage{english}% - word\selectlanguage{french} + word\selectlanguage{french}% } The comment sign (%)

Re: Language change within Flex inset exports wrong babel construct

2011-06-09 Thread Guenter Milde
On 2011-06-09, Jean-Pierre Chrétien wrote: Guenter Milde milde at users.berlios.de writes: This exports as \code{\selectlanguage{english}% word\selectlanguage{french} } There correct LaTeX code is: \code{\selectlanguage{english}% - word\selectlanguage{french} +

Re: Language change within Flex inset exports wrong babel construct

2011-06-09 Thread Jean-Pierre Chrétien
Guenter Milde milde at users.berlios.de writes: Sure, output_export.cpp seems wrong there. Shouln't all }\n strings be replaced by }%\n strings there ? There are many examples where the line-break does not need to be escaped (end of environments, say). (It took me some time to find out

Re: Profiling results of scrolling through the Users Guide

2011-06-09 Thread Peter Kümmel
On 09.06.2011 08:12, Stephan Witt wrote: To investigate the recently mentioned scrolling problems I did some profiling on my machine. See http://www.mail-archive.com/lyx-users@lists.lyx.org/msg87278.html Ok, it's a completely different environment (Mac, Qt-4.6-Cocoa, SVN-trunk) but it's

Re: Profiling results of scrolling through the Users Guide

2011-06-09 Thread Peter Kümmel
On 09.06.2011 20:21, Peter Kümmel wrote: On 09.06.2011 08:12, Stephan Witt wrote: To investigate the recently mentioned scrolling problems I did some profiling on my machine. See http://www.mail-archive.com/lyx-users@lists.lyx.org/msg87278.html Ok, it's a completely different environment

Re: Profiling results of scrolling through the Users Guide

2011-06-09 Thread Stephan Witt
Am 09.06.2011 um 20:21 schrieb Peter Kümmel: On 09.06.2011 08:12, Stephan Witt wrote: To investigate the recently mentioned scrolling problems I did some profiling on my machine. See http://www.mail-archive.com/lyx-users@lists.lyx.org/msg87278.html Ok, it's a completely different

Re: Language change within Flex inset exports wrong babel construct

2011-06-09 Thread Guenter Milde
On 2011-06-09, Jean-Pierre Chrétien wrote: Guenter Milde milde at users.berlios.de writes: I added an exemple in my test file in bugzilla to show the spaces added in various situations: http://www.lyx.org/trac/attachment/ticket/7607/test_foreign_in_Flex1.lyx You may open it both with

Re: Profiling results of scrolling through the Users Guide

2011-06-09 Thread Pavel Sanda
Stephan Witt wrote: To investigate the recently mentioned scrolling problems I did some profiling on my machine. See http://www.mail-archive.com/lyx-users@lists.lyx.org/msg87278.html i'm afraid we need exactly the setup where X is the main consumer. Ok, it's a completely different

Re: Profiling results of scrolling through the Users Guide

2011-06-09 Thread Richard Heck
On 06/09/2011 04:03 PM, Stephan Witt wrote: Am 09.06.2011 um 20:21 schrieb Peter Kümmel: On 09.06.2011 08:12, Stephan Witt wrote: To investigate the recently mentioned scrolling problems I did some profiling on my machine. See http://www.mail-archive.com/lyx-users@lists.lyx.org/msg87278.html

Re: Language change within Flex inset exports wrong babel construct

2011-06-09 Thread Jürgen Spitzmüller
Jean-Pierre Chrétien wrote: So to come back to the previous thread, if Enrico's patch is not applied, which one of the }\n strings in output_latex.cpp should be modified ? See attachment. The new bool is introduced because pending_newline is used multiple times. Jürgen Index:

Profiling results of scrolling through the Users Guide

2011-06-09 Thread Stephan Witt
To investigate the recently mentioned scrolling problems I did some profiling on my machine. See http://www.mail-archive.com/lyx-users@lists.lyx.org/msg87278.html Ok, it's a completely different environment (Mac, Qt-4.6-Cocoa, SVN-trunk) but it's interesting too. To scroll with Page-Down

Re: Language change within Flex inset exports wrong babel construct

2011-06-09 Thread Jean-Pierre Chrétien
Guenter Milde users.berlios.de> writes: > > > This exports as > > > \code{\selectlanguage{english}% > > word\selectlanguage{french} > > } > > There correct LaTeX code is: > > \code{\selectlanguage{english}% > - word\selectlanguage{french} > + word\selectlanguage{french}% > } > > The

Re: Language change within Flex inset exports wrong babel construct

2011-06-09 Thread Guenter Milde
On 2011-06-09, Jean-Pierre Chrétien wrote: > Guenter Milde users.berlios.de> writes: >> > This exports as >> > \code{\selectlanguage{english}% >> > word\selectlanguage{french} >> > } >> There correct LaTeX code is: >> \code{\selectlanguage{english}% >> - word\selectlanguage{french} >> +

Re: Language change within Flex inset exports wrong babel construct

2011-06-09 Thread Jean-Pierre Chrétien
Guenter Milde users.berlios.de> writes: > > Sure, output_export.cpp seems wrong there. Shouln't all "}\n" strings > > be replaced by "}%\n" strings there ? > > There are many examples where the line-break does not need to be > escaped (end of environments, say). > (It took me some time to find

Re: Profiling results of scrolling through the Users Guide

2011-06-09 Thread Peter Kümmel
On 09.06.2011 08:12, Stephan Witt wrote: To investigate the recently mentioned scrolling problems I did some profiling on my machine. See http://www.mail-archive.com/lyx-users@lists.lyx.org/msg87278.html Ok, it's a completely different environment (Mac, Qt-4.6-Cocoa, SVN-trunk) but it's

Re: Profiling results of scrolling through the Users Guide

2011-06-09 Thread Peter Kümmel
On 09.06.2011 20:21, Peter Kümmel wrote: On 09.06.2011 08:12, Stephan Witt wrote: To investigate the recently mentioned scrolling problems I did some profiling on my machine. See http://www.mail-archive.com/lyx-users@lists.lyx.org/msg87278.html Ok, it's a completely different environment

Re: Profiling results of scrolling through the Users Guide

2011-06-09 Thread Stephan Witt
Am 09.06.2011 um 20:21 schrieb Peter Kümmel: > On 09.06.2011 08:12, Stephan Witt wrote: >> To investigate the recently mentioned scrolling problems I did some >> profiling on my machine. >> See http://www.mail-archive.com/lyx-users@lists.lyx.org/msg87278.html >> >> Ok, it's a completely

Re: Language change within Flex inset exports wrong babel construct

2011-06-09 Thread Guenter Milde
On 2011-06-09, Jean-Pierre Chrétien wrote: > Guenter Milde users.berlios.de> writes: > I added an exemple in my test file in bugzilla to show the spaces > added in various situations: > http://www.lyx.org/trac/attachment/ticket/7607/test_foreign_in_Flex1.lyx > You may open it both with

Re: Profiling results of scrolling through the Users Guide

2011-06-09 Thread Pavel Sanda
Stephan Witt wrote: > To investigate the recently mentioned scrolling problems I did some profiling > on my machine. > See http://www.mail-archive.com/lyx-users@lists.lyx.org/msg87278.html i'm afraid we need exactly the setup where X is the main consumer. > Ok, it's a completely different

Re: Profiling results of scrolling through the Users Guide

2011-06-09 Thread Richard Heck
On 06/09/2011 04:03 PM, Stephan Witt wrote: Am 09.06.2011 um 20:21 schrieb Peter Kümmel: On 09.06.2011 08:12, Stephan Witt wrote: To investigate the recently mentioned scrolling problems I did some profiling on my machine. See http://www.mail-archive.com/lyx-users@lists.lyx.org/msg87278.html

Re: Language change within Flex inset exports wrong babel construct

2011-06-09 Thread Jürgen Spitzmüller
Jean-Pierre Chrétien wrote: > So to come back to the previous thread, if Enrico's patch is not applied, > which one of the "}\n" strings in output_latex.cpp should be modified ? See attachment. The new bool is introduced because pending_newline is used multiple times. Jürgen Index: