Re: Really simple question..

2003-03-20 Thread gavron
 Christian Ridderström wrote:

On Tue, 18 Mar 2003, gavron wrote:

[...]

I'll check see if this could easily be replaced by a menu.. something 
called Styles perhaps..? unfortunately I can't think of anything that 
starts w/ a P..  
   

Paragraphs?

/Christian

:-)  Well.. that was the easy part..  That's what named it for now.. 
Parts... Probably something like the more official Paragraph styles 
would make more sense..

I added this to the main description in ~/.lyx/ui/default.ui as:

Submenu Parts|P styles

and proceeded to create a lengthy styles menu:

#
# STYLES MENU
#
   Menu styles
   Item Abstract... layout Abstract
   Item Paragraph... layout Paragraph
   Item Itemize... layout Itemize
   Item LyX-Code... layout LyX-Code
   Item Description... layout Description
   Item Enumerate... layout Enumerate
   Item ShortFoilhead... layout ShortFoilhead
   Item Itemize... layout Itemize
   Item List... layout List
   Item Enumerate... layout Enumerate
   Item Quote... layout Quote
   Item Standard... layout Standard
   Item Title... layout Title
   Item Verse... layout Verse
   Item Chapter... layout Chapter
   Item Section... layout Section
   Item Subsection... layout Subsection
   Item Subsubsection... layout Subsubsection
   Item Paragraph... layout Paragraph
   Item Subparagraph... layout Subparagraph
   Item Part*... layout Part*
   Item Chapter*... layout Chapter*
   Item Section*... layout Section*
   Item Subsection*... layout Subsection*
   Item Subsubsection*... layout Subsubsection*
   Item Paragraph*... layout Paragraph*
   Item Subparagraph*... layout Subparagraph*
   Item Author... layout Author
   Item Bibliography... layout Bibliography
   Item Comment... layout Comment
   Item Date... layout Date
   Item Foilhead... layout Foilhead
   Item LaTeX... layout LaTeX
   Item Quotation... layout Quotation
   Item RightAddress... layout RightAddress
   Item Address... layout Address
   Item Caption... layout Caption
   End
..by pasting just about everything relevant that I could find in the LyX 
Customization Guide..  this gave me a nice long menu after I restarted 
lyx.. w/ all the accelerators..  and switching styles from this menu 
does work.. but then I realized what I had known all along - ie. that 
only some of the entries are valid for the current document class..  In 
other words I would need this menu to be dynamically gen'd to reflect 
only the valid styles for the selected document class..

I wonder if this is possible..?  I had tried using the keyword Layouts 
before this but lyx apprently only recognizes it in the toolbar 
section of the ui config  file..

Another annoying problem is that the accelerators (Alt_p-s for Standard 
- eg.) no longer work..!  Alt-p opens the menu.. but then I have to 
select the style by moving the up/down arrows and hitting enter when 
the desired entry is focused..  

So for now and since I couldn't altogether get rid of the toolbar anyway 
I may go back to that peculiar Layouts mini-window and make sure I 
memorize (most of..) the accelerators..

Does the qt GUI also have this feature..?  

All the same I still like the idea of having a menu rather than the 
mini-window..  and having the mini-buffer - or some status bar feature 
display the Paragraph style that is currently active..  Besides giving 
the GUI a simpler more homogeneous look  feel.. (?) the main reason is 
that  I never use a pointing device unless I have to..  and I haven't 
found a way to open the styles' mini-window from the keyboard.

If anyone has successfully set this up the way I tried/failed.. I would 
be interested in hearing from them..

Thanks for reading and all apologies for this lengthy post.

Chris.   







Re: [ANNOUNCE] LyX 1.3.1 is released

2003-03-20 Thread Henrik Edlund
On Wed, 19 Mar 2003, Max Bian wrote:

MB I am impressed by the time required to compile LyX.  Gcc is slow, but I
MB felt it took much shorter time to build linux kernel with all the
MB modules.
MB
MB Any config time option to speed up the build process besides turning
MB off -O2?

Take about the same time to compile LyX as it takes Mozilla for
me. Compiling the Linux kernel is about 10-20 times faster than
both.

-- 
There is no emotion; there is peace. There is no ignorance; there
is knowledge. There is no passion; there is serenity. There is no
death; there is the Force. -- Core of the Jedi Code


Re: [ANNOUNCE] LyX 1.3.1 is released

2003-03-20 Thread Alfredo Braunstein
Henrik Edlund wrote:

 Take about the same time to compile LyX as it takes Mozilla for
 me. Compiling the Linux kernel is about 10-20 times faster than
 both.
 

C++ has always been a lot slower to compile than C.

Regards, Alfredo




Re: [ANNOUNCE] LyX 1.3.1 is released

2003-03-20 Thread Sam Zeini
Hi,
i am interested on deb´s.
Sam.



compile error:missing moc binary

2003-03-20 Thread Thomas Schnhoff
Hi,

I'll try to compile LyX-1.3.0-1 on Debian Woody for making a Debian 
package with checkinstall by using:

/usr/local/sbin/checkinstall ./configure --with-frontend=qt

Compilation ends up with this error message:

configure: error: moc binary not found in $PATH or /bin !

I've never heard of a package named moc. Could someone tell me what is 
missing ?

Thomas



Re: compile error:missing moc binary

2003-03-20 Thread Andre Poenitz
On Thu, Mar 20, 2003 at 12:12:51PM +0100, Thomas Schönhoff wrote:
 I've never heard of a package named moc. Could someone tell me what is 
 missing ?

This is some Qt preprocessor (according to my understanding...)

On my system it comes with the package qt-devel and is located in
/usr/lib/qt-2.3.1/bin/moc

Andre'

-- 
Those who desire to give up Freedom in order to gain Security,
will not have, nor do they deserve, either one. (T. Jefferson)


Re: compile error:missing moc binary

2003-03-20 Thread Thomas Schönhoff
Andre Poenitz schrieb:

On Thu, Mar 20, 2003 at 12:12:51PM +0100, Thomas Schönhoff wrote:
 

I've never heard of a package named moc. Could someone tell me what is 
missing ?
   

This is some Qt preprocessor (according to my understanding...)

On my system it comes with the package qt-devel and is located in
/usr/lib/qt-2.3.1/bin/moc
Andre'

 

Hello,

thanks for quick response!
Very curious, since LyX-qt-1.3.0 compiled without any complaints, not 
missing anything and work smoothly!? Obiviously somethings must have 
been changed, isn't it!?

Thomas




Re: compile error:missing moc binary

2003-03-20 Thread Andre Poenitz
On Thu, Mar 20, 2003 at 12:42:45PM +0100, Thomas Schönhoff wrote:
 Very curious, since LyX-qt-1.3.0 compiled without any complaints, not 
 missing anything and work smoothly!? Obiviously somethings must have 
 been changed, isn't it!?

Obviously. But I don't know what.

Andre'

-- 
Those who desire to give up Freedom in order to gain Security,
will not have, nor do they deserve, either one. (T. Jefferson)


Re: compile error:missing moc binary

2003-03-20 Thread Dekel Tsur
On Thu, Mar 20, 2003 at 12:12:51PM +0100, Thomas Sch?nhoff wrote:
 I'll try to compile LyX-1.3.0-1 on Debian Woody for making a Debian 
 package with checkinstall by using:
 
 /usr/local/sbin/checkinstall ./configure --with-frontend=qt
 
 
 Compilation ends up with this error message:
 
 configure: error: moc binary not found in $PATH or /bin !
 
 I've never heard of a package named moc. Could someone tell me what is 
 missing ?

apt-get install libqt3-dev


quotation marks

2003-03-20 Thread Mirco Dunker
Hi,
who nows the TeX command for quotation marks? What do I have to type in to get 
something like this: yes?
greetings 
Mirco



Re: quotation marks

2003-03-20 Thread Andre Poenitz
On Thu, Mar 20, 2003 at 12:57:20PM +0100, Mirco Dunker wrote:
 Hi, who nows the TeX command for quotation marks? What do I have to
 type in to get something like this: yes?  greetings 

English or German?

Andre'
-- 
Those who desire to give up Freedom in order to gain Security,
will not have, nor do they deserve, either one. (T. Jefferson)


Re: Quotatiion marks

2003-03-20 Thread Mirco Dunker
On Thu, Mar 20, 2003 at 12:57:20PM +0100, Mirco Dunker wrote:
 Hi, who nows the TeX command for quotation marks? What do I have to
 type in to get something like this: yes?  greetings 

English or German?

Andre'
-- 
Those who desire to give up Freedom in order to gain Security,
will not have, nor do they deserve, either one. (T. Jefferson)

German please ;-)


Re: Quotatiion marks

2003-03-20 Thread Andre Poenitz
On Thu, Mar 20, 2003 at 01:02:41PM +0100, Mirco Dunker wrote:

