Browse Source

Typo : le commit 11add71d84 ne servait à rien

pull/22/head
Louis 11 years ago
parent
commit
3ae700f7b3
  1. 4
      songbook_core/data/templates/default.tex
  2. 4
      songbook_core/data/templates/layout.tex
  3. 4
      songbook_core/data/templates/patacrep.tex
  4. 2
      songbook_core/templates.py

4
songbook_core/data/templates/default.tex

@ -19,7 +19,7 @@
%! https://github.com/patacrep/
(% variables %)
(* variables *)
{
"title": {"description": {"english": "Title", "french": "Titre"},
"default": {"english": "Guitar songbook", "french": "Recueil de chansons pour guitare"},
@ -58,7 +58,7 @@
"french": "Options pour traiter les noms d'auteurs (commandes LaTeX authsepword, authignoreword, authbyword)"}
}
}
(% endvariables %)
(* endvariables *)
(* extends "songs.tex" *)
(* set indexes = "titleidx,authidx" *)

4
songbook_core/data/templates/layout.tex

@ -26,7 +26,7 @@
%%
%% Generated using Songbook <http://www.patacrep.com>
(% variables %)
(* variables *)
{
"instruments": {"description": {"english": "Instruments", "french": "Instruments"},
"type": "flag",
@ -67,7 +67,7 @@
"default": {"english": "english", "french": "french"}
}
}
(% endvariables %)
(* endvariables *)
(* block documentclass *)
\documentclass[((booktype)),

4
songbook_core/data/templates/patacrep.tex

@ -19,7 +19,7 @@
%! https://github.com/patacrep/
(% variables %)
(* variables *)
{
"songnumberbgcolor": {"description": {"english": "Number Shade", "french": "Couleur des numéros"},
"type": "color",
@ -34,7 +34,7 @@
"default": {"default": "D1E4AE"}
}
}
(% endvariables %)
(* endvariables *)
(* extends "default.tex" *)

2
songbook_core/templates.py

@ -2,7 +2,7 @@
# -*- coding: utf-8 -*-
"""Template for .tex generation settings and utilities"""
from jinja2 import Environment, FileSystemLoader, ChoiceLoader, PackageLoader, TemplateNotFound
from jinja2 import Environment, FileSystemLoader, ChoiceLoader, PackageLoader, TemplateNotFound, nodes
from jinja2.ext import Extension
from jinja2.meta import find_referenced_templates as find_templates
import os

Loading…
Cancel
Save