Re: LaTeX in-table computations.

2007-11-10 Thread Martin Vermeer
On Sun, Nov 11, 2007 at 01:16:46AM +0100, Tommaso Cucinotta wrote: > Hi all, > > I wish it were possible to make simple computations within > table cells, like summing up all the rows or columns and computing > totals. I found the \FP LaTeX package that allows to perform > computations. D

Re: Scrollfix patch

2007-11-10 Thread Martin Vermeer
On Sun, Nov 11, 2007 at 05:24:36AM +0100, Tommaso Cucinotta wrote: > Hi all, > > please, find attached an improved version of the scrollfix patch. > > Summary of the further changes: > -) most optimizations for updating a single par are back > -) actually, it is possible to specify a par ran

Re: LaTeX in-table computations.

2007-11-10 Thread Tommaso Cucinotta
Darren Freeman ha scritto: just in the generated output, you would be suggesting a basic embedded spreadsheet within LyX.. Exactly. I was of course thinking of a way to latexify the connections among numbers, rather than simply calculating them in LyX. So that, after export LaTeX -> reimport, th

Re: LaTeX in-table computations.

2007-11-10 Thread Darren Freeman
On Sun, 2007-11-11 at 01:16 +0100, Tommaso Cucinotta wrote: > I wish it were possible to make simple computations within > table cells, like summing up all the rows or columns and computing If you wanted to see the results of the computation in LyX, rather than just in the generated output, you wo

LaTeX in-table computations.

2007-11-10 Thread Tommaso Cucinotta
Hi all, I wish it were possible to make simple computations within table cells, like summing up all the rows or columns and computing totals. I found the \FP LaTeX package that allows to perform computations. Do you know if it is possible, in LaTeX, to generically refer to the contents of oth

Re: trunk compile problem

2007-11-10 Thread Pavel Sanda
> > yes, that works. > > Whoahey. > > Now you could do me a favour: Could you run that file through the preprocessor > only (i.e. g++ -E instead of g++ -c) and figure out who pulls in X.h (or > Xlib.h)? are you talking about all occurences of X/lib/.h ? i'm bit confused what all the numbers mean

Re: trunk compile problem

2007-11-10 Thread Andre Poenitz
On Sat, Nov 10, 2007 at 11:16:15PM +0100, Pavel Sanda wrote: > > Hm... shot into the dark: > > > > What happens if you add > > > > #undef CursorShape > > yes, that works. Whoahey. Now you could do me a favour: Could you run that file through the preprocessor only (i.e. g++ -E instead of g++ -c

Re: trunk compile problem

2007-11-10 Thread Pavel Sanda
> Hm... shot into the dark: > > What happens if you add > > #undef CursorShape yes, that works. > around line 14 in GuiDocument.h (i.e. before the #include "ui_*.h" lines) now remains ../../../src/DispatchResult.h: In constructor 'lyx::DispatchResult::DispatchResult()': ../../../src/DispatchR

Re: trunk compile problem

2007-11-10 Thread Andre Poenitz
On Sat, Nov 10, 2007 at 10:43:47PM +0100, Pavel Sanda wrote: > > If you're seeing that problem, your trunk must be out of date: > > > > [EMAIL PROTECTED] src]$ srcgrep lfun_name_ > > sorry, i didnt recognized that the error message is slightly different. > > make[6]: Entering directory `/home/ins

Re: trunk compile problem

2007-11-10 Thread Pavel Sanda
> If you're seeing that problem, your trunk must be out of date: > > [EMAIL PROTECTED] src]$ srcgrep lfun_name_ sorry, i didnt recognized that the error message is slightly different. make[6]: Entering directory `/home/installer/lyx/trunkaa/src/frontends/qt4' /bin/sh ../../../libtool --tag=CXX

Re: trunk compile failiure

2007-11-10 Thread Uwe Stöhr
Andre Poenitz schrieb: I think #undef min #undef max after #include is still prefered. OK, I commited this version. regards Uwe

Re: trunk compile failiure

