On Thu, 12 Nov 1998, Michael Hanke wrote:
> On Thu, 12 Nov 1998, Klaus Kragelund wrote:
>
> > 1. I insert a figure in the document - thats fine. But if I click on the
> > figure to edit it sometimes I get multiple error (always 10 of them). It
> > says something like this:
> >
> > LaTex Error: No counter 'sub' defined
> > 1.780 {\centering\subfigure
> > [myfigure]{resizebox*{0.8 bla bla bla
> >
> > and
> >
> > Undefined control sequence
> > <argument> sub\@captype bla bla bla
> >
> > ect, ect
> >
> > what is going on ? I should mention that the ps figure file was created in
> > Win95 with a "Print to File" - to a HP Laserjet.
I am not really a LyX user (just a "wannabe" at the moment ;) ) but I do
have some experience in bringing W95 PS files into a Unix environment (SGI
IRIX). I presume that the "HP Laserjet" file is actually a PS file. If it
is a PCL file it would be better if you installed a PS driver on W95. You
don't need a PS printer to do this. Then using the PS driver (same as
saying to W95 that is to print to the PS printer) print to a PS file. But
maybe you are already doing this? I found that I had to edit Word97 PS
files to remove some extraneous junk at the beginning and end of the file.
(It's pretty obvious as the file doesn't begin with %PS-Adobe - or
whatever it actually is - look at a good PS file created on Unix and you
will see the differences easily) Once I did this the file went to UNIX and
worked just fine. So maybe this is part of your problems? Don't know why
M$ does these crazy things, violating Industry standards but they do...
Note: if your PS files are one page figures, it would be better to convert
them to EPS format. WIN-32 Ghostview allows you to do this easily. Look
under the "File" menu. Can't say about the Unix GV but I think this option
is there too.
oNCE THEY ARE IN eps FORMAT YOU SHOULD BE ABLE TO INCLUDE THEM EASILY
USING THE STANDard (oops hit caps lock - sorry 'bout that) LyX/LaTeX
commands. I think this might be a better approach for you but....
HTH and sorry can't help you on the RedHat stuff. Planning to go there but
not there just yet.
Regards
Henry Smith
--
+++ the lyx project user mailing list +++
To unsubscribe from this list send mail to
[EMAIL PROTECTED]
with the **Subject** unsubscribe.