Dear Sirs and Mesdames:<br><br>I wrote to the list crying about how I can&#39;t get cygwin&#39;s latex to work,<br>and I can get texlive&#39;s binaries to work in place of cygwin&#39;s own,<br>but then I am missing xdvi.<br>
<br><div class="gmail_quote">On Feb 9, 2008 5:27 AM, Karl Berry &lt;<a href="mailto:karl@freefriends.org" target="_blank">karl@freefriends.org</a>&gt; wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">

<div> &nbsp; &nbsp;do something to the xdvi included in cygwin so that I can run it using<br> &nbsp; &nbsp;TeXLive&#39;s TDS.<br><br></div>If you&#39;re lucky, perhaps simply copying the executable into the same bin<br>directory as the TL binaries will work. &nbsp;(It can then try to find the<br>

fonts and support files by its own location.)<br><br>Failing that, all that comes to mind is to write a batch file that sets<br>environment variables and then calls the cygwin xdvi. &nbsp;Perhaps all that<br>is needed is<br>set TEXMFCNF=c:\your\texlive\root\web2c<br>

but I cannot say for sure.<br></blockquote><div><br>Tipped off by this suggestion, I checked to see if cygwin inherited any TEXMF<br>related environmental variables, and sure enough, TeXLive sets TEXMFCNF<br>and TEXMFTMP, which clobbers&nbsp; cygwin&#39;s own TeX/LaTeX installation [tetex].<br>
<br>I unset those environmental variables in the .bashrc and everything can now<br>work, I built a tar file that will install <span class="nfakPe">CJK</span> for big5 using the arphic TTF fonts <br>as kai and song over the current <span class="nfakPe">cygwin</span> <br>
<br>I put it at<br><br><a href="http://by.iis.sinica.edu.tw/cjk-cygwin" target="_blank">http://by.iis.sinica.edu.tw/<span class="nfakPe">cjk</span>-<span class="nfakPe">cygwin</span></a><br>
<br>Hope this helps someone in the future.<br></div></div><br>
I still can&#39;t use cygwin&#39;s xdvi with TeXLive&#39;s other binaries,<br>if I get it to work, I&#39;ll let everybody know.<br><br><br>