From 5274b4c99ded8d7fe2da848a764f84cbcdfa0966 Mon Sep 17 00:00:00 2001 From: Oliverpool Date: Tue, 9 Feb 2016 16:53:53 +0100 Subject: [PATCH] bookoption is an internal config --- patacrep/build.py | 2 +- patacrep/data/templates/patacrep.tex | 2 +- patacrep/data/templates/songs.tex | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/patacrep/build.py b/patacrep/build.py index 96a09424..0e86f74a 100644 --- a/patacrep/build.py +++ b/patacrep/build.py @@ -110,7 +110,7 @@ class Songbook: ) self._config['filename'] = output.name[:-4] - self._config['bookoptions'] = iter_bookoptions(self._config) + self._config['_bookoptions'] = iter_bookoptions(self._config) renderer.render_tex(output, self._config) self._errors.extend(renderer.errors) diff --git a/patacrep/data/templates/patacrep.tex b/patacrep/data/templates/patacrep.tex index 48cb7bd4..fce3a9e1 100644 --- a/patacrep/data/templates/patacrep.tex +++ b/patacrep/data/templates/patacrep.tex @@ -63,7 +63,7 @@ default: (* block songbookpackages *) \usepackage[ - (* for option in bookoptions *)((option)), + (* for option in _bookoptions *)((option)), (* endfor *) ]{crepbook} (* endblock *) diff --git a/patacrep/data/templates/songs.tex b/patacrep/data/templates/songs.tex index 94846f0d..50e23ec4 100644 --- a/patacrep/data/templates/songs.tex +++ b/patacrep/data/templates/songs.tex @@ -22,7 +22,7 @@ (* block songbookpackages *) \usepackage[ - (* for option in bookoptions *)((option)), + (* for option in _bookoptions *)((option)), (* endfor *) ]{patacrep} (* endblock *)