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

William Atwood <[email protected]>
Newsgroups gmane.comp.tex.miktex
Organization Concordia University, Montreal
Message-ID <[email protected]>
I believe that the problem is that "the file is open in WinEdt."  If you
are editing a file, it is likely to be marked as "locked" in some way.
This would imply that TeX cannot access it (because one should not read
a file that is possibly being changed while you read it).

If you use an integrated environment such as MikTeX, then MikTeX takes
care to properly release the source file before invoking the TeX engine
for compilation.  However, if you use a different editor, which is not
aware of the TeX compilation, then you must explicitly close the file in
the Editor before invoking the compiler.

  Bill

On 04/04/2015 2:39 PM, Jeff Barnett wrote:
> [email protected] wrote on 4/4/2015 10:42 AM:
>> David Allsopp wrote:
>>   >> I am looking for advice on how to set up WinEdt/MiKTeX on a Windows 7
>>   >> system. I have had it running for a while, but there is something peculiar
>>   >> about the directory structure.
>>
>>   > What is peculiar about it?
>>
>> 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.
>>
> Have you made sure the file in an edit buffer has been saved to disk? I 
> think there is an option some place that will force the current buffer 
> to be saved when you do a "compile" action.
> 

-- 
Dr. J.W. Atwood, Eng.             tel:   +1 (514) 848-2424 x3046
Distinguished Professor Emeritus  fax:   +1 (514) 848-2830
Department of Computer Science
   and Software Engineering
Concordia University EV 3.185     email:[email protected]
1455 de Maisonneuve Blvd. West    http://users.encs.concordia.ca/~bill
Montreal, Quebec Canada H3G 1M8

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