`xxx'

You can fake them with  ,,xxx``{}

Andre'

-- 
Those who desire to give up Freedom in order to gain Security,
will not have, nor do they deserve, either one. (T. Jefferson)


Re: Really simple question..

2003-03-20 Thread Christian Ridderström
On Thu, 20 Mar 2003, gavron wrote:

   Christian Ridderström wrote:
 
 On Tue, 18 Mar 2003, gavron wrote:
 
 [...]
 
 I'll check see if this could easily be replaced by a menu.. something 
 called Styles perhaps..? unfortunately I can't think of anything that 
 starts w/ a P..  
 
 
 
 Paragraphs?
 
 /Christian
 
 :-)  Well.. that was the easy part..  That's what named it for now.. 
 Parts... Probably something like the more official Paragraph styles 
 would make more sense..
 
 I wonder if this is possible..?  I had tried using the keyword Layouts 
 before this but lyx apprently only recognizes it in the toolbar 
 section of the ui config  file..

You could submit it to bugzilla.lyx.org... or send it as a suggestion 
to the development list?

 All the same I still like the idea of having a menu rather than the 
 mini-window..  and having the mini-buffer - or some status bar feature 
 display the Paragraph style that is currently active..  Besides giving 
 the GUI a simpler more homogeneous look  feel.. (?) the main reason is 
 that  I never use a pointing device unless I have to..  and I haven't 
 found a way to open the styles' mini-window from the keyboard.

M-P space works for me... see menus.bind (the key is bound to the 
function: drop-layouts-choice)

/Christian

-- 
Christian Ridderström   http://www.md.kth.se/~chr




Re: [ANNOUNCE] LyX 1.3.1 is released

2003-03-20 Thread Max Bian
It is probably related to the extensive use of libtool.  It runs every
time a source file is compiled.

Max
--- Henrik Edlund [EMAIL PROTECTED] wrote:
 
 Take about the same time to compile LyX as it takes Mozilla for
 me. Compiling the Linux kernel is about 10-20 times faster than
 both.



IEEEtran

2003-03-20 Thread Jihène Krichène
Hi
I'm trying to use the IEEEtran package. I've downloaded the .layout and .cls files 
from the lyx site. I've followed the help document (the layout file installation). 
But, I failed to obtain the class article (IEEEtran) in the menu 
layoutdocumentdocument.
Do you have any idea ? and do you know how can I use the .cls file ?
Thanks in advance


_
Get 25MB, POP3, Spam Filtering with LYCOS MAIL PLUS for $19.95/year.
http://login.mail.lycos.com/brandPage.shtml?pageId=plusref=lmtplus


environments in a book document (not book (AMS)) ?

2003-03-20 Thread EXT / TEAMLOG MELLERIN Pierrick
Hello,

Is it possible to use book document (not book (AMS)) with environments
like theorem, corollary, example, ... ? I would prefer use book in
place of book (AMS) for questions of formatting on the screen and in the
dvi.

Thanks in advance,

Pierrick Mellerin.


RE: IEEEtran

2003-03-20 Thread Remzi Seker
Edit preferences reconfigure lyx
Also did you do a texhash?

-Original Message-
From: Jihhne Krichhne [mailto:[EMAIL PROTECTED] 
Sent: Thursday, March 20, 2003 8:38 AM
To: [EMAIL PROTECTED]
Subject: IEEEtran


Hi
I'm trying to use the IEEEtran package. I've downloaded the .layout and
.cls files from the lyx site. I've followed the help document (the
layout file installation). But, I failed to obtain the class article
(IEEEtran) in the menu layoutdocumentdocument. Do you have any idea ?
and do you know how can I use the .cls file ? Thanks in advance


_
Get 25MB, POP3, Spam Filtering with LYCOS MAIL PLUS for $19.95/year.
http://login.mail.lycos.com/brandPage.shtml?pageId=plusref=lmtplus



Re: [ANNOUNCE] LyX 1.3.1 is released

2003-03-20 Thread John Levon
On Thu, Mar 20, 2003 at 04:52:03AM -0800, Max Bian wrote:

 It is probably related to the extensive use of libtool.  It runs every
 time a source file is compiled.

It has absolutely nothing to do with libtool.

john


RE: IEEEtran

2003-03-20 Thread Jihène Krichène
Yes, I've reconfigured lyx.
What do you mean by texhash ? 
--

On Thu, 20 Mar 2003 09:02:54  
 Remzi Seker wrote:
Edit preferences reconfigure lyx
Also did you do a texhash?

-Original Message-
From: Jihhne Krichhne [mailto:[EMAIL PROTECTED] 
Sent: Thursday, March 20, 2003 8:38 AM
To: [EMAIL PROTECTED]
Subject: IEEEtran


Hi
I'm trying to use the IEEEtran package. I've downloaded the .layout and
.cls files from the lyx site. I've followed the help document (the
layout file installation). But, I failed to obtain the class article
(IEEEtran) in the menu layoutdocumentdocument. Do you have any idea ?
and do you know how can I use the .cls file ? Thanks in advance


_
Get 25MB, POP3, Spam Filtering with LYCOS MAIL PLUS for $19.95/year.
http://login.mail.lycos.com/brandPage.shtml?pageId=plusref=lmtplus




_
Get 25MB, POP3, Spam Filtering with LYCOS MAIL PLUS for $19.95/year.
http://login.mail.lycos.com/brandPage.shtml?pageId=plusref=lmtplus


Re: Really simple question..

2003-03-20 Thread John Levon
On Thu, Mar 20, 2003 at 03:30:29AM -0500, gavron wrote:

Item Caption... layout Caption
 
 I wonder if this is possible..?  I had tried using the keyword Layouts 
 before this but lyx apprently only recognizes it in the toolbar 
 section of the ui config  file..

Well, if we had code for it, you could use OptItem. But we don't, so you
can't.

 Another annoying problem is that the accelerators (Alt_p-s for Standard 
 - eg.) no longer work..!  Alt-p opens the menu.. but then I have to 

Add the accelerator by had, like this :

Item Caption...|C layout Caption

 Does the qt GUI also have this feature..?  

Which feature ?

 the GUI a simpler more homogeneous look  feel.. (?) the main reason is 
 that  I never use a pointing device unless I have to..  and I haven't 
 found a way to open the styles' mini-window from the keyboard.

M-p space

regards
john


Re: Cannot build lyx-1.3.1qt src rpm

2003-03-20 Thread Morgan Kelly
On Wed, Mar 19, 2003 at 12:45:41PM -0500, Praedor Atrebates wrote:

 checking for Qt library name... failed
 configure: error: Cannot compile a simple Qt executable. Check you have the 
 right $QTDIR !
 error: Bad exit status from /var/tmp/rpm-tmp.46146 (%build)


This is a problem in building with Mandrake linux that was not present with 
lyx-1.3.0pre2 but appeared with 1.3.0.

Instead of commenting out a lot of lines in the configure script, you need to 
set more options telling it exactly where all the qt things live 

./configure --with-frontend=qt --with-qt-dir=/usr/lib/qt3 
--with-qt-includes=/usr/lib/qt3/include --with-qt-libraries=/usr/lib/qt3/lib 

Everything should then work fine. I hope this helps

Morgan


Re: Cannot build lyx-1.3.1qt src rpm

2003-03-20 Thread Praedor Atrebates
On Thursday 20 March 2003 09:24 am, Morgan Kelly wrote:
 On Wed, Mar 19, 2003 at 12:45:41PM -0500, Praedor Atrebates wrote:
  checking for Qt library name... failed
  configure: error: Cannot compile a simple Qt executable. Check you have
  the right $QTDIR !
  error: Bad exit status from /var/tmp/rpm-tmp.46146 (%build)

 This is a problem in building with Mandrake linux that was not present with
 lyx-1.3.0pre2 but appeared with 1.3.0.

 Instead of commenting out a lot of lines in the configure script, you need
 to set more options telling it exactly where all the qt things live

 ./configure --with-frontend=qt --with-qt-dir=/usr/lib/qt3
 --with-qt-includes=/usr/lib/qt3/include
 --with-qt-libraries=/usr/lib/qt3/lib

Thanks!  I tried again using your recommended additional switches but the 
build STILL fails with:

checking for moc... /usr/lib/qt3//bin/moc
checking for uic... /usr/lib/qt3//bin/uic
checking for Qt library name... failed
configure: error: Cannot compile a simple Qt executable. Check you have the 
right $QTDIR !
error: Bad exit status from /var/tmp/rpm-tmp.58102 (%build)

The script is still looking for something in the wrong place  (I have ALL the 
required qt3 libs/includes needed to build any qt-based app, nothing is 
missing).  I have looked through the config.log and config.status files.  
Nothing in either to indicate any problems/missing elements.


Re: Cannot build lyx-1.3.1qt src rpm

2003-03-20 Thread John Levon
On Thu, Mar 20, 2003 at 09:51:52AM -0500, Praedor Atrebates wrote:

 required qt3 libs/includes needed to build any qt-based app, nothing is 
 missing).  I have looked through the config.log and config.status files.  
 Nothing in either to indicate any problems/missing elements.

Do you seriously expect help when you can't even be bothered to make
your config.log accessible, describe where the libraries/headers are
located on your system, etc. ?

john
 


Re: Cannot build lyx-1.3.1qt src rpm

2003-03-20 Thread Jean-Marc Lasgouttes
 Praedor == Praedor Atrebates [EMAIL PROTECTED] writes:

Praedor Thanks! I tried again using your recommended additional
Praedor switches but the build STILL fails with:

Praedor checking for moc... /usr/lib/qt3//bin/moc checking for uic...
Praedor /usr/lib/qt3//bin/uic checking for Qt library name... failed
Praedor configure: error: Cannot compile a simple Qt executable.
Praedor Check you have the right $QTDIR ! error: Bad exit status from
Praedor /var/tmp/rpm-tmp.58102 (%build)

Praedor The script is still looking for something in the wrong place
Praedor (I have ALL the required qt3 libs/includes needed to build
Praedor any qt-based app, nothing is missing). I have looked through
Praedor the config.log and config.status files. Nothing in either to
Praedor indicate any problems/missing elements.

So, can we see you config.log? There has to be something interesting
at the place where it says Cannot compile a simple Qt executable.

JMarc


Re: Cannot build lyx-1.3.1qt src rpm

2003-03-20 Thread Praedor Atrebates
On Thursday 20 March 2003 10:00 am, Jean-Marc Lasgouttes wrote:
  Praedor == Praedor Atrebates [EMAIL PROTECTED] writes:

 Praedor Thanks! I tried again using your recommended additional
 Praedor switches but the build STILL fails with:
[...]
 So, can we see you config.log? There has to be something interesting
 at the place where it says Cannot compile a simple Qt executable.

Well, the config.log that currently exists literally contains NOTHING about 
Cannot compile a simple...  I'm dead serious.  I am re-running configure 
again to see if something shows up this time.  When I have that, I will send 
it.

praedor


RE: IEEEtran

2003-03-20 Thread Jihène Krichène
I've reconfigured lyx.
can you please tell me what do you mean by doing a techhash ?
--

On Thu, 20 Mar 2003 09:02:54  
 Remzi Seker wrote:
Edit preferences reconfigure lyx
Also did you do a texhash?

-Original Message-
From: Jihhne Krichhne [mailto:[EMAIL PROTECTED] 
Sent: Thursday, March 20, 2003 8:38 AM
To: [EMAIL PROTECTED]
Subject: IEEEtran


Hi
I'm trying to use the IEEEtran package. I've downloaded the .layout and
.cls files from the lyx site. I've followed the help document (the
layout file installation). But, I failed to obtain the class article
(IEEEtran) in the menu layoutdocumentdocument. Do you have any idea ?
and do you know how can I use the .cls file ? Thanks in advance


_
Get 25MB, POP3, Spam Filtering with LYCOS MAIL PLUS for $19.95/year.
http://login.mail.lycos.com/brandPage.shtml?pageId=plusref=lmtplus




_
Get 25MB, POP3, Spam Filtering with LYCOS MAIL PLUS for $19.95/year.
http://login.mail.lycos.com/brandPage.shtml?pageId=plusref=lmtplus


Re: Cannot build lyx-1.3.1qt src rpm

2003-03-20 Thread Praedor Atrebates
OK, I found entries in the latest config.log refering to the qt compile fail.  
It is looking for qt2 libs/includes?!  Surely this isn't a qt2-based 
frontend?  I have specifically pointed it at /usr/lib/qt3 by setting 
QTDIR=/usr/lib/qt3 and using the configure switches specifically telling it 
to go to /usr/lib/qt3/includes and /usr/lib/qt3/libs for all the qt devel 
files.  

Here are the offending config.log entries:

configure:11820: g++ -o conftest -O -fno-exceptions -ftemplate-depth-30 
-Wno-non-template-friend -I/usr/lib/qt3//include -L/usr/lib/qt3//lib  
-isystem /usr/X11R6/include  conftest.cc  -lSM -lICE -lc -lm   
-L/usr/X11R6/lib -lX11  -lqt2 5
/usr/bin/ld: cannot find -lqt2
collect2: ld returned 1 exit status
configure:11823: $? = 1
configure: failed program was:
#line 11793 configure
#include confdefs.h

#include qglobal.h
#include qstring.h

#ifdef F77_DUMMY_MAIN
#  ifdef __cplusplus
 extern C
#  endif
   int F77_DUMMY_MAIN() { return 1; }
#endif
int
main ()
{

QString s(mangle_failure);
#if (QT_VERSION  221)
break_me_(\\);
#endif

  ;
  return 0;
}
configure:11820: g++ -o conftest -O -fno-exceptions -ftemplate-depth-30 
-Wno-non-template-friend -I/usr/lib/qt3//include -L/usr/lib/qt3//lib  
-isystem /usr/X11R6/include  conftest.cc  -lSM -lICE -lc -lm   
-L/usr/X11R6/lib -lX11  -lqt 5
/usr/bin/ld: cannot find -lqt
collect2: ld returned 1 exit status
configure:11823: $? = 1
configure: failed program was:
#line 11793 configure
#include confdefs.h

#include qglobal.h
#include qstring.h

#ifdef F77_DUMMY_MAIN
#  ifdef __cplusplus
 extern C
#  endif
   int F77_DUMMY_MAIN() { return 1; }
#endif
int
main ()
{

QString s(mangle_failure);
#if (QT_VERSION  221)
break_me_(\\);
#endif

  ;
  return 0;
}
configure:11820: g++ -o conftest -O -fno-exceptions -ftemplate-depth-30 
-Wno-non-template-friend -I/usr/lib/qt3//include -L/usr/lib/qt3//lib  
-isystem /usr/X11R6/include  conftest.cc  -lSM -lICE -lc -lm   
-L/usr/X11R6/lib -lX11  -lqt-mt 5
/tmp/cc4TX2WQ.o: In function `main':
/tmp/cc4TX2WQ.o(.text+0x11): undefined reference to `QString::QString(char 
const *)'
/tmp/cc4TX2WQ.o(.text+0x29): undefined reference to `QString::shared_null'
/tmp/cc4TX2WQ.o(.text+0x31): undefined reference to `QString::shared_null'
/tmp/cc4TX2WQ.o(.text+0x3f): undefined reference to 
`QStringData::deleteSelf(void)'
collect2: ld returned 1 exit status
configure:11823: $? = 1
configure: failed program was:
#line 11793 configure
#include confdefs.h

#include qglobal.h
#include qstring.h

#ifdef F77_DUMMY_MAIN
#  ifdef __cplusplus
 extern C
#  endif
   int F77_DUMMY_MAIN() { return 1; }
#endif
int
main ()
{

QString s(mangle_failure);
#if (QT_VERSION  221)
break_me_(\\);
#endif

  ;
  return 0;
}
configure:11850: result: failed
configure:11853: error: Cannot compile a simple Qt executable. Check you have 
the right $QTDIR !


RE: IEEEtran

2003-03-20 Thread I Wayan Warmada

On Thu, 20 Mar 2003, Jihène Krichène wrote:

| I've reconfigured lyx.
| can you please tell me what do you mean by doing a techhash ?

