Re: relyx problem - Windows XP

2004-09-02 Thread Jean-Pierre Chretien

Date: Wed, 01 Sep 2004 14:10:13 -0400
From: Colin J. Williams [EMAIL PROTECTED]
To: LyX User List [EMAIL PROTECTED]
Subject: relyx problem - Windows XP

Using relyx to convert a tex file to lyx gives an error message:
   Use of uninitialized value at 
C:/LyX/lyx/share/lyx/reLyX/reLyXmain.pl line 58.
and produces a lyx script which cannot be opened by LyX.

It's a warning, not an error (otherwise perl wouln't run after the
parsing step).

reLyX is shipped with the warning option enabled, here:
$^W = 1; # same as 'perl -w'

Just comment the line to get rid of warnings:
#$^W = 1; # same as 'perl -w'


-- 
Jean-Pierre



Re: Two problems, perhaps unrelated

2004-09-02 Thread Helge Hafting
Colin J. Williams wrote:
Uwe Stöhr wrote:

[...]
You used unicode characters in your document. (Btw. how did you 
managed it?).

The characters × and ÷ were originally from Word Perfect.  The utf-16 
was something I had plugged
in,  guessing at a solution.  It is probably clearer to use the words 
times and divide, which is what I have done

Note that you can use × and ÷ symbols in lyx too, if you use 
insert-math panel
and select them from the symbol set called operators.

Helge Hafting


Re: Two problems, perhaps unrelated

2004-09-02 Thread Uwe Stöhr
Helge Hafting wrote:
Note that you can use × and ÷ symbols in lyx too, if you use 
insert-math panel
and select them from the symbol set called operators.
If you redefined your keyboard layout, so that you are able to insert 
them directly, use the following preamble line

\DeclareInputText{215}{\ifmmode\times\else\texttimes\fi}
This enables switching between math operator and text char, so that you 
can enter the × sign in math and text without problems.
The ÷ doesn't need a special declaration, because LyX sets automatically 
\ensuremath{÷}, when entering the char in text.

regards Uwe


Re: proposal for bug fix vis-a-vis index entries

2004-09-02 Thread Jean-Marc Lasgouttes
 andre == andre poenitz [EMAIL PROTECTED] writes:

andre In other words: Make the index entry inset a real text inset.
andre Certainly feasible and gives you all the power you need.

Except that font changing has to be completely redone. In an index
entry I seem to remember that \textbf{foo} should look like
foo|textbf.

JMarc


Re: proposal for bug fix vis-a-vis index entries

2004-09-02 Thread Jean-Pierre Chretien


Subject: Re: proposal for bug fix vis-a-vis index entries
From: Jean-Marc Lasgouttes [EMAIL PROTECTED]
Date: Thu, 02 Sep 2004 12:00:35 +0200

 andre == andre poenitz [EMAIL PROTECTED] 
writes:

andre In other words: Make the index entry inset a real text inset.
andre Certainly feasible and gives you all the power you need.

Except that font changing has to be completely redone. In an index
entry I seem to remember that \textbf{foo} should look like
foo|textbf.

JMarc

From the manual:

[EMAIL PROTECTED] alpha\/}}{1} 
produces
\item {\it alpha\/}, 1
(so @{foo} transmits foo as is, it
must work with any ERT formatting)  

\indexentry{alpha|bold}{1} 
produces
\item alpha, \bold{1}

so your recollection  seems to apply to the encap | operator, not
to the actual @ operator.

-- 
Jean-Pierre



Re: Problem with \thanks in Author field

2004-09-02 Thread Jean-Marc Lasgouttes
 Bennett == Bennett Helm [EMAIL PROTECTED] writes:

Bennett On Aug 16, 2004, at 10:38 AM, Jean-Marc Lasgouttes wrote:
 Nirmal == Nirmal Govind [EMAIL PROTECTED] writes:

Nirmal Hi.. I'm trying to include the \thanks in the author field but
Nirmal get a couple of errors related to extra brackets. Attached is
Nirmal a sample lyx file. Please let me know what the best way to do
Nirmal this would be..
  Just use a footnote, it should do the right thing.

Bennett Just using a footnote doesn't work with the memoir class --
Bennett I've always had to use \thanks{...} there, which works just
Bennett fine. (Is this a LyX bug? -- should I report it?)

Yes, please report it with a short example file.

JMarc



lyx 1.3.4 compiling problems under cygwin

2004-09-02 Thread Angelo Gargantini
I'm trying to compile lyx.1.3.4 in cygwin.
I use gcc 3.3.3, xforms 1.0 (which I compiled from sources) and an 
updated cygwin distribution

First I got an error compiling Dialog.c, but I switched off the 
optimizations and it worked.

Then, when I link:
g++ -O1 -mms-bitfields -Wl,--export-all-symbols -o lyx.exe
 SKIP
TextCache.o Thesaurus.o ToolbarDefaults.o boost.o boost-inst.o box.o
 SKIP
