This page is no longer maintained — Please continue to the home page at www.scala-lang.org

scaladoc.sty

2 replies
manojo
Joined: 2008-12-22,
User offline. Last seen 3 years 3 weeks ago.
Hi all,

trying to do some documentation for Scala, I fell on the latex tools in misc, which I tried to run on my computer. It seems that scaladoc.sty is using an old caption2.sty file, while it is recommended to go to the more recent version of caption (as per my understanding). And when corrected, there is an option clash.
I think lines 25 and 144 of scaladoc.sty should be changed (graphicx also produces an option clash), but with what exactly I don't know. By removing all options I get listings that are very ugly (writing "def" eats up the 'f'). I think I am missing something. Could someone please explain ?

Thanks,
Manohar
manojo
Joined: 2008-12-22,
User offline. Last seen 3 years 3 weeks ago.
Re: scaladoc.sty
Edit : documentation for a Scala project

On Mon, Jan 12, 2009 at 1:23 AM, Manohar Jonnalagedda <manojo10386 [at] gmail [dot] com> wrote:
Hi all,

trying to do some documentation for Scala, I fell on the latex tools in misc, which I tried to run on my computer. It seems that scaladoc.sty is using an old caption2.sty file, while it is recommended to go to the more recent version of caption (as per my understanding). And when corrected, there is an option clash.
I think lines 25 and 144 of scaladoc.sty should be changed (graphicx also produces an option clash), but with what exactly I don't know. By removing all options I get listings that are very ugly (writing "def" eats up the 'f'). I think I am missing something. Could someone please explain ?

Thanks,
Manohar

Frank Teubler
Joined: 2009-01-22,
User offline. Last seen 3 years 37 weeks ago.
Re: scaladoc.sty

I recommend using the package "listings"
http://dante.ctan.org/CTAN/help/Catalogue/entries/listings.html
http://dante.ctan.org/CTAN/help/Catalogue/entries/listings.html

The package does not support Scala, but you can add an other language.
Attached you can find the definition of Scala (lstlang0.sty). You have
to copy this file into the directory "listings".

http://www.nabble.com/file/p21607482/lstlang0.sty lstlang0.sty
http://www.nabble.com/file/p21607482/demoscala.pdf demoscala.pdf

Copyright © 2012 École Polytechnique Fédérale de Lausanne (EPFL), Lausanne, Switzerland