|
@ -12,7 +12,7 @@ import yaml |
|
|
|
|
|
|
|
|
from patacrep import authors, content, errors, encoding, files, utils |
|
|
from patacrep import authors, content, errors, encoding, files, utils |
|
|
from patacrep.index import process_sxd |
|
|
from patacrep.index import process_sxd |
|
|
from patacrep.templates import TexBookRenderer |
|
|
from patacrep.templates import TexBookRenderer, iter_bookoptions |
|
|
from patacrep.songs import DataSubpath, DEFAULT_CONFIG |
|
|
from patacrep.songs import DataSubpath, DEFAULT_CONFIG |
|
|
|
|
|
|
|
|
LOGGER = logging.getLogger(__name__) |
|
|
LOGGER = logging.getLogger(__name__) |
|
@ -109,6 +109,8 @@ class Songbook(object): |
|
|
) |
|
|
) |
|
|
config['filename'] = output.name[:-4] |
|
|
config['filename'] = output.name[:-4] |
|
|
|
|
|
|
|
|
|
|
|
config['bookoptions'] = iter_bookoptions(config) |
|
|
|
|
|
|
|
|
renderer.render_tex(output, config) |
|
|
renderer.render_tex(output, config) |
|
|
|
|
|
|
|
|
def requires_lilypond(self): |
|
|
def requires_lilypond(self): |
|
|