citHeader("To cite NMOF in publications please use:")

bibentry(bibtype = "Book",
         title   = "Numerical Methods and Optimization in Finance",

         author  = c(person("Manfred", "Gilli", role = "aut"),
                    person("Dietmar", "Maringer", role = "aut"),
                    person("Enrico", "Schumann", role = c("aut", "cre"))),

         year    = "2019",
         publisher = "Elsevier/Academic Press",
         address = "Waltham, MA, USA",
         url     = "http://www.enricoschumann.net/NMOF/",
         note    = "ISBN 978-0128150658",
         edition = "Second",
         textVersion =
         paste("Manfred Gilli, Dietmar Maringer and Enrico Schumann. ",
               "Numerical Methods and Optimization in Finance. 2nd edition. ",
               "Elsevier/Academic Press, 2019.", sep = ""))

bibentry(bibtype = "Manual",
         title   = paste0("Numerical Methods and Optimization in Finance (NMOF) ",
                         "Manual. Package version ", meta$Version, ")"),
         author  = person("Enrico", "Schumann", role = c("aut", "cre")),
         year    = paste0("2011--", sub("-.*", "", meta$Date)),
         url     = "http://enricoschumann.net/NMOF/",
         textVersion =
         paste0("Enrico Schumann. ",
                "Numerical Methods and Optimization in Finance (NMOF). ",
                "Manual. Package version ", meta$Version, "."))