2007-11-10 Thread Abdelrazak Younes
Uwe Stöhr wrote: Andre Poenitz schrieb: Windows? Try #undef max after the last #include in that file. This doesn't help, but I found now the problem: You added in r21492 this code to FileName.cpp: #if defined (BOOST_WINDOWS) # define WIN32_LEAN_AND_MEAN # include #endif But this redefi

Re: trunk compile failiure

2007-11-10 Thread Andre Poenitz
On Sat, Nov 10, 2007 at 08:53:29PM +0100, Uwe Stöhr wrote: > Andre Poenitz schrieb: > >> Windows? >> Try #undef max after the last #include in that file. > > This doesn't help, but I found now the problem: > > You added in r21492 this code to FileName.cpp: > > #if defined (BOOST_WINDOWS) > # defi

Re: Branches feature addition

2007-11-10 Thread Abdelrazak Younes
Andre Poenitz wrote: On Sat, Nov 10, 2007 at 03:18:06PM +0200, Martin Vermeer wrote: How hard would that be to fix? Very hard. That's why we don't have real text-in-math since 1.3 when it became possible in theory. It will be easier when we have a structured file format (i.e. XML), but somehow

Re: trunk compile failiure

2007-11-10 Thread Uwe Stöhr
Andre Poenitz schrieb: Windows? Try #undef max after the last #include in that file. This doesn't help, but I found now the problem: You added in r21492 this code to FileName.cpp: #if defined (BOOST_WINDOWS) # define WIN32_LEAN_AND_MEAN # include #endif But this redefines the max comman

Re: update links on wiki

2007-11-10 Thread Andre Poenitz
On Sat, Nov 10, 2007 at 04:51:14PM +0100, Jürgen Spitzmüller wrote: > [EMAIL PROTECTED] wrote: > > At least it is lame by design :-) > > Which means the design is lame. Wasn't the intention to have a weak 'protection' only to save us from spam bots? Andre'

Re: CVS/SVN logs

2007-11-10 Thread Jean-Marc Lasgouttes
[EMAIL PROTECTED] (Jürgen Spitzmüller) writes: > Michael Gerz wrote: >> Pavel's commits do not appear in the cvs log mailing list. > > He's not subscribed yet (only Lars can accept the subscription). Moreover, Pavel, you should try to subscribe your new [EMAIL PROTECTED] address not the other one

Re: Branches feature addition

2007-11-10 Thread Andre Poenitz
On Sat, Nov 10, 2007 at 03:18:06PM +0200, Martin Vermeer wrote: > > > How hard would that be to fix? > > > > Very hard. That's why we don't have real text-in-math since 1.3 when it > > became possible in theory. It will be easier when we have a structured > > file format (i.e. XML), but somehow X

Re: Branches feature addition

2007-11-10 Thread Jean-Marc Lasgouttes
Martin Vermeer <[EMAIL PROTECTED]> writes: > It _appears_ doable, even in the PC way where LyX, not > LaTeX, handles the conditional outputting: one can, in math, > have a LaTeX output differing from the LyX serialization > ("write") routine -- e.g., have an arg enclosed in [] instead > of the s

Re: 1.6svn module URL in use, but doesn't show up in charstyle menu :-(

2007-11-10 Thread Jean-Marc Lasgouttes
Richard Heck <[EMAIL PROTECTED]> writes: > Martin Vermeer wrote: >> Eh, shouldn't URL rather be in stdinsets? If it's a standard >> feature... >> > That'd be fine with me. Should the URL module then be removed > altogether? If so, then I guess the lyx2lyx would need to be changed, > as well. Y

Re: [Cvslog] r21542 - /lyx-devel/trunk/src/LyXFunc.cpp

2007-11-10 Thread Bernhard Roider
[EMAIL PROTECTED] schrieb: Author: spitz Date: Sat Nov 10 12:22:19 2007 New Revision: 21542 URL: http://www.lyx.org/trac/changeset/21542 Log: * src/LyXFunc.cpp (actOnUpdatedPrefs): - add missing case LyXRC::RC_DEFFILE (and shut up compiler) so there was still another case missing. cas th

