Re: Install

2001-07-25 Thread Olivier Tubach



 Because I use their distro only seldom. If the KDE people would use proper
 C++ I'd probably have come to that decision much earlier due to the support
 for that other toolkit...


Why not rewrite lyx with qt ( http://www.trolltech.com ) : it would run on
windows natively (lyx + cygwin can't be compared to any other professional
windows application), on macOsX, and all the X11-unixes.
And beleive me, as a project manager, I ported my software to Qt a year ago (in 5
month), and qt is really cool and easy. You get a very nice InterfaceBuilder,
multiplatform code and makefiles... now I spend my time adding and improving
features, not fighting X and Motif.

Olivier Tubach

http://www.trolltech.com/references/focus/qtfocus5.html





Compiling Lyx on Irix

2001-07-25 Thread Olivier Tubach

Hello,

has someone successfully compiled lyx recently on Irix ?
seems that the configure script nevers sees the Xforms and the Xpm lib
(that are installed).

and the file streambuf.h is needed by ./src/mathed/formula.C, but it's
not on my system (running IRIX 6.5.11, MipsPro C++ 7.3).
any help would be greatly appreciated !
thanks
Olivier Tubach





Re: Install

2001-07-25 Thread Olivier Tubach

John Levon wrote:

 you should mention that xforms will hopefully be open source very soon, and
 in the not too distant future we will support qt2


cool, have a look now at qt3 (still in beta) which is much more powerfull,
especially its UI designer.
Olivier Tubach





Re: Compiling Lyx on Irix

2001-07-25 Thread Olivier Tubach

Andre Poenitz wrote:

  and the file streambuf.h is needed by ./src/mathed/formula.C,

 It is certainly not. Which line should that be?

 Andre'

 --
 André Pönitz . [EMAIL PROTECTED]

 ./src/support/sstream.h  line 40 : #include streambuf.h

included from ./src/Lsstream.hline 22 : #include support/sstream.h

included from formula.C line 22 : #include Lsstream.h


Please note that I created in   ./src a file named iostream  containing

#ifndef IOSTREAM_KLUDGE
#define IOSTREAM_KLUDGE
#include iostream.h
namespace std { void iostream_kludge(); };
#endif



Without it, I get with formula.C an error in /usr/include/CC/iostream
(system file)
#error This header file requires the -LANG:std option

Well, STL hell again and again.
And as often, configure that doesn't work...  (I'm a bit desapointed today :)

Thanks for any help,
Olivier






Re: Compiling Lyx on Irix

2001-07-25 Thread Olivier Tubach

Mike Meredith wrote:

  Probably a broken compiler. You need to send to the list the contents
  of your config.log file.

 Or possibly not. An awful lot of autoconfigured stuff breaks under Irix
 because it tries to add /usr/lib to the search path for libraries. For
 better or worse, IRIX has 3 incompatible binary API formats (or
 something) --- o32 ones live in /usr/lib, n32 ones live in /usr/lib32,
 and n64 ones live in /usr/lib64. The default for IRIX 6.5 and later is
 n32.

My last try gives:

setenv LDFLAGS -L/usr/lib32 -n32
setenv CXXFLAGS -n32
setenv CFLAGS -n32
setenv x_libraries /usr/lib32
./configure

and configure tells me :

checking if C++ compiler uses std namespace ... yes
configure: warning:
===
WARNING: This compiler platform does not have the iostream library
in the std namespace.  This presents a problem for writing portable
STL code.  To run the demos, you will need to place a file with the
following in a file called iostream in your include directory.

---iostream
#ifndef IOSTREAM_KLUDGE
#define IOSTREAM_KLUDGE
#include iostream.h
namespace std { void iostream_kludge(); };
#endif
===

then

Configuration:
  Source code location:   .
  C++ Compiler:   CC
  C++ Compiler flags: -n32
  C   Compiler:   cc
  C   Compiler flags: -n32
  LyX binary dir: /usr/freeware/bin
  LyX files dir:  /usr/freeware/share/lyx
  Special flags:   frontend-xforms included-libsigc

 The following problems have been detected by configure.
 Please check the messages below before running 'make'.
 (see the section 'Problems' in the INSTALL file)

** Cannot find libXpm. Please check that the Xpm library
   is correctly installed on your system.

** Cannot find libforms or libxforms. Please check that the xforms library

   is correctly installed on your system.
---

I guess Mike is right, I should try GCC on irix to compile lyx.
I don't think Irix's MipsPro C++ is broken. It works fine and efficiently
for a large number of projects.
I'd say that  lyx's configure  can be improved on IRIX.
and maybe I should use another STL on IRIX... Stl hell...

Best regards from Paris, France.

If someone can contribute a howto compile lyx on IRIX, or better,
provide up-to-date executable...
Thanks in advance
Olivier