mathed/.libs/libmathed.a insets/.libs/libinsets.a 
frontends/.libs/libfrontends.a .libs/libimp-cygjpeg-62.a 
/usr/local/lib/libforms.a -lXpm graphics/.libs/libgraphics.a 
support/.libs/libsupport.a ../boost/libs/regex/src/.libs/libboostregex.a 
../boost/libs/signals/src/.libs/libboostsignals.a 
.libs/libimp-cygintl-3.a -L/usr/lib .libs/libimp-cygiconv-2.a -lSM -lICE 
-L/usr/X11R6/lib -lX11

I got the following error:
--
TextCache.o(.ctors+0x0):TextCache.C: undefined reference to 
`__GLOBAL__I__ZN9TextCache7findFitEP6Bufferi'
TextCache.o(.dtors+0x0):TextCache.C: undefined reference to
`__GLOBAL__D__ZN9TextCache7findFitEP6Bufferi'

 skip many other undefined reference
collect2: ld returned 1 exit status
make[2]: *** [lyx.exe] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2

Now, TextCache.o is in the link list, with objdump I see the 
findFitBuffer symbol in TextCache.o and I do not understand the problem.

Is that a problem of gcc, as I think now?
Is there anyone which could compile lyx (last version) under cygwin ?
I searched th mailing lists but this is not clear (at least to me).
I used the last lyx under cygwin -1.3.1 and now I use lyx 1.3.3 for 
qt-win, but I'd like to see lyx compiling under cygwin.

Thanks.
Angelo Gargantini



no DVI item in view menu !!!?

2004-09-02 Thread Hubert




Hello,

The tutorial says to clic on DVI in view menu to see the document

(Run LaTeX to create a dvi file, with View-DVI.)

but there is simply no DVI in the view menu of my installed LyX !!!
(as well as no printing item in file menu !)

see the 2 attached screen capture :
- absence of DVI menu 
- version info

Thanks for any help.

Hubert.


attachment: screenCapture23.pngattachment: screenCapture24.png

Spell check bug? causing Lyx to crash

2004-09-02 Thread Rob S
Hi List;
Win XP Qt version of Lyx.
Can someone confirm this possible bug in the spellcheck function?
Open two documents, both with spelling errors and place the cursor at 
start of each.

Spellcheck document 1.
Then switch documents from the toolbar document button.
At this stage the spellchecker finds the next wrongly spelt word but any 
attempt to correct (F7) causes Lyx to die!

Rob S


Re: Spell check bug? causing Lyx to crash

2004-09-02 Thread Uwe Stöhr
Rob S wrote:
Can someone confirm this possible bug in the spellcheck function?
No, spellchecking works fine for me, in both documents. (tested under 
Win2000 not XP)

But can you confirm the following crash?:
- Try to set 1.5 mm space below a paragraph, with the menu Layout - 
Paragraph. But now type 1,5 instead of 1.5 in the menu field and 
press Enter or choose OK.

As result LyX crashes.
I know, that the comma is not the english decimal separator. But LyX 
shouldn't crash when typing wrong numbers.

thanks in advance and regards
Uwe


Re: no DVI item in view menu !!!?

2004-09-02 Thread Uwe Sthr
Hubert wrote:
The tutorial says to clic on DVI in view menu to see the document
(Run LaTeX to create a dvi file, with View-DVI.)
but there is simply no DVI in the view menu of my installed LyX !!!
(as well as no printing item in file menu !)
Seems that LyX couldn't find your LaTeX distribution. To check this try 
to reconfigure LyX (menu Edit - Reconfigure) and look in the console 
window what happens. Also have a look, if LaTeX is properly installed.

regards Uwe


Re: Spell check bug? causing Lyx to crash

2004-09-02 Thread Paul A. Rubin
Rob S wrote:
Hi List;
Win XP Qt version of Lyx.
Can someone confirm this possible bug in the spellcheck function?
Open two documents, both with spelling errors and place the cursor at 
start of each.

Spellcheck document 1.
Then switch documents from the toolbar document button.
At this stage the spellchecker finds the next wrongly spelt word but any 
attempt to correct (F7) causes Lyx to die!

Rob S
Rob:
Yes, I get the same thing (on Win XP).  I'm not positive, but I may have 
also had LyX crash when spell-checking a second document even if the 
first was error free.

At any rate, I've learned to close all but one document when running 
spellcheck.

-- Paul


Re: Spell check bug? causing Lyx to crash

2004-09-02 Thread Paul A. Rubin
Uwe Stöhr wrote:
Rob S wrote:
Can someone confirm this possible bug in the spellcheck function?

No, spellchecking works fine for me, in both documents. (tested under 
Win2000 not XP)

But can you confirm the following crash?:
- Try to set 1.5 mm space below a paragraph, with the menu Layout - 
Paragraph. But now type 1,5 instead of 1.5 in the menu field and 
press Enter or choose OK.

As result LyX crashes.
I can confirm it (on Win XP).
I know, that the comma is not the english decimal separator. But LyX 
shouldn't crash when typing wrong numbers.
Especially when you're using the metric system.  :-)
-- Paul
thanks in advance and regards
Uwe

--
**
Paul A. RubinPhone: 
   (517) 432-3509
Department of ManagementFax:  (517) 
432-
The Eli Broad Graduate School of ManagementE-mail:   [EMAIL PROTECTED]
Michigan State University 
http://www.msu.edu/~rubin/
East Lansing, MI  48824-1122  (USA)
**
Mathematicians are like Frenchmen:  whenever you say something to them,
they translate it into their own language, and at once it is something
entirely different.J. W. v. GOETHE



