Re: r39769 - lyx-devel/trunk/lib/scripts

2011-09-26 Thread Enrico Forestieri
On Mon, Sep 26, 2011 at 08:07:03PM +0200, Julien Rioux wrote: > On 26/09/2011 8:01 PM, Enrico Forestieri wrote: > >On Mon, Sep 26, 2011 at 07:42:53PM +0200, Julien Rioux wrote: > > if __name__ == "__main__": > -exit(main(sys.argv)[0]) > +sys.exit(main(sys.argv)[0]) > >>>

Re: [patch] allow \nocite with the basic citation engine

2011-09-26 Thread Richard Heck
On 09/26/2011 06:37 PM, Julien Rioux wrote: > On 27/09/2011 12:12 AM, Julien Rioux wrote: >> I'll provide a better patch soon. >> > > Allow \nocite again with the basic citation engine. > So the question is: Is a file produced after this patch guaranteed to be readable by earlier versions of LyX? I

Re: [patch] allow \nocite with the basic citation engine

2011-09-26 Thread Julien Rioux
On 27/09/2011 12:12 AM, Julien Rioux wrote: I'll provide a better patch soon. Allow \nocite again with the basic citation engine. diff --git a/src/BiblioInfo.cpp b/src/BiblioInfo.cpp index c031058..4f02424 100644 --- a/src/BiblioInfo.cpp +++ b/src/BiblioInfo.cpp @@ -1033,30 +1033,27 @@ string

Re: [patch] allow \nocite with the basic citation engine

2011-09-26 Thread Julien Rioux
On 26/09/2011 9:41 PM, Julien Rioux wrote: LyX can be tricked into using \nocite by temporarily switching to the natbib engine, changing a citation inset to \nocite, and switching back to the basic citation engine. It's nicer to have native support for \nocite by the basic citation engine. As I

[patch] allow \nocite with the basic citation engine

2011-09-26 Thread Julien Rioux
LyX can be tricked into using \nocite by temporarily switching to the natbib engine, changing a citation inset to \nocite, and switching back to the basic citation engine. It's nicer to have native support for \nocite by the basic citation engine. As I do the above trick in some of my files since

Re: r39769 - lyx-devel/trunk/lib/scripts

