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?
Thanks Christian
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?
Christian
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.
Christian
Haris Skiadas Department of Mathematics and Computer Science Hanover College
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@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 -------------------------
-------------------------
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%5E%5EM%5Cend {document}^^M ! File ended while scanning use of \hyper@n@rmalise. <inserted text> \par <*> test.tex
I suspect you have forgotten a `}', causing me to read past where you wanted me to stop. I'll try to recover; but if the error is serious, you'd better type `E' or `X' now and fix your file.
! Emergency stop.
The LaTeX bundle uses a set of regular expressions to match warning and error messages.
The key characters that I look for are:
! at the beginning of a line or the word error or warning on a line followed by the file and line information.
These catch the vast majority of the errors and warnings that latex produces, and is why TM does catch the line ! File ended....
Adding a match for Runaway argument would not be hard if it is the right thing to do....
Thanks,
Brad
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@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@lists.macromates.com (threading gets destroyed and the universe will collapse if you don't) http://lists.macromates.com/mailman/listinfo/textmate
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%5E%5EM%5Cend {document}^^M ! File ended while scanning use of \hyper@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
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@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@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@lists.macromates.com (threading gets destroyed and the universe will collapse if you don't) http://lists.macromates.com/mailman/listinfo/textmate
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%5E%5EM%5Cend {document}^^M ! File ended while scanning use of \hyper@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
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@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@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@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@lists.macromates.com (threading gets destroyed and the universe will collapse if you don't) http://lists.macromates.com/mailman/listinfo/textmate
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%5E%5EM%5Cend {document}^^M ! File ended while scanning use of \hyper@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@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@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@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@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@lists.macromates.com (threading gets destroyed and the universe will collapse if you don't) http://lists.macromates.com/mailman/listinfo/textmate
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.
Well, differences can arise because of the preference settings in the latex bundle (assuming that they are not overridden by a TeX directive at the start of the document) and by using a different engine in TeXShop. Check to see if the engine corresponds to your preferences in the latex bundle in TM (option command ,). Best, Mark
Am 02.05.2008 um 16:34 schrieb Mark Eli Kalderon:
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.
Well, differences can arise because of the preference settings in the latex bundle (assuming that they are not overridden by a TeX directive at the start of the document) and by using a different engine in TeXShop. Check to see if the engine corresponds to your preferences in the latex bundle in TM (option command ,). Best, Mark
Engines:
TeXShop: pdftex TM: pdflatex
Does this make any difference?
Christian