Re: Spell check bug? causing Lyx to crash

2004-09-02 Thread Rob S


Yes, I get the same thing (on Win XP).  I'm not positive, but I may 
have also had LyX crash when spell-checking a second document even if 
the first was error free.

At any rate, I've learned to close all but one document when running 
spellcheck.

-- Paul
Thanks Paul for confirming that. Uwe is not seeing it under win 2000 so 
may be it is a Win XP related problem.

I'll wait and see if anyone else confirms it on other platforms before i 
file a bug report.

Rob S



Re: Spell check bug? causing Lyx to crash

2004-09-02 Thread Paul A. Rubin
Rob S wrote:


Yes, I get the same thing (on Win XP).  I'm not positive, but I may 
have also had LyX crash when spell-checking a second document even if 
the first was error free.

At any rate, I've learned to close all but one document when running 
spellcheck.

-- Paul
Thanks Paul for confirming that. Uwe is not seeing it under win 2000 so 
may be it is a Win XP related problem.

I'll wait and see if anyone else confirms it on other platforms before i 
file a bug report.

Rob S
Not positive, but I think I had the spellchecker crash on Win ME when I 
was using that.  OS version is one possible explanation, but we should 
also look at whether Uwe's TeX setup is different from ours -- although 
I'm not sure where to look. Switching between aspell and ispell doesn't 
make the bug go away.  I tried upgrading to the latest GNU version of 
aspell (by swapping in its DLL in the LyX bin directory, and putting its 
data files various places), but no matter what I did LyX said it could 
find the English ('en') dictionary and bailed out of spelling.  So I 
can't tell if it's a problem with the version of aspell we have.

-- Paul



Re: no DVI item in view menu !!!?

2004-09-02 Thread Paul Smith
Uwe Sthr wrote:
The tutorial says to clic on DVI in view menu to see the document
(Run LaTeX to create a dvi file, with View-DVI.)
but there is simply no DVI in the view menu of my installed LyX !!!
(as well as no printing item in file menu !)
Seems that LyX couldn't find your LaTeX distribution. To check this try 
to reconfigure LyX (menu Edit - Reconfigure) and look in the console 
window what happens. Also have a look, if LaTeX is properly installed.
Hubert,
I would like to add the following: maybe you do not have xdvi installed. 
Check it out.

Paul


Equation numbering not functioning correctly - Mac/LyX???

2004-09-02 Thread Adam Treverrow
I'm somewhat new to LyX and have Mac/LyX 1.3.4 running on OS X 10.3.3 
with teTeX.

Using the InsertLabel command to number and label an equation entered 
using the math editor does not appear to work. I have attempted to 
number and label more than one equation in a document. Interestingly, 
whilst the document is open the Label dialog box will recall the 
particualr Label I attach to each equation even though the Labels are 
not displayed in LyX (or when viewed as a pdf). These Labels are not 
retained when the document is closed and reopened.

Attempting to number equations only using EditMathToggle Numbering 
also does not work. I am using the 'article' document class.

I am able to successfully use the above equation numbering techniques 
in the User's Guide help filebut not in any document I create.

I can get the equation numbering to work when equations are entered 
using the following ERT:

\begin{equation}  \end{equation}
I would rather not have enter all equations using tex though. 
Suggestions anyone?

Thanks in advance
AT


Re: relyx problem - Windows XP

2004-09-02 Thread Jean-Pierre Chretien

Date: Wed, 01 Sep 2004 14:10:13 -0400
From: Colin J. Williams [EMAIL PROTECTED]
To: LyX User List [EMAIL PROTECTED]
Subject: relyx problem - Windows XP

Using relyx to convert a tex file to lyx gives an error message:
   Use of uninitialized value at 
C:/LyX/lyx/share/lyx/reLyX/reLyXmain.pl line 58.
and produces a lyx script which cannot be opened by LyX.

It's a warning, not an error (otherwise perl wouln't run after the
parsing step).

reLyX is shipped with the warning option enabled, here:
$^W = 1; # same as 'perl -w'

Just comment the line to get rid of warnings:
#$^W = 1; # same as 'perl -w'


-- 
Jean-Pierre



Re: Two problems, perhaps unrelated

2004-09-02 Thread Helge Hafting
Colin J. Williams wrote:
Uwe Stöhr wrote:

[...]
You used unicode characters in your document. (Btw. how did you 
managed it?).

The characters × and ÷ were originally from Word Perfect.  The utf-16 
was something I had plugged
in,  guessing at a solution.  It is probably clearer to use the words 
times and divide, which is what I have done

Note that you can use × and ÷ symbols in lyx too, if you use 
insert-math panel
and select them from the symbol set called operators.

Helge Hafting


Re: Two problems, perhaps unrelated

2004-09-02 Thread Uwe Stöhr
Helge Hafting wrote:
Note that you can use × and ÷ symbols in lyx too, if you use 
insert-math panel
and select them from the symbol set called operators.
If you redefined your keyboard layout, so that you are able to insert 
them directly, use the following preamble line

