Re: Printer fonts in 2.0 HEAD

2011-02-02 Thread Jürgen Spitzmüller
Guenter Milde wrote: > a) Copy the definitions to our file but leave out the \@onlypreamble, of >course. > > b) Do the tests in the preamble, store the result in macros and write the >document later. I tried most of these, but failed. Essentially, the attempt to load the package faile

Re: Printer fonts in 2.0 HEAD

2011-02-02 Thread Guenter Milde
On 2011-02-03, Jürgen Spitzmüller wrote: > Guenter Milde wrote: >> I see. So, maybe use or copy the date check from latex.ltx: >> \def\@ifpackagelater{\@ifl@ter\@pkgextension} >> \def\@ifclasslater{\@ifl@ter\@clsextension} >> \@onlypreamble\@ifpackagelater >> \@onlypreamble\@ifclasslater >> \def\@

Re: Printer fonts in 2.0 HEAD

2011-02-02 Thread Jürgen Spitzmüller
Guenter Milde wrote: > I see. So, maybe use or copy the date check from latex.ltx: > > \def\@ifpackagelater{\@ifl@ter\@pkgextension} > \def\@ifclasslater{\@ifl@ter\@clsextension} > \@onlypreamble\@ifpackagelater > \@onlypreamble\@ifclasslater > \def\@ifl@ter#1#2{% > \expandafter\@ifl@t@r > \

Re: Warnings with achemso in trunk

2011-02-02 Thread Richard Heck
On 02/02/2011 12:38 PM, Richard Heck wrote: On 02/02/2011 12:32 PM, rgh...@lyx.org wrote: Author: rgheck Date: Wed Feb 2 18:32:59 2011 New Revision: 37427 URL: http://www.lyx.org/trac/changeset/37427 Log: More related to #7224: It's OK for layouts not to provide a ListCommand if a float writes

Re: r37439 - in lyx-devel/trunk/development/autotests: . xvkbd

2011-02-02 Thread Pavel Sanda
Tommaso Cucinotta wrote: > Pavel. In the end, either it will be of general use, or the whole > autotests/ will remain on my laptop and used by myself only, and removed this kbd tool seems to lock randomly my keyboard. it is locked after the test and take some time with mouse focusing to get the

Re: r37441 - lyx-devel/trunk/development/autotests

2011-02-02 Thread Pavel Sanda
sa...@lyx.org wrote: > Author: sanda > Date: Thu Feb 3 01:01:53 2011 > New Revision: 37441 > URL: http://www.lyx.org/trac/changeset/37441 > > Log: > fix findadv-03-in.txt > > Modified: >lyx-devel/trunk/development/autotests/findadv-03-in.txt > > Modified: lyx-devel/trunk/development/autotes

Re: r37439 - in lyx-devel/trunk/development/autotests: . xvkbd

2011-02-02 Thread Tommaso Cucinotta
Il 03/02/2011 00:27, Vincent van Ravesteijn ha scritto: Do we really want all this code in our tree ? perfectly motivated question: I'm trying to sort out a reusable toy with Pavel. In the end, either it will be of general use, or the whole autotests/ will remain on my laptop and used by mysel

Autotests on Advanced Find and Replace

2011-02-02 Thread Tommaso Cucinotta
Perhaps looking at this video http://www.youtube.com/watch?v=PbjWbUGLGSw somebody could be curious and get interested into this autotests machinery and provide some useful feedback on how to possibly make it more widely useful and reusable across LyX developers. Thanks, Tommaso

Re: r37364 - lyx-devel/trunk/development/autotests

2011-02-02 Thread Pavel Sanda
Tommaso Cucinotta wrote: > If you have a few mins, I'd like to know whether this is working > in your environment or not. the result on the current tree: Initializing testing environment . . . Running test cases . . . findadv-01: Ok find

Re: r37439 - in lyx-devel/trunk/development/autotests: . xvkbd

2011-02-02 Thread Vincent van Ravesteijn
Op 3-2-2011 0:18, tomm...@lyx.org schreef: Author: tommaso Date: Thu Feb 3 00:18:16 2011 New Revision: 37439 URL: http://www.lyx.org/trac/changeset/37439 Log: Added custom xvkbd for avoiding typing into other windows. Added: lyx-devel/trunk/development/autotests/xvkbd/ lyx-devel/trunk