texhash is used if you add new class, package, or font in texmf database.
If not, that is not necessary.

try to run,

$ kpsewhich yourclass.cls

if no answer, you haven't this class. You must download the class then
copy it in the texmf directory, then run texhash, with a simply command:

$ texhash (as a root/superuser)

the last is try to reconfigure the lyx.

Wayan


Re: Cannot build lyx-1.3.1qt src rpm

2003-03-20 Thread John Levon
On Thu, Mar 20, 2003 at 10:22:12AM -0500, Praedor Atrebates wrote:

 -Wno-non-template-friend -I/usr/lib/qt3//include -L/usr/lib/qt3//lib  
 -isystem /usr/X11R6/include  conftest.cc  -lSM -lICE -lc -lm   
 -L/usr/X11R6/lib -lX11  -lqt-mt 5
 /tmp/cc4TX2WQ.o: In function `main':
 /tmp/cc4TX2WQ.o(.text+0x11): undefined reference to `QString::QString(char const *)'

You must use a compiler version that matches the one that compiled your
Qt library.

If you had just given us your config.log in the first place you would
have saved everyone a lot of time.

john


Re: Cannot build lyx-1.3.1qt src rpm

2003-03-20 Thread Praedor Atrebates
On Thursday 20 March 2003 10:25 am, John Levon wrote:
 On Thu, Mar 20, 2003 at 10:22:12AM -0500, Praedor Atrebates wrote:
  -Wno-non-template-friend -I/usr/lib/qt3//include -L/usr/lib/qt3//lib
  -isystem /usr/X11R6/include  conftest.cc  -lSM -lICE -lc -lm
  -L/usr/X11R6/lib -lX11  -lqt-mt 5
  /tmp/cc4TX2WQ.o: In function `main':
  /tmp/cc4TX2WQ.o(.text+0x11): undefined reference to
  `QString::QString(char const *)'

 You must use a compiler version that matches the one that compiled your
 Qt library.

 If you had just given us your config.log in the first place you would
 have saved everyone a lot of time.

What information in the log fragment above indicates a problem with the 
compiler version?  

praedor


Re: Cannot build lyx-1.3.1qt src rpm

2003-03-20 Thread John Levon
On Thu, Mar 20, 2003 at 10:35:29AM -0500, Praedor Atrebates wrote:

 What information in the log fragment above indicates a problem with the 
 compiler version?  

   -Wno-non-template-friend -I/usr/lib/qt3//include -L/usr/lib/qt3//lib
   -isystem /usr/X11R6/include  conftest.cc  -lSM -lICE -lc -lm
   -L/usr/X11R6/lib -lX11  -lqt-mt 5
   /tmp/cc4TX2WQ.o: In function `main':
   /tmp/cc4TX2WQ.o(.text+0x11): undefined reference to `QString::QString(char const 
   *)'
  


That.

john


Re: Really simple question..

2003-03-20 Thread gavron
John Levon wrote:

On Thu, Mar 20, 2003 at 03:30:29AM -0500, gavron wrote:

 

  Item Caption... layout Caption

I wonder if this is possible..?  I had tried using the keyword Layouts 
before this but lyx apprently only recognizes it in the toolbar 
section of the ui config  file..
   

Well, if we had code for it, you could use OptItem. But we don't, so you
can't.
I always remove toolbars  icons because I don't use a mouse and I find 
most icon sets non-standard  rather confusing.. hence in my case at 
least.. counter-productive..  I'm probably not the only one who lacks 
intuition since a lot of apps (lyx included) have tooltips or balloons 
for those of us who're happy w/ the latin alphabet  who'd rather get on 
with using the app rather than solving riddles  ;-)  

Another less opinionated reason is that GUI's in X tend to come in so 
many different  colors, shapes,  sizes... that you end up w/ a desktop 
that looks rather untidy..  By choosing a spartan presentation where I 
can.. I end up with a more integrated  easier-to-manage look  feel.

Another annoying problem is that the accelerators (Alt_p-s for Standard 
- eg.) no longer work..!  Alt-p opens the menu.. but then I have to 
   

Add the accelerator by had, like this :

	Item Caption...|C layout Caption
 

thanks..! will try this rightaway..

Does the qt GUI also have this feature..?  
   

Which feature ?
 

the styles mini-window.. left of the toolbar.. in the xforms version.. 
it's something that takes a bit of getting used to..  somewhat like the 
panner in gv.. and some of the more ancient X GUIs..  I only use KDE 
apps occasionally and I've never seen anything quite like this 
mini-window..  actually I have a feeling that maybe opera has something 
a bit like it...

 

the GUI a simpler more homogeneous look  feel.. (?) the main reason is 
that  I never use a pointing device unless I have to..  and I haven't 
found a way to open the styles' mini-window from the keyboard.
   

M-p space
 

perfect.. I guess I'm trying to learn too fast and I just missed that one..

come to think of it I may stick w/ the default.ui (minus the icons).. 
because on second thoughts this mini-window as I call it..  is more 
of an improvement over a pull down menu since it provides the same 
capability but has the added value of serving as a mini status-bar w/ 
its contents visible at all times w/o having to open it..

I must say that I am so very happy with how customizable LyX is.. and 
how easy it is.. that I got carried away a bit w/ this..  But then 
that's probably the best way to RTFM..??

Thanks a bunch for precious advice..  and your patience w/ novices like 
meself..  

Chris.

 






Re: Really simple question..

2003-03-20 Thread John Levon
On Thu, Mar 20, 2003 at 10:38:41AM -0500, gavron wrote:

 the styles mini-window.. left of the toolbar.. in the xforms version.. 

It's a combo box, and exactly the same as the ones you get in KWord, MS
Word, etc.

 Thanks a bunch for precious advice..  and your patience w/ novices like 
 meself..  

Glad to help those who help themselves :)

regards,
john


Re: Quotatiion marks

