[TxMt] Latex syntax highlighting bug with quotes

Kevin Horton khorton01 at rogers.com
Thu Aug 23 09:48:00 UTC 2007


On 22 Aug 2007, at 22:40, Charilaos Skiadas wrote:

> On Aug 22, 2007, at 9:27 PM, Kevin Horton wrote:
>
>> I'm using the LaTeX bundle from SVN, updated daily (currently at  
>> r8019).  One of my documents has the following line of text, which  
>> causes the syntax highlighting to misfire:
>>
>> \textbf{Top row} - Manifold Pressure (`` HG) and Fuel Pressure ($ 
>> \mathrm{lb/in^{2}}$).\\
>>
>> The fact that the quotes are not closed seems to be the problem.   
>> But, I believe this is a perfectly legal usage, if you want to use  
>> an abbreviation for "inches".
>
> I'm afraid the only way we can avoid highlighting this incorrectly  
> is if we completely disable highlighting of quotes, which I'd  
> rather avoid doing. Would Jenny's suggestion work for you?

Yes, Jenny's suggestion works, but Alan's pointer to simply using a  
bare (") seems even better.  Thanks to Alan and Jenny for pointing me  
in the right direction.

Kevin Horton
Ottawa, Canada





More information about the textmate mailing list