From 4150d10d258ecf74034f59f9a552525f02f21852 Mon Sep 17 00:00:00 2001 From: Olivier Radisson Date: Tue, 13 Oct 2020 15:01:56 +0200 Subject: [PATCH] Use a more precise definition for 'display' config in layout.tex --- patacrep/data/templates/songbook/layout.tex | 18 ++++++++++++++++-- 1 file changed, 16 insertions(+), 2 deletions(-) diff --git a/patacrep/data/templates/songbook/layout.tex b/patacrep/data/templates/songbook/layout.tex index 1355e9de..c8f2674f 100644 --- a/patacrep/data/templates/songbook/layout.tex +++ b/patacrep/data/templates/songbook/layout.tex @@ -31,7 +31,21 @@ schema: optional: display: type: //arr - contents: //str + contents: + type: //any + of: + - type: //str + value: "Title" + - type: //str + value: "Preface" + - type: //str + value: "Index" + - type: //str + value: "Chords" + - type: //str + value: "Songs" + - type: //str + value: "Postface" default: en: display: @@ -43,7 +57,7 @@ default: - "Postface" description: en: - display: "Ordinate list of section to display" + display: "Ordered list of section to display" fr: display: "Liste ordonnée des sections à afficher" (* endvariables -*)