Re: The Compleat Box

2003-10-01 Thread Jose' Matos
On Tuesday 30 September 2003 21:56, Garst R. Reese wrote: > > You disagree with? > A. BTW > B. That's > C. Yes > ? Do I have multiple choices? ;-) I disagree with Martin when we says "Yes, I am behind the times." since we gave us new toys^H^Hols... ;-) > Garst -- José Abílio

Re: build lyx 1.3.3

2003-10-01 Thread Angus Leeming
Vitaly Lipatov wrote: > I can't build new lyx. > If case > > test -f xfonts/PSres.upr && $(INSTALL_DATA) xfonts/PSres.upr > > fails in lib/Makefile (file PSres.upr) does not exist, build rpm > fails too. > > Any suggestions? > > Will I add "|| true" to this line? Hello Vitaly. Could you try t

Re: CVS lyx-1.4 compile failure

2003-10-01 Thread Angus Leeming
Martin Vermeer wrote: > As above, in lyx's src directory. Error messages: > > lyx_main.C:80: `exit' is already declared in this scope > lyx_main.C:81: `signal' is already declared in this scope > lyx_main.C:82: `system' is already declared in this scope So, you've got a lot further, no? > So wha

Re: jbibtexmanager and lyx on cygwin

2003-10-01 Thread Andre Poenitz
On Wed, Oct 01, 2003 at 08:53:11AM +, Angus Leeming wrote: > vsharma wrote: > > I tried the directions on the said page. > > When using cmd prompt It doesnot recognise lyx as a programme or a > > batchfile. When using Cygwin bash shell it cannot open a lyx file and > > says could not access x w

Re: jbibtexmanager and lyx on cygwin

2003-10-01 Thread Angus Leeming
Andre Poenitz wrote: > On Wed, Oct 01, 2003 at 08:53:11AM +, Angus Leeming wrote: >> vsharma wrote: >> > I tried the directions on the said page. >> > When using cmd prompt It doesnot recognise lyx as a programme or a >> > batchfile. When using Cygwin bash shell it cannot open a lyx file and >

Re: The Compleat Box

2003-10-01 Thread Martin Vermeer
On Tue, Sep 30, 2003 at 03:42:12PM +, Angus Leeming spake thusly: ... > Really? > Index: src/frontends/controllers/ControlBox.C > Index: src/frontends/controllers/ControlBox.h > + * \author Angus Leeming I copied/adapted it from Note, which has your pugmark on it. ... > Replace this > +i

Re: The Compleat Box

2003-10-01 Thread Angus Leeming
On Wednesday 01 October 2003 9:06 am, Martin Vermeer wrote: > > Do you need the '[0]' bit. Suggests a broken data file. > > + hor_pos = lex.getString()[0]; > > I need the first and only char from this string. Do you know a better > (cleaner/...) way? My misunderstanding. Mayb

Re: cvs compile failed..

2003-10-01 Thread Lars Gullik Bjønnes
Nirmal Govind <[EMAIL PROTECTED]> writes: | Lars Gullik Bjønnes wrote: >> Please update from cvs. >> I have no problems now. >> > | Yes, updated and it compiled fine interesting startup banner btw.. | :-) ... is this the LyX devel team on a mining expedition? Jupp. a small expedition into the

Re: cvs compile failed..

2003-10-01 Thread Andre Poenitz
On Wed, Oct 01, 2003 at 11:30:33AM +0200, Lars Gullik Bjønnes wrote: > | Yes, updated and it compiled fine interesting startup banner btw.. > | :-) ... is this the LyX devel team on a mining expedition? > > Jupp. a small expedition into the heart of the earth. To be honest, we were just refil

Re: cvs compile failed..

2003-10-01 Thread Lars Gullik Bjønnes
Andre Poenitz <[EMAIL PROTECTED]> writes: | On Wed, Oct 01, 2003 at 11:30:33AM +0200, Lars Gullik Bjønnes wrote: >> | Yes, updated and it compiled fine interesting startup banner btw.. >> | :-) ... is this the LyX devel team on a mining expedition? >> >> Jupp. a small expedition into the hear

Re: CVS lyx-1.4 compile failure