\DeclareInputText{215}{\ifmmode\times\else\texttimes\fi}
This enables switching between math operator and text char, so that you 
can enter the × sign in math and text without problems.
The ÷ doesn't need a special declaration, because LyX sets automatically 
\ensuremath{÷}, when entering the char in text.

regards Uwe


Re: proposal for bug fix vis-a-vis index entries

2004-09-02 Thread Jean-Marc Lasgouttes
 andre == andre poenitz [EMAIL PROTECTED] writes:

andre In other words: Make the index entry inset a real text inset.
andre Certainly feasible and gives you all the power you need.

Except that font changing has to be completely redone. In an index
entry I seem to remember that \textbf{foo} should look like
foo|textbf.

JMarc


Re: proposal for bug fix vis-a-vis index entries

2004-09-02 Thread Jean-Pierre Chretien


Subject: Re: proposal for bug fix vis-a-vis index entries
From: Jean-Marc Lasgouttes [EMAIL PROTECTED]
Date: Thu, 02 Sep 2004 12:00:35 +0200

 andre == andre poenitz [EMAIL PROTECTED] 
writes:

andre In other words: Make the index entry inset a real text inset.
andre Certainly feasible and gives you all the power you need.

Except that font changing has to be completely redone. In an index
entry I seem to remember that \textbf{foo} should look like
foo|textbf.

JMarc

From the manual:

[EMAIL PROTECTED] alpha\/}}{1} 
produces
\item {\it alpha\/}, 1
(so @{foo} transmits foo as is, it
must work with any ERT formatting)  

\indexentry{alpha|bold}{1} 
produces
\item alpha, \bold{1}

so your recollection  seems to apply to the encap | operator, not
to the actual @ operator.

-- 
Jean-Pierre



Re: Problem with \thanks in Author field

2004-09-02 Thread Jean-Marc Lasgouttes
 Bennett == Bennett Helm [EMAIL PROTECTED] writes:

Bennett On Aug 16, 2004, at 10:38 AM, Jean-Marc Lasgouttes wrote:
 Nirmal == Nirmal Govind [EMAIL PROTECTED] writes:

Nirmal Hi.. I'm trying to include the \thanks in the author field but
Nirmal get a couple of errors related to extra brackets. Attached is
Nirmal a sample lyx file. Please let me know what the best way to do
Nirmal this would be..
  Just use a footnote, it should do the right thing.

Bennett Just using a footnote doesn't work with the memoir class --
Bennett I've always had to use \thanks{...} there, which works just
Bennett fine. (Is this a LyX bug? -- should I report it?)

Yes, please report it with a short example file.

JMarc



lyx 1.3.4 compiling problems under cygwin

2004-09-02 Thread Angelo Gargantini
I'm trying to compile lyx.1.3.4 in cygwin.
I use gcc 3.3.3, xforms 1.0 (which I compiled from sources) and an 
updated cygwin distribution

First I got an error compiling Dialog.c, but I switched off the 
optimizations and it worked.

Then, when I link:
g++ -O1 -mms-bitfields -Wl,--export-all-symbols -o lyx.exe
 SKIP
TextCache.o Thesaurus.o ToolbarDefaults.o boost.o boost-inst.o box.o
 SKIP
mathed/.libs/libmathed.a insets/.libs/libinsets.a 
frontends/.libs/libfrontends.a .libs/libimp-cygjpeg-62.a 
/usr/local/lib/libforms.a -lXpm graphics/.libs/libgraphics.a 
support/.libs/libsupport.a ../boost/libs/regex/src/.libs/libboostregex.a 
../boost/libs/signals/src/.libs/libboostsignals.a 
.libs/libimp-cygintl-3.a -L/usr/lib .libs/libimp-cygiconv-2.a -lSM -lICE 
-L/usr/X11R6/lib -lX11

I got the following error:
--
TextCache.o(.ctors+0x0):TextCache.C: undefined reference to 
`__GLOBAL__I__ZN9TextCache7findFitEP6Bufferi'
TextCache.o(.dtors+0x0):TextCache.C: undefined reference to
`__GLOBAL__D__ZN9TextCache7findFitEP6Bufferi'

 skip many other undefined reference
collect2: ld returned 1 exit status
make[2]: *** [lyx.exe] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2

Now, TextCache.o is in the link list, with objdump I see the 
findFitBuffer symbol in TextCache.o and I do not understand the problem.

Is that a problem of gcc, as I think now?
Is there anyone which could compile lyx (last version) under cygwin ?
I searched th mailing lists but this is not clear (at least to me).
I used the last lyx under cygwin -1.3.1 and now I use lyx 1.3.3 for 
qt-win, but I'd like to see lyx compiling under cygwin.

Thanks.
Angelo Gargantini



no DVI item in view menu !!!?

2004-09-02 Thread Hubert




Hello,

The tutorial says to clic on DVI in view menu to see the document

(Run LaTeX to create a dvi file, with View-DVI.)

but there is simply no DVI in the view menu of my installed LyX !!!
(as well as no printing item in file menu !)

see the 2 attached screen capture :
- absence of DVI menu 
- version info

Thanks for any help.

Hubert.


attachment: screenCapture23.pngattachment: screenCapture24.png

Spell check bug? causing Lyx to crash

