[OzTeX] Trouble with location of added .sty files

John Rawnsley J.Rawnsley at warwick.ac.uk
Sun Aug 20 09:32:44 CEST 2006


On 19 Aug 2006, at 23:05, John B. Thoo wrote:

> Hello.
>
> I'm using Mac OS X 10.3.9 and OzTeX 5.2 Aug 2004 and tetex installed
> using Fink.  In the Local file I have
>
> %% Unix parameters
> unix_shell = /bin/bash
>
> unix_path =
> "/sw/bin:/sw/sbin:/sw/share/texmf-local:/bin:/sbin:/usr/bin:/usr/ 
> local/
> bin:/Users/jbthoo::/usr/X11R6/bin"
>
>
> Now my problem.  I have a file "interitemtext.sty".  I can call on the
> file with  \usepackage[]{...}  if I place it in
>
>    /sw/share/texmf-local/interitemtext/interitemtext.sty
>
> and exexute  sudo texhash
>
> BUT, I cannot call on the file if I place it in
>
>    /sw/share/texmf-local/tex/latex/interitemtext/interitemtext.sty
>
> EVEN IF I edit the Local file to read
>
> unix_path =
> "/sw/bin:/sw/sbin:/sw/share/texmf-local:/sw/share/texmf-local/tex/
> latex:/bin:/sbin:/usr/bin:/usr/local/bin:/Users/jbthoo::/usr/X11R6/ 
> bin"
>
> What am I doing wrong?

The unix_path variable stores a search path for command line
executables not tex files.

The search path you need for tex inputs like .sty files is called
input_folders and you would add a line like

input_folders = $c /sw/share/texmf-local/tex/latex/*

to the OzTeX section of your Local file to find the files in folders
inside

/sw/share/texmf-local/tex/latex/


John
--
  John Rawnsley * <http://www.maths.warwick.ac.uk/staff/jhr.html>




More information about the oztex mailing list