2003-10-01 Thread Martin Vermeer
On Wed, Oct 01, 2003 at 08:48:12AM +, Angus Leeming spake thusly: > > Martin Vermeer wrote: > > As above, in lyx's src directory. Error messages: > > > > lyx_main.C:80: `exit' is already declared in this scope > > lyx_main.C:81: `signal' is already declared in this scope > > lyx_main.C:82: `s

Re: incorrect file name conversion in LyX 1.3.x

2003-10-01 Thread John Levon
On Wed, Oct 01, 2003 at 10:30:13AM +0400, Vitaly Lipatov wrote: > I have a trouble with open files named in my local charset > (ru_RU) and made a patch for it. > Now I can open file with non-latin1 filenames. > Check attached patch, please. Looks good. Can somebody apply please ? john -- Khe

Re: CVS lyx-1.4 compile failure

2003-10-01 Thread Angus Leeming
Martin Vermeer wrote: > A long list of errors. Attached. These are all linking errors, Martin. Why are you trying to link? Why this: g++ -nostdinc++ -W -Wall -O2 -I/home/mv/STLport-4.5.3/stlport \ -I. -I../boost -ftemplate-depth-30 -o main lyx_main.C main.C and not this: g++ -nostdinc++ -W -Wall

Re: incorrect file name conversion in LyX 1.3.x

2003-10-01 Thread Angus Leeming
John Levon wrote: > On Wed, Oct 01, 2003 at 10:30:13AM +0400, Vitaly Lipatov wrote: >> I have a trouble with open files named in my local charset >> (ru_RU) and made a patch for it. >> Now I can open file with non-latin1 filenames. >> Check attached patch, please. > Looks good. Can somebody apply

Re: CVS lyx-1.4 compile failure

2003-10-01 Thread Ronald Florence
On Wednesday, October 1, 2003, at 01:38 AM, Andre Poenitz wrote: Please don't ditch support for 2.95.x. Apple's gcc-3.1 and even their gcc-3.3 cannot handle LyX-1.3.x, so MacOSX users have no choice but to compile with 2.95.2. [...] What exactly goes wong with 3.1 and 3.3. Maybe it's easier to

Re: CVS lyx-1.4 compile failure

2003-10-01 Thread Angus Leeming
Ronald Florence wrote: > formulabase.h:32: no matching function for call to > `std::type_info::type_info() What happens if you rename struct type_info in ref_inset.h? $ for file in ref_inset.h ref_inset.C; do sed 's/type_info/type_data/' $file > tmp cmp -s $file tmp && continue diff -u $file tmp

Re: The Compleat Box

2003-10-01 Thread Martin Vermeer
On Tue, Sep 30, 2003 at 03:42:12PM +, Angus Leeming spake thusly: > > Martin Vermeer wrote: > > > On Mon, Sep 29, 2003 at 09:47:17AM +0100, Angus Leeming spake thusly: > > > > Next version. Hit it hard. Unless bad bugs come up, I think this is > > about ready to go in. > > > BTW I think th

Re: The Compleat Box

2003-10-01 Thread Andre Poenitz
On Wed, Oct 01, 2003 at 04:02:19PM +0300, Martin Vermeer wrote: > See attached (and it still works!). Sorry for the added files > separately, this is my read-only CVS tree using gcc3. Starts to look ok. I wonder a bit what the benefit of the string creations in int j = fl_get_choice(dia

Re: The Compleat Box

2003-10-01 Thread Angus Leeming
Martin Vermeer wrote: [A lot. You've been busy!] >> This stuff belongs in the InsetBoxParams constructor. >> Index: src/insets/insetbox.C >> +InsetBox::InsetBox(BufferParams const & bp, string const & label) >> + : InsetCollapsable(bp) >> +{ >> + params_.type = label; >> + params

Re: CVS lyx-1.4 compile failure

2003-10-01 Thread Martin Vermeer
On Wed, Oct 01, 2003 at 12:48:23PM +, Angus Leeming spake thusly: > Martin Vermeer wrote: > > A long list of errors. Attached. ... > g++ -nostdinc++ -W -Wall -O2 -I/home/mv/STLport-4.5.3/stlport \ > -I. -I../boost -ftemplate-depth-30 -c lyx_main.C > g++ -nostdinc++ -W -Wall -O2 -I/home/mv/

Re: CVS lyx-1.4 compile failure

2003-10-01 Thread Ronald Florence
Angus Leeming <[EMAIL PROTECTED]> writes: > > formulabase.h:32: no matching function for call to > > `std::type_info::type_info() > > What happens if you rename struct type_info in ref_inset.h? After renaming type_info to type_data, I get the same error in compiling formulabase.C. -- Ronald Fl