Re: [wiki] approve site password

2011-02-02 Thread Pavel Sanda
Sven Hoexter wrote: > I would appreciate it if someone would sent me the wiki password required > to approve new links. Alternatively someone could just approve the changes > made on http://wiki.lyx.org/LyX/LyXOnDebian sent privately. p

Re: r37364 - lyx-devel/trunk/development/autotests

2011-02-02 Thread Tommaso Cucinotta
Il 01/02/2011 12:15, Pavel Sanda ha scritto: secondly, there are -userdir and -sysdir option in lyx binary itself, so using some specific user dir location... I tried to make a few improvements (svn up, please): -) added the patched xvkbd inside the autotests/ folder, in order to try to avoi

[wiki] approve site password

2011-02-02 Thread Sven Hoexter
Hi, I would appreciate it if someone would sent me the wiki password required to approve new links. Alternatively someone could just approve the changes made on http://wiki.lyx.org/LyX/LyXOnDebian Thanks in advanced, Sven -- And I don't know much, but I do know this: With a golden heart comes a r

Re: r37438 - lyx-devel/trunk/lib/doc

2011-02-02 Thread Pavel Sanda
rgh...@lyx.org wrote: > Author: rgheck > Date: Thu Feb 3 00:11:07 2011 > New Revision: 37438 > URL: http://www.lyx.org/trac/changeset/37438 > > Log: > Docs for latest layout changes. > > Modified: >lyx-devel/trunk/lib/doc/Customization.lyx > > Modified: lyx-devel/trunk/lib/doc/Customization

Re: Shortcut change for "Solo parole intere"

2011-02-02 Thread Tommaso Cucinotta
Il 10/01/2011 23:54, Enrico Forestieri ha scritto: On Sun, Jan 09, 2011 at 03:45:04PM +0100, Tommaso Cucinotta wrote: For example, like in the attached patch, realizing: +msgstr "Maiuscolo/min&uscolo" However, this would now clash with another shortcut in the (quick) Find&Replace dialog. Then

Linux + Samba Problem

2011-02-02 Thread Richard Heck
On 02/02/2011 04:19 PM, Paul A. Rubin wrote: On 02/02/2011 03:43 PM, Richard Heck wrote: On 02/02/2011 02:54 PM, Richard Heck wrote: On 01/24/2011 05:28 PM, Paul Rubin wrote: Hi all, I've verified a complaint by two Linux users on the user list that image files homed on a Windows share (Samb

Re: Need help debugging

2011-02-02 Thread Paul A. Rubin
On 02/02/2011 03:43 PM, Richard Heck wrote: On 02/02/2011 02:54 PM, Richard Heck wrote: On 01/24/2011 05:28 PM, Paul Rubin wrote: Hi all, I've verified a complaint by two Linux users on the user list that image files homed on a Windows share (Samba) are not copied to the temp directory when

Re: Printer fonts in 2.0 HEAD

