On Wednesday 27 September 2006 13:34, Paul A. Rubin wrote:
> Russell W. Behne wrote:
> > I just (re)installed Linux (Mandriva 2006) on cleanly formatted
> > partitions, and when I open LyX (ver 1.3.5) I get an error message
> > saying:
> >
> > Textclass error
> > The document uses a missing TeX class "article".
> > LyX will not be able to produce output.
> >
> > Other documents give the same error, but for a different tex class,
> > depending on whatever one that document is supposed to be using. I also
> > noticed that there's no longer several menu items, things like previewing
> > in PS or PDF, and exporting to anything other than ascii.
> >
> > I have another directory, /usr/local/texmf/tex/latex where I keep style
> > files that I downloaded. (I keep them there to both make them available
> > to all users, and to survive formats and reinstalls of other partitions.)
> > After every reinstall I run this command sequence from a batch file:
> >
> > rm -f /usr/share/texmf/web2c/texmf.cnf
> > cp /usr/local/texmf/texmf.cnf /usr/share/texmf/web2c/texmf.cnf
> > /usr/bin/mktexlsr
> >
> > where /usr/local/texmf/texmf.cnf is a custom texmf.cnf that makes LyX
> > recognize these files. (/usr/local is a separate partition, _all_ other
> > partitions were formatted during this reinstall.) (Some files I wanted to
> > keep were copied to another drive prior to doing the format.)
> >
> > Unfortunately, in addition to the previously mentioned problems, LyX
> > can't find these files anymore, even after I ran the batch file. (This
> > batch file has always worked for me prior to this latest install.)
> >
> > I'm baffled. What's wrong, and what need I do?
>
> Did you reconfigure LyX after you ran the batch file?
>
> /Paul
I'm sorry, I had answered this question, but for some reason it aparently
didn't get posted to the list. Yes, I did reconfigure LyX both before &
after running the batch file.
Since my last [missing] post concerning this problem I have downloaded the
images for Mandriva 2007, burned in a new set of cdroms, and installed a
completly new Linux Mandriva OS. And yet the problem remains.
For some reason this release didn't come with LyX, so I downloaded it from the
2006 disttribution files online. When I click on " [Help][About LyX] " I get
this report:
LyX version 1.4.2 of Friday, July 13, 2006
Library directory: /usr/share/lyx
User Directory: ~/.lyx
In my /usr/share/texmf/web2c/texmf.cnf I have these settings:
TEXMFLOCAL = /usr/local/texmf
TEXMF = {$HOMETEXMF,!!$TEXMFLOCAL,!!$TEXMFMAIN}
This should tell LyX where to find all my texmf trees, and so LyX should
easily be able to find the missing TeX classes, but still doesn't.
Anyone have any ideas how to fix this?
--
Mit freundlichen Grüßen,
Russ.
This is where I learned how to start a backyard nursery:
http://tinyurl.com/j6xl7
*---------------------------------------------------------------------*
Russell's Quotes:
Tho' Modesty is a Virtue, Bashfulness is a Vice.
---Benjamin Franklin
From ``Poor Richard's Almanac''
*---------------------------------------------------------------------*
American Gold and Silver Currency is Back:
http://tinyurl.com/b3r6a
*---------------------------------------------------------------------*
What is freedom, really?
See this great flash presentation: http://tinyurl.com/sb91
Here's what I knew _before_ the war started: http://tinyurl.com/qu2w5