[arch-general] TexLive custom classes problem.
lomov.vl at gmail.com
Thu Jul 19 01:38:32 EDT 2012
** Jayesh Badwaik [2012-07-18 16:34:49 +0530]:
> I am unable to get custom .cls files detected by the latex program.
> I have a file "jbnotebook.cls" which works fine when it is placed in
> the same directory as the the file main.tex. So, the file itself is
> not a problem. Also,
> [me at localhost]$ kpsewhich -var-value=TEXMFHOME
This is wrong! The `TEXMFHOME' is `$HOME/texmf' by default.
> So far so good. I have placed my file jbnotebook.cls at the
> following location
> Also, for sake of trying to make things work, I have the following
> And texhash has been run on both the texmf folder and they contain
> ls-R which is correct.
`TEXMFHOME' doesn't have to have `ls-R', moreover it is recommended that
users have to delete that file in `TEXMFHOME'.
> [me at localhost]$ kpsewhich -var-value=TEXMF
> And still when I run the latex command, it tells me that the
> jbnotebook.cls is not found.
> What can be the problem?
I don't know, but can give some advices:
1. in order to check that `latex' will find a file run
$ kpsewhich FILE
$ kpsewhich article.cls
It is better to use a package to install class file. However, if such
package doesn't exist there are at least two ways to install the class:
simple-and-messy and a "proper".
2. (simple-and-messy) create a directory `TEXMFHOME/tex/latex/PACKAGE'
and place there `cls' and `sty' files.
WBR, Vladimir Lomov
Hey dol! merry dol! ring a dong dillo!
Ring a dong! hop along! fal lal the willow!
Tom Bom, jolly Tom, Tom Bombadillo!
-- J. R. R. Tolkien
More information about the arch-general