137 lines
3.6 KiB
JSON
137 lines
3.6 KiB
JSON
{
|
|
"metadata": {
|
|
"title": "Sand and Ash",
|
|
"author": "D. Moonfire",
|
|
"language": "en",
|
|
"theme": "@fedran/writing-theme",
|
|
"outputDirectory": ".",
|
|
"outputFilename": "dmoonfire-{{edition.fedran.source.identifier_slug}}-{{edition.version}}.{{edition.ext}}",
|
|
"markdown": {
|
|
"extensions": [
|
|
{
|
|
"package": "markdown-it-multimd-table",
|
|
"options": {
|
|
"headerless": true
|
|
}
|
|
}
|
|
]
|
|
},
|
|
"style": {
|
|
"css": "td { width: 6em; } td[colspan=\"2\"] { width: 12em; }"
|
|
}
|
|
},
|
|
"includes": [
|
|
{
|
|
"json": "./fedran.json",
|
|
"merge": "metadata.fedran"
|
|
}
|
|
],
|
|
"editions": {
|
|
"epub": {
|
|
"format": "@mfgames-writing/epub2-format",
|
|
"ext": "epub"
|
|
},
|
|
"pdf": {
|
|
"format": "@mfgames-writing/weasyprint-format",
|
|
"isbn": "",
|
|
"images": {
|
|
"grayscale": true,
|
|
"opaque": true
|
|
},
|
|
"ext": "pdf"
|
|
},
|
|
"docx": {
|
|
"format": "@mfgames-writing/docx-format",
|
|
"ext": "docx"
|
|
}
|
|
},
|
|
"contents": [
|
|
{
|
|
"element": "cover",
|
|
"source": "build/fedran-covers/pov/covers/0100-01-sand-and-ash.jpg",
|
|
"linear": false,
|
|
"exclude": {
|
|
"editions": ["pdf"],
|
|
"toc": true
|
|
}
|
|
},
|
|
{
|
|
"element": "bastard",
|
|
"source": "matter/title.html",
|
|
"linear": false,
|
|
"exclude": {
|
|
"editions": ["epub", "html"],
|
|
"toc": true
|
|
}
|
|
},
|
|
{
|
|
"element": "title",
|
|
"source": "matter/title.html",
|
|
"linear": false,
|
|
"exclude": {
|
|
"toc": true
|
|
}
|
|
},
|
|
{
|
|
"element": "legal",
|
|
"source": "matter/legal.md",
|
|
"liquid": true,
|
|
"linear": false
|
|
},
|
|
{
|
|
"element": "dedication",
|
|
"source": "matter/dedication.md",
|
|
"linear": false
|
|
},
|
|
{
|
|
"element": "toc",
|
|
"linear": false,
|
|
"title": "Contents",
|
|
"exclude": {
|
|
"editions": ["pdf"]
|
|
}
|
|
},
|
|
{
|
|
"element": "preface",
|
|
"source": "matter/miwafu.html",
|
|
"linear": false
|
|
},
|
|
{
|
|
"element": "chapter",
|
|
"number": 1,
|
|
"directory": "chapters",
|
|
"source": "/^chapter-\\d+.(markdown|md)$/",
|
|
"start": true,
|
|
"page": 1,
|
|
"pipeline": [
|
|
{
|
|
"module": "@mfgames-writing/guillemet"
|
|
},
|
|
{
|
|
"module": "@fedran/writing-hyphen"
|
|
},
|
|
{
|
|
"module": "@mfgames-writing/hyphen-pipeline",
|
|
"exclude": ["`.*?`", "<code>.*?</code>"]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"element": "appendix",
|
|
"source": "matter/about.md"
|
|
},
|
|
{
|
|
"element": "appendix",
|
|
"source": "matter/fedran.md"
|
|
},
|
|
{
|
|
"element": "appendix",
|
|
"source": "matter/credits.md"
|
|
},
|
|
{
|
|
"element": "appendix",
|
|
"id": "license",
|
|
"source": "matter/license.md"
|
|
}
|
|
]
|
|
}
|