<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div>I am working with plain.tex</div><div><br></div><div>The file essai.tex is contained into the folder chapter1</div><div>(path : chapter1/essai1.tex)</div><div><br></div><div>The following code works fine :</div><div><br></div><div>------------------------------------------------------------</div><div><div>\newwrite \auxfile</div><div>\immediate \openout \auxfile \jobname.aux</div><div>\immediate \write \auxfile {encore un essai !}</div><div>\immediate \closeout \auxfile </div><div>------------------------------------------------------------</div><div><br></div><div>If I want to put the aux file into a folder named separatefolder </div><div>contained inside chapter1 (path : chapter1/separatefolder), </div><div>the code following works again :</div><div><br></div><div>------------------------------------------------------------</div><div><div>\newwrite \auxfile</div><div>\immediate \openout \auxfile separatefolder/\jobname.aux</div><div>\immediate \write \auxfile {encore un essai !}</div><div>\immediate \closeout \auxfile </div><div>------------------------------------------------------------</div><div><br></div><div>The aux file is now chapter1/separatefolder/essai1.aux</div><div><br></div><div>But when folders chapter1 and separatefolder have the same father </div><div>(paths father/chapter1 and father/separatefolder), </div><div>the following code do not work :</div><div><br></div><div>------------------------------------------------------------</div><div><div>\newwrite \auxfile</div><div>\immediate \openout \auxfile ../separatefolder/\jobname.aux</div><div>\immediate \write \auxfile {encore un essai !}</div><div>\immediate \closeout \auxfile </div><div>------------------------------------------------------------</div><div><br></div><div>I get the error message :</div><div><font class="Apple-style-span" size="2"><span class="Apple-style-span" style="font-size: 10px;"><span class="Apple-style-span" style="font-size: medium;"><br></span></span></font></div><div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 10px/normal Monaco; "><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 10px/normal Monaco; "><font class="Apple-style-span" face="Helvetica" size="3"><span class="Apple-style-span" style="font-size: 12px;">(./essai.tex/usr/texbin/pdftex: Not writing to ../separatefolder/essai.aux (openout_any = p).</span></font></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 10px/normal Monaco; min-height: 14px; "><font class="Apple-style-span" face="Helvetica" size="3"><span class="Apple-style-span" style="font-size: 12px;"><br></span></font></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 10px/normal Monaco; "><font class="Apple-style-span" face="Helvetica" size="3"><span class="Apple-style-span" style="font-size: 12px;">! I can't write on file `../separatefolder/essai.aux'.</span></font></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 10px/normal Monaco; "><font class="Apple-style-span" face="Helvetica" size="3"><span class="Apple-style-span" style="font-size: 12px;">l.5 ...ut \auxfile ../separatefolder/\jobname.aux</span></font></div></div><div><font class="Apple-style-span" size="3"><span class="Apple-style-span" style="font-size: 12px;"><br></span></font></div><div>The some error occurs if ../separatefolder/\jobname.aux</div><div>is changed in "../separatefolder/\jobname.aux" </div><div><br></div><div><span class="Apple-style-span" style="font-size: 12px; ">Can anybody tell where is the -- probably obvious -- error ?</span></div><div><font class="Apple-style-span" size="3"><span class="Apple-style-span" style="font-size: 12px;"><br></span></font></div><div><font class="Apple-style-span" size="3"><span class="Apple-style-span" style="font-size: 12px;">Thank you.</span></font></div><div><font class="Apple-style-span" size="3"><span class="Apple-style-span" style="font-size: 12px;"><br></span></font></div><div><font class="Apple-style-span" size="3"><span class="Apple-style-span" style="font-size: 12px;">Raymond Séroul</span></font></div><div><font class="Apple-style-span" size="3"><span class="Apple-style-span" style="font-size: 12px;">Université de Strasbourg</span></font></div><div><font class="Apple-style-span" size="2"><span class="Apple-style-span" style="font-size: 10px;"><br></span></font></div><div><font class="Apple-style-span" size="2"><span class="Apple-style-span" style="font-size: 10px;"><br></span></font></div><div><font class="Apple-style-span" face="Monaco" size="2"><span class="Apple-style-span" style="font-size: 10px;"><br></span></font></div></div></div></div></div></body></html>