2004-09-02 Thread Rob S
Hi List;
Win XP Qt version of Lyx.
Can someone confirm this possible bug in the spellcheck function?
Open two documents, both with spelling errors and place the cursor at 
start of each.

Spellcheck document 1.
Then switch documents from the toolbar document button.
At this stage the spellchecker finds the next wrongly spelt word but any 
attempt to correct (F7) causes Lyx to die!

Rob S


Re: Spell check bug? causing Lyx to crash

2004-09-02 Thread Uwe Stöhr
Rob S wrote:
Can someone confirm this possible bug in the spellcheck function?
No, spellchecking works fine for me, in both documents. (tested under 
Win2000 not XP)

But can you confirm the following crash?:
- Try to set 1.5 mm space below a paragraph, with the menu Layout - 
Paragraph. But now type 1,5 instead of 1.5 in the menu field and 
press Enter or choose OK.

As result LyX crashes.
I know, that the comma is not the english decimal separator. But LyX 
shouldn't crash when typing wrong numbers.

thanks in advance and regards
Uwe


Re: no DVI item in view menu !!!?

2004-09-02 Thread Uwe Sthr
Hubert wrote:
The tutorial says to clic on DVI in view menu to see the document
(Run LaTeX to create a dvi file, with View-DVI.)
but there is simply no DVI in the view menu of my installed LyX !!!
(as well as no printing item in file menu !)
Seems that LyX couldn't find your LaTeX distribution. To check this try 
to reconfigure LyX (menu Edit - Reconfigure) and look in the console 
window what happens. Also have a look, if LaTeX is properly installed.

regards Uwe


Re: Spell check bug? causing Lyx to crash

2004-09-02 Thread Paul A. Rubin
Rob S wrote:
Hi List;
Win XP Qt version of Lyx.
Can someone confirm this possible bug in the spellcheck function?
Open two documents, both with spelling errors and place the cursor at 
start of each.

Spellcheck document 1.
Then switch documents from the toolbar document button.
At this stage the spellchecker finds the next wrongly spelt word but any 
attempt to correct (F7) causes Lyx to die!

Rob S
Rob:
Yes, I get the same thing (on Win XP).  I'm not positive, but I may have 
also had LyX crash when spell-checking a second document even if the 
first was error free.

At any rate, I've learned to close all but one document when running 
spellcheck.

-- Paul


Re: Spell check bug? causing Lyx to crash

2004-09-02 Thread Paul A. Rubin
Uwe Stöhr wrote:
Rob S wrote:
Can someone confirm this possible bug in the spellcheck function?

No, spellchecking works fine for me, in both documents. (tested under 
Win2000 not XP)

But can you confirm the following crash?:
- Try to set 1.5 mm space below a paragraph, with the menu Layout - 
Paragraph. But now type 1,5 instead of 1.5 in the menu field and 
press Enter or choose OK.

As result LyX crashes.
I can confirm it (on Win XP).
I know, that the comma is not the english decimal separator. But LyX 
shouldn't crash when typing wrong numbers.
Especially when you're using the metric system.  :-)
-- Paul
thanks in advance and regards
Uwe

--
**
Paul A. RubinPhone: 
   (517) 432-3509
Department of ManagementFax:  (517) 
432-
The Eli Broad Graduate School of ManagementE-mail:   [EMAIL PROTECTED]
Michigan State University 
http://www.msu.edu/~rubin/
East Lansing, MI  48824-1122  (USA)
**
Mathematicians are like Frenchmen:  whenever you say something to them,
they translate it into their own language, and at once it is something
entirely different.J. W. v. GOETHE



Re: Spell check bug? causing Lyx to crash

2004-09-02 Thread Rob S


Yes, I get the same thing (on Win XP).  I'm not positive, but I may 
have also had LyX crash when spell-checking a second document even if 
the first was error free.

At any rate, I've learned to close all but one document when running 
spellcheck.

-- Paul
Thanks Paul for confirming that. Uwe is not seeing it under win 2000 so 
may be it is a Win XP related problem.

I'll wait and see if anyone else confirms it on other platforms before i 
file a bug report.

Rob S



Re: Spell check bug? causing Lyx to crash

2004-09-02 Thread Paul A. Rubin
Rob S wrote:


Yes, I get the same thing (on Win XP).  I'm not positive, but I may 
have also had LyX crash when spell-checking a second document even if 
the first was error free.

At any rate, I've learned to close all but one document when running 
spellcheck.

-- Paul
Thanks Paul for confirming that. Uwe is not seeing it under win 2000 so 
may be it is a Win XP related problem.

I'll wait and see if anyone else confirms it on other platforms before i 
file a bug report.

Rob S
Not positive, but I think I had the spellchecker crash on Win ME when I 
was using that.  OS version is one possible explanation, but we should 
also look at whether Uwe's TeX setup is different from ours -- although 
I'm not sure where to look. Switching between aspell and ispell doesn't 
make the bug go away.  I tried upgrading to the latest GNU version of 
aspell (by swapping in its DLL in the LyX bin directory, and putting its 
data files various places), but no matter what I did LyX said it could 
find the English ('en') dictionary and bailed out of spelling.  So I 
can't tell if it's a problem with the version of aspell we have.

-- Paul



Re: no DVI item in view menu !!!?