Re: Install

2001-07-25 Thread Olivier Tubach

Jean-Marc Lasgouttes wrote:

  Jean-Marc == Jean-Marc Lasgouttes [EMAIL PROTECTED] writes:

  Olivier == Olivier Tubach [EMAIL PROTECTED] writes:
 Olivier Why not rewrite lyx with qt ( http://www.trolltech.com ) :

 Jean-Marc I do not know if you have taken a look at lyx sources
 Jean-Marc recently, but there is a src/frontends/ directory, which
 Jean-Marc contains, among other things, the directories gnome/,
 Jean-Marc xforms/ and kde/ (actually, in 1.2.0, this last one is
 Jean-Marc replaced by qt2/).

 Jean-Marc Does it answer to your question?

 It occurs to me that my answer is a bit misleading: currently, oly the
 xforms frontend really work, the others are incomplete at beest (a
 funny mix of xforms, and [name here] interface).

 JMarc

good news :)
qt seems a good choice on windows (native widgets, no Cygwin layer + X server ).
Applications written in qt run very fine on windows. (and has all 'modern' features
(docking windows, toolbars, MDI, subprocesses)).
A good lyx application (with easy preview of images jpg/png) on windows would beat
any other document package...
best regards
Olivier





Re: Install

2001-07-25 Thread Olivier Tubach

Andre Poenitz wrote:

  qt seems a good choice on windows (native widgets, no Cygwin layer + X
  server ).  Applications written in qt run very fine on windows. (and has
  all 'modern' features (docking windows, toolbars, MDI,
  subprocesses)).

 Qt itself did not look modern last time I've seen it.
 It rather looked like C++ from the stone age...


but it compiles everywhere :)
download last qt 3 beta, and have a look...
Best regards.
Olivier





Re: Install

2001-07-25 Thread Olivier Tubach



 Because I use their distro only seldom. If the KDE people would use proper
 C++ I'd probably have come to that decision much earlier due to the support
 for that other toolkit...


Why not rewrite lyx with qt ( http://www.trolltech.com ) : it would run on
windows natively (lyx + cygwin can't be compared to any other professional
windows application), on macOsX, and all the X11-unixes.
And beleive me, as a project manager, I ported my software to Qt a year ago (in 5
month), and qt is really cool and easy. You get a very nice InterfaceBuilder,
multiplatform code and makefiles... now I spend my time adding and improving
features, not fighting X and Motif.

Olivier Tubach

http://www.trolltech.com/references/focus/qtfocus5.html





Compiling Lyx on Irix

2001-07-25 Thread Olivier Tubach

Hello,

has someone successfully compiled lyx recently on Irix ?
seems that the configure script nevers sees the Xforms and the Xpm lib
(that are installed).

and the file streambuf.h is needed by ./src/mathed/formula.C, but it's
not on my system (running IRIX 6.5.11, MipsPro C++ 7.3).
any help would be greatly appreciated !
thanks
Olivier Tubach





Re: Install

2001-07-25 Thread Olivier Tubach

John Levon wrote:

 you should mention that xforms will hopefully be open source very soon, and
 in the not too distant future we will support qt2


cool, have a look now at qt3 (still in beta) which is much more powerfull,
especially its UI designer.
Olivier Tubach





Re: Compiling Lyx on Irix

2001-07-25 Thread Olivier Tubach

Andre Poenitz wrote:

  and the file streambuf.h is needed by ./src/mathed/formula.C,

 It is certainly not. Which line should that be?

 Andre'

 --
 André Pönitz . [EMAIL PROTECTED]

 ./src/support/sstream.h  line 40 : #include streambuf.h

included from ./src/Lsstream.hline 22 : #include support/sstream.h

included from formula.C line 22 : #include Lsstream.h


Please note that I created in   ./src a file named iostream  containing

#ifndef IOSTREAM_KLUDGE
#define IOSTREAM_KLUDGE
#include iostream.h
namespace std { void iostream_kludge(); };
#endif



Without it, I get with formula.C an error in /usr/include/CC/iostream
(system file)
#error This header file requires the -LANG:std option

Well, STL hell again and again.
And as often, configure that doesn't work...  (I'm a bit desapointed today :)

Thanks for any help,
Olivier






Re: Compiling Lyx on Irix

2001-07-25 Thread Olivier Tubach

Mike Meredith wrote:

  Probably a broken compiler. You need to send to the list the contents
  of your config.log file.

 Or possibly not. An awful lot of autoconfigured stuff breaks under Irix
 because it tries to add /usr/lib to the search path for libraries. For
 better or worse, IRIX has 3 incompatible binary API formats (or
 something) --- o32 ones live in /usr/lib, n32 ones live in /usr/lib32,
 and n64 ones live in /usr/lib64. The default for IRIX 6.5 and later is
 n32.

