helpListings package for LaTeX - Support: sr #316, Listings support for scala

 
 
Show feedback again

You are not allowed to post comments on this tracker with your current authentification level.

sr #316: Listings support for scala

Submitted by:  Brooks Moses <brooks>
Submitted on:  Wed Apr 13 05:14:22 2011  
 
Category: NonePriority: 5 - Normal
Severity: 5 - NormalStatus: None
Privacy: PublicAssigned to: None
Open/Closed: OpenOperating System: None

Wed Apr 13 05:14:22 2011, original submission:

Jan Haag wrote, on Wed, 14 Apr 2010 13:30:53 +0200:


Hello,
the language definition below adds support for the scala language to
the listings package;
the keywords are taken from the official language definition, version
2.7 .

Besides, thanks for the package -- it saved me a lot of work...

Jan Haag

--------------------------------------------- CODE
---------------------------------------------

\lst@definelanguage{Scala}%
{morekeywords={%
abstract, case, catch, class, def, do, else, extends, false,
final,%
finally, for, forSome, if, implicit, import, lazy, match, mixin,%
new, null, object, override, package,%
private, protected, requires, return, sealed,%
super, this, throw, trait, true, try,%
type, val, var, while, with, yield},%
sensitive,%
morecomment=[l]//,%
morecomment=[s]{/}{/},%
morestring=[b]",%
morestring=[b]',%
}[keywords,comments,strings]

Brooks Moses <brooks>
Project Administrator

 

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by brooks (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    No Changes Have Been Made to This Item
    Show feedback again

    Back to the top


    Powered by Savane 3.1-cleanup+gray