Apart from pure TeX there are two big macro languages for TeX: * LaTeX (more known, wide userbase, badly maintained) * ConTeXt (less known, smaller but fast growing userbase, very actively maintained and extensible) Since to most advances editors it is not the same which is which (because of different syntax highlighting, autocompletion etc.), I suggest that a mime type should be added to differentiate these two from plain TeX. The most notable difference are the environments (given example is how the document text is handled, but same applies to all the other environments): * e.g. in LaTeX: \begin{document} ... \end{document} * e.g. in ConTeXt: \starttext ... \stopttext Another example. This time of a user-specified environment: * in LaTeX: \begin{my_env} ... \end{my_env} * in ConTeXt: \startmy_env \stopmy_env
Could you please provide an example file for it?
Created attachment 18594 [details] An example ConTeXt file This is an example ConTeXt file taken from: http://wiki.contextgarden.net/Hello_world
Created attachment 18595 [details] An example LaTeX file Example LaTeX file taken from: http://en.wikipedia.org/wiki/LaTeX
Please follow the instructions at: http://cgit.freedesktop.org/xdg/shared-mime-info/tree/HACKING#n31 for mime-type additions.
-- GitLab Migration Automatic Message -- This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity. You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/xdg/shared-mime-info/issues/91.
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.