Compiling error....

2000-06-22 Thread Daniel Aberg


Hi!

I'm trying to compile Lyx 1.1.5 on a Intel/Solaris 2.5 with gcc 2.95.
configure seems to work, with output
Configuration:

  Source code location:   .
  C++ Compiler:   g++
  C++ Compiler flags: -g -O2 -fno-rtti -fno-exceptions
  C   Compiler:   gcc
  C   Compiler flags: -g -O2
  LyX binary dir: /tmp/lyx/bin
  LyX files dir:  /tmp/lyx/share/lyx
  Special flags:   included-string


As I enter 'make' I get the message 'ANSI C++ forbids...'. (see below)
I've seen a lot of this on the mail-list, but I can't seem to get it
right


Making all in mathed
/bin/sh ../../libtool --mode=compile g++ -DHAVE_CONFIG_H -I. -I.
-I../../src -I../../images -I./../  -I/usr/include/
-I/opt/Summertime_97.i386/include/X11/  -I/usr/local/include/g++-3
-I/usr/openwin/include  -g -O2 -fno-rtti -fno-exceptions -c formula.C
g++ -DHAVE_CONFIG_H -I. -I. -I../../src -I../../images -I./../
-I/usr/include/ -I/opt/Summertime_97.i386/include/X11/
-I/usr/local/include/g++-3 -I/usr/openwin/include -g -O2 -fno-rtti
-fno-exceptions -c formula.C -o formula.o
In file included from ../../src/insets/lyxinset.h:20,
 from formula.h:26,
 from formula.C:29:
/usr/openwin/include/X11/Xlib.h:1894: ANSI C++ forbids declaration
`XSetTransientForHint' with no type

__
Daniel Åberg
Dept. of Physics and Mathematics, Mid Sweden University, 
E-mail: [EMAIL PROTECTED]
Phone: +46 60 148404





Re: 2up.tex in Lyx

2000-06-22 Thread Jean-Marc Lasgouttes

> "Herbert" == Herbert Voss <[EMAIL PROTECTED]> writes:

Herbert> John Culleton wrote:
>>  I normally do long documents, pamphlets etc. in plain TeX. I am
>> trying to do a pamphlet using Lyx. When I insert the \input 2up.tex
>> statement I get strange error messages at the end of the file.
>> However if I export a Latex file and insert the statement just
>> after the \begin{document} tag using vim it works fine. Is there a
>> basic incompatiblility between Lyx and 2up.tex? Or is there a trick
>> to getting it in the file right after the \begin{document} tag?

Herbert> write \input 2up as the first line in tex, means red. click
Herbert> on the texsymbol, type input ... and click again on the
Herbert> texsymbol or mark \input... and click on texsymbol.

Or rather add to the preamble
  \AtBeginDocument{\input{2up}}

LaTeX2e has a lot of useful commands indeed:)

JMarc



[dfinlays@u.washington.edu] Feedback from www.lyx.org

2000-06-22 Thread Lars Gullik Bjønnes

--- Start of forwarded message ---
Date: Wed, 21 Jun 2000 20:28:50 +0200
Message-Id: <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
Subject: Feedback from www.lyx.org
FROM: [EMAIL PROTECTED]


David Finalyson ([EMAIL PROTECTED]) entered the 
following feedback message on the LyX home page:


Just thought I would give you my two cents:

I recently wrote a paper that included several pages of mathematical
typesetting.  LyX did great on this, but I found that the way the
cursor scrolls through equation arrays is rather awkward (I may need
more tutoring here, I\'m new to LyX).  

Say I have three lines in my equation array, when I scroll into the
array from the text above, the cursor starts on line 2 of the array.
If I keep scrolling to the right, it pops out of the equation
environment at the right hand side of line 2, it never goes through
lines 1 or 3 at all (without hitting the up or down arrows).  If all I
were doing is traversing across the array, it makes more sense to
CTRL+right arrow and jump clean over the array.  On the other hand, if
I choose to enter the array I am telling LyX that I am going to EDIT
the array.  In this case, the traversal pattern would make more sense
if it started at either the top, left corner of the array or the
bottom right corner (depending on whether you entered from above or
below the array) and then traversed line-by-line through the array
until exiting at the opposite corner.

The way it is:The way I would like it:


+.+   --> + --> --> --> --> +
 
--> + --> --> --> --> + -->   + --> --> --> --> +

+.+   + --> --> --> --> + -->


This pattern has the advantage that it is much easier to scroll
through the equation with the keyboard, and, it\'s not popping out of the
array and forcing a lot of key strokes to return to off-center lines.

Thanks for a great product!

--- End of forwarded message ---



Re: Equation Arrays (Multiline Equations Addendum)

2000-06-22 Thread Jean-Marc Lasgouttes

> "Alexander" == Alexander M Budge <[EMAIL PROTECTED]> writes:

Alexander> For a math array, is there a way from LyX to add the
Alexander> intercolumn format specifiers @{...}? It would be nice if
Alexander> these could be entered in the "create array" dialog box. It
Alexander> would also be nice to be able to edit this information, so
Alexander> one does not have to create a new equation in order to
Alexander> modify these attributes.

Unfortunately, the support for math array is a bit basic now. We'll
have to see what the new-and-improved mathed brings us.

JMarc



Q: Reference to appendix label inserts a leading hypen

2000-06-22 Thread Tuna Tugcu


   I'm just a newbie in Lyx. Sorry for the simple question but I
couldn't find the answer in the mail archieve.
   I am writing an article in IEEEtran format and I want to refer to
numereous appendices. I have added a label to the heading of each
appendix. However, when I insert a reference to one of these labels
somewhere in the text, I get a hypen before the appendix number. For
example, I want "Appendix A", but I get "Appendix-A". This becomes
annoying in some circumstances.
   Thanks in advance.

   Best regards,
   Tuna



redefinition of `class exception'

