# [TxMt] Re: textmate Digest, Vol 36, Issue 22

Fri Sep 21 13:05:06 UTC 2007

On 9/21/07, Luca Torella <lucatorella at 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.

>
> *Data: *21 settembre 2007 12:10:48 GMT+02:00
>
> *A: *TextMate users <textmate at lists.macromates.com>
>
> *Oggetto: **Re: [TxMt] latex bundle - coloring error - \ and lstlisting*
>
> *Rispondi a: *TextMate users <textmate at lists.macromates.com>
>
>
>
> Hi Luca,
>
>
> 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
>
>
>
> Department of Mathematics and Computer Science
>
> Hanover College
>
>
>
>
>
>
>
>
> **
>
> *Da: *"Robin Houston" <robin.houston at gmail.com>
>
> *Data: *21 settembre 2007 12:18:47 GMT+02:00
>
> *A: *"TextMate users" <textmate at lists.macromates.com>
>
> *Oggetto: **Re: [TxMt] latex bundle - coloring error - \ and lstlisting*
>
> *Rispondi a: *TextMate users <textmate at lists.macromates.com>
>
>
>
>
> The version on the web looks really weird, no newlines etc.
>
>
>
> If you download it, it looks okay; though it's not a standalone document
>
> uses.)
>
>
> Robin
>
>
>
>
> ______________________________________________________________________
> 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/20070921/62080f33/attachment.html>