Hi. I have a strange problem with user-defined classes and style files. At
first sight the problem is with latex, but I think it is a LyX issue.

  I need to use a particular latex package which is not part of the latex
distribution. I cannot install it on the standard latex directory
structure since I do not have administrator's access. Therefore I have
put the package in some other directory, and set my TEXINPUTS variable.

  Latex itself can find my package, but LyX tells me it cannot find it.
The LaTeX log within LyX says latex cannot find the package, but when I
execute latex from the command line, it does find it.

  I have tried putting the package under my local ./lyx, and do a
reconfigure, but the problem is still there.

  In the TeX information dialog my package appears listed when I do a
rescan, but if I click on "View" it tells me it cannot find the file.

  The LyX documentation says to follow the instructions on the texmf.cnf
file. I got that file but I don't see any actual instructions. It seems
to contain a list of variables which I suppose are the directories where
latex can find things. But I cannot change that file as I do not have
administrator's access.

  How can I add a package without having to modify the texmf.cnf file?
  Why is there a discrepancy between LyX and latex from the command line
in terms of finding the package?
  Why does LyX find the package in the TeX info view but cannot show its
contents?

  Thanks for any help.

-- 
Ernesto Posse
Modelling, Simulation and Design Lab - School of Computer Science
McGill University - Montreal, Quebec, Canada
url: http://moncs.cs.mcgill.ca/people/eposse



Reply via email to