[mercury-users] LaTeX style for typesetting Mercury?

Kevin Glynn keving at cs.mu.OZ.AU
Mon Apr 30 11:52:47 AEST 2001


Hi Ralph,

I've had very good results with Manuel Chakravarty's haskell
style-sheet.  It makes it easy to mix mathematical notation with
Haskell programs. I don't believe it would take much hacking to get it
to be useful for mercury programs:

http://www.cse.unsw.edu.au/~chak/haskell/haskell-style.html


I have never used the listings package,  so can't comment on
cons/pros. 

regards
Kevin




Ralph Becket writes:
 > Does anyone know of a LaTeX style (or program) suitable for 
 > typesetting Mercury code in LaTeX documents with the minimum
 > of pain?  I've read several Haskell papers where code has
 > been presented rather nicely (i.e. not as verbatim courier),
 > but I've not idea how much mangling was required by hand.
 > The ideal solution would require no editing of Mercury source
 > code for inclusion.
 > 
 > -- Ralph
 > --------------------------------------------------------------------------
 > mercury-users mailing list
 > post:  mercury-users at cs.mu.oz.au
 > administrative address: owner-mercury-users at cs.mu.oz.au
 > unsubscribe: Address: mercury-users-request at cs.mu.oz.au Message: unsubscribe
 > subscribe:   Address: mercury-users-request at cs.mu.oz.au Message: subscribe
 > --------------------------------------------------------------------------
 > 
--------------------------------------------------------------------------
mercury-users mailing list
post:  mercury-users at cs.mu.oz.au
administrative address: owner-mercury-users at cs.mu.oz.au
unsubscribe: Address: mercury-users-request at cs.mu.oz.au Message: unsubscribe
subscribe:   Address: mercury-users-request at cs.mu.oz.au Message: subscribe
--------------------------------------------------------------------------



More information about the users mailing list