<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div><html>Am 02.05.2008 um 13:10 schrieb Charilaos Skiadas:</html><br class="Apple-interchange-newline"><blockquote type="cite">On May 2, 2008, at 4:28 AM, Christian wrote:<br><br><blockquote type="cite">Am 02.05.2008 um 09:47 schrieb Christian:<br></blockquote><blockquote type="cite"><blockquote type="cite">Hi all,<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">I really having trouble with TM. For some reason TM does not consider the % sign within LaTeX. This means I get a lot of error messages. If I comment out some included file (e.g. %\input{history}) TM still reads the file and sends me errors like:<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">Latex Error: ./history.tex:6 LaTeX Error: Something's wrong--perhaps a missing \item.<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">The file looks at this point as follows:<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">% <span class="Apple-tab-span" style="white-space:pre"> </span>\item parindent durch Option halfparskip entfernt<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">Why does that happen and so suddenly and how could I resolve it?<br></blockquote></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">What a strange behaviour. I typeset the file within TeXShop and it gave me a runaway argument with the precise position in the code. I missed a curly bracket on a \url command. Thats it.<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">Why does TM responds with such wrong error messages and not with a precise one?<br></blockquote><br>TM does not try to compile your file, it delegates that task to pdflatex. So does TeXShop. In theory they are calling the same program. So I see no reason for the discrepancy. Please provide a minimal reproducible and clear example.</blockquote><br></div><div>Here is the working minimal example (<b>the curly bracket after \url is missing</b>):</div><div><br></div><div>You can see that TeXShop provides the erroneous passage of the code.</div><div><br></div><div>-------------------------</div><div><div>\documentclass{scrartcl}</div><div>\usepackage{hyperref}</div><div>%</div><div>\begin{document}</div><div><span class="Apple-tab-span" style="white-space:pre"> </span>\url{<a href="http://jabref.sourceforge.net">http://jabref.sourceforge.net</a></div><div>\end{document}</div></div><div>-------------------------</div><div><br></div><div>TM error message:</div><div>-------------------------</div><div><span class="Apple-style-span" style="font-family: 'Trebuchet MS'; font-size: 13px; "><p class="info" style="margin-top: 0px; ">This is pdfTeXk, Version 3.141592-1.40.3 (Web2C 7.5.6)</p><h4 style="font-style: italic; margin-top: 1ex; margin-bottom: 1ex; ">Processing: ./urltest.tex</h4><p class="info">Document Class: scrartcl 2006/07/30 v2.95b KOMA-Script document class (article)</p><p class="warning" style="color: rgb(255, 127, 0); margin-left: 20px; ">! File ended while scanning use of \hyper@n@rmalise.</p><p class="warning" style="color: rgb(255, 127, 0); margin-left: 20px; ">! Emergency stop.</p><p class="error" style="color: red; margin-left: 20px; ">! ==> Fatal error occurred, no output PDF file produced!</p><p>Complete transcript is in <a href="txmt://open?url=file:%2F%2F%2FUsers%2Fchristian%2FDesktop%2F%20%20%2Furltest.log&line=1" style="margin-top: 0px; ">urltest.log</a></p><p class="info">Found 1 errors, and 2 warnings in 1 runs</p></span></div><div>-------------------------</div><div><br></div><div>TeXShop error message</div><div>-------------------------</div><div><img height="86" width="315" apple-width="yes" apple-height="yes" src="cid:1D3E25A4-BDDF-4E4D-942B-BBC39636BB93"></div><div>-------------------------</div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div></body></html>