fix: updating to the new build system

This commit is contained in:
D. Moonfire 2022-10-14 23:10:20 -05:00
parent 11a56cb6e0
commit 878e683125
53 changed files with 180 additions and 285 deletions

View File

@ -1,11 +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 at [https://d.moonfire.us/](https://d.moonfire.us/). His fantasy world, Fedran, can be found at [https://fedran.com/](https://fedran.com/).

View File

@ -1,11 +0,0 @@
---
title: Colophon
---
Each chapter of this book was written and edited using Emacs, Atom, and LibreOffice. 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 cobbled-together collection of Perl, Python, and Javascript tools that transform the results into XeLaTeX (PDF and print version), EPUB, MOBI, or Microsoft Word.
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-01" along the spine indicates this is the second published book ("01") with Rutejìmo as the main character ("0100").
The font used on the cover and interior is Corda in various weights and styles.

View File

@ -1,36 +0,0 @@
---
title: Credits
---
I used to do acknowledgements but then I realized there were a lot of people who went into helping me write this book, more than would comfortably fit in a few paragraphs. At the same time, I felt the need to thank them because without their help, this book would remain only in my imagination.
### Alpha Readers
If it wasn't for the Noble Pen writing group, I would have never gotten that far.
* Bill H.
* Ciuin F.
* Mark H.
* Nick T.
* Tyree C.
### Beta Readers
* Chandrakumar M.
* Kenneth E.
* Laura W.
* Marta B.
* Mike K.
* Stacie S.
### Editors
* Blurb Bitch
* Ronda Swolley
* Shannon Ryan
### 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 Ash" by D. Moonfire is licensed under CC BY-NC-SA 4.0
In the above attribution, use the following links:
* Sand and Ash: [https://fedran.com/sand-and-ash/](https://fedran.com/sand-and-ash/)
* D. Moonfire: https://d.moonfire.us/
* CC BY-NC-SA 4.0: https://creativecommons.org/licenses/by-nc-sa/4.0/

View File

@ -1,15 +0,0 @@
---
title: Patrons
---
This book is freely available on the Fedran website at [https://fedran.com/sand-and-blood/](https://fedran.com/sand-and-blood/). 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.
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 ([https://broken.typewriter.press/dmoonfire/](https://broken.typewriter.press/dmoonfire/)); 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://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

@ -33,12 +33,25 @@ organizations:
- Mafimára
- Beporómu (Epigraph)
- Jyomíku (Epigraph)
topics:
concepts:
secondary:
- Kyōti Rites of Passage
referenced:
- Words of the Desert (Epigraph)
- Miwāfu (Epigraph)
warnings:
primary:
- Bullying
- Depression
- Violence
- Physical Abuse
- Emotional Abuse
- Verbal Abuse
- Suicidal Ideation
- Sexual Intimacy
secondary:
- Named Character Death
- Miscarriage
summary: >
Rutejìmo was running alone in the desert to relax after a difficult job getting two clans to sign a deal. When he finished his run, his older friend, Gemènyo, met him at the entrance of the cave and walks with him. Gemènyo asks Rutejìmo to join in a card game that night while slyly asking if Rutejìmo was interested in any women. He made a note that Rutejìmo tugged his tooth necklace whenever he thinks about Mikáryo, a night warrior.

View File

@ -21,10 +21,13 @@
"Drama",
"Romance"
],
"has_dedication": false,
"languages": {
"miwafu": true
},
"has_dedication": true,
"git": {
"http_url": "https://src.mfgames.com/fedran-sources/sand-and-ash.git",
"branch": "master"
"branch": "main"
},
"links": {
"development": {
@ -37,6 +40,7 @@
"goodreads": "https://www.goodreads.com/book/show/31085548-sand-and-ash"
},
"print": {
"isbn": "978-1-940509-16-7",
"amazon": "http://amzn.to/2GkDPiY",
"typewriter": "https://store.typewriter.press/product/sand-and-ash/"
},
@ -52,13 +56,65 @@
]
},
"warnings": {
"text": "This novel contains no scenes of sexual assault."
"text": "This novel contains scenes where the primary character and others experience bullying, depression, emotional abuse, physical abuse, sexual intimacy, suicidal ideation, verbal abuse, and violence. There are also scenes where secondary characters experience miscarriage and named character death. There is no sexual assault.",
"primary": [
"Bullying",
"Depression",
"Violence",
"Physical Abuse",
"Emotional Abuse",
"Verbal Abuse",
"Suicidal Ideation",
"Sexual Intimacy"
],
"secondary": [
"Named Character Death",
"Miscarriage"
]
},
"credits": {
"alpha_readers": [
"Bill H.",
"Ciuin F.",
"Mark H.",
"Nick T.",
"Tyree C."
],
"beta_readers": [
"Chandrakumar M.",
"Kenneth E.",
"Laura W.",
"Marta B.",
"Mike K.",
"Stacie S."
],
"editors": [
"Blurb Bitch",
"Ronda Swolley",
"Shannon Ryan"
]
},
"chapters": [
{
"title": "Running Alone",
"word_count": 3236,
"summary": "Rutejìmo was running alone in the desert to relax after a difficult job getting two clans to sign a deal. When he finished his run, his older friend, Gemènyo, met him at the entrance of the cave and walks with him. Gemènyo asks Rutejìmo to join in a card game that night while slyly asking if Rutejìmo was interested in any women. He made a note that Rutejìmo tugged his tooth necklace whenever he thinks about Mikáryo, a night warrior.\nWhen Gemènyo left Rutejìmo for his own home cave, Rutejìmo continued to his own cave. He repacked and prepared his supplies for the next trip. When he finished, he came out just as Mapábyo, an adopted young woman of the clan, stopped him. She asked about the rites of passage and what would happen. Rutejìmo knew he couldn't tell her details so they just chatted.\nGemènyo joined them at the end of the conversation. He chastised her for asking for details and she ran off. Alone with Rutejìmo, Gemènyo teased Rutejìmo who doesn't realize that Mapábyo has a crush on him.\n"
"summary": "Rutejìmo was running alone in the desert to relax after a difficult job getting two clans to sign a deal. When he finished his run, his older friend, Gemènyo, met him at the entrance of the cave and walks with him. Gemènyo asks Rutejìmo to join in a card game that night while slyly asking if Rutejìmo was interested in any women. He made a note that Rutejìmo tugged his tooth necklace whenever he thinks about Mikáryo, a night warrior.\nWhen Gemènyo left Rutejìmo for his own home cave, Rutejìmo continued to his own cave. He repacked and prepared his supplies for the next trip. When he finished, he came out just as Mapábyo, an adopted young woman of the clan, stopped him. She asked about the rites of passage and what would happen. Rutejìmo knew he couldn't tell her details so they just chatted.\nGemènyo joined them at the end of the conversation. He chastised her for asking for details and she ran off. Alone with Rutejìmo, Gemènyo teased Rutejìmo who doesn't realize that Mapábyo has a crush on him.\n",
"warnings": {
"primary": [
"Bullying",
"Depression",
"Violence",
"Physical Abuse",
"Emotional Abuse",
"Verbal Abuse",
"Suicidal Ideation",
"Sexual Intimacy"
],
"secondary": [
"Named Character Death",
"Miscarriage"
]
}
},
{
"title": "Decisions Made",

View File

@ -1,27 +0,0 @@
---
title: Legal
---
Copyright © 2015 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 themes that appear in this book: bullying, death of named characters, death of unborn children, depression, graphical violence, personal tragedy, physical abuse, suicide, and verbal abuse. 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,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">Ash</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 F. | Mark H. |
| Nick T. | Tyree C. ||
## Editors
| ---------- | --------- | ----------
| Blurb Bitch | Ronda Swolley | Shannon Ryan |
## Beta Readers
| ---------- | --------- | ----------
| Chandrakumar M. | Kenneth E. | Laura W. |
| Marta B. | Mike K. | Stacie S. |

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 bullying, depression, emotional abuse, physical abuse, sexual intimacy, suicidal ideation, verbal abuse, and violence. There are also scenes where secondary characters experience miscarriage and named character 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 Ash",
"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,92 +0,0 @@
metadata:
series:
name: Rutejìmo
volume: 2
title: Sand and Ash
author: D. Moonfire
publisher: Broken Typewriter Press
rights: CC-BY-NC-SA-4.0
description:
source: ./description.markdown
subjects:
- Anime
- Fantasy
- Steampunk
- Fiction
- Action
- Drama
language: en
date: 2015-05-18
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-16-7
images:
grayscale: true
opaque: true
contents:
- element: cover
source: build/repos/fedran-covers/dist/full/0100-01-sand-and-ash-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: 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