My last try gives:

setenv LDFLAGS -L/usr/lib32 -n32
setenv CXXFLAGS -n32
setenv CFLAGS -n32
setenv x_libraries /usr/lib32
./configure

and configure tells me :

checking if C++ compiler uses std namespace ... yes
configure: warning:
===
WARNING: This compiler platform does not have the iostream library
in the std namespace.  This presents a problem for writing portable
STL code.  To run the demos, you will need to place a file with the
following in a file called iostream in your include directory.

---iostream
#ifndef IOSTREAM_KLUDGE
#define IOSTREAM_KLUDGE
#include iostream.h
namespace std { void iostream_kludge(); };
#endif
===

then

Configuration:
  Source code location:   .
  C++ Compiler:   CC
  C++ Compiler flags: -n32
  C   Compiler:   cc
  C   Compiler flags: -n32
  LyX binary dir: /usr/freeware/bin
  LyX files dir:  /usr/freeware/share/lyx
  Special flags:   frontend-xforms included-libsigc

 The following problems have been detected by configure.
 Please check the messages below before running 'make'.
 (see the section 'Problems' in the INSTALL file)

** Cannot find libXpm. Please check that the Xpm library
   is correctly installed on your system.

** Cannot find libforms or libxforms. Please check that the xforms library

   is correctly installed on your system.
---

I guess Mike is right, I should try GCC on irix to compile lyx.
I don't think Irix's MipsPro C++ is broken. It works fine and efficiently
for a large number of projects.
I'd say that  lyx's configure  can be improved on IRIX.
and maybe I should use another STL on IRIX... Stl hell...

Best regards from Paris, France.

If someone can contribute a howto compile lyx on IRIX, or better,
provide up-to-date executable...
Thanks in advance
Olivier





Re: Install

2001-07-25 Thread Olivier Tubach

Jean-Marc Lasgouttes wrote:

  Jean-Marc == Jean-Marc Lasgouttes [EMAIL PROTECTED] writes:

  Olivier == Olivier Tubach [EMAIL PROTECTED] writes:
 Olivier Why not rewrite lyx with qt ( http://www.trolltech.com ) :

 Jean-Marc I do not know if you have taken a look at lyx sources
 Jean-Marc recently, but there is a src/frontends/ directory, which
 Jean-Marc contains, among other things, the directories gnome/,
 Jean-Marc xforms/ and kde/ (actually, in 1.2.0, this last one is
 Jean-Marc replaced by qt2/).

 Jean-Marc Does it answer to your question?

 It occurs to me that my answer is a bit misleading: currently, oly the
 xforms frontend really work, the others are incomplete at beest (a
 funny mix of xforms, and [name here] interface).

 JMarc

good news :)
qt seems a good choice on windows (native widgets, no Cygwin layer + X server ).
Applications written in qt run very fine on windows. (and has all 'modern' features
(docking windows, toolbars, MDI, subprocesses)).
A good lyx application (with easy preview of images jpg/png) on windows would beat
any other document package...
best regards
Olivier





Re: Install

2001-07-25 Thread Olivier Tubach

Andre Poenitz wrote:

  qt seems a good choice on windows (native widgets, no Cygwin layer + X
  server ).  Applications written in qt run very fine on windows. (and has
  all 'modern' features (docking windows, toolbars, MDI,
  subprocesses)).

 Qt itself did not look modern last time I've seen it.
 It rather looked like C++ from the stone age...


but it compiles everywhere :)
download last qt 3 beta, and have a look...
Best regards.
Olivier





Re: Install

2001-07-25 Thread Olivier Tubach

>
>
> Because I use their distro only seldom. If the KDE people would use proper
> C++ I'd probably have come to that decision much earlier due to the support
> for that other toolkit...
>

