From: Hans F. N. <Han...@hi...> - 2005-04-29 09:28:56
|
On Fri, Apr 29, 2005 at 11:00:32AM +0200, Ulrich Dirr wrote: [cut] > Another problem is with path searching. I made a local copy of miktex.ini > and tried to figure out how I can setup an additional 'Input Dirs+=;' > directive but failed. > > My home directory has the following directory structure: > > \projects--+ > +--\projectnameA--+ > | +--\macros > | > +--\projectnameB--+ > | +--\macros > | > +--\projectnameC--+ > | +--\macros > | > +--\projectnameD--+ > +--\macros > > All \macros subdirectories are containing special style files valid only > for the associated project. > > Now I want to set an 'Input Dirs' directive in miktex.ini so that this > subdirectory is automatically searched when compiling a project. With fptex > I added a line in texmf.cnf, e.g., 'TEXINPUTS.pdflatex = > .;./macros;$HOMETEXMF//;$TEXMF/tex/{latex,generic,}//'. How can I get this > with miktex? MiKTeX doesn't use the Kpathsea library for searching (hence pdfetex in stead of pdfetexk) and therefore doesn't support TEXINPUTS. However, it should be straight forward to edit the [pdflatex] section of miktex.ini. The default is: ---- [pdfLaTeX] ;; file name extensions recognized by pdfLaTeX Extensions=.tex;.src;.ltx ;; where pdfLaTeX searches for input files Input Dirs=. Input Dirs+=;%R\pdfetex\latex// ... ---- Changing this to ---- [pdfLaTeX] ;; file name extensions recognized by pdfLaTeX Extensions=.tex;.src;.ltx ;; where pdfLaTeX searches for input files Input Dirs=. Input Dirs+=.\macros Input Dirs+=;%R\pdfetex\latex// ... ---- should work. NB! Read http://miktex.org/manual/chgmiktexini.html Hans |