2003-03-20 Thread Mirco Dunker
Am Donnerstag, 20. März 2003 13:03 schrieb Andre Poenitz:
 On Thu, Mar 20, 2003 at 01:02:41PM +0100, Mirco Dunker wrote:

 `xxx'

 You can fake them with  ,,xxx``{}

 Andre'

thank you for your answer, that helps


Cannot build lyx-1.3.1qt src rpm

2003-03-20 Thread Milos Komarcevic
I had the same problem rebuilding on the latest Red Hat beta.

The XFree86-devel (and its deps) were missing.

Regards,
Milos


Re: Cannot build lyx-1.3.1qt src rpm

2003-03-20 Thread Praedor Atrebates
On Thursday 20 March 2003 10:38 am, John Levon wrote:
 On Thu, Mar 20, 2003 at 10:35:29AM -0500, Praedor Atrebates wrote:
  What information in the log fragment above indicates a problem with the
  compiler version?
 
-Wno-non-template-friend -I/usr/lib/qt3//include -L/usr/lib/qt3//lib
-isystem /usr/X11R6/include  conftest.cc  -lSM -lICE -lc -lm
-L/usr/X11R6/lib -lX11  -lqt-mt 5
/tmp/cc4TX2WQ.o: In function `main':
/tmp/cc4TX2WQ.o(.text+0x11): undefined reference to `QString::QString(char 
const *)'
 
 

 That.

OK, thank you.  However, changing my compiler hasn't helped.  This is Mandrake 9.0.  
The qt3
libs installed are the stock rpms (qt-3.0.5).  Since the default compiler on a stock 
9.0 install is set
to gcc-3.2, I would assume that the qt3 rpms were built with gcc-3.2.  I WAS using 
2.96 (because 3.2
will not successfully compile the 2.4.19 and 2.4.2* kernels with XFS support (at 
least).  In any case,
I have only 2 options: 2.96 or 3.2.  Switching to 3.2 and trying to rebuild the rpm 
again still fails 
as before.  

praedor


Elsevier layout and authors / thanksref

2003-03-20 Thread Osvaldo Fornaro
Hi list,

I just upgrade my lyx installation to 1.3.1 and notice that Frontmatter style, 
added to elsevier layout to generate frontmatter page did not appear anymore.
I need to add several authors with several address and location to a paper. 
I did this before with red latex code, \author and \thanksref, but now, it is 
not possible to do that, due to is not possible to add an standard paragraph 
between author addrese, etc lines, and adding \thanks or \tanksref in the 
author gives me an error.

How is possible to drive with this problem?

Thank you in advance
Osvaldo



-- 
Dr. Osvaldo Fornaro [EMAIL PROTECTED]
Universidad Nacional del Centro de la Provincia de Buenos Aires
Instituto de Física de Materiales Tandil - CICPBA
Pinto 399 (B7000GHG)
Argentina


Re: [ANNOUNCE] LyX 1.3.1 is released

2003-03-20 Thread Reed Loefgren

On Wed, 19 Mar 2003, Max Bian wrote:

 I am impressed by the time required to compile LyX.  Gcc is slow, but I
 felt it took much shorter time to build linux kernel with all the
 modules.

 Any config time option to speed up the build process besides turning
 off -O2?

 Max


I lurk the list and thought I'd mention my experiences. 1) 1.3.1 compiled
without problems on my Slack system, perhaps because I point out the misc
libs it might need. (This is my way of saying that I think RPMs stink
because you're semi-beholden to a script that might not be what you need.
Try using the raw source; it might be what you need (it was back in my
LinuxPPC days.))

And 2) Who cares how long it takes to compile? Why turn off any
optimizations? You compile once. You use it many times; _that's_ where the
benefits are.

Finally, here's my config string for raw source on Slackware. God knows
Slack's different from RH, so it might not work, but enjoy my largesse ;)

configure --with-extra-lib=/lib:/usr/lib:/usr/X11R6/lib
--with-extra-inc=/usr/include:/usr/src/linux-2.4.20/include

This is all given in the sourcecode tarball the lyx people have been kind
enough to prepare. You may enjoy their largesse too...

rl


Compiling LyX 1.3.1 on Mac OS X (10.2.4)

2003-03-20 Thread Kevin Gross
Hi all,

I am trying to get LyX 1.3.1 to compile on a Mac running OS X (10.2.4).  
 First, has anyone been successful getting 1.3.0 or 1.3.1 to compile  
using Apple's (buggy) gcc3?  Since I was unsuccessful using Apple's  
gcc3 (December 2002 Developer Tools), I decided to try compiling with  
gcc2.  While comfortable in UNIX, I am not a programmer and don't know  
how to proceed past the following error.  Apparently, the code compiled  
successfully, but can't be assembled (linked?).  Below shows what I did  
and output I think is relevant.

% #!/bin/sh
% export CC=gcc2
% export CXX=g++2
% export CPPFLAGS='-no-cpp-precomp'
% export CCACHE_DISABLE=1
% ./configure --with-extra-prefix=/sw:/usr/local
 snip 
Configuration
  Host type:  powerpc-apple-darwin6.4
  Special build flags:xforms-image-loader
  C   Compiler:   gcc2
  C   Compiler flags: -g -O2
  C++ Compiler:   g++2 (2.95.2)
  C++ Compiler flags: -O -Wno-non-template-friend  
-ftemplate-depth-30
  Linker flags:-L/sw/lib -L/usr/local/lib
  Frontend:   xforms
libXpm version:   4.11
libforms version: 1.0.0
  LyX binary dir: /usr/local/bin
  LyX files dir:  /usr/local/share/lyx

Configuration of LyX was successful.
Type 'make' to compile the program,
and then 'make install' to install it.
% make

 snip 
/bin/sh ../libtool --mode=link g++2  -O -Wno-non-template-friend  
-ftemplate-depth-30  -L/sw/lib -L/usr/local/lib -o lyx  BufferView.o  
BufferView_pimpl.o Bullet.o Chktex.o CutAndPaste.o DepTable.o  
FloatList.o Floating.o FuncStatus.o InsetList.o LColor.o LaTeX.o  
LaTeXFeatures.o LyXAction.o MenuBackend.o paragraph_funcs.o  
ParagraphList.o ParagraphParameters.o Spacing.o TextCache.o Thesaurus.o  
ToolbarDefaults.o boost.o boost-inst.o box.o buffer.o bufferlist.o  
bufferparams.o bufferview_funcs.o chset.o converter.o counters.o  
debug.o encoding.o exporter.o gettext.o factory.o funcrequest.o  
importer.o intl.o iterators.o kbmap.o kbsequence.o language.o  
lastfiles.o lengthcommon.o lyx_cb.o lyx_main.o lyx_sty.o lyxcursor.o  
lyxfont.o lyxfind.o lyxfunc.o lyxgluelength.o lyxlayout.o lyxlength.o  
lyxlex.o lyxlex_pimpl.o lyxrc.o lyxrow.o lyxserver.o lyxtextclass.o  
lyxtextclasslist.o lyxvc.o main.o paragraph.o paragraph_pimpl.o  
ispell.o pspell.o sgml.o tabular.o tabular-old.o tabular_funcs.o  
tex-accent.o tex-strings.o texrow.o text.o text2.o text3.o toc.o  
trans.o trans_mgr.o undo.o undo_funcs.o vc-backend.o version.o vspace.o  
mathed/libmathed.la insets/libinsets.la frontends/libfrontends.la  
graphics/libgraphics.la support/libsupport.la  
../boost/libs/regex/src/libboostregex.la  
../boost/libs/signals/src/libboostsignals.la -lintl -liconv-lSM  
-lICE -lc -lm   -L/usr/X11R6/lib -lX11
mkdir .libs
g++2 -O -Wno-non-template-friend -ftemplate-depth-30 -o lyx  
BufferView.o BufferView_pimpl.o Bullet.o Chktex.o CutAndPaste.o  
DepTable.o FloatList.o Floating.o FuncStatus.o InsetList.o LColor.o  
LaTeX.o LaTeXFeatures.o LyXAction.o MenuBackend.o paragraph_funcs.o  
ParagraphList.o ParagraphParameters.o Spacing.o TextCache.o Thesaurus.o  
ToolbarDefaults.o boost.o boost-inst.o box.o buffer.o bufferlist.o  
bufferparams.o bufferview_funcs.o chset.o converter.o counters.o  
debug.o encoding.o exporter.o gettext.o factory.o funcrequest.o  
importer.o intl.o iterators.o kbmap.o kbsequence.o language.o  
lastfiles.o lengthcommon.o lyx_cb.o lyx_main.o lyx_sty.o lyxcursor.o  
lyxfont.o lyxfind.o lyxfunc.o lyxgluelength.o lyxlayout.o lyxlength.o  
lyxlex.o lyxlex_pimpl.o lyxrc.o lyxrow.o lyxserver.o lyxtextclass.o  
lyxtextclasslist.o lyxvc.o main.o paragraph.o paragraph_pimpl.o  
ispell.o pspell.o sgml.o tabular.o tabular-old.o tabular_funcs.o  
tex-accent.o tex-strings.o texrow.o text.o text2.o text3.o toc.o  
trans.o trans_mgr.o undo.o undo_funcs.o vc-backend.o version.o vspace.o  
 -L/sw/lib -L/usr/local/lib mathed/.libs/libmathed.a  
insets/.libs/libinsets.a frontends/.libs/libfrontends.a -lflimage  
-ljpeg -lforms -lXpm graphics/.libs/libgraphics.a  
support/.libs/libsupport.a  
../boost/libs/regex/src/.libs/libboostregex.a  
../boost/libs/signals/src/.libs/libboostsignals.a -lintl -liconv -lSM  
-lICE -lc -lm -L/usr/X11R6/lib -lX11
/usr/bin/ld: warning multiple definitions of symbol _locale_charset
/sw/lib/libintl.dylib(localcharset.lo) definition of _locale_charset
/sw/lib/libiconv.dylib(localcharset.lo) definition of _locale_charset
/usr/bin/ld: Undefined symbols:
__._Q25boostt14reg_expression3ZcZQ25boostt12regex_traits1ZcZt9allocator1 
Zc
___Q25boostt14reg_expression3ZcZQ25boostt12regex_traits1ZcZt9allocator1Z 
cPCcUiRCB2
___Q35boost9re_detailt18match_results_base2ZPCcZt9allocator1ZcRCB1
_allocator__CQ35boost9re_detailt18match_results_base2ZPCcZt9allocator1Zc
_cow__Q35boost9re_detailt18match_results_base2ZPCcZt9allocator1Zc

quotation marks

2003-03-20 Thread Mirco Dunker
Hi,
how nows the TeX command for quotation marks? What do I have to type in to get 
something like this: yes?
greetings 
Mirco



Re: Compiling LyX 1.3.1 on Mac OS X (10.2.4)

2003-03-20 Thread Nirmal Govind

 is successful.  However, if I use gcc2, the same configure script dies  
 with
 
 checking for moc2... not found
 checking for moc... /sw/bin/moc
 checking for uic... /sw/bin/uic
 checking for Qt library name... failed
 configure: error: Cannot compile a simple Qt executable. Check you have  
 the right $QTDIR !

Shouldn't there be a --with-qt-dir=QTdirectoryname also in the configure
options? I think it's looking for the executables moc, uic etc. which would be
in the QT directory which hasn't been specified (only the includes have been
specified) if I'm not too wrong.. 

Have no clue on the other problems you mentioned..

nirmal



Compiling LyX 1.3.1 on Solaris 2.8

2003-03-20 Thread Bo Peng
Hi,

Has anyone successfully compiled lyx-1.3.1 with qt frontend on Solaris 
2.8? I run ./configure with the following options:

  --with-frontend=qt --with-qt-dir=/usr/site/qt

/usr/site/qt seems to be fine:

% ls /usr/site/qt
bin/ext/lib/mkspecs/share@
doc@include/man@plugins/templates/
% ls /usr/site/qt/lib
libeditor.prllibeditor.so.1.0@libqt-mt.so@ libqt-mt.so.3.0.5*   
libqui.so.1@
libeditor.so@libeditor.so.1.0.0*  libqt-mt.so.3@   libqui.prl   
libqui.so.1.0@
libeditor.so.1@  libqt-mt.prl libqt-mt.so.3.0@ libqui.so@   
libqui.so.1.0.0*

but ./configure fails with error message:

checking for shmat... yes
checking for IceConnectionNumber in -lICE... yes
checking for moc2... not found
checking for moc... /usr/site/qt//bin/moc
checking for uic... /usr/site/qt//bin/uic
checking for Qt library name... failed
configure: error: Cannot compile a simple Qt executable. Check you have the right 
$QTDIR !

I have tried to 
setenv QTDIR /usr/site/qt

but this does not help. My gcc version is 3.2.1.

Thanks.

--
Bo Peng



Re: Compiling LyX 1.3.1 on Solaris 2.8

2003-03-20 Thread John Levon
On Thu, Mar 20, 2003 at 12:25:37PM -0600, Bo Peng wrote:

 configure: error: Cannot compile a simple Qt executable. Check you have the right 
 $QTDIR !

We need to see config.log

john


Re: quotation marks

2003-03-20 Thread Christian Ridderström
On Thu, 20 Mar 2003, Mirco Dunker wrote:

 Hi,
 how nows the TeX command for quotation marks? What do I have to type in to get 
 something like this: yes?
 greetings 
 Mirco

I'm not sure what you want to do... but if you want the  character, one 
way to get it is to use the command:
self-insert 
in the mini-buffer (you can get to the mini-buffer by typing A-x, or by 
clicking in it at the bottom of the lyx window)

/Christian

-- 
Christian Ridderström   http://www.md.kth.se/~chr




Re: quotation marks

2003-03-20 Thread John Levon
On Thu, Mar 20, 2003 at 07:43:54PM +0100, Christian Ridderstr?m wrote:

 I'm not sure what you want to do... but if you want the  character, one 
 way to get it is to use the command:
   self-insert 

Or Insert-Special Character-Ordinary Quote

john


Re: Compiling LyX 1.3.1 on Mac OS X (10.2.4)

2003-03-20 Thread Ronald Florence
Kevin Gross [EMAIL PROTECTED] writes:

 I am trying to get LyX 1.3.1 to compile on a Mac running OS X
 (10.2.4).  First, has anyone been successful getting 1.3.0 or 1.3.1 to
 compile  using Apple's (buggy) gcc3?  

A bug in Apple's version of the gcc-3.1 headers breaks compiles of
Lyx-1.3.x.  The Apple bug is ID # 3162425 and if enough of us complain
often enough to Developer Support [EMAIL PROTECTED] their engineers
might get around to fixing it.
-- 

Ronald Florence www.18james.com



changing the font size (newbie's question)

2003-03-20 Thread Robert Neumann
Hi,
I'm using lyx 1.2.0 and I have set the font size for the whole document to 11 
pt. 
Now I would like to change the size for one one chapter to 10 pt. How can I do 
this, it should be pretty simple, but I could not figure it out..
thanks
Robert


Re: Compiling LyX 1.3.1 on Solaris 2.8

2003-03-20 Thread Bo Peng
  configure: error: Cannot compile a simple Qt executable. Check you 
  have the right $QTDIR !

 We need to see config.log

It is attached.

-- 
Bo Peng
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.

It was created by lyx configure 1.3.1, which was
generated by GNU Autoconf 2.53.  Invocation command line was

  $ ./configure --prefix=/home/helpdesk/trial/lyx-1.3 --with-frontend=qt 
--with-extra-prefix=/opt1/opt.CORE/xpm-3.4k/sunos5 --with-qt-dir=/usr/site/qt 
--with-version-suffix

## - ##
## Platform. ##
## - ##

hostname = stat007.stat.rice.edu
uname -m = sun4u
uname -r = 5.8
uname -s = SunOS
uname -v = Generic_108528-16

/usr/bin/uname -p = sparc
/bin/uname -X = System = SunOS
Node = stat007.stat.rice.edu
Release = 5.8
KernelID = Generic_108528-16
Machine = sun4u
BusType = unknown
Serial = unknown
Users = unknown
OEM# = 0
Origin# = 1
NumCPU = 2

/bin/arch  = sun4
/usr/bin/arch -k   = sun4u
/usr/convex/getsysinfo = unknown
hostinfo   = unknown
/bin/machine   = unknown
/usr/bin/oslevel   = unknown
/bin/universe  = unknown

PATH: /usr/site/latex2html/bin
PATH: .
PATH: /home/helpdesk/bin
PATH: /home/helpdesk/newbin
PATH: /home/helpdesk/bin
PATH: /bin
PATH: /usr/bin
PATH: /usr/ucb
PATH: /usr/bin/X11
PATH: /usr/local/bin
PATH: /usr/site/ssh-2.4.0/bin
PATH: /usr/local/bin
PATH: /usr/bin
PATH: /bin
PATH: /opt/SUNWspro/bin
PATH: /usr/openwin/bin
PATH: /usr/ccs/bin
PATH: /usr/ucb
PATH: /sbin
PATH: /usr/sbin
PATH: /usr/site/teTeX/bin
PATH: /usr/site/mozilla/bin
PATH: /usr/dt/bin
PATH: /opt/gnome-1.4/bin


## --- ##
## Core tests. ##
## --- ##

configure:1486: checking build system type
configure:1504: result: sparc-sun-solaris2.8
configure:1512: checking host system type
configure:1526: result: sparc-sun-solaris2.8
configure:1534: checking target system type
configure:1548: result: sparc-sun-solaris2.8
configure:1564: checking for install target ... 
configure:1580: result: lyx-1.3.1
configure:1597: checking for a BSD-compatible install
configure:1651: result: config/install-sh -c
configure:1662: checking whether build environment is sane
configure:1705: result: yes
configure:1738: checking for gawk
configure:1767: result: no
configure:1738: checking for mawk
configure:1767: result: no
configure:1738: checking for nawk
configure:1754: found /bin/nawk
configure:1764: result: nawk
configure:1774: checking whether make sets ${MAKE}
configure:1794: result: yes
configure:1954: checking whether make sets ${MAKE}
configure:1974: result: yes
configure:1995: checking for a BSD-compatible install
configure:2049: result: config/install-sh -c
configure:2063: checking for kpsewhich
configure:2079: found /usr/local/bin/kpsewhich
configure:2090: result: kpsewhich
configure:2108: checking for gm4
configure:2137: result: no
configure:2108: checking for gnum4
configure:2137: result: no
configure:2108: checking for m4
configure:2124: found /usr/ccs/bin/m4
configure:2134: result: m4
configure:2199: checking for gcc
configure:2215: found /usr/local/bin/gcc
configure:2225: result: gcc
configure:2469: checking for C compiler version
configure:2472: gcc --version /dev/null 5
gcc (GCC) 3.2.1
Copyright (C) 2002 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

configure:2475: $? = 0
configure:2477: gcc -v /dev/null 5
Reading specs from /usr/site/gcc-3.2.1/lib/gcc-lib/sparc-sun-solaris2.8/3.2.1/specs
Configured with: /build/gcc-3.2.1/src/dist/configure --prefix=/usr/site/gcc-3.2.1 
--enable-shared=libstdc++
Thread model: posix
gcc version 3.2.1
configure:2480: $? = 0
configure:2482: gcc -V /dev/null 5
gcc: argument to `-V' is missing
configure:2485: $? = 1
configure:2511: checking for C compiler default output
configure:2514: gccconftest.c  5
configure:2517: $? = 0
configure:2550: result: a.out
configure:2555: checking whether the C compiler works
configure:2561: ./a.out
configure:2564: $? = 0
configure:2579: result: yes
configure:2586: checking whether we are cross compiling
configure:2588: result: no
configure:2591: checking for suffix of executables
configure:2593: gcc -o conftestconftest.c  5
configure:2596: $? = 0
configure:2618: result: 
configure:2624: checking for suffix of object files
configure:2648: gcc -c   conftest.c 5
configure:2651: $? = 0
configure:2670: result: o
configure:2674: checking whether we are using the GNU C compiler
configure:2701: gcc -c   conftest.c 5
configure:2704: $? = 0
configure:2707: test -s conftest.o
configure:2710: $? = 0
configure:2722: result: yes
configure:2728: checking whether gcc accepts -g
configure:2752: gcc -c -g  conftest.c 5
configure:2755: $? = 0
configure:2758: test -s conftest.o
configure:2761: $? = 0
configure:2771: result: yes
configure:2798: gcc -c -g -O2  conftest.c 5
conftest.c:2: 