Why not rewrite lyx with qt ( http://www.trolltech.com ) : it would run on
windows "natively" (lyx + cygwin can't be compared to any other professional
windows application), on macOsX, and all the X11-unixes.
And beleive me, as a project manager, I ported my software to Qt a year ago (in 5
month), and qt is really cool and easy. You get a very nice InterfaceBuilder,
multiplatform code and makefiles... now I spend my time adding and improving
features, not fighting X and Motif.

Olivier Tubach

http://www.trolltech.com/references/focus/qtfocus5.html





Compiling Lyx on Irix

2001-07-25 Thread Olivier Tubach

Hello,

has someone successfully compiled lyx recently on Irix ?
seems that the configure script nevers sees the Xforms and the Xpm lib
(that are installed).

and the file streambuf.h is needed by ./src/mathed/formula.C, but it's
not on my system (running IRIX 6.5.11, MipsPro C++ 7.3).
any help would be greatly appreciated !
thanks
Olivier Tubach





Re: Install

2001-07-25 Thread Olivier Tubach

John Levon wrote:

> you should mention that xforms will hopefully be open source very soon, and
> in the not too distant future we will support qt2
>

cool, have a look now at qt3 (still in beta) which is much more powerfull,
especially its UI designer.
Olivier Tubach





Re: Compiling Lyx on Irix

2001-07-25 Thread Olivier Tubach

Andre Poenitz wrote:

> > and the file streambuf.h is needed by ./src/mathed/formula.C,
>
> It is certainly not. Which line should that be?
>
> Andre'
>
> --
> André Pönitz . [EMAIL PROTECTED]

 ./src/support/sstream.h  line 40 : #include 

included from ./src/Lsstream.hline 22 : #include "support/sstream.h"

included from formula.C line 22 : #include "Lsstream.h"


Please note that I created in   ./src a file named iostream  containing

#ifndef IOSTREAM_KLUDGE
#define IOSTREAM_KLUDGE
#include 
namespace std { void iostream_kludge(); };
#endif



Without it, I get with formula.C an error in /usr/include/CC/iostream
(system file)
#error This header file requires the -LANG:std option

Well, STL hell again and again.
And as often, configure that doesn't work...  (I'm a bit desapointed today :)

Thanks for any help,
Olivier






Re: Compiling Lyx on Irix

2001-07-25 Thread Olivier Tubach

Mike Meredith wrote:

> > Probably a broken compiler. You need to send to the list the contents
> > of your config.log file.
>
> Or possibly not. An awful lot of autoconfigured stuff breaks under Irix
> because it tries to add /usr/lib to the search path for libraries. For
> better or worse, IRIX has 3 incompatible binary API formats (or
> something) --- o32 ones live in /usr/lib, n32 ones live in /usr/lib32,
> and n64 ones live in /usr/lib64. The default for IRIX 6.5 and later is
> n32.

My last try gives:

setenv LDFLAGS -L/usr/lib32 -n32
setenv CXXFLAGS -n32
setenv CFLAGS -n32
setenv x_libraries /usr/lib32
./configure

and configure tells me :

checking if C++ compiler uses std namespace ... yes
configure: warning:
===
WARNING: This compiler platform does not have the iostream library
in the std namespace.  This presents a problem for writing portable
STL code.  To run the demos, you will need to place a file with the
following in a file called iostream in your include directory.

---iostream
#ifndef IOSTREAM_KLUDGE
#define IOSTREAM_KLUDGE
#include 
namespace std { void iostream_kludge(); };
#endif
===

then

Configuration:
  Source code location:   .
  C++ Compiler:   CC
  C++ Compiler flags: -n32
  C   Compiler:   cc
  C   Compiler flags: -n32
  LyX binary dir: /usr/freeware/bin
  LyX files dir:  /usr/freeware/share/lyx
  Special flags:   frontend-xforms included-libsigc

 The following problems have been detected by configure.
 Please check the messages below before running 'make'.
 (see the section 'Problems' in the INSTALL file)

** Cannot find libXpm. Please check that the Xpm library
   is correctly installed on your system.

** Cannot find libforms or libxforms. Please check that the xforms library

   is correctly installed on your system.
---

I guess Mike is right, I should try GCC on irix to compile lyx.
I don't think Irix's MipsPro C++ is broken. It works fine and efficiently
for a large number of projects.
I'd say that  lyx's configure  can be improved on IRIX.
and maybe I should use another STL on IRIX... Stl hell...

Best regards from Paris, France.

If someone can contribute a "howto compile lyx on IRIX", or better,
provide up-to-date executable...
Thanks in advance
Olivier





Re: Install

2001-07-25 Thread Olivier Tubach

Jean-Marc Lasgouttes wrote:

> >>>>> "Jean-Marc" == Jean-Marc Lasgouttes <[EMAIL PROTECTED]> writes:
>
> >>>>> "Olivier" == Olivier Tubach <[EMAIL PROTECTED]> writes:
> Olivier> Why not rewrite lyx with qt ( http://www.trolltech.com ) :
>
> Jean-Marc> I do not know if you have taken a look at lyx sources
> Jean-Marc> recently, but there is a src/frontends/ directory, which
> Jean-Marc> contains, among other things, the directories gnome/,
> Jean-Marc> xforms/ and kde/ (actually, in 1.2.0, this last one is
> Jean-Marc> replaced by qt2/).
>
> Jean-Marc> Does it answer to your question?
>
> It occurs to me that my answer is a bit misleading: currently, oly the
> xforms frontend really work, the others are incomplete at beest (a
> funny mix of xforms, and [name here] interface).
>
> JMarc

good news :)
qt seems a good choice on windows (native widgets, no Cygwin layer + X server ).
Applications written in qt run very fine on windows. (and has all 'modern' features
(docking windows, toolbars, MDI, subprocesses)).
A good lyx application (with easy preview of images jpg/png) on windows would beat
any other document package...
best regards
Olivier