LyXAction and updates ?

2007-11-10 Thread Tommaso Cucinotta
Hello, I'd like to know what is the purpose of these two LyXAction values: LyXAction { NoUpdate = 8, //< Does not (usually) require update SingleParUpdate = 16 //< Usually only requires this par updated }; and, if they are used to trigger automatically Update::Force and Upd

Re: [Cvslog] r21513 - in /lyx-devel/trunk/src/support: docstream.cpp d...

2007-11-10 Thread Enrico Forestieri
On Sat, Nov 10, 2007 at 07:01:57PM +0100, Enrico Forestieri wrote: > + static size_t > + length(char_type const * s) > + { > + char_type const * p = s; > + while (*p) > + +p; Gotcha... should be ++p, of course. > + return (p - s

Re: [Cvslog] r21513 - in /lyx-devel/trunk/src/support: docstream.cpp d...

2007-11-10 Thread Enrico Forestieri
On Sat, Nov 10, 2007 at 01:08:41PM +0100, Andre Poenitz wrote: > On Fri, Nov 09, 2007 at 12:22:25AM +0100, Enrico Forestieri wrote: > > > Hm... the easy way out would probably be an #include or such > > > guarded by #ifdef SOMETHING_CYGWIN_SPECIFIC. > > > > > > But there should be something chea

Re: [Cvslog] r21513 - in /lyx-devel/trunk/src/support: docstream.cpp d...

2007-11-10 Thread Enrico Forestieri
On Sat, Nov 10, 2007 at 12:49:44PM +0100, Andre Poenitz wrote: > On Thu, Nov 08, 2007 at 11:58:19PM +0100, Enrico Forestieri wrote: > > > Hm... the easy way out would probably be an #include or such > > > guarded by #ifdef SOMETHING_CYGWIN_SPECIFIC. > > > > I don't think this is cygwin specific,

Re: trunk compile problem

2007-11-10 Thread Richard Heck
Pavel Sanda wrote: ui_TextLayoutUi.h: In member function 'void Ui_TextLayoutUi::setupUi(QWidget*)': ui_TextLayoutUi.h:154: error: expected primary-expression before '(' token ui_TextLayoutUi.h:154: error: expected type-specifier ui_TextLayoutUi.h:154: error: expected `>' ui_TextLayoutUi.h:154:

Re: update links on wiki

2007-11-10 Thread Jürgen Spitzmüller
[EMAIL PROTECTED] wrote: > At least it is lame by design :-) Which means the design is lame. Jürgen

Re: update links on wiki

2007-11-10 Thread christian . ridderstrom
On Thu, 8 Nov 2007, Edwin Leuven wrote: Juergen Spitzmueller wrote: Edwin Leuven wrote: > i had the impression a password was needed It is. But it's not really secret (I found it within 5 minutes on the Internet). how lame... At least it is lame by design :-) /C -- Christian Ridders

Re: Sorter struct

2007-11-10 Thread Pavel Sanda
> can i change it back to the class ? see attachment. if there won't be objections, i'll put it in later. > pavel diff --git a/src/frontends/qt4/qt_helpers.cpp b/src/frontends/qt4/qt_helpers.cpp index 0cc436f..0209a5b 100644 --- a/src/frontends/qt4/qt_helpers.cpp +++ b/src/frontends/qt4/qt_helpe

Re: CVS/SVN logs

2007-11-10 Thread Jürgen Spitzmüller
Michael Gerz wrote: > Pavel's commits do not appear in the cvs log mailing list. He's not subscribed yet (only Lars can accept the subscription). Jürgen

CVS/SVN logs

2007-11-10 Thread Michael Gerz
Hi, Pavel's commits do not appear in the cvs log mailing list. Michael

[patch] bug 4345: Correction of shortcut behaviour in "Print" dialog

2007-11-10 Thread Juergen Spitzmueller
http://bugzilla.lyx.org/show_bug.cgi?id=4345 The patch (against branch) is straightforward. However, since last time the ui file was saved in 4.3 format even though I used the designer of Qt4.1, could someone with Qt4.2 please test if this builds there? Thanks, Jürgen P.S., Michael: the German p

Re: Branches feature addition

2007-11-10 Thread Martin Vermeer
On Sat, Nov 10, 2007 at 01:11:34PM +0100, Andre Poenitz wrote: > On Fri, Nov 09, 2007 at 07:20:11AM +0200, Martin Vermeer wrote: > > On Thu, Nov 08, 2007 at 09:11:26PM +0100, Andre Poenitz wrote: > > > On Thu, Nov 08, 2007 at 08:47:29PM +0200, Martin Vermeer wrote: > > > > On Thu, Nov 08, 2007 at 0

Re: [Cvslog] r21525 - /lyx-devel/trunk/src/frontends/qt4/GuiFloat.cpp

2007-11-10 Thread Andre Poenitz
On Thu, Nov 08, 2007 at 11:05:48PM -, [EMAIL PROTECTED] wrote: > Author: uwestoehr > Date: Fri Nov 9 00:05:48 2007 > New Revision: 21525 > > URL: http://www.lyx.org/trac/changeset/21525 > Log: > GuiFloat.cpp: fix the regression that float placement dialog has no title Thanks. Andre'

Re: trunk compile failiure

2007-11-10 Thread Andre Poenitz
On Sat, Nov 10, 2007 at 02:10:22AM +0100, Uwe Stöhr wrote: > Since yesterday I get this error: > > FileName.cpp > D:\LyXSVN\lyx-devel\src\support\FileName.cpp(629) : error C2589: '(': > Invalid token at the right side of '::' > D:\LyXSVN\lyx-devel\src\support\FileName.cpp(629) : error C2059: Synta

Re: Branches feature addition

2007-11-10 Thread Andre Poenitz
On Fri, Nov 09, 2007 at 07:20:11AM +0200, Martin Vermeer wrote: > On Thu, Nov 08, 2007 at 09:11:26PM +0100, Andre Poenitz wrote: > > On Thu, Nov 08, 2007 at 08:47:29PM +0200, Martin Vermeer wrote: > > > On Thu, Nov 08, 2007 at 06:02:02PM +0100, Jean-Marc Lasgouttes wrote: > > > > Martin Vermeer <[E

Re: [Cvslog] r21513 - in /lyx-devel/trunk/src/support: docstream.cpp d...

2007-11-10 Thread Andre Poenitz
On Fri, Nov 09, 2007 at 12:22:25AM +0100, Enrico Forestieri wrote: > > Hm... the easy way out would probably be an #include or such > > guarded by #ifdef SOMETHING_CYGWIN_SPECIFIC. > > > > But there should be something cheaper. > > > > Is USE_WCHAR_T defined for you? > > What type is lyx::char_t

Re: [Cvslog] r21513 - in /lyx-devel/trunk/src/support: docstream.cpp d...

2007-11-10 Thread Andre Poenitz
On Thu, Nov 08, 2007 at 11:58:19PM +0100, Enrico Forestieri wrote: > > Hm... the easy way out would probably be an #include or such > > guarded by #ifdef SOMETHING_CYGWIN_SPECIFIC. > > I don't think this is cygwin specific, though. Possibly. But as long as we don't have > > But there should be

Sorter struct

2007-11-10 Thread Pavel Sanda
hi, i would like to rescue patch http://bugzilla.lyx.org/attachment.cgi?id=2063&action=view for bug 2738. meanwhile the class Sorter changed into struct in http://www.lyx.org/trac/changeset/20225 . what was the reason for this change ? can i change it back to the class ? pavel

Re: trunk compile failiure

2007-11-10 Thread Abdelrazak Younes
Uwe Stöhr wrote: Since yesterday I get this error: FileName.cpp D:\LyXSVN\lyx-devel\src\support\FileName.cpp(629) : error C2589: '(': Invalid token at the right side of '::' D:\LyXSVN\lyx-devel\src\support\FileName.cpp(629) : error C2059: Syntax error: '::' I fixed this yesterday: http://www