[texworks] Project Management type stuff

Paul A Norman paul.a.norman at gmail.com
Thu Oct 14 10:51:33 CEST 2010

Yes thanks Bruno, that tree I showed is from a custom part of my MiTeK

So there is no directive that can be placed in a document then?

I was wondering becasue a .sty in a document's own directory is
recognisable and usable in the current document with out the LaTeX
distro yet knowing about it, so I was wondering if any  sort of
document package path directives existed like
\graphicspath{{c:\mypict~1\camera}} does for graphics? Or whether
there is way of placing a path in the

The real life purpose is for current team work where people are
potentially on different LaTeX distros, all using TeXWorks and you
want to keep a project file structure with custom packages in a
certain part of that structure, which can be accessed with relative
paths preferably.

(Not re-supplying changed .sty on a document by document basis,
becasue multiple seperate documents (in their own folders) are sharing
the same .sty and all need access to the updated version of it)

If it were possible, then QtScripting would keep track of relative paths.

I''d better post to a specific LaTeX forum on this point - wider than
just TeXWorks I think.


On 14 October 2010 19:57, Bruno Voisin <bvoisin at me.com> wrote:
> 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'
> .
> /Users/bvoisin/Library/texlive/2010/texmf-config/tex/latex//
> /Users/bvoisin/Library/texlive/2010/texmf-var/tex/latex//
> /Users/bvoisin/Library/texmf/tex/latex//
> !!/usr/local/texlive/2010/texmf-config/tex/latex//
> !!/usr/local/texlive/2010/texmf-var/tex/latex//
> !!/usr/local/texlive/2010/texmf/tex/latex//
> !!/usr/local/texlive/2010/../texmf-local/tex/latex//
> !!/usr/local/texlive/2010/texmf-dist/tex/latex//
> /Users/bvoisin/Library/texlive/2010/texmf-config/tex/generic//
> /Users/bvoisin/Library/texlive/2010/texmf-var/tex/generic//
> /Users/bvoisin/Library/texmf/tex/generic//
> !!/usr/local/texlive/2010/texmf-config/tex/generic//
> !!/usr/local/texlive/2010/texmf-var/tex/generic//
> !!/usr/local/texlive/2010/texmf/tex/generic//
> !!/usr/local/texlive/2010/../texmf-local/tex/generic//
> !!/usr/local/texlive/2010/texmf-dist/tex/generic//
> /Users/bvoisin/Library/texlive/2010/texmf-config/tex///
> /Users/bvoisin/Library/texlive/2010/texmf-var/tex///
> /Users/bvoisin/Library/texmf/tex///
> !!/usr/local/texlive/2010/texmf-config/tex///
> !!/usr/local/texlive/2010/texmf-var/tex///
> !!/usr/local/texlive/2010/texmf/tex///
> !!/usr/local/texlive/2010/../texmf-local/tex///
> !!/usr/local/texlive/2010/texmf-dist/tex///
> 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