Re: Ignore Latex errors in Lyx ?

2011-04-05 Thread Rémi Mégret
Le 05/04/11 10:24, Jean-Marc Lasgouttes a écrit : Le 05/04/11 08:57, Guenter Milde a écrit : Especially when hunting for an error, looking at what is generated so far can be a great help. So, a button like: "open the output anyway" on the error message box (if there is an output file) would be a

Re: Ignore Latex errors in Lyx ?

2011-04-05 Thread Rémi Mégret
Le 05/04/11 20:17, Liviu Andronic a écrit : On Mon, Apr 4, 2011 at 11:53 AM, Rémi Mégret wrote: One caveat is that LyX refuses to open the generated PDF file when there are Latex errors, although the PDF output could still be usable. Not always. I often noticed that LyX would produce the PDF

Re: r38265 - lyx-devel/trunk/po

2011-04-05 Thread Pavel Sanda
Richard Heck wrote: > BTW, what's with all the commented-out stuff at the end of these files? ignore it as well (its for the purpose of fuzzy hinter). pavel

Re: r38265 - lyx-devel/trunk/po

2011-04-05 Thread Pavel Sanda
Richard Heck wrote: > On 04/05/2011 06:43 PM, Pavel Sanda wrote: >> Richard Heck wrote: >>> Pavel, >>> >>> You can now do: >>> ./pocheck.pl -a *.po >>> to check only for argument problems, etc. >> chmm, can we ignore fuzzy messages? >> > I would suppose, though probably one doesn't want to do

Re: r38265 - lyx-devel/trunk/po

2011-04-05 Thread Richard Heck
On 04/05/2011 07:02 PM, Richard Heck wrote: On 04/05/2011 06:43 PM, Pavel Sanda wrote: Richard Heck wrote: Pavel, You can now do: ./pocheck.pl -a *.po to check only for argument problems, etc. chmm, can we ignore fuzzy messages? I would suppose, though probably one doesn't want to do so

Re: r38265 - lyx-devel/trunk/po

2011-04-05 Thread Richard Heck
On 04/05/2011 06:43 PM, Pavel Sanda wrote: Richard Heck wrote: Pavel, You can now do: ./pocheck.pl -a *.po to check only for argument problems, etc. chmm, can we ignore fuzzy messages? I would suppose, though probably one doesn't want to do so for the arguments. How are these marked?

Re: r38265 - lyx-devel/trunk/po

2011-04-05 Thread Pavel Sanda
Richard Heck wrote: > > Pavel, > > You can now do: > ./pocheck.pl -a *.po > to check only for argument problems, etc. chmm, can we ignore fuzzy messages? pavel

Re: r38265 - lyx-devel/trunk/po

2011-04-05 Thread Richard Heck
Pavel, You can now do: ./pocheck.pl -a *.po to check only for argument problems, etc. Richard On 04/05/2011 06:32 PM, rgh...@lyx.org wrote: Author: rgheck Date: Wed Apr 6 00:32:32 2011 New Revision: 38265 URL: http://www.lyx.org/trac/changeset/38265 Log: Add option processing to pochec

Re: Bug with prettyref in lyx-2.0-rc1 (rev 37872)

2011-04-05 Thread Julien Rioux
On 05/04/2011 3:49 PM, Georg Baum wrote: Richard Heck wrote: I meant not to be proposing it for 2.0.0, precisely for the reason you mention, but I think it would be OK for a later release in the 2.0.x series. Of course, that is up to Pavel: whether he'll accept a patch that adds a BufferParam t

Re: Crash in rc_2

2011-04-05 Thread Pavel Sanda
Pavel Sanda wrote: > Vincent van Ravesteijn wrote: > > On 5-4-2011 22:22, Ingar Pareliussen wrote: > >> Hi > >> > >> I got a crash when trying to "Save As". Save seems to work fine... > >> I have made a small sample file that crashes every time for me with save > >> as. > >> > >> The error is many

Re: Bug with prettyref in lyx-2.0-rc1 (rev 37872)

