Hi,
I'm searching for an automated way to highlight the syntax of a MEL (Maya Embedded Language) listing. For other source code listing I usually use the "listings" package. Any solution?
Thanks a lot!
Text Formatting ⇒ listings | Template for MEL (Maya Embedded Language) Source
NEW: TikZ book now 40% off at Amazon.com for a short time.

- localghost
- Site Moderator
- Posts: 9202
- Joined: Fri Feb 02, 2007 12:06 pm
listings | Template for MEL (Maya Embedded Language) Source
At the moment I see no other solution than defining the language on your own. Section 3.2 of the listings manual shows you how to do that. Perhaps you can swap the new language definitions into an external file. There are files called »lstlang‹n›.sty« (with ‹n›=1,2,3) in the TeX installation tree which contain the definitions for the predefined languages. You may find some inspiration there. But I think the above mentioned descriptions in the manual will be helpful.
Best regards and welcome to the board
Thorsten
Best regards and welcome to the board
Thorsten
How to make a "Minimal Example"
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10