Re: Install

2001-07-25 Thread Olivier Tubach

Andre Poenitz wrote:

> > qt seems a good choice on windows (native widgets, no Cygwin layer + X
> > server ).  Applications written in qt run very fine on windows. (and has
> > all 'modern' features (docking windows, toolbars, MDI,
> > subprocesses)).
>
> Qt itself did not look "modern" last time I've seen it.
> It rather looked like C++ from the stone age...
>

but it compiles everywhere :)
download last qt 3 beta, and have a look...
Best regards.
Olivier





Re: unknown textclass scrbook

2001-06-28 Thread Olivier Tubach

Thanks Claus,
I'll try that soom.
thanks again
Olivier





bilingual documents ?

2001-06-28 Thread Olivier Tubach

Hello,

is it possible to have in a lyx document :

some english text
the french translation

other chapter

some english text
the french translation

and export only the english version (or the french version) ?

Best regards
Olivier Tubach





Re: unknown textclass scrbook

2001-06-28 Thread Olivier Tubach

Thanks Claus,
I'll try that soom.
thanks again
Olivier





bilingual documents ?

2001-06-28 Thread Olivier Tubach

Hello,

is it possible to have in a lyx document :

some english text
the french translation

other chapter

some english text
the french translation

and export only the english version (or the french version) ?

Best regards
Olivier Tubach





Re: unknown textclass "scrbook"

2001-06-28 Thread Olivier Tubach

Thanks Claus,
I'll try that soom.
thanks again
Olivier





bilingual documents ?

2001-06-28 Thread Olivier Tubach

Hello,

is it possible to have in a lyx document :

some english text
the french translation

other chapter

some english text
the french translation

and export only the english version (or the french version) ?

Best regards
Olivier Tubach





unknown textclass scrbook

2001-06-27 Thread Olivier Tubach

Hello,

I'm new to Lyx... I try to make it work to avoid using MSWord for our
documentation.

I've a document created with lyx 1.1.16 on linux, using the template
book (koma-script) (maybe a bad idea ?)
When I open it on Windows (I've installed Lyx 1.1.16fix2b yesterday,
with Cygwin, MikTex 2.1), I get the following error

Textclass error

The document uses an unknown textclass scrbook
Lyx will not be able to produce output correctly

The first lines of my .lyx file are:
#LyX 1.1 created this file. For more info see http://www.lyx.org/
\lyxformat 218
\textclass scrbook


On linux, where the file was created, I've in
/usr/local/share/lyx/templates/
-rw-r--r--   1 root root 3516 Jun 21 12:39 IEEEtran.lyx
-rw-r--r--   1 root root 1070 Jun 21 12:39 aapaper.lyx
-rw-r--r--   1 root root 2313 Jun 21 12:39 aastex.lyx
-rw-r--r--   1 root root 1059 Jun 21 12:39 dinbrief.lyx
-rw-r--r--   1 root root  904 Jun 21 12:39
docbook_template.lyx
-rw-r--r--   1 root root 1655 Jun 21 12:39 g-brief-de.lyx
-rw-r--r--   1 root root 1563 Jun 21 12:39 g-brief-en.lyx
-rw-r--r--   1 root root 1202 Jun 21 12:39 hollywood.lyx
-rw-r--r--   1 root root  986 Jun 21 12:39 iletter.lyx
-rw-r--r--   1 root root 1173 Jun 21 12:39 latex8.lyx
-rw-r--r--   1 root root  783 Jun 21 12:39 letter.lyx
-rw-r--r--   1 root root  785 Jun 21 12:39
linuxdoctemplate.lyx
-rw-r--r--   1 root root 2277 Jun 21 12:39 revtex.lyx
-rw-r--r--   1 root root 3009 Jun 21 12:39 revtex4.lyx
-rw-r--r--   1 root root 1323 Jun 21 12:39 slides.lyx

What can I do ? Opening on windows my file has nearly destroyed it (all
'Chapter' settings are lost, now I've to re-assign the stlye of all my
chapters, and in lyx I've not found a easy way to do it (ie: an icon (or
keyboard shortcut)repeat last style modification on selected text)

thanks for any help
Olivier Tubach





Beginner: use of Jpeg, Png + lyx preview and html output

2001-06-27 Thread Olivier Tubach

Hello,

I want to write the documentation of a in house application, and be able
to produce PDF, Html and print copies. Our documentation will include a
lot of color snapshots.

