Re: Advice on WinEdt/MiKTeX on a Windows 7?

Ulrike Fischer <[email protected]>
Newsgroups gmane.comp.tex.miktex
Message-ID <[email protected]>
Am Sat, 04 Apr 2015 09:42:18 -0700 schrieb [email protected]:

> I have a number of my TeX files in a folder. Any one of these files 
> can be compiled by plain TeX with no difficulty.  But if I use WinEdt 
> to create and edit a new file in the same folder, when I run the TeX 
> compiler via WinEdt, TeX says "I can't find file newfile.tex", even 
> though that very file is open in WinEdt.
> 
> I tried using "maintenance" to refresh FNDB, and still get the same error.

> Maintenance/Options/Root shows no directories, unless "Show 
> MiKTeX-maintained root directories" is checked. Then it shows my TeX 
> file directory (that containing the TeX documents I have written). 

You should'nt put files that you want to compile in a texmf root.
That's the wrong place, such files belongs e.g. in your document
folder. Miktex doesn't add the current folder in a texmf to the
search path so you will always have problems if you try to compile
there. 

If you add files like a .sty to a texmf root make sure to update the
FNDB correctly: with miktex-setting (admin) for the common roots,
and with the user miktex-settings for user roots.



-- 
Ulrike Fischer 
http://www.troubleshooting-tex.de/


------------------------------------------------------------------------------
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the 
conversation now. http://goparallel.sourceforge.net/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.