2011-04-05 Thread Pavel Sanda
Richard Heck wrote: >>> I meant not to be proposing it for 2.0.0, precisely for the reason you >>> mention, but I think it would be OK for a later release in the 2.0.x >>> series. Of course, that is up to Pavel: whether he'll accept a patch >>> that adds a BufferParam to control this as yet non-exi

Re: Bug with prettyref in lyx-2.0-rc1 (rev 37872)

2011-04-05 Thread Richard Heck
On 04/05/2011 03:49 PM, Georg Baum wrote: Richard Heck wrote: I meant not to be proposing it for 2.0.0, precisely for the reason you mention, but I think it would be OK for a later release in the 2.0.x series. Of course, that is up to Pavel: whether he'll accept a patch that adds a BufferParam

Re: Bug with prettyref in lyx-2.0-rc1 (rev 37872)

2011-04-05 Thread Georg Baum
Richard Heck wrote: > I meant not to be proposing it for 2.0.0, precisely for the reason you > mention, but I think it would be OK for a later release in the 2.0.x > series. Of course, that is up to Pavel: whether he'll accept a patch > that adds a BufferParam to control this as yet non-existent f

Re: Bug with prettyref in lyx-2.0-rc1 (rev 37872)

2011-04-05 Thread Georg Baum
Julien Rioux wrote: > The file layouttranslations has a simple syntax, is easily customizable, > and will live in the user directory. I was quite excited by this > feature. I am surprised that it's not used fully. Don't expect too much. The file is less than two weeks old :-) > There is an oppor

Re: Bug with prettyref in lyx-2.0-rc1 (rev 37872)

2011-04-05 Thread Georg Baum
Julien Rioux wrote: > Thanks for clarifying. I am still confused by a bit, though. For > example, why are the strings "Figure" and "List of Figures" in the file > layouttranslations? > > under translation fr there is: > "List of Figures" "Liste des figures" > > but in the generated pdf

Re: Ignore Latex errors in Lyx ?

2011-04-05 Thread Liviu Andronic
On Mon, Apr 4, 2011 at 11:53 AM, Rémi Mégret wrote: > Dear LyX developers > > Thanks for this really nice software, which changed radically the way i > write scientific documents. I am currently using it on a daily basis, much > more than i used to do with plain latex. > I have recently tried to c

Re: probem with labelled equations in LyX 20 rc1 and rc2

2011-04-05 Thread Pavel Sanda
venom00 wrote: > > its in. P > > So what's the final decision? Will it be in 2.0? "its in" means it has been committed into trunk, ie it will appear in the next release. http://www.lyx.org/trac/changeset/38256 http://www.lyx.org/trac/changeset/38243 pavel

RE: probem with labelled equations in LyX 20 rc1 and rc2

2011-04-05 Thread venom00
> venom00 wrote: > > > Pavel Sanda wrote: > > > > thanks for your efforts, i'll put it in. > > > > > > but only after you post this patch as an attachment, > > > its unapplicable in this form... > > > pavel > > > > You're welcome. I forgot to attach it. > > its in. P So what's the final decisio

Re: Bug with prettyref in lyx-2.0-rc1 (rev 37872)

2011-04-05 Thread Julien Rioux
On 05/04/2011 3:11 AM, Jürgen Spitzmüller wrote: Julien Rioux wrote: Thanks for clarifying. I am still confused by a bit, though. For example, why are the strings "Figure" and "List of Figures" in the file layouttranslations? They shouldn't (but they are not used anyway). Then I am not sure

Re: r38257 - lyx-devel/trunk/src/frontends/qt4

2011-04-05 Thread Vincent van Ravesteijn
On 5-4-2011 17:51, Enrico Forestieri wrote: On Tue, Apr 05, 2011 at 05:45:38PM +0200, Stephan Witt wrote: Am 05.04.2011 um 17:40 schrieb for...@lyx.org: Author: forenr Date: Tue Apr 5 17:40:00 2011 New Revision: 38257 URL: http://www.lyx.org/trac/changeset/38257 Log: Generalize check to gene

Re: r38257 - lyx-devel/trunk/src/frontends/qt4

