Browse Source

bookoption is an internal config

pull/190/head
Oliverpool 9 years ago
parent
commit
5274b4c99d
  1. 2
      patacrep/build.py
  2. 2
      patacrep/data/templates/patacrep.tex
  3. 2
      patacrep/data/templates/songs.tex

2
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)

2
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 *)

2
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 *)

Loading…
Cancel
Save