A LaTeX Listings language definition file for languages used by the MDE community
Either clone or download the files in the repository.
Copy files lstlandmde.sty and lstlocal.cfg to your LaTeX Listings package installation folder. If you use a package manager,
the folder should be in your tex installation folder:
<tex-instalation>\tex\latex\listings
E.g. in my computer (windows) it is C:\MiKTeX 2.9\tex\latex\listings.
If you use a local tex folder then you should know where it is ;)
If you have other style files you have already added to your listings installation then you need to merge your lstlocal.cfg file with the one from this repository.
As a minimum make usre that lstlangmde.sty is added to your the list of \lstlanguagefiles. Optionally, also copy the default dialect definitions.
After instalation you need to refresh your database.
###For Windows (assuming your TeX distribution is MiKTeX):
- Start the Settings windows of MiKTeX with the command sequence: Windows Start -- all programms -- Maintenance (Admin) -- Settings (Admin)
- Choose General and click on Refresh FNDB
Note that if you used the "only this user" installation you can only use the non-admin commands.
###For Linux / Mac
Running sudo texhash should do the trick.