2004-09-02 Thread Paul Smith
Uwe Sthr wrote:
The tutorial says to clic on DVI in view menu to see the document
(Run LaTeX to create a dvi file, with View-DVI.)
but there is simply no DVI in the view menu of my installed LyX !!!
(as well as no printing item in file menu !)
Seems that LyX couldn't find your LaTeX distribution. To check this try 
to reconfigure LyX (menu Edit - Reconfigure) and look in the console 
window what happens. Also have a look, if LaTeX is properly installed.
Hubert,
I would like to add the following: maybe you do not have xdvi installed. 
Check it out.

Paul


Equation numbering not functioning correctly - Mac/LyX???

2004-09-02 Thread Adam Treverrow
I'm somewhat new to LyX and have Mac/LyX 1.3.4 running on OS X 10.3.3 
with teTeX.

Using the InsertLabel command to number and label an equation entered 
using the math editor does not appear to work. I have attempted to 
number and label more than one equation in a document. Interestingly, 
whilst the document is open the Label dialog box will recall the 
particualr Label I attach to each equation even though the Labels are 
not displayed in LyX (or when viewed as a pdf). These Labels are not 
retained when the document is closed and reopened.

Attempting to number equations only using EditMathToggle Numbering 
also does not work. I am using the 'article' document class.

I am able to successfully use the above equation numbering techniques 
in the User's Guide help filebut not in any document I create.

I can get the equation numbering to work when equations are entered 
using the following ERT:

\begin{equation}  \end{equation}
I would rather not have enter all equations using tex though. 
Suggestions anyone?

Thanks in advance
AT


Re: relyx problem - Windows XP

2004-09-02 Thread Jean-Pierre Chretien

>>Date: Wed, 01 Sep 2004 14:10:13 -0400
>>From: "Colin J. Williams" <[EMAIL PROTECTED]>
>>To: LyX User List <[EMAIL PROTECTED]>
>>Subject: relyx problem - Windows XP
>>
>>Using relyx to convert a tex file to lyx gives an error message:
>>   Use of uninitialized value at 
>>C:/LyX/lyx/share/lyx/reLyX/reLyXmain.pl line 58.
>>and produces a lyx script which cannot be opened by LyX.

It's a warning, not an error (otherwise perl wouln't run after the
parsing step).

reLyX is shipped with the warning option enabled, here:
$^W = 1; # same as 'perl -w'

Just comment the line to get rid of warnings:
#$^W = 1; # same as 'perl -w'


-- 
Jean-Pierre



Re: Two problems, perhaps unrelated

2004-09-02 Thread Helge Hafting
Colin J. Williams wrote:
Uwe Stöhr wrote:

[...]
You used unicode characters in your document. (Btw. how did you 
managed it?).

The characters × and ÷ were originally from Word Perfect.  The utf-16 
was something I had plugged
in,  guessing at a solution.  It is probably clearer to use the words 
"times" and "divide", which is what I have done

Note that you can use "×" and "÷" symbols in lyx too, if you use 
"insert->math panel"
and select them from the symbol set called "operators".

Helge Hafting


Re: Two problems, perhaps unrelated

2004-09-02 Thread Uwe Stöhr
Helge Hafting wrote:
Note that you can use "×" and "÷" symbols in lyx too, if you use 
"insert->math panel"
and select them from the symbol set called "operators".
If you redefined your keyboard layout, so that you are able to insert 
them directly, use the following preamble line

\DeclareInputText{215}{\ifmmode\times\else\texttimes\fi}
This enables switching between math operator and text char, so that you 
can enter the × sign in math and text without problems.
The ÷ doesn't need a special declaration, because LyX sets automatically 
\ensuremath{÷}, when entering the char in text.

regards Uwe


Re: proposal for bug fix vis-a-vis index entries

2004-09-02 Thread Jean-Marc Lasgouttes
> "andre" == andre poenitz <[EMAIL PROTECTED]> writes:

andre> In other words: "Make the index entry inset a real text inset".
andre> Certainly feasible and gives you all the power you need.

Except that font changing has to be completely redone. In an index
entry I seem to remember that \textbf{foo} should look like
foo|textbf.

JMarc


Re: proposal for bug fix vis-a-vis index entries

2004-09-02 Thread Jean-Pierre Chretien


>>Subject: Re: proposal for bug fix vis-a-vis index entries
>>From: Jean-Marc Lasgouttes <[EMAIL PROTECTED]>
>>Date: Thu, 02 Sep 2004 12:00:35 +0200
>>
>>> "andre" == andre poenitz <[EMAIL PROTECTED]> 
writes:
>>
>>andre> In other words: "Make the index entry inset a real text inset".
>>andre> Certainly feasible and gives you all the power you need.
>>
>>Except that font changing has to be completely redone. In an index
>>entry I seem to remember that \textbf{foo} should look like
>>foo|textbf.
>>
>>JMarc

>From the manual:

[EMAIL PROTECTED] alpha\/}}{1} 
produces
\item {\it alpha\/}, 1
(so @{foo} transmits foo as is, it
must work with any ERT formatting)  

\indexentry{alpha|bold}{1} 
produces
\item alpha, \bold{1}

so your recollection  seems to apply to the encap "|" operator, not
to the actual "@" operator.

-- 
Jean-Pierre



