Stephen Harris <[EMAIL PROTECTED]> writes: > > I have disinstalled the cygwin tetex packages as I use MikTeX and now > > I don't have a fast internet connection to try it personally. Perhaps > > you can help me in solving this problem? Please, put the following 5 lines > > in a file named test.ltx and then run the cygwin latex.exe on it > > (/bin/latex test.ltx): > > > > \nonstopmode\makeatletter > > \ifx\undefined\documentclass\else > > \message{ThisIsLaTeX2e} > > \fi > > \ <at> <at> end > > > > After you have done it, please paste the output in your reply, such that > > I can have a look at it. > > > > Same result from Cygwin shell or Dos shell: > > Stephen <at> Primary /usr/share/texmf > $ /bin/latex test.ltx > This is pdfeTeX, Version 3.141592-1.21a-2.2 (Web2C 7.5.4) > kpathsea: Running mktexfmt latex.fmt > /usr/bin/mktexfmt: line 333: /texconfig/tcfmgr: No such file or directory > fmtutil: config file `fmtutil.cnf' not found. > I can't find the format file `latex.fmt'!
Stephen, most probably your tetex installation is corrupted. Try reinstalling it. In the meantime I've got a fast connection and tried to install again the cygwin tetex packages. I can confirm that everything works fine with all cygwin tools, but I had to put the following .bat files in ~\LyX\bin latex.bat ----8<--------8<---- @echo off sh.exe -c 'latex %*' exit ----8<--------8<---- pdflatex.bat ----8<--------8<---- @echo off sh.exe -c 'pdflatex %*' exit ----8<--------8<---- python.bat ----8<--------8<---- @echo off sh.exe -c 'python %*' exit ----8<--------8<---- xdvi.bat ----8<--------8<---- @echo off set DISPLAY=localhost:0.0 sh.exe -c 'xdvi %*' exit ----8<--------8<---- Everything works like a charm. The first time I tried View->Dvi I had the impression that LyX was hanging, but then I realized that I had just installed tetex and it was simply busy in generating all the needed fonts. So, the first time it took almost forever but then xdvi popped up showing me the dvi. In conclusion, cygwin helper apps can be used with the native version of LyX but some of them must be called through a wrapper script. This happens when either they are symlinks to the real apps or they are shell scripts, or they need some environment variables to be set (like in the xdvi case which both is a shell script and needs DISPLAY to be set). I think I can say that if there is a problem using cygwin apps, this is due to either a broken installation or misconfiguration. -- Enrico