Text Formattinglistings | Template for MEL (Maya Embedded Language) Source

Information and discussion about LaTeX's general text formatting features (e.g. bold, italic, enumerations, ...)
Post Reply
steigck
Posts: 1
Joined: Fri Oct 07, 2011 7:13 am

listings | Template for MEL (Maya Embedded Language) Source

Post by steigck »

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!

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

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

Post by localghost »

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
Post Reply