Re: Problem with \thanks in Author field

2004-09-02 Thread Jean-Marc Lasgouttes
> "Bennett" == Bennett Helm <[EMAIL PROTECTED]> writes:

Bennett> On Aug 16, 2004, at 10:38 AM, Jean-Marc Lasgouttes wrote:
>>> "Nirmal" == Nirmal Govind <[EMAIL PROTECTED]> writes:
>>
Nirmal> Hi.. I'm trying to include the \thanks in the author field but
Nirmal> get a couple of errors related to extra brackets. Attached is
Nirmal> a sample lyx file. Please let me know what the best way to do
Nirmal> this would be..
>>  Just use a footnote, it should do the right thing.

Bennett> Just using a footnote doesn't work with the memoir class --
Bennett> I've always had to use "\thanks{...}" there, which works just
Bennett> fine. (Is this a LyX bug? -- should I report it?)

Yes, please report it with a short example file.

JMarc



lyx 1.3.4 compiling problems under cygwin

2004-09-02 Thread Angelo Gargantini
I'm trying to compile lyx.1.3.4 in cygwin.
I use gcc 3.3.3, xforms 1.0 (which I compiled from sources) and an 
updated cygwin distribution

First I got an error compiling Dialog.c, but I switched off the 
optimizations and it worked.

Then, when I link:
g++ -O1 -mms-bitfields -Wl,--export-all-symbols -o lyx.exe
>> SKIP
TextCache.o Thesaurus.o ToolbarDefaults.o boost.o boost-inst.o box.o
>> SKIP
mathed/.libs/libmathed.a insets/.libs/libinsets.a 
frontends/.libs/libfrontends.a .libs/libimp-cygjpeg-62.a 
/usr/local/lib/libforms.a -lXpm graphics/.libs/libgraphics.a 
support/.libs/libsupport.a ../boost/libs/regex/src/.libs/libboostregex.a 
../boost/libs/signals/src/.libs/libboostsignals.a 
.libs/libimp-cygintl-3.a -L/usr/lib .libs/libimp-cygiconv-2.a -lSM -lICE 
-L/usr/X11R6/lib -lX11

I got the following error:
--
TextCache.o(.ctors+0x0):TextCache.C: undefined reference to 
`__GLOBAL__I__ZN9TextCache7findFitEP6Bufferi'
TextCache.o(.dtors+0x0):TextCache.C: undefined reference to
`__GLOBAL__D__ZN9TextCache7findFitEP6Bufferi'

>>> skip many other undefined reference
collect2: ld returned 1 exit status
make[2]: *** [lyx.exe] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2

Now, TextCache.o is in the link list, with objdump I see the 
findFitBuffer symbol in TextCache.o and I do not understand the problem.

Is that a problem of gcc, as I think now?
Is there anyone which could compile lyx (last version) under cygwin ?
I searched th mailing lists but this is not clear (at least to me).
I used the last lyx under cygwin -1.3.1 and now I use lyx 1.3.3 for 
qt-win, but I'd like to see lyx compiling under cygwin.

Thanks.
Angelo Gargantini



no DVI item in "view" menu !!!?

2004-09-02 Thread Hubert




Hello,

The tutorial says to clic on DVI in view menu to see the document

("Run LaTeX to create a dvi file, with View->DVI.")

but there is simply no DVI in the view menu of my installed LyX !!!
(as well as no printing item in file menu !)

see the 2 attached screen capture :
- absence of DVI menu  
- version info

Thanks for any help.

Hubert.


<><>

Spell check bug? causing Lyx to crash

2004-09-02 Thread Rob S
Hi List;
Win XP Qt version of Lyx.
Can someone confirm this possible bug in the spellcheck function?
Open two documents, both with spelling errors and place the cursor at 
start of each.

Spellcheck document 1.
Then switch documents from the toolbar "document" button.
At this stage the spellchecker finds the next wrongly spelt word but any 
attempt to correct (F7) causes Lyx to die!

Rob S


Re: Spell check bug? causing Lyx to crash

2004-09-02 Thread Uwe Stöhr
Rob S wrote:
Can someone confirm this possible bug in the spellcheck function?
No, spellchecking works fine for me, in both documents. (tested under 
Win2000 not XP)

But can you confirm the following crash?:
- Try to set 1.5 mm space below a paragraph, with the menu Layout -> 
Paragraph. But now type "1,5" instead of "1.5" in the menu field and 
press Enter or choose OK.

As result LyX crashes.
I know, that the comma is not the english decimal separator. But LyX 
shouldn't crash when typing wrong numbers.

thanks in advance and regards
Uwe


Re: no DVI item in "view" menu !!!?

2004-09-02 Thread Uwe Stöhr
Hubert wrote:
The tutorial says to clic on DVI in view menu to see the document
("Run LaTeX to create a dvi file, with View->DVI.")
but there is simply no DVI in the view menu of my installed LyX !!!
(as well as no printing item in file menu !)
Seems that LyX couldn't find your LaTeX distribution. To check this try 
to reconfigure LyX (menu Edit -> Reconfigure) and look in the console 
window what happens. Also have a look, if LaTeX is properly installed.

regards Uwe


Re: Spell check bug? causing Lyx to crash