2011-04-05 Thread Enrico Forestieri
On Tue, Apr 05, 2011 at 05:45:38PM +0200, Stephan Witt wrote: > Am 05.04.2011 um 17:40 schrieb for...@lyx.org: > > > Author: forenr > > Date: Tue Apr 5 17:40:00 2011 > > New Revision: 38257 > > URL: http://www.lyx.org/trac/changeset/38257 > > > > Log: > > Generalize check to generic non-editable

Re: r38251 - lyx-devel/trunk/src/frontends/qt4

2011-04-05 Thread Enrico Forestieri
On Tue, Apr 05, 2011 at 05:06:44PM +0200, Enrico Forestieri wrote: > On Tue, Apr 05, 2011 at 09:45:27AM +0200, Vincent van Ravesteijn wrote: > > > > >Modified: lyx-devel/trunk/src/frontends/qt4/GuiErrorList.cpp > > >== > >

Re: r38257 - lyx-devel/trunk/src/frontends/qt4

2011-04-05 Thread Stephan Witt
Am 05.04.2011 um 17:40 schrieb for...@lyx.org: > Author: forenr > Date: Tue Apr 5 17:40:00 2011 > New Revision: 38257 > URL: http://www.lyx.org/trac/changeset/38257 > > Log: > Generalize check to generic non-editable insets. > > Modified: > lyx-devel/trunk/src/frontends/qt4/GuiErrorList.cpp >

Re: r38251 - lyx-devel/trunk/src/frontends/qt4

2011-04-05 Thread Enrico Forestieri
On Tue, Apr 05, 2011 at 10:38:01AM +0200, Jean-Marc Lasgouttes wrote: > Le 05/04/11 09:45, Vincent van Ravesteijn a écrit : > >It feels wrong that GuiErrorList has to know about specific insets and > >that it leads to a crash otherwise. > > > >Shouldn't this be part of the DocIterator/Cursor class

Re: r38251 - lyx-devel/trunk/src/frontends/qt4

2011-04-05 Thread Enrico Forestieri
On Tue, Apr 05, 2011 at 09:45:27AM +0200, Vincent van Ravesteijn wrote: > > >Modified: lyx-devel/trunk/src/frontends/qt4/GuiErrorList.cpp > >== > >+// Don't try to highlight the content of info insets > >+while (di

Re: probem with labelled equations in LyX 20 rc1 and rc2

2011-04-05 Thread Pavel Sanda
venom00 wrote: > > Pavel Sanda wrote: > > > thanks for your efforts, i'll put it in. > > > > but only after you post this patch as an attachment, > > its unapplicable in this form... > > pavel > > You're welcome. I forgot to attach it. its in. p

RE: probem with labelled equations in LyX 20 rc1 and rc2

2011-04-05 Thread venom00
> Pavel Sanda wrote: > > thanks for your efforts, i'll put it in. > > but only after you post this patch as an attachment, > its unapplicable in this form... > pavel You're welcome. I forgot to attach it. venom00 Index: lib/scripts/lyxpreview2bitmap.py ===

Re: probem with labelled equations in LyX 20 rc1 and rc2

2011-04-05 Thread Pavel Sanda
Pavel Sanda wrote: > thanks for your efforts, i'll put it in. but only after you post this patch as an attachment, its unapplicable in this form... pavel

Re: probem with labelled equations in LyX 20 rc1 and rc2

2011-04-05 Thread Pavel Sanda
venom00 wrote: > > we are eagerly waiting for the patch :) > > Here it is. I've added a general, step-by-step description of what the script > does to the top of the files and some comments here and there. I've moved out > of > main functions some code so it's more readable and fixed the FIXME I

RE: probem with labelled equations in LyX 20 rc1 and rc2

2011-04-05 Thread venom00
> Enrico Forestieri wrote: > > On Mon, Apr 04, 2011 at 05:45:28PM +0200, venom00 wrote: > > > > > > do you remember my fear of "only one man understands this > > > > code" situation in the > > > > very beginning? :) > > > > > > Well, Enrico made useful comments about the code. There > were a pa

