On 9/21/07, Luca Torella lucatorella@gmail.com wrote:
Guys, the file i linked is just a chapter... all the include, documentclass etc are in the main file... just trust me the file is regular latex, i can compile it even through textmate without any warning/error... there is just a problem in coloring and i'd be happy if someone, which know the latex bundle, can fix it. btw, i've also an improvement request in the latex bundle... every time i do typeset and view the pdf go to the beginning of the document, which is very annoying, especially if you are reviewing a document of many pages... TexShop for example keep the position in the pdf viewer, letting you see the changes very fast.
This should work already IF you use Skim, or TeXniscope as your external viewer. I have not been able to make the TexShop viewer sync with LaTeX from TextMate.
Brad
*Da: *Charilaos Skiadas cskiadas@gmail.com
*Data: *21 settembre 2007 12:10:48 GMT+02:00
*A: *TextMate users textmate@lists.macromates.com
*Oggetto: **Re: [TxMt] latex bundle - coloring error - \ and lstlisting*
*Rispondi a: *TextMate users textmate@lists.macromates.com
Hi Luca,
I cannot reproduce this, and downloading the file you put on the ticket did not help either. Perhaps you can send me the sample file over email? The version on the web looks really weird, no newlines etc.
Btw, what is the scope on the lines both before and after your lstlisting? You can find that by placing the caret there and pressing ctrl-shift-p. Also what is the scope inside your lstlisting?
On Sep 20, 2007, at 12:22 PM, Luca Torella wrote:
There is an error in the coloring of a latex document when i put a '' in a lstlisting; here is the example:
\begin{lstlisting}
reservedWordsFM = listToUFM $
map ((x, y, z) -> (mkFastString x, (y, z)))
\end{lstlisting}
the '' is legal in the lstlisting but the bundle show an invalid string and invalidate all t he remaining document
if u wanna see the file which introduce the error you can download it here:
http://macromates.com/ticket/show?ticket_id=0A9B755F
Haris Skiadas
Department of Mathematics and Computer Science
Hanover College
**
*Da: *"Robin Houston" robin.houston@gmail.com
*Data: *21 settembre 2007 12:18:47 GMT+02:00
*A: *"TextMate users" textmate@lists.macromates.com
*Oggetto: **Re: [TxMt] latex bundle - coloring error - \ and lstlisting*
*Rispondi a: *TextMate users textmate@lists.macromates.com
On 21/09/2007, Charilaos Skiadas cskiadas@gmail.com wrote:
The version on the web looks really weird, no newlines etc.
I think that's because your web browser is trying to interpret it as HTML.
If you download it, it looks okay; though it's not a standalone document
(it doesn't start with \documentclass, nor indicate which packages it uses.)
Robin
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