Hi Rob,

Thanks for figuring this out. I have always @language latex in my files, 
because that is what gets automatically added by Leo when opening a file 
with a .tex filename extension.

Since latex and tex have the same syntax, I don't see why there should be 
two different syntax coloring rules. There are some tex commands which are 
deemed obsolete in latex, like \em and \bf. It may make sense to color 
these differently in latex, but I fear it would need a latex expert to 
identify these and even then it my be a matter of taste.

In my mind, the most sensible solution would be to use always the tex 
syntax rules and to make @language tex the default when loading .tex (or 
.latex) files.  I am unsure about .bib files. In case one uses biblatex, 
they may contain tex commands, but they would really need a bit a different 
treatment.

- Josef


-- 
You received this message because you are subscribed to the Google Groups 
"leo-editor" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/leo-editor.
For more options, visit https://groups.google.com/d/optout.

Reply via email to