[TxMt] TM does not consider the % sign in LaTeX

Christian maillists at gmx.de
Fri May 2 17:13:09 UTC 2008


Am 02.05.2008 um 18:09 schrieb Brad Miller:

>
> On May 2, 2008, at 10:55 AM, Christian wrote:
>
>> Hi Brad,
>>
>> Thanks for the answer. Putting your text above the quote makes the  
>> whole thread very confusing (see 2.3 Why should I place my response  
>> below the quoted text?).
>>
>> Am 02.05.2008 um 16:48 schrieb Brad Miller:
>>> Looking at your test program log output this is what I see in the  
>>> log:
>>>
>>> (./test.out) (./test.out)
>>> \@outlinefile=\write3
>>> \openout3 = `test.out'.
>>>
>>> )
>>> Runaway argument?
>>> {http://jabref.sourceforge.net^^M\end {document}^^M
>>> ! File ended while scanning use of \hyper at n@rmalise.
>>> <inserted text>
>>>                 \par
>>> <*> test.tex
>>
>> Did you get this error message with TM or with TeXShop. As I wrote  
>> below, I got the same with TeXShop.
>>
>> Christian
>>
>
> Christian,
>
> The same error message is produced no matter if I use TexShop,  
> TextMate, or I simply run pdflatex from the command line.  In fact  
> both TexShop and TextMate use pdflatex behind the scenes.  The  
> difference is in how TextMate,TexShop, and pdflatex present the  
> error message to the user.
>
> pdflatex gives you too much information to make it easy to find the  
> errors and warnings  (You can see this by clicking on the log link  
> in the Typeset & View window)
>
> TextMate and TexShop both try to just give you the information that  
> is most important.  However they use different methods for figuring  
> out what is important to show you.  You have just uncovered a case  
> that TextMate could handle better.  I'll have a solution in the next  
> update to the Latex bundle.
>
> Brad

Brad, thanks for your excellent answer. I assume you are the developer  
of the Latex bundle?

I will wait for the next update.

Christian


>>> On May 2, 2008, at 9:34 AM, Christian wrote:
>>>> Am 02.05.2008 um 13:10 schrieb Charilaos Skiadas:
>>>>> On May 2, 2008, at 4:28 AM, Christian wrote:
>>>>>
>>>>>> Am 02.05.2008 um 09:47 schrieb Christian:
>>>>>>> Hi all,
>>>>>>>
>>>>>>> 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:
>>>>>>>
>>>>>>> Latex Error: ./history.tex:6 LaTeX Error: Something's wrong-- 
>>>>>>> perhaps a missing \item.
>>>>>>>
>>>>>>> The file looks at this point as follows:
>>>>>>>
>>>>>>> % 	\item parindent durch Option halfparskip entfernt
>>>>>>>
>>>>>>> Why does that happen and so suddenly and how could I resolve it?
>>>>>>
>>>>>> 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.
>>>>>>
>>>>>> Why does TM responds with such wrong error messages and not  
>>>>>> with a precise one?
>>>>>
>>>>> 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.
>>>>
>>>> Here is the working minimal example (the curly bracket after \url  
>>>> is missing):
>>>>
>>>> You can see that TeXShop provides the erroneous passage of the  
>>>> code.
>>>>
>>>> -------------------------
>>>> \documentclass{scrartcl}
>>>> \usepackage{hyperref}
>>>> %
>>>> \begin{document}
>>>> 	\url{http://jabref.sourceforge.net
>>>> \end{document}
>>>> -------------------------
>>>>
>>>> TM error message:
>>>> -------------------------
>>>> This is pdfTeXk, Version 3.141592-1.40.3 (Web2C 7.5.6)
>>>>
>>>> Processing: ./urltest.tex
>>>>
>>>> Document Class: scrartcl 2006/07/30 v2.95b KOMA-Script document  
>>>> class (article)
>>>>
>>>> ! File ended while scanning use of \hyper at n@rmalise.
>>>>
>>>> ! Emergency stop.
>>>>
>>>> ! ==> Fatal error occurred, no output PDF file produced!
>>>>
>>>> Complete transcript is in urltest.log
>>>>
>>>> Found 1 errors, and 2 warnings in 1 runs
>>>>
>>>> -------------------------
>>>>
>>>> TeXShop error message
>>>> -------------------------
>>>> <ishot-2.png>
>>>> -------------------------
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>> ______________________________________________________________________
>>>> For new threads USE THIS: textmate at lists.macromates.com
>>>> (threading gets destroyed and the universe will collapse if you  
>>>> don't)
>>>> http://lists.macromates.com/mailman/listinfo/textmate
>>>
>>>
>>> ______________________________________________________________________
>>> For new threads USE THIS: textmate at lists.macromates.com
>>> (threading gets destroyed and the universe will collapse if you  
>>> don't)
>>> http://lists.macromates.com/mailman/listinfo/textmate
>>
>>
>> ______________________________________________________________________
>> For new threads USE THIS: textmate at lists.macromates.com
>> (threading gets destroyed and the universe will collapse if you  
>> don't)
>> http://lists.macromates.com/mailman/listinfo/textmate
>
>
> ______________________________________________________________________
> For new threads USE THIS: textmate at lists.macromates.com
> (threading gets destroyed and the universe will collapse if you don't)
> http://lists.macromates.com/mailman/listinfo/textmate

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macromates.com/textmate/attachments/20080502/4398e66a/attachment.html>


More information about the textmate mailing list