[XeTeX] Texworks not finding .sty file

Peter Dyballa Peter_Dyballa at Web.DE
Wed May 2 22:57:36 CEST 2012


Am 02.05.2012 um 21:16 schrieb Malcolm Keating:

> I have made sure that utdiss2.sty is located in the directory:
> 
> 
> /usr/local/texlive/2011/texmf-dist/tex/latex/base/

You also have to make sure that this file can be found. And it is not found by TeX by searching the few GB data and thousands of files for the given file name but by looking into a "hash" file. These are created by

	sudo mktexlsr <TeX subtree>

or

	sudo texhash <TeX subtree>

The "subtree" can be one or more of the list /usr/local/texlive/2011/texmf, /usr/local/texlive/2011/texmf-config, /usr/local/texlive/2011/texmf-var, /usr/local/texlive/2011/texmf-dist, /usr/local/texlive/texmf-local. The last two directories or trees contain the TeX software. Particularly the last name, /usr/local/texlive/texmf-local, stands for local additions of TeX. So instead of /usr/local/texlive/2011/texmf-dist/tex/latex/base you should have installed in /usr/local/texlive/texmf-local/tex/latex/<some name> – your additional file(s) is/are not part of the base distribution.


Anyway, running one the two suggested commands should make your STY file "visible" for TeX. Which you can check with

	kpsewhich utdiss2.sty

--
Greetings

  Pete


"Evolution"            o           __o                     _o _
          °\___o      /0~         -\<,              ^\___ /=\\_/-%
oo~_______ /\ /\______/ \_________O/ O_______________o===>-->O--o____




More information about the XeTeX mailing list