2000-06-22 Thread Daniel Aberg


Hi again..

Compiling lyx-1.1.5 on Intel/solaris 2.5 using gcc 2.95, and NOW the
trouble when running 'make' goes something like this:

In file included from /usr/local/include/g++-3/cmath:7,
 from figinset.C:44:
/usr/include/math.h:75: redefinition of `class exception'
/usr/local/lib/gcc-lib/i386-pc-solaris2.5/2.95.2/include/exception:18:
previous definition here
/usr/include/math.h:81: confused by earlier errors, bailing out

Does anybody know how to handle this one?

/daniel

__
Daniel Åberg
Dept. of Physics and Mathematics, Mid Sweden University, 
E-mail: [EMAIL PROTECTED]
Phone: +46 60 148404





Frame boxs

2000-06-22 Thread Aviv Nisgav

Is there a way to frame a paragraph in lyx, or should I use the TeX
\fbox{TEXT} ??

Thank
Aviv




Compiling on Alpha/Tru64 Unix.

2000-06-22 Thread Clemmitt Sigler

Hi,

I'm trying to compile lyx 1.1.5 on Alpha Tru64 Unix/Digital Unix.  Older
versions (1.0.3 is the last I tried) compiled fine with gcc/g++.  Now
that the code base has been extensively reworked, a lot of include files
aren't found (or may have different names) on this platform.

Has anyone gotten the recent versions of lyx to compile under Tru64?
If so and you would be kind enough to help me, please reply to me
privately.  Thanks.

Clemmitt Sigler
Va. Tech Physics Dept.




Re: Compiling on Alpha/Tru64 Unix.

2000-06-22 Thread Jean-Marc Lasgouttes

> "Clemmitt" == Clemmitt Sigler <[EMAIL PROTECTED]> writes:

Clemmitt> Hi, I'm trying to compile lyx 1.1.5 on Alpha Tru64
Clemmitt> Unix/Digital Unix. Older versions (1.0.3 is the last I
Clemmitt> tried) compiled fine with gcc/g++. Now that the code base
Clemmitt> has been extensively reworked, a lot of include files aren't
Clemmitt> found (or may have different names) on this platform.

Clemmitt> Has anyone gotten the recent versions of lyx to compile
Clemmitt> under Tru64? If so and you would be kind enough to help me,
Clemmitt> please reply to me privately. Thanks.

First tip: you need gcc >= 2.8.1 or cxx >= 6.1. Compilation with gcc
is straightforward provided you have libstdc++ installed, compilation
with cxx requires a bit more know-how.

As a matter of fact I use Tru64 4.0f as development environment, so I
am pretty confident that it works.


JMarc



Re: Frame boxs

2000-06-22 Thread Herbert Voss

Aviv Nisgav wrote:
> 
> Is there a way to frame a paragraph in lyx, or should I use the TeX
> \fbox{TEXT} ??


\fbox{\parbox{\columnwidth}{

...LyX-text ...

}}

in tex(red) if you want the whole paragraph boxed.

Herbert

-- 
[EMAIL PROTECTED]
http://perce.de/voss



Re: Q: Reference to appendix label inserts a leading hypen

2000-06-22 Thread Herbert Voss

Tuna Tugcu wrote:
> 
>I'm just a newbie in Lyx. Sorry for the simple question but I
> couldn't find the answer in the mail archieve.
>I am writing an article in IEEEtran format and I want to refer to
> numereous appendices. I have added a label to the heading of each
> appendix. However, when I insert a reference to one of these labels
> somewhere in the text, I get a hypen before the appendix number. For
> example, I want "Appendix A", but I get "Appendix-A". This becomes
> annoying in some circumstances.

from my point of view, it's ieee-specific. 

HErbert

-- 
[EMAIL PROTECTED]
http://perce.de/voss



Re: [sheldon@hostopia.com] Feedback from www.lyx.org

2000-06-22 Thread Jose Abilio Oliveira Matos

On Wed, Jun 21, 2000 at 02:44:05PM +0200, Lars Gullik Bjønnes wrote:
> --- Start of forwarded message ---
> Date: Wed, 21 Jun 2000 14:32:21 +0200
> Message-Id: <[EMAIL PROTECTED]>
> To: [EMAIL PROTECTED]
> Subject: Feedback from www.lyx.org
> FROM: [EMAIL PROTECTED]
> 
> 
> Sheldon Page ([EMAIL PROTECTED]) entered the 
> following feedback message on the LyX home page:
> 
> 
> After reading the  LDP\'s HOWTO-HOWTO, I am interested in using Lyx to 
> produce DocBook SGML. The HOWTO indicates that I can export to DocBook
> but my version of Lyx does not seem to support it (1.1.4 fix1 - 
> included with SuSE 6.4). I checked all the docs and found no reference 
> to DocBook. I would appreciate some advice.

  Please try the 1.1.5 version that is the latest stable.

  With that version docbook will work if you have the docbook packages installed.

  If you have further question don't hesitate to ask.
 
> Thank-you in advance,
> 
> 
> Sheldon Page
> 
> --- End of forwarded message ---

-- 
José



Re: Win32 and DocBook

2000-06-22 Thread Jose Abilio Oliveira Matos

On Wed, Jun 21, 2000 at 08:22:47AM -0700, noyes wrote:
> I'm creating a DocBook document with people using the LyX Win32 port. They 
> are having some setup problems. Specifically, when I send them an LyX file 
> with the Document Layout Class of "SGML (DocBook article) it shows up on 
> their system as "article". Are there instructions for this setup? Will LyX 
> recognize the Win32 version of OpenJade?
 
  That shows that the autoconfiguration fails.

  And do those people use the bare openjade, with all the arguments everytime
the call it? Do they use any wrapper?

  If you provide some more info I'm sure we could do that.

  One possible solution is to detect openjade and then set the lyxrc variables
that are present since 1.1.5. Do you know how to do it in a general way?

\docbook_to_dvi_command
\docbook_to_html_command

> Current environment:
> LyX Win32 v1.1.5
> MiKTeX
> X-Win32 Demo
> 
> --
> Mike Noyes| LRP Materhorn
> [EMAIL PROTECTED] | 1722-eth_PPP_QoS

-- 
José



Re: Finishing with lyx in suse 6.4

2000-06-22 Thread Ralf Corsepius

Angus Leeming wrote:
> 
> Ralf> > - And finally, tonight, I reached with the rpm packages for suse (thanks 
>again, Peter).
> Ralf> Do they contain shared versions of xforms-0.89 or link statically
> Ralf> against xforms-0.88? I had to replace the SuSE's shared xforms-0.88
> Ralf> libraries with the original xforms-0.89, because lyx-1.1.5 dumps
> Ralf> core badly (somewhere in xforms) for me (SuSE-6.4) when lyx is
> Ralf> dynamically linked against SuSE's xforms-0.88.
> 
> Ahhh! But if you compiled the code with xforms-0.89 header files and then try
> to execute a lyx that is dynamically linked against xforms-0.88, then you will
> core dump because the header files are incompatible.

You seem to be right :)

I just rebuilt lyx-1.1.5 once against xforms-0.89 and once against
xforms-0.88.1 as it comes with SuSE-6.4. 

Big surprize: Both versions seem to work now. 

However, I don't have any explanation for the core dumps I had
experienced (Lyx dumped core right at the startup). I am sure I did
not have mixed libraries and headers, because the core dumps had
caused me to upgrade xforms and I didn't have xforms-0.89 before :) 

Now, I am wondering, what might have caused the problems (I upgraded
to XFree4.0 since then, it comes with a new libxpm).

Ralf

-- 
Ralf Corsepius 
Forschungsinstitut fuer Anwendungsorientierte Wissensverarbeitung
(FAW)
Helmholtzstr. 16, 89081 Ulm, Germany Tel: +49/731/501-8690
mailto:[EMAIL PROTECTED]   FAX: +49/731/501-999  
http://www.faw.uni-ulm.de



1.1.6cvs bug: problem with visibility of the cursor

2000-06-22 Thread R. Lahaye


Hi,

[Maybe this should go to the lyx-devel list, but I'm
not a member of that (too much load on my mail box)]

I'm running the 1.1.6cvs (as of June 6th) w/ xforms 0.88.1-1
and I've noticed problems with the blinking-cursor on the canvas
of the main window (this problem is NOT in the 1.1.5 version).

When I hit the the  key, to start a new paragraph,
the blinking cursor is not there anymore. I have to additionally
click with the mouse to make the cursor visible again.

Also: the cursor sometimes just disappears when I go to another
place in the text using the mouse; I need to do some extra mouse
clicks for the cursor to "come back" again.
Unfortunately the latter is not so easy to reproduce.

Regards,

Rob.



Recognize IEEEtran.cls?

2000-06-22 Thread RSPL1_Lin Sheng Li

Hi, everyone:

I  do not know how to let  teTex on Unix to recognize the IEEEtran.cls
(an example) in own my dir ( not the super-user,so can not write into
the usr/local/... where teTex installed). If it's Latex, modify
TEXINPUTS , all is ok, but it did not work in this case. I have read all
relative posts here and tried this, but still now this problem is still
not solved.

Anyone could give your  help?




Re: Recognize IEEEtran.cls?

2000-06-22 Thread Kayvan A. Sylvan

On Fri, Jun 23, 2000 at 11:55:43AM +0800, RSPL1_Lin Sheng Li wrote:
> Hi, everyone:
> 
> I  do not know how to let  teTex on Unix to recognize the IEEEtran.cls
> (an example) in own my dir ( not the super-user,so can not write into
> the usr/local/... where teTex installed). If it's Latex, modify
> TEXINPUTS , all is ok, but it did not work in this case. I have read all
> relative posts here and tried this, but still now this problem is still
> not solved.
> 
> Anyone could give your  help?

What happens when you set your TEXINPUTS?

Here's my TEXINPUTS, and this sort of thing works for me:

.:/home/kayvan/src/tex/sty:!!/usr/share/texmf/{tex,pdftex}/{generic,}//

---Kayvan
-- 
Kayvan A. Sylvan   | Proud husband of  | Father to my kids:
Sylvan Associates, Inc.| Laura Isabella Sylvan | Katherine Yelena
http://www.successlinks.com/kayvan | Reach your goals now! | Robin Gregory