Re: Compiling LyX 1.3.1 on Solaris 2.8

2003-03-20 Thread John Levon
On Thu, Mar 20, 2003 at 01:41:03PM -0600, Bo Peng wrote:

 configure:11820: g++ -o conftest -O -fno-exceptions -I/usr/site/qt//include 
 -L/usr/site/qt//lib  -I/opt1/opt.CORE/xpm-3.4k/sunos5/include  -isystem 
 /usr/openwin/include  -L/opt1/opt.CORE/xpm-3.4k/sunos5/lib 
 -Wl,-R/opt1/opt.CORE/xpm-3.4k/sunos5/lib conftest.cc  -lSM -lICE -lc -lm   
 -L/usr/openwin/lib -R/usr/openwin/lib -lX11 -lsocket  -lnsl -lqt-mt 5
 ld: warning: file libGL.so.1: required by /usr/site/qt//lib/libqt-mt.so, not found
 Undefined first referenced
  symbol   in file
 glXQueryExtension   /usr/site/qt//lib/libqt-mt.so
 glReadPixels/usr/site/qt//lib/libqt-mt.so

This is your problem.

john


Re: Compiling LyX 1.3.1 on Solaris 2.8

2003-03-20 Thread Bo Peng
  ld: warning: file libGL.so.1: required by 
  /usr/site/qt//lib/libqt-mt.so, not found
  Undefined   first referenced
   symbol in file
  glXQueryExtension   /usr/site/qt//lib/libqt-mt.so
  glReadPixels/usr/site/qt//lib/libqt-mt.so

 This is your problem.

What is this libGL.so? On my linux box, it is in /usr/X11/lib, but on 
Solaris, there is no such thing under /usr/X/lib. Does it come with qt?

-- 
Bo Peng


Re: Compiling LyX 1.3.1 on Solaris 2.8

2003-03-20 Thread John Levon
On Thu, Mar 20, 2003 at 02:28:12PM -0600, Bo Peng wrote:

  This is your problem.
 
 What is this libGL.so? On my linux box, it is in /usr/X11/lib, but on 
 Solaris, there is no such thing under /usr/X/lib. Does it come with qt?

No, it's the opengl (3D rendering) libraries. If you don't have it, then
you must compile a Qt version that doesn't include the support.

john


Re: Compiling LyX 1.3.1 on Solaris 2.8

2003-03-20 Thread Les Denham
On Thursday 20 March 2003 1428 pm, you wrote:
   ld: warning: file libGL.so.1: required by
   /usr/site/qt//lib/libqt-mt.so, not found
   Undefined   first referenced
symbol in file
   glXQueryExtension   /usr/site/qt//lib/libqt-mt.so
   glReadPixels/usr/site/qt//lib/libqt-mt.so
 
  This is your problem.

 What is this libGL.so? On my linux box, it is in /usr/X11/lib, but on
 Solaris, there is no such thing under /usr/X/lib. Does it come with qt?

I believe this is part of the SUNWglrt package, and will be located in 
/usr/openwin/lib if you have the package loaded.


-- 
L. R. Denham
--
Please avoid sending me Word or PowerPoint attachments.
See http://www.fsf.org/philosophy/no-word-attachments.html


Re: Compiling LyX 1.3.1 on Solaris 2.8

2003-03-20 Thread Bo Peng
 No, it's the opengl (3D rendering) libraries. If you don't have it, 
 then you must compile a Qt version that doesn't include the support.

I found the lib and use --with-extra-lib to refer to it. I can 
then configure and make. However, make stops with error message:  can 
not find ... lib. It works again after I set
setenv LD_LIBRARY_PATH 'every lib pathes'

It is still compiling now. I am not sure I am the only one to have this 
LD_LIBRARY_PATH problem.


-- 
Bo Peng


Re: Really simple question..

2003-03-20 Thread gavron
 Christian Ridderström wrote:

On Tue, 18 Mar 2003, gavron wrote:

[...]

I'll check see if this could easily be replaced by a menu.. something 
called Styles perhaps..? unfortunately I can't think of anything that 
starts w/ a P..  
   

Paragraphs?

/Christian

:-)  Well.. that was the easy part..  That's what named it for now.. 
Parts... Probably something like the more official Paragraph styles 
would make more sense..

I added this to the main description in ~/.lyx/ui/default.ui as:

Submenu Parts|P styles

and proceeded to create a lengthy styles menu:

#
# STYLES MENU
#
   Menu styles
   Item Abstract... layout Abstract
   Item Paragraph... layout Paragraph
   Item Itemize... layout Itemize
   Item LyX-Code... layout LyX-Code
   Item Description... layout Description
   Item Enumerate... layout Enumerate
   Item ShortFoilhead... layout ShortFoilhead
   Item Itemize... layout Itemize
   Item List... layout List
   Item Enumerate... layout Enumerate
   Item Quote... layout Quote
   Item Standard... layout Standard
   Item Title... layout Title
   Item Verse... layout Verse
   Item Chapter... layout Chapter
   Item Section... layout Section
   Item Subsection... layout Subsection
   Item Subsubsection... layout Subsubsection
   Item Paragraph... layout Paragraph
   Item Subparagraph... layout Subparagraph
   Item Part*... layout Part*
   Item Chapter*... layout Chapter*
   Item Section*... layout Section*
   Item Subsection*... layout Subsection*
   Item Subsubsection*... layout Subsubsection*
   Item Paragraph*... layout Paragraph*
   Item Subparagraph*... layout Subparagraph*
   Item Author... layout Author
   Item Bibliography... layout Bibliography
   Item Comment... layout Comment
   Item Date... layout Date
   Item Foilhead... layout Foilhead
   Item LaTeX... layout LaTeX
   Item Quotation... layout Quotation
   Item RightAddress... layout RightAddress
   Item Address... layout Address
   Item Caption... layout Caption
   End
..by pasting just about everything relevant that I could find in the LyX 
Customization Guide..  this gave me a nice long menu after I restarted 
lyx.. w/ all the accelerators..  and switching styles from this menu 
does work.. but then I realized what I had known all along - ie. that 
only some of the entries are valid for the current document class..  In 
other words I would need this menu to be dynamically gen'd to reflect 
only the valid styles for the selected document class..

I wonder if this is possible..?  I had tried using the keyword Layouts 
before this but lyx apprently only recognizes it in the toolbar 
section of the ui config  file..

Another annoying problem is that the accelerators (Alt_p-s for Standard 
- eg.) no longer work..!  Alt-p opens the menu.. but then I have to 
select the style by moving the up/down arrows and hitting enter when 
the desired entry is focused..  

So for now and since I couldn't altogether get rid of the toolbar anyway 
I may go back to that peculiar Layouts mini-window and make sure I 
memorize (most of..) the accelerators..

Does the qt GUI also have this feature..?  

All the same I still like the idea of having a menu rather than the 
mini-window..  and having the mini-buffer - or some status bar feature 
display the Paragraph style that is currently active..  Besides giving 
the GUI a simpler more homogeneous look  feel.. (?) the main reason is 
that  I never use a pointing device unless I have to..  and I haven't 
found a way to open the styles' mini-window from the keyboard.

If anyone has successfully set this up the way I tried/failed.. I would 
be interested in hearing from them..

Thanks for reading and all apologies for this lengthy post.

Chris.   







Re: [ANNOUNCE] LyX 1.3.1 is released

2003-03-20 Thread Henrik Edlund
On Wed, 19 Mar 2003, Max Bian wrote:

MB I am impressed by the time required to compile LyX.  Gcc is slow, but I
MB felt it took much shorter time to build linux kernel with all the
MB modules.
MB
MB Any config time option to speed up the build process besides turning
MB off -O2?

Take about the same time to compile LyX as it takes Mozilla for
me. Compiling the Linux kernel is about 10-20 times faster than
both.

-- 
There is no emotion; there is peace. There is no ignorance; there
is knowledge. There is no passion; there is serenity. There is no
death; there is the Force. -- Core of the Jedi Code


Re: [ANNOUNCE] LyX 1.3.1 is released

2003-03-20 Thread Alfredo Braunstein
Henrik Edlund wrote:

 Take about the same time to compile LyX as it takes Mozilla for
 me. Compiling the Linux kernel is about 10-20 times faster than
 both.
 

C++ has always been a lot slower to compile than C.

Regards, Alfredo




Re: [ANNOUNCE] LyX 1.3.1 is released

2003-03-20 Thread Sam Zeini
Hi,
i am interested on deb´s.
Sam.



compile error:missing moc binary

2003-03-20 Thread Thomas Schnhoff
Hi,

I'll try to compile LyX-1.3.0-1 on Debian Woody for making a Debian 
package with checkinstall by using:

/usr/local/sbin/checkinstall ./configure --with-frontend=qt

Compilation ends up with this error message:

configure: error: moc binary not found in $PATH or /bin !

I've never heard of a package named moc. Could someone tell me what is 
missing ?

Thomas



Re: compile error:missing moc binary

2003-03-20 Thread Andre Poenitz
On Thu, Mar 20, 2003 at 12:12:51PM +0100, Thomas Schönhoff wrote:
 I've never heard of a package named moc. Could someone tell me what is 
 missing ?

This is some Qt preprocessor (according to my understanding...)

On my system it comes with the package qt-devel and is located in
/usr/lib/qt-2.3.1/bin/moc

Andre'

-- 
Those who desire to give up Freedom in order to gain Security,
will not have, nor do they deserve, either one. (T. Jefferson)


Re: compile error:missing moc binary

2003-03-20 Thread Thomas Schönhoff
Andre Poenitz schrieb:

On Thu, Mar 20, 2003 at 12:12:51PM +0100, Thomas Schönhoff wrote:
 

I've never heard of a package named moc. Could someone tell me what is 
missing ?
   

This is some Qt preprocessor (according to my understanding...)

On my system it comes with the package qt-devel and is located in
/usr/lib/qt-2.3.1/bin/moc
Andre'

 

Hello,

thanks for quick response!
Very curious, since LyX-qt-1.3.0 compiled without any complaints, not 
missing anything and work smoothly!? Obiviously somethings must have 
been changed, isn't it!?

Thomas




Re: compile error:missing moc binary

2003-03-20 Thread Andre Poenitz
On Thu, Mar 20, 2003 at 12:42:45PM +0100, Thomas Schönhoff wrote:
 Very curious, since LyX-qt-1.3.0 compiled without any complaints, not 
 missing anything and work smoothly!? Obiviously somethings must have 
 been changed, isn't it!?

Obviously. But I don't know what.

Andre'

-- 
Those who desire to give up Freedom in order to gain Security,
will not have, nor do they deserve, either one. (T. Jefferson)


Re: compile error:missing moc binary

2003-03-20 Thread Dekel Tsur
On Thu, Mar 20, 2003 at 12:12:51PM +0100, Thomas Sch?nhoff wrote:
 I'll try to compile LyX-1.3.0-1 on Debian Woody for making a Debian 
 package with checkinstall by using:
 
 /usr/local/sbin/checkinstall ./configure --with-frontend=qt
 
 
 Compilation ends up with this error message:
 
 configure: error: moc binary not found in $PATH or /bin !
 
 I've never heard of a package named moc. Could someone tell me what is 
 missing ?

