<div dir="ltr"><br><div class="gmail_extra">On Thu, Feb 21, 2013 at 5:23 PM, Mojca Miklavec <span dir="ltr"><<a href="mailto:mojca.miklavec.lists@gmail.com" target="_blank">mojca.miklavec.lists@gmail.com</a>></span> wrote:<br>
<div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div class="im">On Thu, Feb 21, 2013 at 8:16 PM, BPJ wrote:<br>
> On 2013-02-21 08:50, Mojca Miklavec wrote:<br>
>><br>
</div><div class="im">>> The only thing that needs to be done is to replace<br>
>>      /usr/local/texlive/2012/bin/<platform>/xetex<br>
>> (and possibly xdvipdfmx) with the new version and remake the formats.<br>
>> Path might vary depending on your installation.<br>
><br>
> You mean that it's not enugh to put it somewhere else and have the system<br>
> find it?<br>
<br>
</div>You can put the binary *somewhere* else, but not *anywhere* else. TeX<br>
is compiled in such a way that it searches for texmf.cnf in folders<br>
that are relative to its location. It would probably work if you would<br>
put it into<br>
    /usr/local/texlive/2012/bin/mypatchedbinaries/xetex<br>
and add /usr/local/texlive/2012/bin/mypatchedbinaries to PATH.<br>
<br>
(For example, if TeX Live is installed in /usr/local/texlive/2012 then<br>
adding the binary to $HOME/bin won't work, even if $HOME/bin is in<br>
PATH, since the binary won't be able to find the corresponding </blockquote><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">configuration file.)<span class=""><font color="#888888"><br>
</font></span></blockquote><div><br></div><div>Correct. I often create  /usr/local/texlive/YYYY/bin/<arch>-l directories for<br></div><div>"locally compiled" versions, and adjust the PATH accordingly when I want<br>
to use those versions.    It is worth mentioning that the environment <br>modules package makes it easy to adjust the environment (e.g., PATH) <br>from the commandline, e.g.,<br><br></div><div>$ module swap TL TL-patched<br>
<br></div></div>-- <br>George N. White III <<a href="mailto:aa056@chebucto.ns.ca">aa056@chebucto.ns.ca</a>><br>Head of St. Margarets Bay, Nova Scotia
</div></div>