2011-09-26 Thread Enrico Forestieri
On Mon, Sep 26, 2011 at 08:07:03PM +0200, Julien Rioux wrote: > Why do we use exit(main(... in one and just main(... in the other two? Good question. Maybe a return value is not needed for the other two? -- Enrico

Re: r39769 - lyx-devel/trunk/lib/scripts

2011-09-26 Thread Julien Rioux
On 26/09/2011 8:01 PM, Enrico Forestieri wrote: On Mon, Sep 26, 2011 at 07:42:53PM +0200, Julien Rioux wrote: if __name__ == "__main__": -exit(main(sys.argv)[0]) +sys.exit(main(sys.argv)[0]) For branch this is also needed in lyxpreview-lytex2bibtmap.py and lyxpreview-platex2bitmap

Re: r39769 - lyx-devel/trunk/lib/scripts

2011-09-26 Thread Richard Heck
On 09/26/2011 01:21 PM, Enrico Forestieri wrote: On Mon, Sep 26, 2011 at 05:57:17PM +0200, for...@lyx.org wrote: Author: forenr Date: Mon Sep 26 17:57:17 2011 New Revision: 39769 URL: http://www.lyx.org/trac/changeset/39769 Log: Fix the following problem with Python 2.4: Traceback (most recent

Re: r39769 - lyx-devel/trunk/lib/scripts

2011-09-26 Thread Enrico Forestieri
On Mon, Sep 26, 2011 at 07:42:53PM +0200, Julien Rioux wrote: > >> > >> if __name__ == "__main__": > >>-exit(main(sys.argv)[0]) > >>+sys.exit(main(sys.argv)[0]) > > > > For branch this is also needed in lyxpreview-lytex2bibtmap.py and > lyxpreview-platex2bitmap.py Are you sure? $ grep -

Re: r39769 - lyx-devel/trunk/lib/scripts

2011-09-26 Thread Julien Rioux
On 26/09/2011 7:21 PM, Enrico Forestieri wrote: On Mon, Sep 26, 2011 at 05:57:17PM +0200, for...@lyx.org wrote: Author: forenr Date: Mon Sep 26 17:57:17 2011 New Revision: 39769 URL: http://www.lyx.org/trac/changeset/39769 Log: Fix the following problem with Python 2.4: Traceback (most recent

Re: r39769 - lyx-devel/trunk/lib/scripts

2011-09-26 Thread Enrico Forestieri
On Mon, Sep 26, 2011 at 05:57:17PM +0200, for...@lyx.org wrote: > Author: forenr > Date: Mon Sep 26 17:57:17 2011 > New Revision: 39769 > URL: http://www.lyx.org/trac/changeset/39769 > > Log: > Fix the following problem with Python 2.4: > > Traceback (most recent call last): > File "/opt/src/ly

Re: [PATCH] Detect boost_signal with autoconf with a C++ compiler

2011-09-26 Thread Richard Heck
On 09/26/2011 02:48 AM, Jean-Marc Lasgouttes wrote: Le 24/09/2011 21:48, Raphael Kubo da Costa a écrit : Jean-Marc Lasgouttes writes: The patch below should fix the problem: AC_CHECK_LIB uses a C compiler, so we need to manually set the language to C++ and call AC_LINK_IFELSE. I found the s

Re: patch: simplify cursor class

2011-09-26 Thread Richard Heck
On 09/25/2011 09:05 AM, Stephan Witt wrote: I'd like to remove nearly dead code from Cursor class. Does anybody has objections? I don't myself see any reason not to do this, but I don't know the Cursor code very well at all. Richard

Re: r39742 - in lyx-devel/trunk/src: graphics support

2011-09-26 Thread Richard Heck
On 09/24/2011 07:09 AM, Enrico Forestieri wrote: On Sat, Sep 24, 2011 at 03:32:35AM +0200, for...@lyx.org wrote: Author: forenr Date: Sat Sep 24 03:32:35 2011 New Revision: 39742 URL: http://www.lyx.org/trac/changeset/39742 Log: Also set TEXINPUTS when launching ForkedCall processes. OK for b

Re: reproducing bug 7666

2011-09-26 Thread Vincent van Ravesteijn
Op 26-9-2011 15:13, Olivier Ripoll schreef: Dear all, http://www.lyx.org/trac/ticket/7666 I do not have a trac account and would prefer not to open one (I have way too many accounts already), but I see that bug 7666's only comment from 3 months ago asks "Anyone else on Windows who can reprodu

reproducing bug 7666

2011-09-26 Thread Olivier Ripoll
Dear all, http://www.lyx.org/trac/ticket/7666 I do not have a trac account and would prefer not to open one (I have way too many accounts already), but I see that bug 7666's only comment from 3 months ago asks "Anyone else on Windows who can reproduce it?" Well, I can reproduce that bug on Wi

Re: xelatex + polyglossia

2011-09-26 Thread Jürgen Spitzmüller
Kornel wrote: > If I insert (as suggested there) in the preamble > \usepackage{xkeyval} > then everything compiles ok. > This should be done automatically IMHO. This is a bug in polyglossia (which needs to load xkeyval): https://groups.google.com/group/comp.text.tex/browse_thread/thread/ee

xelatex + polyglossia

2011-09-26 Thread Kornel
I cannot use xelatex with lyx anymore. Googling for the latex errors, I found this page: http://tex.stackexchange.com/questions/29006/xelatex-stopped-working-after-texlive2011-update-2-days-ago If I insert (as suggested there) in the preamble \usepackage{xkeyval} then everything

Re: committing is no longer possible was: LyX's Trac bugtracking system is dead

2011-09-26 Thread Liviu Andronic
On Mon, Sep 26, 2011 at 8:51 AM, Jean-Marc Lasgouttes wrote: > We are on a VM, so it is probably not a matter of disk. The problem was > having 6 month of full svn dumps (12G). We do not really need so many of > them. I deleted the full dumps for March and April, but we have to do > something to m