Re: CVS lyx-1.4 compile failure

2003-10-01 Thread Angus Leeming
On Wednesday 01 October 2003 1:45 pm, Martin Vermeer wrote: > math_cursor.C:39: `isalpha' is already declared in this scope wrap it up inside #ifndef CXX_GLOBAL_CSTD using std::isalpha #endif > math_parser.C:68: `atoi' is already declared in this scope Ditto. You have upgraded you C++ STL librar

Re: CVS lyx-1.4 compile failure

2003-10-01 Thread Andre Poenitz
On Wed, Oct 01, 2003 at 09:37:21AM -0400, Ronald Florence wrote: > Angus Leeming <[EMAIL PROTECTED]> writes: > > > > formulabase.h:32: no matching function for call to > > > `std::type_info::type_info() > > > > What happens if you rename struct type_info in ref_inset.h? > > After renaming type_i

Re: CVS lyx-1.4 compile failure

2003-10-01 Thread Ronald Florence
On Wednesday, October 1, 2003, at 09:43 AM, Andre Poenitz wrote: What's the result of grep type_info mathed/*.[Ch] In a virgin lyx-1.3.3: cd /usr/local/src/lyx-1.3.3/src/mathed/ grep -nH -e type_info *.[Ch] ref_inset.C:126:RefInset::type_info RefInset::types[] = { ref_inset.h:38: struct type_

Re: CVS lyx-1.4 compile failure

2003-10-01 Thread Andre Poenitz
On Wed, Oct 01, 2003 at 09:55:22AM -0400, Ronald Florence wrote: > grep -nH -e type_info *.[Ch] > ref_inset.C:126:RefInset::type_info RefInset::types[] = { > ref_inset.h:38: struct type_info { > ref_inset.h:46: static type_info types[]; > > Those are the three references I changed to "

Re: CVS lyx-1.4 compile failure

2003-10-01 Thread Ronald Florence
On Wednesday, October 1, 2003, at 10:07 AM, Andre Poenitz wrote: Just out of curiosity: could you 'implement' the 'missing' constructor by changing the declaration of std::type_info::type_info(const char*) to std::type_info::type_info(const char* = "strangestuff") in /usr/include/gcc/dar

Re: CVS lyx-1.4 compile failure

2003-10-01 Thread Martin Vermeer
On Wed, Oct 01, 2003 at 02:37:46PM +, Angus Leeming spake thusly: > > > But on the whole it compiles pretty nicely. Still compiling, no > > errors in insets... > > Fingers crossed. > Angus Not good: /home/mv/STLport-4.5.3/stlport/stl/_string_io.c: In function `class _STL::basic_ostream

Re: CVS lyx-1.4 compile failure

2003-10-01 Thread Andre Poenitz
On Wed, Oct 01, 2003 at 10:14:16AM -0400, Ronald Florence wrote: > > On Wednesday, October 1, 2003, at 10:07 AM, Andre Poenitz wrote: > > >Just out of curiosity: could you 'implement' the 'missing' constructor > >by changing the declaration of > > > > std::type_info::type_info(const char*) > >

Re: The Compleat Box

