<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On 15 January 2017 at 09:20, Philip Taylor <span dir="ltr"><<a href="mailto:P.Taylor@rhul.ac.uk" target="_blank">P.Taylor@rhul.ac.uk</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><span class="gmail-"><br>
</span><br>
But all of this is besides the point :  surely<br>
<br>
        o XeTeX --output-directory=../dynamic-<wbr>content foo (or foo.tex)<br>
<br>
should compile foo.tex, not ../dynamic-content/foo.tex<br>
<br>
** Phil.<br>
</blockquote></div><br><br></div><div class="gmail_extra">No I think not,  if you do not give a full path to a file tex (usually) looks in . first<br></div><div class="gmail_extra">then looks along the path. --output-directory --output-directory is documented<br></div><div class="gmail_extra">as using the specified directory before the path<br><br></div><div class="gmail_extra">texdoc web2c page 8 says<br><br>`-output-directory=dirname'<br>               Specify the directory dirname to which output files are written. Also look for<br>               input files in dirname first, before looking along the normal search path. See<br>               Section 3.4 [Output file location], page 9.<br><br><br></div><div class="gmail_extra">but as I said this thread just joins the many previous ones, it seems like anyone who<br>uses --output-directory eventually asks about some confusing aspect of its behaviour.<br><br></div><div class="gmail_extra">I don't think it would be better here if tex looked in the current directory, then the output<br></div><div class="gmail_extra">directory then the path, as that would mean that if you add -output-directory a document<br></div><div class="gmail_extra">would keep inputting stale tables of contents and aux files from the current directory<br></div><div class="gmail_extra">not new ones being written elsewhere.<br><br></div><div class="gmail_extra">You can always use a full path to the input file to specify a specific file.<br></div><div class="gmail_extra"><br></div><div class="gmail_extra">David<br><br></div><div class="gmail_extra"><br></div></div>