<HTML><BODY style="word-wrap: break-word; -khtml-nbsp-mode: space; -khtml-line-break: after-white-space; "><DIV><DIV>On Jul 28, 2005, at 2:53 PM, Brad Miller wrote:</DIV><BR class="Apple-interchange-newline"><BLOCKQUOTE type="cite">Good idea.  It looks like ctrl-cmd-b is available.  I'll go ahead and bind both bibtex and makeindex to that.<DIV><BR class="khtml-block-placeholder"></DIV><DIV>I was poking at Latexmk earlier this summer.  Latexmk is a perl script that takes care of the whole build for you running latex, bibtex, makeindex as many times as necessary and in the proper order.  </DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>The trick came when I looked at modifying the beast.  Oh how I hate to read other people's Perl code!</DIV><DIV>I want to maintain the nice html output page we have in TextMate.  At the time it looked easier <BR></DIV></BLOCKQUOTE><BLOCKQUOTE type="cite"></BLOCKQUOTE><DIV><FONT class="Apple-style-span" color="#0000DD"><BR class="khtml-block-placeholder"></FONT></DIV>Yeah, I love that too. There is only a slight problem with it for me. While it tells me on which row an error is, and what kind of error it is, for instance "Undefined control sequence" is the most usual, it does not tell me what the command that does not exist is. I guess this information might be in the next line of the output, but somehow it doesn't get shown in the html version.</DIV><DIV>I was trying to reproduce an example to show you, tried something like:</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>\documentclass{amsart}</DIV><DIV>\begin{document}</DIV><DIV>    Hello there:</DIV><DIV>        \something wrong?</DIV><DIV>\end{document}</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>But for some reason it compiles perfectly well from within textmate, completely ignoring the \something command.</DIV><DIV>The console shows this by the way:</DIV><DIV>2005-07-28 15:08:19.888 TextMate[11260] Exception raised during posting of notification.  Ignored.  exception: *** -[NSCFArray objectAtIndex:]: index (0) beyond bounds (0)</DIV><DIV>2005-07-28 15:08:19.906 TextMate[11260] Exception raised during posting of notification.  Ignored.  exception: *** -[NSCFArray objectAtIndex:]: index (0) beyond bounds (0)</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>I am using Texniscope as my viewer, if that makes a difference.</DIV><DIV>Actually, removing the setting of the TM_LATEX_VIEWER variable, I got ten of those exceptions above.</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>Weird.</DIV><DIV><BR><BLOCKQUOTE type="cite"><DIV></DIV><DIV>Brad</DIV><DIV><BR class="khtml-block-placeholder"></DIV></BLOCKQUOTE></DIV><BR><DIV> <DIV>Charilaos Skiadas</DIV><DIV>Department of Mathematics</DIV><DIV>University of Chicago</DIV> </DIV><BR></BODY></HTML>