C.f: #65
@ -1,5 +1,3 @@
# -*- coding: utf-8 -*-
"""Authors string management."""
import logging
"""Build a songbook, according to parameters found in a .sb file."""
import codecs
@ -1,6 +1,3 @@
#!/usr/bin/env python3
"""Content plugin management.
Content that can be included in a songbook is controlled by plugins. From the
"""Change base directory before importing songs."""
from patacrep.content import process_content
"""Include an external list of songs
This plugin provides keyword 'include', used to include an external list of
"""Allow LaTeX sections (starred or not) as content of a songbook."""
from patacrep.content import Content, ContentError
"""Plugin to include songs to the songbook."""
import glob
"""Allow 'songchapter' and 'songsection' as content of a songbook."""
"""Sorted list of songs.
This plugin provides keyword 'sorted', used to include a sorted list of songs
"""Include LaTeX raw code in the songbook."""
"""Dealing with encoding problems."""
"""Songbook exceptions and errors."""
class SongbookError(Exception):
@ -1,4 +1,3 @@
"""File system utilities."""
from contextlib import contextmanager
"""Manage indexes.
Generate indexes files for the songbook compilation. This is a replacement for
"""Very simple LaTeX parser
This module uses an LALR parser to try to parse LaTeX code. LaTeX language
"""Abstract Syntax Tree for LaTeX code."""
# pylint: disable=too-few-public-methods
"""Render `very simple` TeX commands in a simple TeX code."""
"""Very simple LaTeX lexer."""
#! /usr/bin/env python3
"""Command line tool to compile songbooks using the songbook library."""
import argparse
"""Song management."""
import errno
"""Very simple LaTeX parsing."""
import os
"""Template for .tex generation settings and utilities"""
from jinja2 import Environment, FileSystemLoader, ChoiceLoader, \