Dear Sirs and Mesdames:<br><br>I wrote to the list crying about how I can't get cygwin's latex to work,<br>and I can get texlive's binaries to work in place of cygwin's own,<br>but then I am missing xdvi.<br>
<br><div class="gmail_quote">On Feb 9, 2008 5:27 AM, Karl Berry <<a href="mailto:karl@freefriends.org" target="_blank">karl@freefriends.org</a>> 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> do something to the xdvi included in cygwin so that I can run it using<br> TeXLive's TDS.<br><br></div>If you're lucky, perhaps simply copying the executable into the same bin<br>directory as the TL binaries will work. (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. 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 cygwin'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't use cygwin's xdvi with TeXLive's other binaries,<br>if I get it to work, I'll let everybody know.<br><br><br>