fix: updated to the new build system

This commit is contained in:
D. Moonfire 2022-10-14 23:21:51 -05:00
parent c6b03885f1
commit 65c00dc328
53 changed files with 173 additions and 300 deletions

View File

@ -1,14 +0,0 @@
---
title: About D. Moonfire
---
D. Moonfire is the remarkable intersection of a computer nerd and a scientist. He inherited a desire for learning, endless curiosity, and a talent for being a polymath from both of his parents. Instead of focusing on a single genre, he writes stories and novels in many different settings ranging from fantasy to science fiction. He also throws in the occasional romance or forensics murder mystery to mix things up.
In addition to having a borderline unhealthy obsession with the written word, he is also a developer who loves to code as much as he loves writing.
He lives near Cedar Rapids, Iowa with his wife, numerous pet computers, and a pair of highly mobile things of the male variety.
You can see more work by D. Moonfire at his website. His stories and novels can be found on the Fedran website.
* [https://d.moonfire.us/](https://d.moonfire.us/)
* [https://fedran.com/](https://fedran.com/)

View File

@ -1,11 +0,0 @@
---
title: Colophon
---
Each chapter of this book was written and edited using Atom, a Javascript-based editor. The files for the novel were managed in a Git repository on a private GitLab instance. Each chapter was an individual file formatted using Markdown. Information and working notes about the chapters were placed into a YAML header at the top of each chapter.
These individual chapters were combined together using a Typescript-based framework (`mfgames-writing-js`) which produces the EPUB, MOBI, and PDF (via WeasyPrint) versions of the novel. These are built using GitLab's Continuous Integration runners.
The cover was created using Inkscape. The color scheme uses eight colors of a monochromatic scale. These colors are shared among all of the Rutejìmo novels. Likewise, the "0100-02" along the spine indicates this is the third published book ("02") with Rutejìmo as the main character ("0100").
The font used on the cover and interior is Source Serif Pro in various weights and styles. The IPA details are set in Source Sans Pro.

View File

@ -1,36 +0,0 @@
---
title: Credits
---
There are a wide variety of people who were involved with making this book.
### Alpha Readers
* Bill H.
* Ciuin
* Tyree C.
* Cindy M.
* Aimee K.
### Beta Readers
* Chandrakumar M.
* Laura W.
* Marta B.
* Mike K.
### Editors
* Blurb Bitch
* Ronda Swolley
* Shannon Ryan
### Patrons
* Ashish P.
### Family
* Susan
* Eli
* Bruce

View File

@ -1,13 +0,0 @@
---
title: Fedran
---
Fedran is a world caught on the cusp of two great ages.
For centuries, the Crystal Age shaped society through the exploration of magic. Every creature had the ability to affect the world using talents and spells. The only limitation was imagination, will, and the inescapable rules of resonance. But as society grew more civilized, magic became less reliable and weaker.
When an unexpected epiphany seemingly breaks the laws of resonance, everything changed. Artifacts no longer exploded when exposed to spells, but only if they were wrapped in cocoons of steel and brass. The humble fire rune becomes the fuel for new devices, ones powered by steam and pressure. These machines herald the birth of a new age, the Industrial Age.
Now, the powers of the old age struggle against the onslaught of new technologies and an alien way of approaching magic. Either the world will adapt or it will be washed away in the relentless march of innovation.
To explore the world of Fedran, check out [https://fedran.com/](https://fedran.com/). There you'll find stories, novels, character write-ups and more.

View File

@ -1,32 +0,0 @@
---
title: License
---
This book is distributed under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International license. More info can be found at [https://creativecommons.org/licenses/by-nc-sa/4.0/](https://creativecommons.org/licenses/by-nc-sa/4.0/). This means:
### You are free to:
* Share — copy and redistribute the material in any medium or format
* Adapt — remix, transform, and build upon the material
The licensor cannot revoke these freedoms as long as you follow the license terms.
### Under the following terms:
* Attribution — You must give appropriate credit, provide a link to the license, and indicate if changes were made. You may do so in any reasonable manner, but not in any way that suggests the licensor endorses you or your use.
* NonCommercial — You may not use the material for commercial purposes.
* ShareAlike — If you remix, transform, or build upon the material, you must distribute your contributions under the same license as the original.
No additional restrictions — You may not apply legal terms or technological measures that legally restrict others from doing anything the license permits.
### Preferred Attribution
The preferred attribution for this novel is:
> "Sand and Bone" by D. Moonfire is licensed under CC BY-NC-SA 4.0
In the above attribution, use the following links:
* Sand and Bone: [https://fedran.com/sand-and-bone/](https://fedran.com/sand-and-bone/)
* D. Moonfire: https://d.moonfire.us/
* CC BY-NC-SA 4.0: https://creativecommons.org/licenses/by-nc-sa/4.0/

View File

@ -1,20 +0,0 @@
---
title: Patrons
---
This book is freely available on the Fedran website. It can be reformatted for any device, shared, and even reposted on other websites (with attribution and a link to the original). If someone wants to write a fanfic or create art inspired by the book, they are allowed to do so with relatively few limitations, which are set down by the license described in the previous section.
* [https://fedran.com/sand-and-bone/](https://fedran.com/sand-and-bone/)
It is hard to compete with "free" in this day and age. Releasing a book under a Creative Commons license is one way of doing that, but there are still costs associated with producing the results. There are hundreds of hours put into writing it, hiring editors to go through it, and even hosting it on a website. As economics will tell you, there is no such thing as a free lunch. Most of the time, you pay for a book before reading it. Sometimes you have a sample of a few chapters to give you a hint, other times just a blurb. Here, you get the entire piece. If you like it, please consider supporting my writing.
The cheapest way of helping is simply to talk about the book. Post opinions on social networks, write a review and put it up on Amazon or Goodreads, or give a copy to someone who might like it.
The second way of helping is to donate money. Even a dollar helps. There are quite a few ways of doing this: you can buy a print copy; the tip jar at Broken Typewriter Press; or even consider becoming a patron. Patronage provides advance access to works-in-progress, votes on new stories and titles, and input into the world and my writing. You can read more about patrons at:
* [https://broken.typewriter.press/dmoonfire/](https://broken.typewriter.press/dmoonfire/)
* [https://fedran.com/patrons/](https://fedran.com/patrons/)
I can only hope that if you like it, you'll help me write the next one.
Thank you.

View File

@ -32,6 +32,17 @@ organizations:
topics:
secondary:
- kojinōmi
warnings:
primary:
- Named Character Death
- Violence
- Physical Assault
- Physical Abuse
- Sexual Intimacy
secondary:
- Named Animal Death
- Unnamed Animal Death
- Physical Torture
summary: >
Rutejìmo is playing with Mapábyo and his two children, Kitòpi and Piróma when there is a bird-like screen, someone in the clan was in trouble. As they ponder what is going on, Chimípu leaves the valley at high speed; the two parents protect their children from the warrior's high-speed exist. They run back to the valley entrance to see Bakóki dying in Tejíko's arms. While the others get ready to follow Chimípu, Rutejìmo heads back into the valley because he has other duties dealing with Bakóki.
---

View File

@ -21,7 +21,10 @@
"Action",
"Tragedy"
],
"has_dedication": false,
"languages": {
"miwafu": true
},
"has_dedication": true,
"git": {
"http_url": "https://src.mfgames.com/fedran-sources/sand-and-bone.git",
"branch": "master"
@ -37,6 +40,7 @@
"goodreads": "https://www.goodreads.com/book/show/35198914-sand-and-bone"
},
"print": {
"isbn": "978-1-940509-25-9",
"amazon": "http://amzn.to/2FsiVRx",
"typewriter": "https://store.typewriter.press/product/sand-and-bone/"
},
@ -48,18 +52,65 @@
"cover": {
"cover_slug": "0100-02-sand-and-bone",
"title_page_lines": [
"Sand and",
"Sand",
"and",
"Bone"
]
},
"warnings": {
"text": "This novel contains no scenes of sexual assault."
"text": "This novel contains scenes where the primary character and others experience named character death, physical abuse, physical assault, sexual intimacy, and violence. There are also scenes where secondary characters experience named animal death, physical torture, and unnamed animal death. There is no sexual assault.",
"primary": [
"Named Character Death",
"Violence",
"Physical Assault",
"Physical Abuse",
"Sexual Intimacy"
],
"secondary": [
"Named Animal Death",
"Unnamed Animal Death",
"Physical Torture"
]
},
"credits": {
"alpha_readers": [
"Bill H.",
"Ciuin",
"Tyree C.",
"Cindy M.",
"Aimee K."
],
"beta_readers": [
"Chandrakumar M.",
"Laura W.",
"Marta B.",
"Mike K."
],
"editors": [
"Blurb Bitch",
"Ronda Swolley",
"Shannon Ryan"
]
},
"chapters": [
{
"title": "Running Away",
"word_count": 2335,
"summary": "Rutejìmo is playing with Mapábyo and his two children, Kitòpi and Piróma when there is a bird-like screen, someone in the clan was in trouble. As they ponder what is going on, Chimípu leaves the valley at high speed; the two parents protect their children from the warrior's high-speed exist. They run back to the valley entrance to see Bakóki dying in Tejíko's arms. While the others get ready to follow Chimípu, Rutejìmo heads back into the valley because he has other duties dealing with Bakóki.\n"
"summary": "Rutejìmo is playing with Mapábyo and his two children, Kitòpi and Piróma when there is a bird-like screen, someone in the clan was in trouble. As they ponder what is going on, Chimípu leaves the valley at high speed; the two parents protect their children from the warrior's high-speed exist. They run back to the valley entrance to see Bakóki dying in Tejíko's arms. While the others get ready to follow Chimípu, Rutejìmo heads back into the valley because he has other duties dealing with Bakóki.\n",
"warnings": {
"primary": [
"Named Character Death",
"Violence",
"Physical Assault",
"Physical Abuse",
"Sexual Intimacy"
],
"secondary": [
"Named Animal Death",
"Unnamed Animal Death",
"Physical Torture"
]
}
},
{
"title": "Cowardice",
@ -233,4 +284,4 @@
}
]
}
}
}

View File

@ -1,27 +0,0 @@
---
title: Legal
---
Copyright © 2016 D. Moonfire\
Some Rights Reserved\
Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International
Cover art by D. Moonfire
All characters, events, and locations are fictitious. Any resemblance to persons, past, present, and future is coincidental and highly unlikely.
Some scenes and themes that appear in this book: death of named characters, death of a named child, death of animals both named and unnamed, graphical violence, personal tragedy, physical abuse, and torture. There is sex but no explicit scenes. There is no rape.
Broken Typewriter Press\
5001 1st Ave SE\
Ste 105 #243\
Cedar Rapids, IA 52402
Broken Typewriter Press\
[https://broken.typewriter.press/](https://broken.typewriter.press/)
{% if edition.isbn %}
ISBN {{ edition.isbn }}
{% endif %}
Version {{ edition.version }}

View File

@ -1,21 +0,0 @@
---
title: Miwāfu
---
<p>This novel is set in the Mifuno Desert where the native language is Miwāfu. Names in this language are significantly different from English, so here is a short guide on pronunciation and usage.</p>
<p>The biggest difference is that every name is gendered, which is identified by the accent on the penultimate syllable. There are three types of accents:</p>
<ul>
<li><em>Grave</em> (as in hèru for stallion) is a tiny tick that goes down to the right. The grave accent indicates a masculine aspect, either in physical gender, size, or power. Names with grave accents either end in a lower pitch or the entire word is spoken in a lower tone.</li>
<li><em>Macron</em> (for example, hēru for colt) is a bar over the vowel. This is a neuter term, used for many gender-free words or expressions within the language. It is also used for mechanical devices, abstract concepts, and children—both human and beast. Macrons are spoken as a long vowel or drawing out the word just a beat longer than normal.</li>
<li><em>Acute</em> (héru for mare) is a tiny tick that goes to the upper right. The acute indicates feminine aspects of the word. It can represent control without power or precision. These words end on a high note or the entire word is spoken in a higher pitch.</li>
</ul>
<p>The only instances where accents arent used is adjectives or indication of ownership. So, if a valley is owned by the clan Shimusògo, it is known as Shimusogo Valley.</p>
<p>The names themselves are phonetic. A syllable is always from a consonant cluster to the vowel. For examples: Mi.wā.fu (IPA <span class="ipa">/mi.waː.ɸɯ̥/</span>), Shi.mu.sò.go (<span class="ipa">/ɕi.mɯ.ꜜso.ɡo/</span>), and De.sò.chu (<span class="ipa">/de.ꜜso.tɕɯ̥/</span>). The only exception is the letter “n” which is considered part of the syllable before it when not followed by a vowel. For example, ga.n.ré.ko (<span class="ipa">/ɡa.ŋꜛɾe.ko/</span>) and ka.né.ko (<span class="ipa">/ka.ꜛne.ko/</span>).</p>
<p>Miwāfu has no capital letters, they are added to satisfy English conventions.</p>

View File

@ -1 +0,0 @@
<br/>

View File

@ -1,17 +0,0 @@
---
title: Title
---
<div class="title">
<div class="title-area">
<div class="large">Sand</div>
<div class="medium">and</div>
<div class="large">Bone</div>
</div>
<div class="author">D. Moonfire</div>
<div class="publisher">
Broken Typewriter Press &#8226; Cedar Rapids
</div>
</div>

21
matter/credits.md Normal file
View File

@ -0,0 +1,21 @@
---
title: Credits
---
## Alpha Readers
| ---------- | --------- | ----------
| Bill H. | Ciuin | Tyree C. |
| Cindy M. | Aimee K. ||
## Editors
| ---------- | --------- | ----------
| Blurb Bitch | Ronda Swolley | Shannon Ryan |
## Beta Readers
| ---------- | --------- | ----------
| Chandrakumar M. | Laura W. | Marta B. |
| Mike K. |||

View File

@ -10,7 +10,7 @@ Cover art by D. Moonfire
All characters, events, and locations are fictitious. Any resemblance to persons, past, present, and future is coincidental and highly unlikely.
This novel contains no scenes of sexual assault.
This novel contains scenes where the primary character and others experience named character death, physical abuse, physical assault, sexual intimacy, and violence. There are also scenes where secondary characters experience named animal death, physical torture, and unnamed animal death. There is no sexual assault.
Broken Typewriter Press\
5001 1st Ave SE\

61
matter/miwafu.html Normal file
View File

@ -0,0 +1,61 @@
---
title: Miwāfu
---
<p>
This novel has characters who come from the Mifuno Desert where the native
language is Miwāfu. Names in this language are significantly different from
English, so here is a short guide on pronunciation and usage.
</p>
<p>
The biggest difference is that every name is gendered, which is identified
by the accent on the penultimate syllable. There are three types of accents:
</p>
<ul>
<li>
<em>Grave</em> (as in hèru for stallion) is a tiny tick that goes down
to the right. The grave accent indicates a masculine aspect, either in
physical gender, size, or power. Names with grave accents either end in
a lower pitch or the entire word is spoken in a lower tone.
</li>
<li>
<em>Macron</em> (for example, hēru for colt) is a bar over the vowel.
This is a neuter term, used for many gender-free words or expressions
within the language. It is also used for mechanical devices, abstract
concepts, and children—both human and beast. Macrons are spoken as a
long vowel or drawing out the word just a beat longer than normal.
</li>
<li>
<em>Acute</em> (héru for mare) is a tiny tick that goes to the upper
right. The acute indicates feminine aspects of the word. It can
represent control without power or precision. These words end on a high
note or the entire word is spoken in a higher pitch.
</li>
</ul>
<p>
The only instances where accents arent used is adjectives or indication of
ownership. So, if a valley is owned by the clan Shimusògo, it is known as
Shimusogo Valley.
</p>
<p>
The names themselves are phonetic. A syllable is always from a consonant
cluster to the vowel. For examples: Mi.wā.fu (IPA
<span class="ipa">/mi.waː.ɸɯ̥/</span>), Shi.mu.sò.go (<span class="ipa"
>/ɕi.mɯ.ꜜso.ɡo/</span
>), and De.sò.chu (<span class="ipa">/de.ꜜso.tɕɯ̥/</span>). The only
exception is the letter “n” which is considered part of the syllable before
it when not followed by a vowel. For example, ga.n.ré.ko (<span class="ipa"
>/ɡa.ŋꜛɾe.ko/</span
>) and ka.né.ko (<span class="ipa">/ka.ꜛne.ko/</span>).
</p>
<p>
Miwāfu has no capital letters, they are added to satisfy English
conventions.
</p>

View File

@ -1,11 +1,11 @@
{
"metadata": {
"title": "{{edition.fedran.source.title}}",
"title": "Sand and Bone",
"author": "D. Moonfire",
"language": "en",
"theme": "@fedran/writing-theme",
"outputDirectory": ".",
"outputFilename": "dmoonfire-{{edition.fedran.source.title_slug}}-{{edition.name}}-{{edition.version}}.{{edition.ext}}",
"outputFilename": "dmoonfire-{{edition.fedran.source.identifier_slug}}-{{edition.version}}.{{edition.ext}}",
"markdown": {
"extensions": [
{
@ -78,6 +78,11 @@
"liquid": true,
"linear": false
},
{
"element": "dedication",
"source": "matter/dedication.md",
"linear": false
},
{
"element": "toc",
"linear": false,
@ -86,6 +91,11 @@
"editions": ["pdf"]
}
},
{
"element": "preface",
"source": "matter/miwafu.html",
"linear": false
},
{
"element": "chapter",
"number": 1,
@ -114,6 +124,10 @@
"element": "appendix",
"source": "matter/fedran.md"
},
{
"element": "appendix",
"source": "matter/credits.md"
},
{
"element": "appendix",
"id": "license",

View File

@ -1,98 +0,0 @@
metadata:
series:
name: Rutejìmo
volume: 3
title: Sand and Bone
author: D. Moonfire
publisher: Broken Typewriter Press
rights: CC-BY-NC-SA-4.0
description:
source: ./description.markdown
subjects:
- Anime
- Fantasy
- Steampunk
- Fiction
- Action
- Tragedy
language: en
theme: "@fedran/writing-theme"
outputDirectory: .
outputFilename: "dmoonfire-{{ edition.fedran.pov }}-{{ edition.fedran.vol}}-{{ edition.name }}-{{ edition.version }}.{{ edition.editionName }}"
editions:
epub:
format: "@mfgames-writing/epub2"
pdf:
format: "@mfgames-writing/weasyprint"
isbn: 978-1-940509-25-9
images:
grayscale: true
opaque: true
html:
format: "@mfgames-writing/html"
contents:
- element: cover
source: build/repos/fedran-covers/dist/full/0100-02-sand-and-bone-front.jpg
linear: false
exclude:
editions: [pdf]
toc: true
- element: bastard
source: frontmatter/title.html
linear: false
exclude:
editions: [epub]
toc: true
- element: title
source: frontmatter/title.html
linear: false
exclude:
toc: true
- element: legal
source: frontmatter/legal.markdown
liquid: true
linear: false
- element: dedication
source: frontmatter/dedication.markdown
linear: false
- element: toc
linear: false
title: Contents
exclude:
editions: [pdf]
- element: preface
source: frontmatter/miwafu.html
linear: false
- element: preface
source: build/previously.markdown
linear: false
- element: blank
source: frontmatter/pad.html
linear: false
exclude:
editions: [epub]
- element: chapter
number: 1
directory: chapters
source: /^chapter-\d+.markdown$/
start: true
page: 1
pipeline: &pipelines
- module: "@fedran/writing-hyphen"
- module: "@mfgames-writing/hyphen"
- element: appendix
source: backmatter/about.markdown
- element: appendix
source: backmatter/fedran.markdown
- element: appendix
id: license
source: backmatter/license.markdown
- element: appendix
source: backmatter/patrons.markdown
- element: appendix
source: backmatter/credits.markdown
pipeline: *pipelines
- element: colophon
source: backmatter/colophon.markdown

View File

@ -10,9 +10,14 @@ cd $(dirname $(dirname $0))
log "setting up project"
./scripts/setup.sh || exit 1
# Clean up the old files.
log "cleaning old builds"
rm -f dmoonfire*
# Build the project outputs.
log "building PDF"
npm run build:pdf || exit 1
./node_modules/.bin/mfgames-writing-format build pdf || exit 1
log "building EPUB"
npm run build:epub || exit 1
./node_modules/.bin/mfgames-writing-format build epub || exit 1
epubcheck dmoonfire*.epub || exit 1