apt-get install libqt3-dev


quotation marks

2003-03-20 Thread Mirco Dunker
Hi,
who nows the TeX command for quotation marks? What do I have to type in to get 
something like this: yes?
greetings 
Mirco



Re: quotation marks

2003-03-20 Thread Andre Poenitz
On Thu, Mar 20, 2003 at 12:57:20PM +0100, Mirco Dunker wrote:
 Hi, who nows the TeX command for quotation marks? What do I have to
 type in to get something like this: yes?  greetings 

English or German?

Andre'
-- 
Those who desire to give up Freedom in order to gain Security,
will not have, nor do they deserve, either one. (T. Jefferson)


Re: Quotatiion marks

2003-03-20 Thread Mirco Dunker
On Thu, Mar 20, 2003 at 12:57:20PM +0100, Mirco Dunker wrote:
 Hi, who nows the TeX command for quotation marks? What do I have to
 type in to get something like this: yes?  greetings 

English or German?

Andre'
-- 
Those who desire to give up Freedom in order to gain Security,
will not have, nor do they deserve, either one. (T. Jefferson)

German please ;-)


Re: Quotatiion marks

2003-03-20 Thread Andre Poenitz
On Thu, Mar 20, 2003 at 01:02:41PM +0100, Mirco Dunker wrote:

`xxx'

You can fake them with  ,,xxx``{}

Andre'

-- 
Those who desire to give up Freedom in order to gain Security,
will not have, nor do they deserve, either one. (T. Jefferson)


Re: Really simple question..

2003-03-20 Thread Christian Ridderström
On Thu, 20 Mar 2003, gavron wrote:

   Christian Ridderström wrote:
 
 On Tue, 18 Mar 2003, gavron wrote:
 
 [...]
 
 I'll check see if this could easily be replaced by a menu.. something 
 called Styles perhaps..? unfortunately I can't think of anything that 
 starts w/ a P..  
 
 
 
 Paragraphs?
 
 /Christian
 
 :-)  Well.. that was the easy part..  That's what named it for now.. 
 Parts... Probably something like the more official Paragraph styles 
 would make more sense..
 
 I wonder if this is possible..?  I had tried using the keyword Layouts 
 before this but lyx apprently only recognizes it in the toolbar 
 section of the ui config  file..

You could submit it to bugzilla.lyx.org... or send it as a suggestion 
to the development list?

 All the same I still like the idea of having a menu rather than the 
 mini-window..  and having the mini-buffer - or some status bar feature 
 display the Paragraph style that is currently active..  Besides giving 
 the GUI a simpler more homogeneous look  feel.. (?) the main reason is 
 that  I never use a pointing device unless I have to..  and I haven't 
 found a way to open the styles' mini-window from the keyboard.

M-P space works for me... see menus.bind (the key is bound to the 
function: drop-layouts-choice)

/Christian

-- 
Christian Ridderström   http://www.md.kth.se/~chr




Re: [ANNOUNCE] LyX 1.3.1 is released

2003-03-20 Thread Max Bian
It is probably related to the extensive use of libtool.  It runs every
time a source file is compiled.

Max
--- Henrik Edlund [EMAIL PROTECTED] wrote:
 
 Take about the same time to compile LyX as it takes Mozilla for
 me. Compiling the Linux kernel is about 10-20 times faster than
 both.



IEEEtran

2003-03-20 Thread Jihène Krichène
Hi
I'm trying to use the IEEEtran package. I've downloaded the .layout and .cls files 
from the lyx site. I've followed the help document (the layout file installation). 
But, I failed to obtain the class article (IEEEtran) in the menu 
layoutdocumentdocument.
Do you have any idea ? and do you know how can I use the .cls file ?
Thanks in advance


_
Get 25MB, POP3, Spam Filtering with LYCOS MAIL PLUS for $19.95/year.
http://login.mail.lycos.com/brandPage.shtml?pageId=plusref=lmtplus


environments in a book document (not book (AMS)) ?

2003-03-20 Thread EXT / TEAMLOG MELLERIN Pierrick
Hello,

Is it possible to use book document (not book (AMS)) with environments
like theorem, corollary, example, ... ? I would prefer use book in
place of book (AMS) for questions of formatting on the screen and in the
dvi.

Thanks in advance,

Pierrick Mellerin.


RE: IEEEtran

2003-03-20 Thread Remzi Seker
Edit preferences reconfigure lyx
Also did you do a texhash?

-Original Message-
From: Jihhne Krichhne [mailto:[EMAIL PROTECTED] 
Sent: Thursday, March 20, 2003 8:38 AM
To: [EMAIL PROTECTED]
Subject: IEEEtran


Hi
I'm trying to use the IEEEtran package. I've downloaded the .layout and
.cls files from the lyx site. I've followed the help document (the
layout file installation). But, I failed to obtain the class article
(IEEEtran) in the menu layoutdocumentdocument. Do you have any idea ?
and do you know how can I use the .cls file ? Thanks in advance


_
Get 25MB, POP3, Spam Filtering with LYCOS MAIL PLUS for $19.95/year.
http://login.mail.lycos.com/brandPage.shtml?pageId=plusref=lmtplus



Re: [ANNOUNCE] LyX 1.3.1 is released

2003-03-20 Thread John Levon
On Thu, Mar 20, 2003 at 04:52:03AM -0800, Max Bian wrote:

 It is probably related to the extensive use of libtool.  It runs every
 time a source file is compiled.

It has absolutely nothing to do with libtool.

john


RE: IEEEtran

2003-03-20 Thread Jihène Krichène
Yes, I've reconfigured lyx.
What do you mean by texhash ? 
--

On Thu, 20 Mar 2003 09:02:54  
 Remzi Seker wrote:
Edit preferences reconfigure lyx
Also did you do a texhash?

-Original Message-
From: Jihhne Krichhne [mailto:[EMAIL PROTECTED] 
Sent: Thursday, March 20, 2003 8:38 AM
To: [EMAIL PROTECTED]
Subject: IEEEtran


Hi
I'm trying to use the IEEEtran package. I've downloaded the .layout and
.cls files from the lyx site. I've followed the help document (the
layout file installation). But, I failed to obtain the class article
(IEEEtran) in the menu layoutdocumentdocument. Do you have any idea ?
and do you know how can I use the .cls file ? Thanks in advance


_
Get 25MB, POP3, Spam Filtering with LYCOS MAIL PLUS for $19.95/year.
http://login.mail.lycos.com/brandPage.shtml?pageId=plusref=lmtplus




_
Get 25MB, POP3, Spam Filtering with LYCOS MAIL PLUS for $19.95/year.
http://login.mail.lycos.com/brandPage.shtml?pageId=plusref=lmtplus


Re: Really simple question..

2003-03-20 Thread John Levon
On Thu, Mar 20, 2003 at 03:30:29AM -0500, gavron wrote:

Item Caption... layout Caption
 
 I wonder if this is possible..?  I had tried using the keyword Layouts 
 before this but lyx apprently only recognizes it in the toolbar 
 section of the ui config  file..

Well, if we had code for it, you could use OptItem. But we don't, so you
can't.

 Another annoying problem is that the accelerators (Alt_p-s for Standard 
 - eg.) no longer work..!  Alt-p opens the menu.. but then I have to 

Add the accelerator by had, like this :

Item Caption...|C layout Caption

 Does the qt GUI also have this feature..?  

Which feature ?

 the GUI a simpler more homogeneous look  feel.. (?) the main reason is 
 that  I never use a pointing device unless I have to..  and I haven't 
 found a way to open the styles' mini-window from the keyboard.

M-p space

regards
john


Re: Cannot build lyx-1.3.1qt src rpm

2003-03-20 Thread Morgan Kelly
On Wed, Mar 19, 2003 at 12:45:41PM -0500, Praedor Atrebates wrote:

 checking for Qt library name... failed
 configure: error: Cannot compile a simple Qt executable. Check you have the 
 right $QTDIR !
 error: Bad exit status from /var/tmp/rpm-tmp.46146 (%build)


This is a problem in building with Mandrake linux that was not present with 
lyx-1.3.0pre2 but appeared with 1.3.0.

Instead of commenting out a lot of lines in the configure script, you need to 
set more options telling it exactly where all the qt things live 

./configure --with-frontend=qt --with-qt-dir=/usr/lib/qt3 
--with-qt-includes=/usr/lib/qt3/include --with-qt-libraries=/usr/lib/qt3/lib 

Everything should then work fine. I hope this helps

Morgan


Re: Cannot build lyx-1.3.1qt src rpm

2003-03-20 Thread Praedor Atrebates
On Thursday 20 March 2003 09:24 am, Morgan Kelly wrote:
 On Wed, Mar 19, 2003 at 12:45:41PM -0500, Praedor Atrebates wrote:
  checking for Qt library name... failed
  configure: error: Cannot compile a simple Qt executable. Check you have
  the right $QTDIR !
  error: Bad exit status from /var/tmp/rpm-tmp.46146 (%build)

 This is a problem in building with Mandrake linux that was not present with
 lyx-1.3.0pre2 but appeared with 1.3.0.

 Instead of commenting out a lot of lines in the configure script, you need
 to set more options telling it exactly where all the qt things live

 ./configure --with-frontend=qt --with-qt-dir=/usr/lib/qt3
 --with-qt-includes=/usr/lib/qt3/include
 --with-qt-libraries=/usr/lib/qt3/lib

Thanks!  I tried again using your recommended additional switches but the 
build STILL fails with:

checking for moc... /usr/lib/qt3//bin/moc
checking for uic... /usr/lib/qt3//bin/uic
checking for Qt library name... failed
configure: error: Cannot compile a simple Qt executable. Check you have the 
right $QTDIR !
error: Bad exit status from /var/tmp/rpm-tmp.58102 (%build)

The script is still looking for something in the wrong place  (I have ALL the 
required qt3 libs/includes needed to build any qt-based app, nothing is 
missing).  I have looked through the config.log and config.status files.  
Nothing in either to indicate any problems/missing elements.


Re: Cannot build lyx-1.3.1qt src rpm

2003-03-20 Thread John Levon
On Thu, Mar 20, 2003 at 09:51:52AM -0500, Praedor Atrebates wrote:

 required qt3 libs/includes needed to build any qt-based app, nothing is 
 missing).  I have looked through the config.log and config.status files.  
 Nothing in either to indicate any problems/missing elements.

Do you seriously expect help when you can't even be bothered to make
your config.log accessible, describe where the libraries/headers are
located on your system, etc. ?

john
 


Re: Cannot build lyx-1.3.1qt src rpm

2003-03-20 Thread Jean-Marc Lasgouttes
 Praedor == Praedor Atrebates [EMAIL PROTECTED] writes:

Praedor Thanks! I tried again using your recommended additional
Praedor switches but the build STILL fails with:

Praedor checking for moc... /usr/lib/qt3//bin/moc checking for uic...
Praedor /usr/lib/qt3//bin/uic checking for Qt library name... failed
Praedor configure: error: Cannot compile a simple Qt executable.
Praedor Check you have the right $QTDIR ! error: Bad exit status from
Praedor /var/tmp/rpm-tmp.58102 (%build)

Praedor The script is still looking for something in the wrong place
Praedor (I have ALL the required qt3 libs/includes needed to build
Praedor any qt-based app, nothing is missing). I have looked through
Praedor the config.log and config.status files. Nothing in either to
Praedor indicate any problems/missing elements.

So, can we see you config.log? There has to be something interesting
at the place where it says Cannot compile a simple Qt executable.

JMarc


Re: Cannot build lyx-1.3.1qt src rpm

2003-03-20 Thread Praedor Atrebates
On Thursday 20 March 2003 10:00 am, Jean-Marc Lasgouttes wrote:
  Praedor == Praedor Atrebates [EMAIL PROTECTED] writes:

 Praedor Thanks! I tried again using your recommended additional
 Praedor switches but the build STILL fails with:
[...]
 So, can we see you config.log? There has to be something interesting
 at the place where it says Cannot compile a simple Qt executable.

Well, the config.log that currently exists literally contains NOTHING about 
Cannot compile a simple...  I'm dead serious.  I am re-running configure 
again to see if something shows up this time.  When I have that, I will send 
it.

praedor


RE: IEEEtran

2003-03-20 Thread Jihène Krichène
I've reconfigured lyx.
can you please tell me what do you mean by doing a techhash ?
--

On Thu, 20 Mar 2003 09:02:54  
 Remzi Seker wrote:
Edit preferences reconfigure lyx
Also did you do a texhash?

-Original Message-
From: Jihhne Krichhne [mailto:[EMAIL PROTECTED] 
Sent: Thursday, March 20, 2003 8:38 AM
To: [EMAIL PROTECTED]
Subject: IEEEtran


Hi
I'm trying to use the IEEEtran package. I've downloaded the .layout and
.cls files from the lyx site. I've followed the help document (the
layout file installation). But, I failed to obtain the class article
(IEEEtran) in the menu layoutdocumentdocument. Do you have any idea ?
and do you know how can I use the .cls file ? Thanks in advance


_
Get 25MB, POP3, Spam Filtering with LYCOS MAIL PLUS for $19.95/year.
http://login.mail.lycos.com/brandPage.shtml?pageId=plusref=lmtplus




_
Get 25MB, POP3, Spam Filtering with LYCOS MAIL PLUS for $19.95/year.
http://login.mail.lycos.com/brandPage.shtml?pageId=plusref=lmtplus


Re: Cannot build lyx-1.3.1qt src rpm

2003-03-20 Thread Praedor Atrebates
OK, I found entries in the latest config.log refering to the qt compile fail.  
It is looking for qt2 libs/includes?!  Surely this isn't a qt2-based 
frontend?  I have specifically pointed it at /usr/lib/qt3 by setting 
QTDIR=/usr/lib/qt3 and using the configure switches specifically telling it 
to go to /usr/lib/qt3/includes and /usr/lib/qt3/libs for all the qt devel 
files.  

Here are the offending config.log entries:

configure:11820: g++ -o conftest -O -fno-exceptions -ftemplate-depth-30 
-Wno-non-template-friend -I/usr/lib/qt3//include -L/usr/lib/qt3//lib  
-isystem /usr/X11R6/include  conftest.cc  -lSM -lICE -lc -lm   
-L/usr/X11R6/lib -lX11  -lqt2 5
/usr/bin/ld: cannot find -lqt2
collect2: ld returned 1 exit status
configure:11823: $? = 1
configure: failed program was:
#line 11793 configure
#include confdefs.h

#include qglobal.h
#include qstring.h

#ifdef F77_DUMMY_MAIN
#  ifdef __cplusplus
 extern C
#  endif
   int F77_DUMMY_MAIN() { return 1; }
#endif
int
main ()
{

QString s(mangle_failure);
#if (QT_VERSION  221)
break_me_(\\);
#endif

  ;
  return 0;
}
configure:11820: g++ -o conftest -O -fno-exceptions -ftemplate-depth-30 
-Wno-non-template-friend -I/usr/lib/qt3//include -L/usr/lib/qt3//lib  
-isystem /usr/X11R6/include  conftest.cc  -lSM -lICE -lc -lm   
-L/usr/X11R6/lib -lX11  -lqt 5
/usr/bin/ld: cannot find -lqt
collect2: ld returned 1 exit status
configure:11823: $? = 1
configure: failed program was:
#line 11793 configure
#include confdefs.h

#include qglobal.h
#include qstring.h

#ifdef F77_DUMMY_MAIN
#  ifdef __cplusplus
 extern C
#  endif
   int F77_DUMMY_MAIN() { return 1; }
#endif
int
main ()
{

QString s(mangle_failure);
#if (QT_VERSION  221)
break_me_(\\);
#endif

  ;
  return 0;
}
configure:11820: g++ -o conftest -O -fno-exceptions -ftemplate-depth-30 
-Wno-non-template-friend -I/usr/lib/qt3//include -L/usr/lib/qt3//lib  
-isystem /usr/X11R6/include  conftest.cc  -lSM -lICE -lc -lm   
-L/usr/X11R6/lib -lX11  -lqt-mt 5
/tmp/cc4TX2WQ.o: In function `main':
/tmp/cc4TX2WQ.o(.text+0x11): undefined reference to `QString::QString(char 
const *)'
/tmp/cc4TX2WQ.o(.text+0x29): undefined reference to `QString::shared_null'
/tmp/cc4TX2WQ.o(.text+0x31): undefined reference to `QString::shared_null'
/tmp/cc4TX2WQ.o(.text+0x3f): undefined reference to 
`QStringData::deleteSelf(void)'
collect2: ld returned 1 exit status
configure:11823: $? = 1
configure: failed program was:
#line 11793 configure
#include confdefs.h

