citHeader("To cite the FD package in publications please use:")

bibentry(bibtype="article",
         title = "A distance-based framework for measuring functional diversity from multiple traits",
         author = c(
	    person("Etienne", "Laliberté", email="etiennelaliberte@gmail.com"),
	    person("Pierre", "Legendre", email="pierre.legendre@umontreal.ca")
	    ),
         journal="Ecology",
         year="2010",
         volume="91",
         pages="299--305",

 textVersion="Laliberté, E., and P. Legendre (2010) A distance-based framework for measuring functional diversity from multiple traits. Ecology 91:299-305.")

if(!exists("meta") || is.null(meta)) meta <- packageDescription("foo")
year <- sub(".*(2[[:digit:]]{3})-.*", "\\1", meta$Date)
vers <- paste("R package version", meta$Version)

bibentry(bibtype="manual",
         title = "FD: measuring functional diversity from multiple traits, and other tools for functional ecology",
         author = c(
	     person("Etienne", "Laliberté", email="etiennelaliberte@gmail.com"), 
	     person("Pierre", "Legendre", email="pierre.legendre@umontreal.ca"), 
	     person("Bill", "Shipley", email="bill.shipley@usherbrooke.ca")
	     ),
        year = year,
        note = vers,
        textVersion = paste("Laliberté, E., Legendre, P., and B. Shipley. (",
                            year,
                             "). FD: measuring functional diversity from multiple traits, and other tools for functional ecology. ",
                            vers, ".", sep=""))


citFooter("See http://www.elaliberte.info/publications for a PDF version of the article.")
