Advice on WinEdt/MiKTeX on a Windows 7?

[email protected]
Newsgroups gmane.comp.tex.miktex
Message-ID <[email protected]>
Ulrike Fischer wrote 2015-04-04 21:04:11

 >> 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.

I already have all my TeX files in a separate directory (call it T).

I tried something else:

I used Maintenance (Admin) to refresh FNDB, instead of Maintenance, 
and now my new file compiles using WinEdt/MiKTeX.

Using Maintenance (Admin)/Options/Root shows
a) only directory T when "Show MiKTeX-maintained root directories" is 
NOT checked, and
b) diretory T + C:\ProgramData\MiKTeX\2.9 and C:\Program Files 
(x86)\MiKTeX 2.9 when it is.

So, I guess I still have the original question: how do I set things 
up so when I create a new TeX file in my directory T, MiKTeX will see 
it *without* my having to refresh FNDB (or any other such step).

------------------------------------------------------------------------------
BPM Camp - Free Virtual Workshop May 6th at 10am PDT/1PM EDT
Develop your own process in accordance with the BPMN 2 standard
Learn Process modeling best practices with Bonita BPM through live exercises
http://www.bonitasoft.com/be-part-of-it/events/bpm-camp-virtual- event?utm_
source=Sourceforge_BPM_Camp_5_6_15&utm_medium=email&utm_campaign=VA_SF
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.