#include qglobal.h
#include qstring.h

#ifdef F77_DUMMY_MAIN
#  ifdef __cplusplus
 extern C
#  endif
   int F77_DUMMY_MAIN() { return 1; }
#endif
int
main ()
{

QString s(mangle_failure);
#if (QT_VERSION  221)
break_me_(\\);
#endif

  ;
  return 0;
}
configure:11850: result: failed
configure:11853: error: Cannot compile a simple Qt executable. Check you have 
the right $QTDIR !


RE: IEEEtran

2003-03-20 Thread I Wayan Warmada

On Thu, 20 Mar 2003, Jihène Krichène wrote:

| I've reconfigured lyx.
| can you please tell me what do you mean by doing a techhash ?

texhash is used if you add new class, package, or font in texmf database.
If not, that is not necessary.

try to run,

$ kpsewhich yourclass.cls

if no answer, you haven't this class. You must download the class then
copy it in the texmf directory, then run texhash, with a simply command:

$ texhash (as a root/superuser)

the last is try to reconfigure the lyx.

Wayan


Re: Cannot build lyx-1.3.1qt src rpm

2003-03-20 Thread John Levon
On Thu, Mar 20, 2003 at 10:22:12AM -0500, Praedor Atrebates wrote:

 -Wno-non-template-friend -I/usr/lib/qt3//include -L/usr/lib/qt3//lib  
 -isystem /usr/X11R6/include  conftest.cc  -lSM -lICE -lc -lm   
 -L/usr/X11R6/lib -lX11  -lqt-mt 5
 /tmp/cc4TX2WQ.o: In function `main':
 /tmp/cc4TX2WQ.o(.text+0x11): undefined reference to `QString::QString(char const *)'

You must use a compiler version that matches the one that compiled your
Qt library.

If you had just given us your config.log in the first place you would
have saved everyone a lot of time.

john


Re: Cannot build lyx-1.3.1qt src rpm

2003-03-20 Thread Praedor Atrebates
On Thursday 20 March 2003 10:25 am, John Levon wrote:
 On Thu, Mar 20, 2003 at 10:22:12AM -0500, Praedor Atrebates wrote:
  -Wno-non-template-friend -I/usr/lib/qt3//include -L/usr/lib/qt3//lib
  -isystem /usr/X11R6/include  conftest.cc  -lSM -lICE -lc -lm
  -L/usr/X11R6/lib -lX11  -lqt-mt 5
  /tmp/cc4TX2WQ.o: In function `main':
  /tmp/cc4TX2WQ.o(.text+0x11): undefined reference to
  `QString::QString(char const *)'

 You must use a compiler version that matches the one that compiled your
 Qt library.

 If you had just given us your config.log in the first place you would
 have saved everyone a lot of time.

What information in the log fragment above indicates a problem with the 
compiler version?  

praedor


Re: Cannot build lyx-1.3.1qt src rpm

2003-03-20 Thread John Levon
On Thu, Mar 20, 2003 at 10:35:29AM -0500, Praedor Atrebates wrote:

 What information in the log fragment above indicates a problem with the 
 compiler version?  

   -Wno-non-template-friend -I/usr/lib/qt3//include -L/usr/lib/qt3//lib
   -isystem /usr/X11R6/include  conftest.cc  -lSM -lICE -lc -lm
   -L/usr/X11R6/lib -lX11  -lqt-mt 5
   /tmp/cc4TX2WQ.o: In function `main':
   /tmp/cc4TX2WQ.o(.text+0x11): undefined reference to `QString::QString(char const 
   *)'
  


That.

john


Re: Really simple question..

2003-03-20 Thread gavron
John Levon wrote:

On Thu, Mar 20, 2003 at 03:30:29AM -0500, gavron wrote:

 

  Item Caption... layout Caption

I wonder if this is possible..?  I had tried using the keyword Layouts 
before this but lyx apprently only recognizes it in the toolbar 
section of the ui config  file..
   

Well, if we had code for it, you could use OptItem. But we don't, so you
can't.
I always remove toolbars  icons because I don't use a mouse and I find 
most icon sets non-standard  rather confusing.. hence in my case at 
least.. counter-productive..  I'm probably not the only one who lacks 
intuition since a lot of apps (lyx included) have tooltips or balloons 
for those of us who're happy w/ the latin alphabet  who'd rather get on 
with using the app rather than solving riddles  ;-)  

Another less opinionated reason is that GUI's in X tend to come in so 
many different  colors, shapes,  sizes... that you end up w/ a desktop 
that looks rather untidy..  By choosing a spartan presentation where I 
can.. I end up with a more integrated  easier-to-manage look  feel.

Another annoying problem is that the accelerators (Alt_p-s for Standard 
- eg.) no longer work..!  Alt-p opens the menu.. but then I have to 
   

Add the accelerator by had, like this :

	Item Caption...|C layout Caption
 

thanks..! will try this rightaway..

Does the qt GUI also have this feature..?  
   

Which feature ?
 

the styles mini-window.. left of the toolbar.. in the xforms version.. 
it's something that takes a bit of getting used to..  somewhat like the 
panner in gv.. and some of the more ancient X GUIs..  I only use KDE 
apps occasionally and I've never seen anything quite like this 
mini-window..  actually I have a feeling that maybe opera has something 
a bit like it...

 

the GUI a simpler more homogeneous look  feel.. (?) the main reason is 
that  I never use a pointing device unless I have to..  and I haven't 
found a way to open the styles' mini-window from the keyboard.
   

M-p space
 

perfect.. I guess I'm trying to learn too fast and I just missed that one..

come to think of it I may stick w/ the default.ui (minus the icons).. 
because on second thoughts this mini-window as I call it..  is more 
of an improvement over a pull down menu since it provides the same 
capability but has the added value of serving as a mini status-bar w/ 
its contents visible at all times w/o having to open it..

I must say that I am so very happy with how customizable LyX is.. and 
how easy it is.. that I got carried away a bit w/ this..  But then 
that's probably the best way to RTFM..??

Thanks a bunch for precious advice..  and your patience w/ novices like 
meself..  

Chris.

 






Re: Really simple question..

2003-03-20 Thread John Levon
On Thu, Mar 20, 2003 at 10:38:41AM -0500, gavron wrote:

 the styles mini-window.. left of the toolbar.. in the xforms version.. 

It's a combo box, and exactly the same as the ones you get in KWord, MS
Word, etc.

 Thanks a bunch for precious advice..  and your patience w/ novices like 
 meself..  

Glad to help those who help themselves :)

regards,
john


Re: Quotatiion marks

