[TxMt] Latex grammar problem

Alain Matthes alain.matthes at mac.com
Wed May 31 17:18:29 UTC 2006


Le 31 mai 06 à 16:27, Charilaos Skiadas a écrit :
>
> I think the simpler solution for you would be to disable the use of  
> (`) and (') as special characters in LaTeX documents. To do that,  
> open the Bundle editor, go to the LaTeX bundle and find the  
> "Miscellaneous" preference item. In there you will see:
> 	highlightPairs = (
> 		( '"', '"' ),
> 		( '(', ')' ),
> 		( '{', '}' ),
> 		( '[', ']' ),
> 		( '“', '”' ),
> 		( '$', '$' ),
> 		( '`', "'" ),
> 	);
> 	increaseIndentPattern = '^\s*\\begin\{.*\}';
> 	smartTypingPairs = (
> 		( '"', '"' ),
> 		( '(', ')' ),
> 		( '{', '}' ),
> 		( '[', ']' ),
> 		( '“', '”' ),
> 		( '$', '$' ),
> 		( '`', "'" ),
>
>
> and remove the two lines that say: 		( '`', "'" ),
> Then go inside the LaTeX syntax file and find the lines:
> 		{	name = 'string.quoted.single.latex';
> 			begin = '`';
> 			end = "'";
> 		},
>
> and remove those as well. This should make backticks and  
> apostrophes behave like regular symbols. as long as they don't  
> appear two at a time.

Thanks

Yes it's the simpler solution !

Alain Matthes


More information about the textmate mailing list