Skip to content

Latest commit

 

History

History
27 lines (20 loc) · 1006 Bytes

UPGRADE.md

File metadata and controls

27 lines (20 loc) · 1006 Bytes

BobV Latex Bundle - Upgrade notes


Join the chat at https://gitter.im/bobvandevijver/latex-bundle

Upgrade from 1.x to 2.x

Symfony 2 and PHP 5 are no longer supported, so make sure to upgrade your systems.

Upgrade from <=0.5 to 0.6

The addPackage call is changed to also accept an options string for the package. To allow this change, the base templates have changed. There will be no problems when you did not overwrite the base article, book or letter templates.

The packages are now contained in an array, where previously the were simply a string.

array(
    'p' => $package,
    'o' => $options
);

You should adjust your custom templates accordingly:

{% for package in packages -%}
  \usepackage[ {{- package.o -}} ]{ {{- package.p -}} }
{%- endfor %}