2004-09-02 Thread Paul A. Rubin
Rob S wrote:
Hi List;
Win XP Qt version of Lyx.
Can someone confirm this possible bug in the spellcheck function?
Open two documents, both with spelling errors and place the cursor at 
start of each.

Spellcheck document 1.
Then switch documents from the toolbar "document" button.
At this stage the spellchecker finds the next wrongly spelt word but any 
attempt to correct (F7) causes Lyx to die!

Rob S
Rob:
Yes, I get the same thing (on Win XP).  I'm not positive, but I may have 
also had LyX crash when spell-checking a second document even if the 
first was error free.

At any rate, I've learned to close all but one document when running 
spellcheck.

-- Paul


Re: Spell check bug? causing Lyx to crash

2004-09-02 Thread Paul A. Rubin
Uwe Stöhr wrote:
Rob S wrote:
Can someone confirm this possible bug in the spellcheck function?

No, spellchecking works fine for me, in both documents. (tested under 
Win2000 not XP)

But can you confirm the following crash?:
- Try to set 1.5 mm space below a paragraph, with the menu Layout -> 
Paragraph. But now type "1,5" instead of "1.5" in the menu field and 
press Enter or choose OK.

As result LyX crashes.
I can confirm it (on Win XP).
I know, that the comma is not the english decimal separator. But LyX 
shouldn't crash when typing wrong numbers.
Especially when you're using the metric system.  :-)
-- Paul
thanks in advance and regards
Uwe

--
**
Paul A. RubinPhone: 
   (517) 432-3509
Department of ManagementFax:  (517) 
432-
The Eli Broad Graduate School of ManagementE-mail:   [EMAIL PROTECTED]
Michigan State University 
http://www.msu.edu/~rubin/
East Lansing, MI  48824-1122  (USA)
**
Mathematicians are like Frenchmen:  whenever you say something to them,
they translate it into their own language, and at once it is something
entirely different.J. W. v. GOETHE



Re: Spell check bug? causing Lyx to crash

2004-09-02 Thread Rob S


Yes, I get the same thing (on Win XP).  I'm not positive, but I may 
have also had LyX crash when spell-checking a second document even if 
the first was error free.

At any rate, I've learned to close all but one document when running 
spellcheck.

-- Paul
Thanks Paul for confirming that. Uwe is not seeing it under win 2000 so 
may be it is a Win XP related problem.

I'll wait and see if anyone else confirms it on other platforms before i 
file a bug report.

Rob S



Re: Spell check bug? causing Lyx to crash

2004-09-02 Thread Paul A. Rubin
Rob S wrote:


Yes, I get the same thing (on Win XP).  I'm not positive, but I may 
have also had LyX crash when spell-checking a second document even if 
the first was error free.

At any rate, I've learned to close all but one document when running 
spellcheck.

-- Paul
Thanks Paul for confirming that. Uwe is not seeing it under win 2000 so 
may be it is a Win XP related problem.

I'll wait and see if anyone else confirms it on other platforms before i 
file a bug report.

Rob S
Not positive, but I think I had the spellchecker crash on Win ME when I 
was using that.  OS version is one possible explanation, but we should 
also look at whether Uwe's TeX setup is different from ours -- although 
I'm not sure where to look. Switching between aspell and ispell doesn't 
make the bug go away.  I tried upgrading to the latest GNU version of 
aspell (by swapping in its DLL in the LyX bin directory, and putting its 
data files various places), but no matter what I did LyX said it could 
find the English ('en') dictionary and bailed out of spelling.  So I 
can't tell if it's a problem with the version of aspell we have.

-- Paul



Re: no DVI item in "view" menu !!!?

2004-09-02 Thread Paul Smith
Uwe StÃhr wrote:
The tutorial says to clic on DVI in view menu to see the document
("Run LaTeX to create a dvi file, with View->DVI.")
but there is simply no DVI in the view menu of my installed LyX !!!
(as well as no printing item in file menu !)
Seems that LyX couldn't find your LaTeX distribution. To check this try 
to reconfigure LyX (menu Edit -> Reconfigure) and look in the console 
window what happens. Also have a look, if LaTeX is properly installed.
Hubert,
I would like to add the following: maybe you do not have xdvi installed. 
Check it out.

Paul


Equation numbering not functioning correctly - Mac/LyX???

2004-09-02 Thread Adam Treverrow
I'm somewhat new to LyX and have Mac/LyX 1.3.4 running on OS X 10.3.3 
with teTeX.

Using the Insert>Label command to number and label an equation entered 
using the math editor does not appear to work. I have attempted to 
number and label more than one equation in a document. Interestingly, 
whilst the document is open the Label dialog box will recall the 
particualr Label I attach to each equation even though the Labels are 
not displayed in LyX (or when viewed as a pdf). These Labels are not 
retained when the document is closed and reopened.

Attempting to number equations only using Edit>Math>Toggle Numbering 
also does not work. I am using the 'article' document class.

I am able to successfully use the above equation numbering techniques 
in the User's Guide help filebut not in any document I create.

I can get the equation numbering to work when equations are entered 
using the following ERT:

\begin{equation}  \end{equation}
I would rather not have enter all equations using tex though. 
Suggestions anyone?

Thanks in advance
AT