A solution would have been to use MS Word. But I'm not pleased with the
html produced; and I can't do version control on MS .doc files. And also
I would prefeer a linux based solution :)
Another solution seem to be latex based, and we found Lyx.
CVS works well on .lyx files; lyx can handle huge files (I made my phD
few years ago with MSWord, and I definitely KNOW MSWord does not handle
huge (200pages) files).

The only weakness I see (after several hours trying lyx -I'm using
1.1.6fix2) is about images. You can import .eps files, but a 20K PNG
file turns into a 1MB eps file.
Recently (1.1.16fix2?), you can import images (Insert...  External
Material...  Click on ChessDiagram to change the template to
RasterImage, choose your {jpeg|gif|png...} image (how about a button on
the main toolbar, or a keyboard shortcut, or an item in the Insert menu
Insert bitmap ?).
But you can't see it in lyx (only a button Bitmap: myface.png, button
that pops up its dialog each time you click on it... is it possible to
get the dialog only with double-clik ? when I select-cut-paste some
text, I must be very carefull where I click to avoid all these
dialogs :).
How can I see a preview of my images in Lyx (I've a lot of them) ?

What are the best image format ? We want to have small image files ( gif
:(   jpeg png  (we've also our application's icons in xpm format, can we
use them 'as it' ? seem that the export to html produces for all the
icons.xpm a file  .png (no filename, only an extention))

It's very important for us to produce html (and lyx's export is nice :)
that uses the image we provide (jpeg or png), to avoir conversions,
dithering etc...
The PS or PDF export can convert the images, it's less important for us.

The View menu in lyx, when you choose 'html', creates a .html file in a
temp directory, then launch netscape. That's fine, but the all the
images are missing (I import my images in lyx as   ../icons/myface.jpg
). A workaround is to export as html  (creates a .html file near my .lyx
file, so the image links are ok, except for .xpm that are translated to
.png files (filename lost).

What about a little HOW-TO about lyx, images and conversions ?

It's the first time for years that I find a global solution for
documentation:  cvs working on master file ; html output, pdf output, ps
output should we be able to preview bitmaps in lyx... we reach then
a definite solution !

Congratulations for the work on Lyx

Olivier Tubach.

PS: I would be glad to receive advices about large, full of images and
links documents: sould I split it in several .lyx files ?
About the html export, is it possible to produce a different html file
for each part of my lyx document ?

thanks in advance for any help !










Re: unknown textclass scrbook

2001-06-27 Thread Olivier Tubach

Herbert Voss wrote:

  The document uses an unknown textclass scrbook

 tex doesn't find the file scrbook.cls

Ok, should I
- fetch this file from my Linux box ( in
/usr/share/texmf/tex/latex/koma-script/ ) and put it into MikTex ?
- re-install MikTex ? ( or MikTex does not include the koma-script ? )
- use another tex package on windows ?
- forget about this template

Sorry if this is off-topic
Thanks anyway.
Olivier Tubach





unknown textclass scrbook

2001-06-27 Thread Olivier Tubach

Hello,

I'm new to Lyx... I try to make it work to avoid using MSWord for our
documentation.

I've a document created with lyx 1.1.16 on linux, using the template
book (koma-script) (maybe a bad idea ?)
When I open it on Windows (I've installed Lyx 1.1.16fix2b yesterday,
with Cygwin, MikTex 2.1), I get the following error

Textclass error

The document uses an unknown textclass scrbook
Lyx will not be able to produce output correctly

The first lines of my .lyx file are:
#LyX 1.1 created this file. For more info see http://www.lyx.org/
\lyxformat 218
\textclass scrbook


On linux, where the file was created, I've in
/usr/local/share/lyx/templates/
-rw-r--r--   1 root root 3516 Jun 21 12:39 IEEEtran.lyx
-rw-r--r--   1 root root 1070 Jun 21 12:39 aapaper.lyx
-rw-r--r--   1 root root 2313 Jun 21 12:39 aastex.lyx
-rw-r--r--   1 root root 1059 Jun 21 12:39 dinbrief.lyx
-rw-r--r--   1 root root  904 Jun 21 12:39
docbook_template.lyx
-rw-r--r--   1 root root 1655 Jun 21 12:39 g-brief-de.lyx
-rw-r--r--   1 root root 1563 Jun 21 12:39 g-brief-en.lyx
-rw-r--r--   1 root root 1202 Jun 21 12:39 hollywood.lyx
-rw-r--r--   1 root root  986 Jun 21 12:39 iletter.lyx
-rw-r--r--   1 root root 1173 Jun 21 12:39 latex8.lyx
-rw-r--r--   1 root root  783 Jun 21 12:39 letter.lyx
-rw-r--r--   1 root root  785 Jun 21 12:39
linuxdoctemplate.lyx
-rw-r--r--   1 root root 2277 Jun 21 12:39 revtex.lyx
-rw-r--r--   1 root root 3009 Jun 21 12:39 revtex4.lyx
-rw-r--r--   1 root root 1323 Jun 21 12:39 slides.lyx

What can I do ? Opening on windows my file has nearly destroyed it (all
'Chapter' settings are lost, now I've to re-assign the stlye of all my
chapters, and in lyx I've not found a easy way to do it (ie: an icon (or
keyboard shortcut)repeat last style modification on selected text)

thanks for any help
Olivier Tubach





Beginner: use of Jpeg, Png + lyx preview and html output

2001-06-27 Thread Olivier Tubach

Hello,

I want to write the documentation of a in house application, and be able
to produce PDF, Html and print copies. Our documentation will include a
lot of color snapshots.

A solution would have been to use MS Word. But I'm not pleased with the
html produced; and I can't do version control on MS .doc files. And also
I would prefeer a linux based solution :)
Another solution seem to be latex based, and we found Lyx.
CVS works well on .lyx files; lyx can handle huge files (I made my phD
few years ago with MSWord, and I definitely KNOW MSWord does not handle
huge (200pages) files).

The only weakness I see (after several hours trying lyx -I'm using
1.1.6fix2) is about images. You can import .eps files, but a 20K PNG
file turns into a 1MB eps file.
Recently (1.1.16fix2?), you can import images (Insert...  External
Material...  Click on ChessDiagram to change the template to
RasterImage, choose your {jpeg|gif|png...} image (how about a button on
the main toolbar, or a keyboard shortcut, or an item in the Insert menu
Insert bitmap ?).
But you can't see it in lyx (only a button Bitmap: myface.png, button
that pops up its dialog each time you click on it... is it possible to
get the dialog only with double-clik ? when I select-cut-paste some
text, I must be very carefull where I click to avoid all these
dialogs :).
How can I see a preview of my images in Lyx (I've a lot of them) ?

What are the best image format ? We want to have small image files ( gif
:(   jpeg png  (we've also our application's icons in xpm format, can we
use them 'as it' ? seem that the export to html produces for all the
icons.xpm a file  .png (no filename, only an extention))

It's very important for us to produce html (and lyx's export is nice :)
that uses the image we provide (jpeg or png), to avoir conversions,
dithering etc...
The PS or PDF export can convert the images, it's less important for us.

The View menu in lyx, when you choose 'html', creates a .html file in a
temp directory, then launch netscape. That's fine, but the all the
images are missing (I import my images in lyx as   ../icons/myface.jpg
). A workaround is to export as html  (creates a .html file near my .lyx
file, so the image links are ok, except for .xpm that are translated to
.png files (filename lost).

What about a little HOW-TO about lyx, images and conversions ?

It's the first time for years that I find a global solution for
documentation:  cvs working on master file ; html output, pdf output, ps
output should we be able to preview bitmaps in lyx... we reach then
a definite solution !

Congratulations for the work on Lyx

Olivier Tubach.

PS: I would be glad to receive advices about large, full of images and
links documents: sould I split it in several .lyx files ?
About the html export, is it possible to produce a different html file
for each part of my lyx document ?

thanks in advance for any help !










Re: unknown textclass scrbook

2001-06-27 Thread Olivier Tubach

Herbert Voss wrote:

  The document uses an unknown textclass scrbook

 tex doesn't find the file scrbook.cls

Ok, should I
- fetch this file from my Linux box ( in
/usr/share/texmf/tex/latex/koma-script/ ) and put it into MikTex ?
- re-install MikTex ? ( or MikTex does not include the koma-script ? )
- use another tex package on windows ?
- forget about this template

Sorry if this is off-topic
Thanks anyway.
Olivier Tubach





unknown textclass "scrbook"

2001-06-27 Thread Olivier Tubach

Hello,

I'm new to Lyx... I try to make it work to avoid using MSWord for our
documentation.

I've a document created with lyx 1.1.16 on linux, using the template
"book (koma-script)" (maybe a bad idea ?)
When I open it on Windows (I've installed Lyx 1.1.16fix2b yesterday,
with Cygwin, MikTex 2.1), I get the following error

Textclass error

The document uses an unknown textclass "scrbook"
Lyx will not be able to produce output correctly

The first lines of my .lyx file are:
#LyX 1.1 created this file. For more info see http://www.lyx.org/
\lyxformat 218
\textclass scrbook


On linux, where the file was created, I've in
/usr/local/share/lyx/templates/
-rw-r--r--   1 root root 3516 Jun 21 12:39 IEEEtran.lyx
-rw-r--r--   1 root root 1070 Jun 21 12:39 aapaper.lyx
-rw-r--r--   1 root root 2313 Jun 21 12:39 aastex.lyx
-rw-r--r--   1 root root 1059 Jun 21 12:39 dinbrief.lyx
-rw-r--r--   1 root root  904 Jun 21 12:39
docbook_template.lyx
-rw-r--r--   1 root root 1655 Jun 21 12:39 g-brief-de.lyx
-rw-r--r--   1 root root 1563 Jun 21 12:39 g-brief-en.lyx
-rw-r--r--   1 root root 1202 Jun 21 12:39 hollywood.lyx
-rw-r--r--   1 root root  986 Jun 21 12:39 iletter.lyx
-rw-r--r--   1 root root 1173 Jun 21 12:39 latex8.lyx
-rw-r--r--   1 root root  783 Jun 21 12:39 letter.lyx
-rw-r--r--   1 root root  785 Jun 21 12:39
linuxdoctemplate.lyx
-rw-r--r--   1 root root 2277 Jun 21 12:39 revtex.lyx
-rw-r--r--   1 root root 3009 Jun 21 12:39 revtex4.lyx
-rw-r--r--   1 root root 1323 Jun 21 12:39 slides.lyx

What can I do ? Opening on windows my file has nearly destroyed it (all
'Chapter' settings are lost, now I've to re-assign the stlye of all my
chapters, and in lyx I've not found a easy way to do it (ie: an icon (or
keyboard shortcut)"repeat last style modification on selected text")

thanks for any help
Olivier Tubach





Beginner: use of Jpeg, Png + lyx preview and html output

2001-06-27 Thread Olivier Tubach

Hello,

I want to write the documentation of a in house application, and be able
to produce PDF, Html and print copies. Our documentation will include a
lot of color snapshots.

A solution would have been to use MS Word. But I'm not pleased with the
html produced; and I can't do version control on MS .doc files. And also
I would prefeer a linux based solution :)
Another solution seem to be latex based, and we found Lyx.
CVS works well on .lyx files; lyx can handle huge files (I made my phD
few years ago with MSWord, and I definitely KNOW MSWord does not handle
huge (200pages) files).

The only weakness I see (after several hours trying lyx -I'm using
1.1.6fix2) is about images. You can import .eps files, but a 20K PNG
file turns into a 1MB eps file.
Recently (1.1.16fix2?), you can import images ("Insert...  External
Material...  Click on ChessDiagram to change the template to
RasterImage, choose your {jpeg|gif|png...} image (how about a button on
the main toolbar, or a keyboard shortcut, or an item in the Insert menu
"Insert bitmap" ?).
But you can't see it in lyx (only a button "Bitmap: myface.png", button
that pops up its dialog each time you click on it... is it possible to
get the dialog only with double-clik ? when I select-cut-paste some
text, I must be very carefull where I click to avoid all these
dialogs :).
How can I see a preview of my images in Lyx (I've a lot of them) ?

What are the best image format ? We want to have small image files ( gif
:(   jpeg png  (we've also our application's icons in xpm format, can we
use them 'as it' ? seem that the export to html produces for all the
icons.xpm a file  ".png" (no filename, only an extention))

It's very important for us to produce html (and lyx's export is nice :)
that uses the image we provide (jpeg or png), to avoir conversions,
dithering etc...
The PS or PDF export can convert the images, it's less important for us.

The View menu in lyx, when you choose 'html', creates a .html file in a
temp directory, then launch netscape. That's fine, but the all the
images are missing (I import my images in lyx as   ../icons/myface.jpg
). A workaround is to export as html  (creates a .html file near my .lyx
file, so the image links are ok, except for .xpm that are translated to
".png" files (filename lost).

What about a little "HOW-TO" about lyx, images and conversions ?

It's the first time for years that I find a global solution for
documentation:  cvs working on master file ; html output, pdf output, ps
output should we be able to preview bitmaps in lyx... we reach then
a definite solution !

Congratulations for the work on Lyx

Olivier Tubach.

PS: I would be glad to receive advices about large, full of images and
links documents: sould I split it in several .lyx files ?
About the html export, is it possible to produce a different html file
for each part of my lyx document ?

thanks in advance for any help !










Re: unknown textclass "scrbook"

2001-06-27 Thread Olivier Tubach

Herbert Voss wrote:

> > The document uses an unknown textclass "scrbook"
>
> tex doesn't find the file scrbook.cls

Ok, should I
- fetch this file from my Linux box ( in
/usr/share/texmf/tex/latex/koma-script/ ) and put it into MikTex ?
- re-install MikTex ? ( or MikTex does not include the koma-script ? )
- use another tex package on windows ?
- forget about this template

Sorry if this is off-topic
Thanks anyway.
Olivier Tubach