2011-02-02 Thread Guenter Milde
On 2011-02-02, Jürgen Spitzmüller wrote: > Guenter Milde wrote: >> Why not use something like the following in config.py? > Because we check for the packages in chkconfig.ltx, not configure.py. I see. So, maybe use or copy the date check from latex.ltx: \def\@ifpackagelater{\@ifl@ter\@pkgextensi

Re: Need help debugging

2011-02-02 Thread Richard Heck
On 02/02/2011 02:54 PM, Richard Heck wrote: On 01/24/2011 05:28 PM, Paul Rubin wrote: Hi all, I've verified a complaint by two Linux users on the user list that image files homed on a Windows share (Samba) are not copied to the temp directory when you View> DVI or View> PDF the document. R

Re: Need help debugging

2011-02-02 Thread Richard Heck
On 01/24/2011 05:28 PM, Paul Rubin wrote: Hi all, I've verified a complaint by two Linux users on the user list that image files homed on a Windows share (Samba) are not copied to the temp directory when you View> DVI or View> PDF the document. Running lyx in debug mode did not produce any he

Warnings with achemso in trunk

2011-02-02 Thread Richard Heck
On 02/02/2011 12:32 PM, rgh...@lyx.org wrote: Author: rgheck Date: Wed Feb 2 18:32:59 2011 New Revision: 37427 URL: http://www.lyx.org/trac/changeset/37427 Log: More related to #7224: It's OK for layouts not to provide a ListCommand if a float writes to the same auxfile as an existing float. E.

Re: bug with brackets in subfloat?

2011-02-02 Thread Jürgen Spitzmüller
Guenter Milde wrote: > If this escaping is missing in subfloats, this is a bug. You're right. And it's now fixed for LyX 1.6.9 and LyX 2.x. Jürgen

Re: [PATCH] (no) need for latex-xft-fonts

2011-02-02 Thread Jean-Marc Lasgouttes
Le 02/02/2011 16:05, Jürgen Spitzmüller a écrit : Jean-Marc Lasgouttes wrote: Am I right that we can remove mention of the latex-xft-fonts package from INSTALL. We distribute the fonts these days. Yes, I suppose. Done for branch and trunk. JMarc

Re: [PATCH] (no) need for latex-xft-fonts

2011-02-02 Thread Jürgen Spitzmüller
Jean-Marc Lasgouttes wrote: > Am I right that we can remove mention of the latex-xft-fonts package > from INSTALL. We distribute the fonts these days. Yes, I suppose. > This is probably the same for branch. Feel free to do that, while you are at it. Jürgen

Re: Subject: LyX 2.0beta3: Spell Checking + Multilingualism

2011-02-02 Thread Stephan Witt
Am 02.02.2011 um 15:46 schrieb Jean-Marc Lasgouttes: > Le 02/02/2011 11:26, Stephan Witt a écrit : >> +if (!cur.selection()) { >> +// apply to current word >> +selectWordWhenUnderCursor(cur, WHOLE_WORD); >> +} > > There is no need to

[PATCH] (no) need for latex-xft-fonts

2011-02-02 Thread Jean-Marc Lasgouttes
Am I right that we can remove mention of the latex-xft-fonts package from INSTALL. We distribute the fonts these days. This is probably the same for branch. JMarc Index: INSTALL === --- INSTALL (révision 37417) +++ INSTALL (copie

Re: Spell checking and breaking words

2011-02-02 Thread Stephan Witt
Am 02.02.2011 um 15:20 schrieb Jean-Marc Lasgouttes: > I stumbled an interesting bug report related to words tokening in > the spell checker. I did not understand everything but it seemed interesting > enough to share (Stephan?) Still alive. :-) > Firefox: > https://bugzilla.mozilla.org/show_bu

Re: Subject: LyX 2.0beta3: Spell Checking + Multilingualism

2011-02-02 Thread Jean-Marc Lasgouttes
Le 02/02/2011 11:26, Stephan Witt a écrit : + if (!cur.selection()) { + // apply to current word + selectWordWhenUnderCursor(cur, WHOLE_WORD); + } There is no need to test for selection, selectWordWhenUnderCursor does the

Spell checking and breaking words

2011-02-02 Thread Jean-Marc Lasgouttes
I stumbled an interesting bug report related to words tokening in the spell checker. I did not understand everything but it seemed interesting enough to share (Stephan?) Firefox: https://bugzilla.mozilla.org/show_bug.cgi?id=355178 Corresponding bug in OpenOffice: http://www.openoffice.org/issu

Re: context menus shortcut conflicts again

2011-02-02 Thread Jean-Pierre Chrétien
Jürgen Spitzmüller lyx.org> writes: > > I see no ticket about this. > > Shouldn't exist one, following earlier threads on the subject ? > > Yes, it should, and it should point to target 2.0. Done (ticket #7275) -- Jean-Pierre

Re: Printer fonts in 2.0 HEAD

2011-02-02 Thread Jürgen Spitzmüller
Guenter Milde wrote: > Why not use something like the following in config.py? Because we check for the packages in chkconfig.ltx, not configure.py. Jürgen

Re: Printer fonts in 2.0 HEAD

2011-02-02 Thread Guenter Milde
On 2011-02-01, Jürgen Spitzmüller wrote: > Guenter Milde wrote: >> Parsing this should not bee too difficult with Python -- watch that there >> might be line breaks between the \ProvidesPackage command and the >> arguments. > For a proper detection, we would need a tex solution, since > configure

Re: Subject: LyX 2.0beta3: Spell Checking + Multilingualism

2011-02-02 Thread Stephan Witt
Am 02.02.2011 um 11:44 schrieb Jürgen Spitzmüller: > Stephan Witt wrote: >> The patch to auto-select the word for language change is attached. >> Would that be ok? > > Looks good for me. I've put it in. Stephan

Re: context menus shortcut conflicts again

2011-02-02 Thread Pavel Sanda
Jürgen Spitzmüller wrote: > there should probably be some limit to make the context menus not grow > perversely. +1 pavel

Re: Subject: LyX 2.0beta3: Spell Checking + Multilingualism

2011-02-02 Thread Jürgen Spitzmüller
Stephan Witt wrote: > The patch to auto-select the word for language change is attached. > Would that be ok? Looks good for me. Jürgen

Re: bug with brackets in subfloat?

2011-02-02 Thread Guenter Milde
On 2011-02-01, Jürgen Spitzmüller wrote: > Jürgen Spitzmüller wrote: >> This problem occurs probably in many if not all optional arguments. LyX >> could try to prevent this, so you could file a report on our tracker. > I noted that we already do this in the OptArg inset where we embrace content

Re: about continuous spellcheck

2011-02-02 Thread Edwin Leuven
On Wed, Feb 2, 2011 at 11:12, Stephan Witt wrote: > Sorry, one changed file was missing in patch. > This is the complete patch. ok, this works great for me. thanks!

Re: Subject: LyX 2.0beta3: Spell Checking + Multilingualism

2011-02-02 Thread Stephan Witt
Am 27.01.2011 um 14:05 schrieb Walter: ... >>> 2. Right click to set spellchecker language on a highlighted word fails [*] >>> >>> It appears that when 'Tools|Preferences|Language Settings|Spellchecker| >>> Spellcheck

Re: about continuous spellcheck

2011-02-02 Thread Stephan Witt
Am 02.02.2011 um 10:59 schrieb Edwin Leuven: > On Wed, Feb 2, 2011 at 09:33, Stephan Witt wrote: >> Finally I have a basically working solution. See the attached patch. > > thanks! it compiles fine > >> I know, I've to add some comments. Please, can anyone try it? > > so the idea is that words

Re: about continuous spellcheck

2011-02-02 Thread Edwin Leuven
On Wed, Feb 2, 2011 at 09:33, Stephan Witt wrote: > Finally I have a basically working solution. See the attached patch. thanks! it compiles fine > I know, I've to add some comments. Please, can anyone try it? so the idea is that words that are being typed are not marked? i don't see this...

Re: context menus shortcut conflicts again

2011-02-02 Thread Jürgen Spitzmüller
Jean-Pierre Chrétien wrote: > Menus.cpp(682): Menu warning: menu entries "À droite|r" > and "Rejeter la modification|R" share the same shortcut. > Menus.cpp(682): Menu warning: menu entries "Ajouter une colonne|A" > and "Accepter la modification|A" share the same shortcut. This comes from the con

Re: lettre.layout bug

2011-02-02 Thread Jürgen Spitzmüller
Jean-Pierre Chrétien wrote: > > Does trunk need the same? > > Sure Can you send a patch for trunk? The branch patch does not apply cleanly. Jürgen

Re: #7217: performance issue with advanced find and replace dialog

2011-02-02 Thread Tommaso Cucinotta
Il 10/01/2011 09:39, LyX Ticket Tracker ha scritto: #7217: performance issue with advanced find and replace dialog Comment(by vfr): I want to propose a threaded solution. This is conceptually the same, but reuses existing Qt code and makes sure the UI is interactive. Hi Vincent, are you fi

Re: lettre.layout bug

2011-02-02 Thread Jean-Pierre Chrétien
Jürgen Spitzmüller lyx.org> writes: > OK. I committed this to branch. > > Does trunk need the same? Sure -- Jean-Pierre

Re: about continuous spellcheck

2011-02-02 Thread Stephan Witt
Am 31.01.2011 um 14:30 schrieb Stephan Witt: > Am 29.01.2011 um 21:14 schrieb Stephan Witt: > >> Am 29.01.2011 um 20:40 schrieb Edwin Leuven: >> >>> Stephan Witt wrote: >>> I already checked open-office, eclipse and apple mail. All of them don't mark an unfinished word at first.