[TxMt] comments in LaTeX bundle, wrong with TeX grammar

Damien Pollet damien.pollet at gmail.com
Tue Jun 17 15:07:04 UTC 2008

Hi list,

The comment/decomment command (apple-/) has a different effect in
LaTeX files (correctly prepends %) than in TeX files (incorrectly
prepends #).

To fix that:
< ciaran> cDlm: ok, if you go into the bundle editor, change the
dropdown at top left to
                select Preferences, and then look for the "Comments"
item in the LaTeX bundle
< ciaran> and change where it says "text.tex.latex" at the bottom
right to be "text.tex"

Also here are the conclusions of the IRC discussion with ciaran and allan:
- the TeX grammar is not meant to be use per se (then it shouldn't
appear in the mode menu at the bottom of buffers)
- .sty files are claimed by the TeX grammar (LaTeX would be better)

Damien Pollet
type less, do more [ | ] http://people.untyped.org/damien.pollet

More information about the textmate mailing list