lstlisting (latex) for merl generator |
Post Reply |
Author | |
Saivignesh
Contributor Joined: 01.May.2017 Location: Netherlands Points: 17 |
Post Options
Thanks(0)
Posted: 30.Jun.2017 at 09:45 |
Do you have the lstset for MERL generator?
https://en.wikibooks.org/wiki/LaTeX/Source_Code_Listings |
|
jpt
MetaCase Joined: 25.Mar.2008 Points: 239 |
Post Options
Thanks(0)
|
To my knowledge such support is not added for MERL. You may, however, generate LaTeX with MERL in similar way as generators are available for RTF and HTML.
If you want to document generators externally for a report you may export them a) manually by opening the Generator Editor and choosing Generator | Write to File... exporting all generators of the Graph Type to selected directory or b) automatically by running document:into: with preferred parameters. Edited by jpt - 03.Jul.2017 at 08:32 |
|
stevek
MetaCase Joined: 11.Mar.2008 Points: 641 |
Post Options
Thanks(0)
|
Hi Saivignesh,
Looks like it would be really easy for you to add a lstlisting language definition for MERL:
The only thing left would be to recognize types from the metamodel, for things starting with .<~#: and up to an unescaped space or other non-NAMECHAR. Looks like that might need keywordprefix and maybe alsoletter. The colours are simply 50% R, G or B. Hope this helps, and do post the definition if you get anywhere! Steve
|
|
Post Reply | |
Tweet |
Forum Jump | Forum Permissions You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |