[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: installing new latex document type - bst file not found by documents



Micha Feigin <michf@post.tau.ac.il> writes:

> On Wed, Nov 26, 2003 at 10:53:04PM -0500, David Z Maze wrote:
>> Micha Feigin <michf@post.tau.ac.il> writes:
>> 
>> > I just installed the files for a new document type from cpan (latex8).
>> > I put them into /usr/share/texmf/tex/generic/latex8 and ran texhash.
>> 
>> (/usr/local/share/texmf is probably a better pick; in this case, it's
>> easier to distinguish "locally installed" from "dpkg maintained", but
>> there's also a little more of a guarantee that various Debian packages
>> won't step on it.)
>> 
>> > The document type is recognized properly (the sty file is found by
>> > latex), but when trying to use the bibliography style, (latex8.bst)
>> > without a full path it is not found.
>> 
>> You need to use one of the directories reported by 'kpsepath bst', or
>> customize your texmf configuration.  /usr/local/share/texmf/bibtex/bst
>> is probably the best directory on the list.
>> 
>
> Thanx, moved the whole package to /usr/local/share/texmf/latex8/...,
> linked the bst file from /usr/local/share/texmf/bibtex/bst and ran
> texhash. Now the bst file is found but the sty file isn't found by
> latex.

Similarly, 'kpsepath tex' will tell you where .sty files need to go;
probably /usr/local/share/texmf/tex/latex8/ (or even
tex/generic/latex8, going with your original directory layout) would
work.

-- 
David Maze         dmaze@debian.org      http://people.debian.org/~dmaze/
"Theoretical politics is interesting.  Politicking should be illegal."
	-- Abra Mitchell



Reply to: