diff --git a/backmatter/about.markdown b/backmatter/about.markdown deleted file mode 100644 index 787e7f3..0000000 --- a/backmatter/about.markdown +++ /dev/null @@ -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/) diff --git a/backmatter/colophon.markdown b/backmatter/colophon.markdown deleted file mode 100644 index b948115..0000000 --- a/backmatter/colophon.markdown +++ /dev/null @@ -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. diff --git a/backmatter/credits.markdown b/backmatter/credits.markdown deleted file mode 100644 index 2313cd5..0000000 --- a/backmatter/credits.markdown +++ /dev/null @@ -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 diff --git a/backmatter/fedran.markdown b/backmatter/fedran.markdown deleted file mode 100644 index 8501950..0000000 --- a/backmatter/fedran.markdown +++ /dev/null @@ -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. diff --git a/backmatter/license.markdown b/backmatter/license.markdown deleted file mode 100644 index a47e4ed..0000000 --- a/backmatter/license.markdown +++ /dev/null @@ -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/ diff --git a/backmatter/patrons.markdown b/backmatter/patrons.markdown deleted file mode 100644 index a8c2d58..0000000 --- a/backmatter/patrons.markdown +++ /dev/null @@ -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. diff --git a/chapters/chapter-01.markdown b/chapters/chapter-01.md similarity index 98% rename from chapters/chapter-01.markdown rename to chapters/chapter-01.md index e869354..14b07cc 100644 --- a/chapters/chapter-01.markdown +++ b/chapters/chapter-01.md @@ -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. --- diff --git a/chapters/chapter-02.markdown b/chapters/chapter-02.md similarity index 100% rename from chapters/chapter-02.markdown rename to chapters/chapter-02.md diff --git a/chapters/chapter-03.markdown b/chapters/chapter-03.md similarity index 100% rename from chapters/chapter-03.markdown rename to chapters/chapter-03.md diff --git a/chapters/chapter-04.markdown b/chapters/chapter-04.md similarity index 100% rename from chapters/chapter-04.markdown rename to chapters/chapter-04.md diff --git a/chapters/chapter-05.markdown b/chapters/chapter-05.md similarity index 100% rename from chapters/chapter-05.markdown rename to chapters/chapter-05.md diff --git a/chapters/chapter-06.markdown b/chapters/chapter-06.md similarity index 100% rename from chapters/chapter-06.markdown rename to chapters/chapter-06.md diff --git a/chapters/chapter-07.markdown b/chapters/chapter-07.md similarity index 100% rename from chapters/chapter-07.markdown rename to chapters/chapter-07.md diff --git a/chapters/chapter-08.markdown b/chapters/chapter-08.md similarity index 100% rename from chapters/chapter-08.markdown rename to chapters/chapter-08.md diff --git a/chapters/chapter-09.markdown b/chapters/chapter-09.md similarity index 100% rename from chapters/chapter-09.markdown rename to chapters/chapter-09.md diff --git a/chapters/chapter-10.markdown b/chapters/chapter-10.md similarity index 100% rename from chapters/chapter-10.markdown rename to chapters/chapter-10.md diff --git a/chapters/chapter-11.markdown b/chapters/chapter-11.md similarity index 100% rename from chapters/chapter-11.markdown rename to chapters/chapter-11.md diff --git a/chapters/chapter-12.markdown b/chapters/chapter-12.md similarity index 100% rename from chapters/chapter-12.markdown rename to chapters/chapter-12.md diff --git a/chapters/chapter-13.markdown b/chapters/chapter-13.md similarity index 100% rename from chapters/chapter-13.markdown rename to chapters/chapter-13.md diff --git a/chapters/chapter-14.markdown b/chapters/chapter-14.md similarity index 100% rename from chapters/chapter-14.markdown rename to chapters/chapter-14.md diff --git a/chapters/chapter-15.markdown b/chapters/chapter-15.md similarity index 100% rename from chapters/chapter-15.markdown rename to chapters/chapter-15.md diff --git a/chapters/chapter-16.markdown b/chapters/chapter-16.md similarity index 100% rename from chapters/chapter-16.markdown rename to chapters/chapter-16.md diff --git a/chapters/chapter-17.markdown b/chapters/chapter-17.md similarity index 100% rename from chapters/chapter-17.markdown rename to chapters/chapter-17.md diff --git a/chapters/chapter-18.markdown b/chapters/chapter-18.md similarity index 100% rename from chapters/chapter-18.markdown rename to chapters/chapter-18.md diff --git a/chapters/chapter-19.markdown b/chapters/chapter-19.md similarity index 100% rename from chapters/chapter-19.markdown rename to chapters/chapter-19.md diff --git a/chapters/chapter-20.markdown b/chapters/chapter-20.md similarity index 100% rename from chapters/chapter-20.markdown rename to chapters/chapter-20.md diff --git a/chapters/chapter-21.markdown b/chapters/chapter-21.md similarity index 100% rename from chapters/chapter-21.markdown rename to chapters/chapter-21.md diff --git a/chapters/chapter-22.markdown b/chapters/chapter-22.md similarity index 100% rename from chapters/chapter-22.markdown rename to chapters/chapter-22.md diff --git a/chapters/chapter-23.markdown b/chapters/chapter-23.md similarity index 100% rename from chapters/chapter-23.markdown rename to chapters/chapter-23.md diff --git a/chapters/chapter-24.markdown b/chapters/chapter-24.md similarity index 100% rename from chapters/chapter-24.markdown rename to chapters/chapter-24.md diff --git a/chapters/chapter-25.markdown b/chapters/chapter-25.md similarity index 100% rename from chapters/chapter-25.markdown rename to chapters/chapter-25.md diff --git a/chapters/chapter-26.markdown b/chapters/chapter-26.md similarity index 100% rename from chapters/chapter-26.markdown rename to chapters/chapter-26.md diff --git a/chapters/chapter-27.markdown b/chapters/chapter-27.md similarity index 100% rename from chapters/chapter-27.markdown rename to chapters/chapter-27.md diff --git a/chapters/chapter-28.markdown b/chapters/chapter-28.md similarity index 100% rename from chapters/chapter-28.markdown rename to chapters/chapter-28.md diff --git a/chapters/chapter-29.markdown b/chapters/chapter-29.md similarity index 100% rename from chapters/chapter-29.markdown rename to chapters/chapter-29.md diff --git a/chapters/chapter-30.markdown b/chapters/chapter-30.md similarity index 100% rename from chapters/chapter-30.markdown rename to chapters/chapter-30.md diff --git a/chapters/chapter-31.markdown b/chapters/chapter-31.md similarity index 100% rename from chapters/chapter-31.markdown rename to chapters/chapter-31.md diff --git a/chapters/chapter-32.markdown b/chapters/chapter-32.md similarity index 100% rename from chapters/chapter-32.markdown rename to chapters/chapter-32.md diff --git a/chapters/chapter-33.markdown b/chapters/chapter-33.md similarity index 100% rename from chapters/chapter-33.markdown rename to chapters/chapter-33.md diff --git a/chapters/chapter-34.markdown b/chapters/chapter-34.md similarity index 100% rename from chapters/chapter-34.markdown rename to chapters/chapter-34.md diff --git a/chapters/chapter-35.markdown b/chapters/chapter-35.md similarity index 100% rename from chapters/chapter-35.markdown rename to chapters/chapter-35.md diff --git a/fedran.json b/fedran.json index 3b89b44..c320e18 100644 --- a/fedran.json +++ b/fedran.json @@ -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 @@ } ] } -} \ No newline at end of file +} diff --git a/frontmatter/legal.markdown b/frontmatter/legal.markdown deleted file mode 100644 index 402321b..0000000 --- a/frontmatter/legal.markdown +++ /dev/null @@ -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 }} diff --git a/frontmatter/miwafu.html b/frontmatter/miwafu.html deleted file mode 100644 index aaf0d75..0000000 --- a/frontmatter/miwafu.html +++ /dev/null @@ -1,21 +0,0 @@ ---- -title: Miwāfu ---- - -

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.

- -

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:

- - - -

The only instances where accents aren’t used is adjectives or indication of ownership. So, if a valley is owned by the clan Shimusògo, it is known as Shimusogo Valley.

- -

The names themselves are phonetic. A syllable is always from a consonant cluster to the vowel. For examples: Mi.wā.fu (IPA /mi.waː.ɸɯ̥/), Shi.mu.sò.go (/ɕi.mɯ.ꜜso.ɡo/), and De.sò.chu (/de.ꜜso.tɕɯ̥/). 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 (/ɡa.ŋꜛɾe.ko/) and ka.né.ko (/ka.ꜛne.ko/).

- -

Miwāfu has no capital letters, they are added to satisfy English conventions.

diff --git a/frontmatter/pad.html b/frontmatter/pad.html deleted file mode 100644 index 1915ec1..0000000 --- a/frontmatter/pad.html +++ /dev/null @@ -1 +0,0 @@ -
diff --git a/frontmatter/title.html b/frontmatter/title.html deleted file mode 100644 index c3e0a42..0000000 --- a/frontmatter/title.html +++ /dev/null @@ -1,17 +0,0 @@ ---- -title: Title ---- - -
-
-
Sand
-
and
-
Bone
-
- -
D. Moonfire
- -
- Broken Typewriter Press • Cedar Rapids -
-
diff --git a/matter/credits.md b/matter/credits.md new file mode 100644 index 0000000..233b4b7 --- /dev/null +++ b/matter/credits.md @@ -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. ||| + diff --git a/frontmatter/dedication.markdown b/matter/dedication.md similarity index 100% rename from frontmatter/dedication.markdown rename to matter/dedication.md diff --git a/matter/legal.md b/matter/legal.md index 2ed0502..035ac03 100644 --- a/matter/legal.md +++ b/matter/legal.md @@ -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\ diff --git a/matter/miwafu.html b/matter/miwafu.html new file mode 100644 index 0000000..4199dde --- /dev/null +++ b/matter/miwafu.html @@ -0,0 +1,61 @@ +--- +title: Miwāfu +--- + +

+ 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. +

+ +

+ 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: +

+ + + +

+ The only instances where accents aren’t used is adjectives or indication of + ownership. So, if a valley is owned by the clan Shimusògo, it is known as + Shimusogo Valley. +

+ +

+ The names themselves are phonetic. A syllable is always from a consonant + cluster to the vowel. For examples: Mi.wā.fu (IPA + /mi.waː.ɸɯ̥/), Shi.mu.sò.go (/ɕi.mɯ.ꜜso.ɡo/), and De.sò.chu (/de.ꜜso.tɕɯ̥/). 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 (/ɡa.ŋꜛɾe.ko/) and ka.né.ko (/ka.ꜛne.ko/). +

+ +

+ Miwāfu has no capital letters, they are added to satisfy English + conventions. +

diff --git a/publication.json b/publication.json index 656b4a2..942dd76 100644 --- a/publication.json +++ b/publication.json @@ -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", diff --git a/publication.yaml b/publication.yaml deleted file mode 100644 index 613294e..0000000 --- a/publication.yaml +++ /dev/null @@ -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 diff --git a/scripts/build.sh b/scripts/build.sh index 5693cc3..3447244 100755 --- a/scripts/build.sh +++ b/scripts/build.sh @@ -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