2003-03-20 Thread Mirco Dunker
Am Donnerstag, 20. März 2003 13:03 schrieb Andre Poenitz:
 On Thu, Mar 20, 2003 at 01:02:41PM +0100, Mirco Dunker wrote:

 `xxx'

 You can fake them with  ,,xxx``{}

 Andre'

thank you for your answer, that helps


Cannot build lyx-1.3.1qt src rpm

2003-03-20 Thread Milos Komarcevic
I had the same problem rebuilding on the latest Red Hat beta.

The XFree86-devel (and its deps) were missing.

Regards,
Milos


Re: Cannot build lyx-1.3.1qt src rpm

2003-03-20 Thread Praedor Atrebates
On Thursday 20 March 2003 10:38 am, John Levon wrote:
 On Thu, Mar 20, 2003 at 10:35:29AM -0500, Praedor Atrebates wrote:
  What information in the log fragment above indicates a problem with the
  compiler version?
 
-Wno-non-template-friend -I/usr/lib/qt3//include -L/usr/lib/qt3//lib
-isystem /usr/X11R6/include  conftest.cc  -lSM -lICE -lc -lm
-L/usr/X11R6/lib -lX11  -lqt-mt 5
/tmp/cc4TX2WQ.o: In function `main':
/tmp/cc4TX2WQ.o(.text+0x11): undefined reference to `QString::QString(char 
const *)'
 
 

 That.

OK, thank you.  However, changing my compiler hasn't helped.  This is Mandrake 9.0.  
The qt3
libs installed are the stock rpms (qt-3.0.5).  Since the default compiler on a stock 
9.0 install is set
to gcc-3.2, I would assume that the qt3 rpms were built with gcc-3.2.  I WAS using 
2.96 (because 3.2
will not successfully compile the 2.4.19 and 2.4.2* kernels with XFS support (at 
least).  In any case,
I have only 2 options: 2.96 or 3.2.  Switching to 3.2 and trying to rebuild the rpm 
again still fails 
as before.  

praedor


Elsevier layout and authors / thanksref

2003-03-20 Thread Osvaldo Fornaro
Hi list,

I just upgrade my lyx installation to 1.3.1 and notice that Frontmatter style, 
added to elsevier layout to generate frontmatter page did not appear anymore.
I need to add several authors with several address and location to a paper. 
I did this before with red latex code, \author and \thanksref, but now, it is 
not possible to do that, due to is not possible to add an standard paragraph 
between author addrese, etc lines, and adding \thanks or \tanksref in the 
author gives me an error.

How is possible to drive with this problem?

Thank you in advance
Osvaldo



-- 
Dr. Osvaldo Fornaro [EMAIL PROTECTED]
Universidad Nacional del Centro de la Provincia de Buenos Aires
Instituto de Física de Materiales Tandil - CICPBA
Pinto 399 (B7000GHG)
Argentina


Re: [ANNOUNCE] LyX 1.3.1 is released

2003-03-20 Thread Reed Loefgren

On Wed, 19 Mar 2003, Max Bian wrote:

 I am impressed by the time required to compile LyX.  Gcc is slow, but I
 felt it took much shorter time to build linux kernel with all the
 modules.

 Any config time option to speed up the build process besides turning
 off -O2?

 Max


I lurk the list and thought I'd mention my experiences. 1) 1.3.1 compiled
without problems on my Slack system, perhaps because I point out the misc
libs it might need. (This is my way of saying that I think RPMs stink
because you're semi-beholden to a script that might not be what you need.
Try using the raw source; it might be what you need (it was back in my
LinuxPPC days.))

And 2) Who cares how long it takes to compile? Why turn off any
optimizations? You compile once. You use it many times; _that's_ where the
benefits are.

Finally, here's my config string for raw source on Slackware. God knows
Slack's different from RH, so it might not work, but enjoy my largesse ;)

configure --with-extra-lib=/lib:/usr/lib:/usr/X11R6/lib
--with-extra-inc=/usr/include:/usr/src/linux-2.4.20/include

This is all given in the sourcecode tarball the lyx people have been kind
enough to prepare. You may enjoy their largesse too...

rl


Compiling LyX 1.3.1 on Mac OS X (10.2.4)

2003-03-20 Thread Kevin Gross
Hi all,

I am trying to get LyX 1.3.1 to compile on a Mac running OS X (10.2.4).  
 First, has anyone been successful getting 1.3.0 or 1.3.1 to compile  
using Apple's (buggy) gcc3?  Since I was unsuccessful using Apple's  
gcc3 (December 2002 Developer Tools), I decided to try compiling with  
gcc2.  While comfortable in UNIX, I am not a programmer and don't know  
how to proceed past the following error.  Apparently, the code compiled  
successfully, but can't be assembled (linked?).  Below shows what I did  
and output I think is relevant.

% #!/bin/sh
% export CC=gcc2
% export CXX=g++2
% export CPPFLAGS='-no-cpp-precomp'
% export CCACHE_DISABLE=1
% ./configure --with-extra-prefix=/sw:/usr/local
 snip 
Configuration
  Host type:  powerpc-apple-darwin6.4
  Special build flags:xforms-image-loader
  C   Compiler:   gcc2
  C   Compiler flags: -g -O2
  C++ Compiler:   g++2 (2.95.2)
  C++ Compiler flags: -O -Wno-non-template-friend  
-ftemplate-depth-30
  Linker flags:-L/sw/lib -L/usr/local/lib
  Frontend:   xforms
libXpm version:   4.11
libforms version: 1.0.0
  LyX binary dir: /usr/local/bin
  LyX files dir:  /usr/local/share/lyx

Configuration of LyX was successful.
Type 'make' to compile the program,
and then 'make install' to install it.
% make

 snip 
/bin/sh ../libtool --mode=link g++2  -O -Wno-non-template-friend  
-ftemplate-depth-30  -L/sw/lib -L/usr/local/lib -o lyx  BufferView.o  
BufferView_pimpl.o Bullet.o Chktex.o CutAndPaste.o DepTable.o  
FloatList.o Floating.o FuncStatus.o InsetList.o LColor.o LaTeX.o  
LaTeXFeatures.o LyXAction.o MenuBackend.o paragraph_funcs.o  
ParagraphList.o ParagraphParameters.o Spacing.o TextCache.o Thesaurus.o  
ToolbarDefaults.o boost.o boost-inst.o box.o buffer.o bufferlist.o  
bufferparams.o bufferview_funcs.o chset.o converter.o counters.o  
debug.o encoding.o exporter.o gettext.o factory.o funcrequest.o  
importer.o intl.o iterators.o kbmap.o kbsequence.o language.o  
lastfiles.o lengthcommon.o lyx_cb.o lyx_main.o lyx_sty.o lyxcursor.o  
lyxfont.o lyxfind.o lyxfunc.o lyxgluelength.o lyxlayout.o lyxlength.o  
lyxlex.o lyxlex_pimpl.o lyxrc.o lyxrow.o lyxserver.o lyxtextclass.o  
lyxtextclasslist.o lyxvc.o main.o paragraph.o paragraph_pimpl.o  
ispell.o pspell.o sgml.o tabular.o tabular-old.o tabular_funcs.o  
tex-accent.o tex-strings.o texrow.o text.o text2.o text3.o toc.o  
trans.o trans_mgr.o undo.o undo_funcs.o vc-backend.o version.o vspace.o  
mathed/libmathed.la insets/libinsets.la frontends/libfrontends.la  
graphics/libgraphics.la support/libsupport.la  
../boost/libs/regex/src/libboostregex.la  
../boost/libs/signals/src/libboostsignals.la -lintl -liconv-lSM  
-lICE -lc -lm   -L/usr/X11R6/lib -lX11
mkdir .libs
g++2 -O -Wno-non-template-friend -ftemplate-depth-30 -o lyx  
BufferView.o BufferView_pimpl.o Bullet.o Chktex.o CutAndPaste.o  
DepTable.o FloatList.o Floating.o FuncStatus.o InsetList.o LColor.o  
LaTeX.o LaTeXFeatures.o LyXAction.o MenuBackend.o paragraph_funcs.o  
ParagraphList.o ParagraphParameters.o Spacing.o TextCache.o Thesaurus.o  
ToolbarDefaults.o boost.o boost-inst.o box.o buffer.o bufferlist.o  
bufferparams.o bufferview_funcs.o chset.o converter.o counters.o  
debug.o encoding.o exporter.o gettext.o factory.o funcrequest.o  
importer.o intl.o iterators.o kbmap.o kbsequence.o language.o  
lastfiles.o lengthcommon.o lyx_cb.o lyx_main.o lyx_sty.o lyxcursor.o  
lyxfont.o lyxfind.o lyxfunc.o lyxgluelength.o lyxlayout.o lyxlength.o  
lyxlex.o lyxlex_pimpl.o lyxrc.o lyxrow.o lyxserver.o lyxtextclass.o  
lyxtextclasslist.o lyxvc.o main.o paragraph.o paragraph_pimpl.o  
ispell.o pspell.o sgml.o tabular.o tabular-old.o tabular_funcs.o  
tex-accent.o tex-strings.o texrow.o text.o text2.o text3.o toc.o  
trans.o trans_mgr.o undo.o undo_funcs.o vc-backend.o version.o vspace.o  
 -L/sw/lib -L/usr/local/lib mathed/.libs/libmathed.a  
insets/.libs/libinsets.a frontends/.libs/libfrontends.a -lflimage  
-ljpeg -lforms -lXpm graphics/.libs/libgraphics.a  
support/.libs/libsupport.a  
../boost/libs/regex/src/.libs/libboostregex.a  
../boost/libs/signals/src/.libs/libboostsignals.a -lintl -liconv -lSM  
-lICE -lc -lm -L/usr/X11R6/lib -lX11
/usr/bin/ld: warning multiple definitions of symbol _locale_charset
/sw/lib/libintl.dylib(localcharset.lo) definition of _locale_charset
/sw/lib/libiconv.dylib(localcharset.lo) definition of _locale_charset
/usr/bin/ld: Undefined symbols:
__._Q25boostt14reg_expression3ZcZQ25boostt12regex_traits1ZcZt9allocator1 
Zc
___Q25boostt14reg_expression3ZcZQ25boostt12regex_traits1ZcZt9allocator1Z 
cPCcUiRCB2
___Q35boost9re_detailt18match_results_base2ZPCcZt9allocator1ZcRCB1
_allocator__CQ35boost9re_detailt18match_results_base2ZPCcZt9allocator1Zc
_cow__Q35boost9re_detailt18match_results_base2ZPCcZt9allocator1Zc

quotation marks

2003-03-20 Thread Mirco Dunker
Hi,
how nows the TeX command for quotation marks? What do I have to type in to get 
something like this: yes?
greetings 
Mirco



Re: Compiling LyX 1.3.1 on Mac OS X (10.2.4)

2003-03-20 Thread Nirmal Govind

 is successful.  However, if I use gcc2, the same configure script dies  
 with
 
 checking for moc2... not found
 checking for moc... /sw/bin/moc
 checking for uic... /sw/bin/uic
 checking for Qt library name... failed
 configure: error: Cannot compile a simple Qt executable. Check you have  
 the right $QTDIR !

Shouldn't there be a --with-qt-dir=QTdirectoryname also in the configure
options? I think it's looking for the executables moc, uic etc. which would be
in the QT directory which hasn't been specified (only the includes have been
specified) if I'm not too wrong.. 

Have no clue on the other problems you mentioned..

nirmal



Compiling LyX 1.3.1 on Solaris 2.8

2003-03-20 Thread Bo Peng
Hi,

Has anyone successfully compiled lyx-1.3.1 with qt frontend on Solaris 
2.8? I run ./configure with the following options:

  --with-frontend=qt --with-qt-dir=/usr/site/qt

/usr/site/qt seems to be fine:

% ls /usr/site/qt
bin/ext/lib/mkspecs/share@
doc@include/man@plugins/templates/
% ls /usr/site/qt/lib
libeditor.prllibeditor.so.1.0@libqt-mt.so@ libqt-mt.so.3.0.5*   
libqui.so.1@
libeditor.so@libeditor.so.1.0.0*  libqt-mt.so.3@   libqui.prl   
libqui.so.1.0@
libeditor.so.1@  libqt-mt.prl libqt-mt.so.3.0@ libqui.so@   
libqui.so.1.0.0*

but ./configure fails with error message:

checking for shmat... yes
checking for IceConnectionNumber in -lICE... yes
checking for moc2... not found
checking for moc... /usr/site/qt//bin/moc
checking for uic... /usr/site/qt//bin/uic
checking for Qt library name... failed
configure: error: Cannot compile a simple Qt executable. Check you have the right 
$QTDIR !

I have tried to 
setenv QTDIR /usr/site/qt

but this does not help. My gcc version is 3.2.1.

Thanks.

--
Bo Peng



Re: Compiling LyX 1.3.1 on Solaris 2.8

2003-03-20 Thread John Levon
On Thu, Mar 20, 2003 at 12:25:37PM -0600, Bo Peng wrote:

 configure: error: Cannot compile a simple Qt executable. Check you have the right 
 $QTDIR !

We need to see config.log

john


Re: quotation marks

2003-03-20 Thread Christian Ridderström
On Thu, 20 Mar 2003, Mirco Dunker wrote:

 Hi,
 how nows the TeX command for quotation marks? What do I have to type in to get 
 something like this: yes?
 greetings 
 Mirco

I'm not sure what you want to do... but if you want the  character, one 
way to get it is to use the command:
self-insert 
in the mini-buffer (you can get to the mini-buffer by typing A-x, or by 
clicking in it at the bottom of the lyx window)

/Christian

-- 
Christian Ridderström   http://www.md.kth.se/~chr




Re: quotation marks

2003-03-20 Thread John Levon
On Thu, Mar 20, 2003 at 07:43:54PM +0100, Christian Ridderstr?m wrote:

 I'm not sure what you want to do... but if you want the  character, one 
 way to get it is to use the command:
   self-insert 

Or Insert-Special Character-Ordinary Quote

john


  1   2   >