Native support for siunitx

2011-04-05 Thread venom00
Why don't we add native support for siunitx, right now we have just workarounds [1]. I mean having the SI symbol right in LyX math mode. Could someone point me in the right direction to do this? venom00 [1] http://www.mail-archive.com/lyx-users@lists.lyx.org/msg85934.html

Re: r38251 - lyx-devel/trunk/src/frontends/qt4

2011-04-05 Thread Jean-Marc Lasgouttes
Le 05/04/11 09:45, Vincent van Ravesteijn a écrit : It feels wrong that GuiErrorList has to know about specific insets and that it leads to a crash otherwise. Shouldn't this be part of the DocIterator/Cursor class instead ? Still, it would probably need to ask Inset for some property rather than

Re: Ignore Latex errors in Lyx ?

2011-04-05 Thread Jean-Marc Lasgouttes
Le 05/04/11 08:57, Guenter Milde a écrit : Especially when hunting for an error, looking at what is generated so far can be a great help. So, a button like: "open the output anyway" on the error message box (if there is an output file) would be a great improvement. We should be careful to avoid

Re: r38250 - lyx-devel/trunk/lib

2011-04-05 Thread Pavel Sanda
jri...@lyx.org wrote: > Author: jrioux > Date: Tue Apr 5 02:07:43 2011 > New Revision: 38250 > URL: http://www.lyx.org/trac/changeset/38250 > > Log: > * lib/Makefile.am : fix r38245 > > Modified: >lyx-devel/trunk/lib/Makefile.am > > Modified: lyx-devel/trunk/lib/Makefile.am > ==

Re: r38251 - lyx-devel/trunk/src/frontends/qt4

2011-04-05 Thread Vincent van Ravesteijn
Modified: lyx-devel/trunk/src/frontends/qt4/GuiErrorList.cpp == + // Don't try to highlight the content of info insets + while (dit.inset().lyxCode() == INFO_CODE) + dit.backwardPos(); + It fe

Re: Bug with prettyref in lyx-2.0-rc1 (rev 37872)

2011-04-05 Thread José Matos
On Saturday 02 April 2011 22:45:28 Philippe Charpentier wrote: > The translation of the prefix with refstyle is done by refstyle.cfg. On > my system (Fedora 14) there is no support for french in the installed > version. FWIW there are a repositories for Fedora 14 (and others) for texlive-2010 and

Re: Forward search w/ okular (KDE).

2011-04-05 Thread Jürgen Spitzmüller
Rudi Gaelzer wrote: > Reverse/Forward search works well with lyx2.0rc2 and texlive 2010. > I've only found a small glitch with Forward search. On Tools -> > Preferences - > > > Output, I set the DVI/PDF command: okular --unique "file:$$o#src:$$n $$t" > > Now, everytime I execute a forward search

Re: Bug with prettyref in lyx-2.0-rc1 (rev 37872)

2011-04-05 Thread Jürgen Spitzmüller
Julien Rioux wrote: > Thanks for clarifying. I am still confused by a bit, though. For > example, why are the strings "Figure" and "List of Figures" in the file > layouttranslations? They shouldn't (but they are not used anyway). > under translation fr there is: > "List of Figures" "Li

Re: XeTeX fails when pre-selected font is unavailable (was: 'Re: Sweave and XeTeX: 'conversion failed' error message')

2011-04-05 Thread Jürgen Spitzmüller
Liviu Andronic wrote: > Unfortunately this promises to be a confusing and recurring bug. Is it > possible to at least use the '(not installed)' string from TeX fonts. > For example, for my document LyX would have selected: > Libertine (not installed) > Biolinum (not installed) Also string "%1$s (u

Re: Ignore Latex errors in Lyx ?

2011-04-05 Thread Guenter Milde
On 2011-04-04, Julien Rioux wrote: > On 04/04/2011 5:53 AM, Rémi Mégret wrote: >> One caveat is that LyX refuses to open the generated PDF file when there >> are Latex errors, although the PDF output could still be usable. ... >> I would like to disable this error check as to be able to compile