2003-10-01 Thread Martin Vermeer
On Wed, Oct 01, 2003 at 02:09:24PM +, Angus Leeming spake thusly: > Martin Vermeer wrote: > [A lot. You've been busy!] > > >> This stuff belongs in the InsetBoxParams constructor. > >> Index: src/insets/insetbox.C > >> +InsetBox::InsetBox(BufferParams const & bp, string const & label) > >> +

Re: CVS lyx-1.4 compile failure

2003-10-01 Thread Ronald Florence
On Wednesday, October 1, 2003, at 10:37 AM, Andre Poenitz wrote: or better have two constructors: // as-is explicit type_info(const char *__n): __name(__n) { } // new type_info(): __name("strangestuff") { } With this declaration, the compile error is source='cpp_regex_traits

Re: CVS lyx-1.4 compile failure

2003-10-01 Thread Angus Leeming
Martin Vermeer wrote: >> > But on the whole it compiles pretty nicely. Still compiling, no >> > errors in insets... >> >> Fingers crossed. >> Angus > > Not good: [snip error messages saying missing header file ;-) Don't you hate the error messages compilers spit out when they come across templ

Re: CVS lyx-1.4 compile failure

2003-10-01 Thread Andre Poenitz
On Wed, Oct 01, 2003 at 10:53:28AM -0400, Ronald Florence wrote: > > On Wednesday, October 1, 2003, at 10:37 AM, Andre Poenitz wrote: > > >or better have two constructors: > > > > // as-is > > explicit type_info(const char *__n): __name(__n) { } > > // new > > type_info(): __name

Re: The Compleat Box

2003-10-01 Thread Angus Leeming
Martin Vermeer wrote: >> What's wrong with >> InsetBox::Params::Params(string const & label); > > Don't understand. I meant that this is nasty: InsetBox::InsetBox(BufferParams const & bp, string const & label) : InsetCollapsable(bp) { params_.type = label; } And should b

Re: CVS lyx-1.4 compile failure

2003-10-01 Thread Angus Leeming
On Wednesday 01 October 2003 3:30 pm, Martin Vermeer wrote: > > Add > > #include "support/std_ostream.h" > > to math_streamstr.C. > Beautiful! > How did you guess? I read the error message... > Now a real linking error, in tex2lyx (related to the throw on line 79?): Don't think so. You have 545

Re: CVS lyx-1.4 compile failure

2003-10-01 Thread Martin Vermeer
On Wed, Oct 01, 2003 at 08:31:44PM +0300, Martin Vermeer spake thusly: > Hmmm, perhaps /home/mv/STLport-4.5.3/stlport/stl in addition to > /home/mv/STLport-4.5.3/stlport. Trying that now... Red herring. What we need is a library to link to. OK, reading the STLport manual again. Compiling its st

Re: CVS lyx-1.4 compile failure

2003-10-01 Thread Angus Leeming
On Wednesday 01 October 2003 8:40 pm, Martin Vermeer wrote: > On Wed, Oct 01, 2003 at 08:31:44PM +0300, Martin Vermeer spake thusly: > > Hmmm, perhaps /home/mv/STLport-4.5.3/stlport/stl in addition to > > /home/mv/STLport-4.5.3/stlport. Trying that now... > > Red herring. What we need is a library

Re: One for the LaTeX masters

2003-10-01 Thread Angus Leeming
Asger Kunuk Alstrup wrote: Hello, Asger! > I appreciate what you are trying to do, and I love the fact that my > baby is growing up to become mature, but looking at the syntax > you wrote, I fear the complexity is crossing the line where the users > will not be able to handle it anymore without m

[patch]: adding transformations to InsetExternal

2003-10-01 Thread Angus Leeming
Attached is a patch to InsetExternal allowing the user to 'transform' the output in various ways. Specifically he can apply resize, rotate and clip transformations. He can also apply arbitrary options not supported directly by the GUI, These 'extra' options can be applied to specific output for

Re: [patch]: adding transformations to InsetExternal

2003-10-01 Thread Angus Leeming
Angus Leeming wrote: > (The code doing the work is fine, but I find the connections I make > between RotationData and RotationLatexCommand, RotationLatexOption etc, > etc very inelegant code. I have tried to introduce function pointers > which do at least mean that the current approach will scale

Re: cvs compile failed..

2003-10-01 Thread Nirmal Govind
| To be honest, we were just refilling our stocks of arsenic for the | quick solution of user induced problems. *ss* you were not supposed to tell! :-).. btw, I really like the new interface modifications and the error spotting feature.. I was thinking abt writing in to request this feature

LyX-1.3.3 (Apple's gcc-3.3)

2003-10-01 Thread Ronald Florence
Apple has a new developer toolkit with gcc-3.3 that seems to be able to compile lyx-1.3.x. No problems in the compile on MacOS-10.2.8, but I get the following link warnings and errors: ld: warning table of contents of library: mathed/.libs/libmathed.a not sorted slower link editing will result