NAME

LibreCat::Citation - creates citations via a CSL engine or template

SYNOPSIS

    use LibreCat::Citation;

    my $data = {};
    my $styles = LibreCat::Citation->new(all => 1)->create($data);
    # or
    LibreCat::Citation->new(style => 'apa')->creat($data);

CONFIGURATION

    # config/citation.yml
    prefix:
      _citation:

    engine: {template|csl|none}
    template:
      template_path: views/citation.tt
    csl:
      url: 'http://localhost:8085'
      default_style: chicago
      styles:
        - modern-language-association
        - chicago
        - ...