Use new ChordPro RRJSON configuration format
Requires ChordPro version 6.060.
This commit is contained in:
parent
d97d0cc0f6
commit
7c074457c9
127
chordpro.json
127
chordpro.json
@ -1,85 +1,58 @@
|
||||
{
|
||||
"pdf" : {
|
||||
"papersize" : "a4",
|
||||
"columnspace" : 20,
|
||||
"margintop" : 60,
|
||||
"marginbottom" : 40,
|
||||
"marginleft" : 40,
|
||||
"marginright" : 40,
|
||||
"headspace" : 40,
|
||||
"footspace" : 20,
|
||||
pdf {
|
||||
papersize : a4
|
||||
columnspace : 20
|
||||
margintop : 60
|
||||
marginbottom : 40
|
||||
marginleft : 40
|
||||
marginright : 40
|
||||
headspace : 40
|
||||
footspace : 20
|
||||
|
||||
"formats" : {
|
||||
"title" : {
|
||||
"title" : [ "", "%{title}", "%{artist}" ],
|
||||
"subtitle" : [ "", "", "" ],
|
||||
},
|
||||
},
|
||||
formats.title {
|
||||
title : [ "" "%{title}" "%{artist}" ]
|
||||
subtitle : [ "" "" "" ]
|
||||
}
|
||||
|
||||
"fontdir" : [ "static/fonts/liberation-fonts-ttf-2.1.5/" ],
|
||||
"fontconfig" : {
|
||||
"serif" : {
|
||||
"" : "LiberationSerif-Regular.ttf",
|
||||
"bold" : "LiberationSerif-Bold.ttf",
|
||||
"italic" : "LiberationSerif-Italic.ttf",
|
||||
"bolditalic" : "LiberationSerif-BoldItalic.ttf"
|
||||
},
|
||||
"sans" : {
|
||||
"" : "LiberationSans-Regular.ttf",
|
||||
"bold" : "LiberationSans-Bold.ttf",
|
||||
"italic" : "LiberationSans-Italic.ttf",
|
||||
"bolditalic" : "LiberationSans-BoldItalic.ttf"
|
||||
},
|
||||
"monospace" : {
|
||||
"" : "LiberationMono-Regular.ttf",
|
||||
"bold" : "LiberationMono-Bold.ttf",
|
||||
"italic" : "LiberationMono-Italic.ttf",
|
||||
"bolditalic" : "LiberationMono-BoldItalic.ttf"
|
||||
},
|
||||
},
|
||||
|
||||
"fonts" : {
|
||||
"title" : {
|
||||
"description" : "serif bold 14"
|
||||
},
|
||||
"subtitle" : {
|
||||
"description" : "serif 11"
|
||||
},
|
||||
"text" : {
|
||||
"description" : "serif 12"
|
||||
},
|
||||
"chord" : {
|
||||
"description" : "sans italic 10"
|
||||
},
|
||||
"comment" : {
|
||||
"description" : "sans 12",
|
||||
"background" : "#E5E5E5"
|
||||
},
|
||||
"comment_italic" : {
|
||||
"description" : "sans italic 12"
|
||||
},
|
||||
"comment_box" : {
|
||||
"description" : "sans 12",
|
||||
"frame" : 1
|
||||
},
|
||||
"tab" : {
|
||||
"description" : "monospace 10"
|
||||
},
|
||||
"toc" : {
|
||||
"description" : "serif 11"
|
||||
},
|
||||
"grid" : {
|
||||
"description" : "sans 10"
|
||||
},
|
||||
"chordfingers" : {
|
||||
"description" : "dingbats 10"
|
||||
fontdir : [ static/fonts/liberation-fonts-ttf-2.1.5/ ]
|
||||
fontconfig {
|
||||
serif {
|
||||
"" : LiberationSerif-Regular.ttf
|
||||
bold : LiberationSerif-Bold.ttf
|
||||
italic : LiberationSerif-Italic.ttf
|
||||
bolditalic : LiberationSerif-BoldItalic.ttf
|
||||
}
|
||||
sans {
|
||||
"" : LiberationSans-Regular.ttf
|
||||
bold : LiberationSans-Bold.ttf
|
||||
italic : LiberationSans-Italic.ttf
|
||||
bolditalic : LiberationSans-BoldItalic.ttf
|
||||
}
|
||||
monospace {
|
||||
"" : LiberationMono-Regular.ttf
|
||||
bold : LiberationMono-Bold.ttf
|
||||
italic : LiberationMono-Italic.ttf
|
||||
bolditalic : LiberationMono-BoldItalic.ttf
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
"html" : {
|
||||
"styles" : {
|
||||
"display" : "/chordpro.css"
|
||||
fonts {
|
||||
title.description : "serif bold 14"
|
||||
subtitle.description : "serif 11"
|
||||
text.description : "serif 12"
|
||||
chord.description : "sans italic 10"
|
||||
comment {
|
||||
description : "sans 12"
|
||||
background : #E5E5E5
|
||||
}
|
||||
comment_italic.description : "sans italic 12"
|
||||
comment_box {
|
||||
description : "sans 12"
|
||||
frame : 1
|
||||
}
|
||||
tab.description : "monospace 10"
|
||||
toc.description : "serif 11"
|
||||
grid.description : "sans 10"
|
||||
}
|
||||
}
|
||||
|
||||
html.styles.display : /chordpro.css
|
||||
|
Loading…
Reference in New Issue
Block a user