[texworks] Project Management type stuff

Bruno Voisin bvoisin at me.com
Thu Oct 14 08:57:46 CEST 2010

Le 14 oct. 2010 à 04:52, Paul A Norman a écrit :

> Is there any distribution independant way that we can get TeXworks to
> help users keep track of their own .sty(s) etc?
> [...]
> But is there any way we can include this sort of thing in project
> management in TeXWorks?
> Can for example a LaTeX document have some sort of  (relative?) path
> statement for the location of User made Style files?

That's something related to the TeX distribution TeXworks is a front-end to, not to TeXworks itself.

The placement of style files etc. in a given texmf tree is defined by the TDS (TeX Directory Structure) <http://mirror.ctan.org/tds/tds.pdf>.

The number, naming and search order of the various texmf trees is, I think, specific to a given TeX distribution. For TeX Live, this is defined in texmf.cnf.

For example on the Mac

TEXMFHOME = ~/Library/texmf
TEXMFVAR = ~/Library/texlive/2010/texmf-var
TEXMFCONFIG = ~/Library/texlive/2010/texmf-config

The result is a hierarchy of locations:

~/Library/texlive/2010/{texmf-config,texmf-var} (user-specific automatically generated files)
~/Library/texmf (user-specific input files -- style files, fonts, etc.)
/usr/local/texlive/2010/{texmf-config,texmf-var} (system-wide automatically generated files)
/usr/local/texlive/texmf-local (system-wide local input files -- style file, fonts, etc.)
/usr/local/texlive/2010/{texmf,texmf-dist} (system-wide default TeX system)

and a search order through this hierarchy:

$ kpsewhich --show-path=.sty --progname=latex | tr : '\n'

I imagine MikTeX has also its own specific way of dealing with the same matter.

So, to summarize, I don't think TeXworks must involved in this, it all occurs in a lower layer of the TeX setup.

Bruno Voisin

More information about the texworks mailing list