Commit graph

49 commits

Author SHA1 Message Date
Domenic Denicola
2593540551 Strip off footer navigation links for Ward
Since the text is now "Previous Chapter" instead of "Last Chapter" they weren't getting removed.
2020-07-01 17:23:05 -04:00
Domenic Denicola
ecdadf8fd9 Update dependencies
This includes eliminating some dependencies that are included in modern Node.js versions.
2020-07-01 14:36:14 -04:00
Domenic Denicola
4386d48021 Add --jobs option for the convert command
This doesn't seem that helpful as there seems to be a lot of sequential work going on regardless.
2019-08-16 23:37:00 -04:00
Domenic Denicola
d4f009d67c Fix "grey" to "gray" (occurs four times)
Closes #11.
2019-08-16 23:19:45 -04:00
Domenic Denicola
b90fdd1df1 Spot fixes for Arc 12, Plague; additional hyphenation fixes
Hyphenation fixes for self-destruct(ing) and life-threatening
2019-08-16 22:33:47 -04:00
Domenic Denicola
34bb91fa67 Spot fixes for Arc 11, Infestation; additional general fixes
The additional general fixes include:

* More of the never-ending italics/quotes fixes
* Fixed to use apostrophe instead of opening quote for "’Sup?"
* Standardized on the accent-including spelling of cliché
* Hyphenated "hard-headed"
2019-08-16 22:16:36 -04:00
Domenic Denicola
ac667f9b99 Fix possessives of names ending in "s" 2018-04-22 15:29:42 -04:00
Domenic Denicola
169cb749af Spot fixes for Arc 10, Sentinel; additional general fixes
The additional general fixes include:

* Fix hyphenation in "creepy-crawly" (and variants) and "well-armed"
* Fix capitalization of street and avenue names
2018-04-22 15:29:42 -04:00
Domenic Denicola
36c396c006 Remove italics from more foreign names 2018-04-22 15:29:42 -04:00
Domenic Denicola
b9f79429b1 Spot fixes for Arc 9, Sentinel; additional general fixes
The additional general fixes include:

* Fix "tv" and "T.V." to become "TV" like most other uses in the book
* Fix "I-I" to "I—I" and "I-uh" to "I—uh" conversions which weren't working properly.
* Add periods to the end of some paragraphs that were missing them.
* More of the never-ending italics and spacing work.
2018-04-22 15:29:42 -04:00
Domenic Denicola
9c9fe2a936 Spot fixes for Arc 8, Extermination; additional general fixes
The additional general fixes include:

* Fixes to period and ellipsis usage (e.g. removing spaces before periods)
* Decapitalization of "loft"
* Hyphenation of "golden-skinned"
* Decapitalization after colons
2018-04-22 15:29:42 -04:00
Domenic Denicola
3d4b49fbba Remove redundant text-align: left 2018-04-22 15:29:42 -04:00
Domenic Denicola
f1d9276b67 Fix "shoulder-mounted" 2018-04-22 15:29:42 -04:00
Domenic Denicola
18f7436987 Un-capitalize "halberd" 2018-04-22 15:29:42 -04:00
Domenic Denicola
d114305b65 Correct PRT designation capitalizations and punctuation
* Lowercase them; the earlier parts of the story uppercased them.
* Consistently omit hyphens in numbered cases like "tinker seven", and ensure they're spelled out in dialogue.
* Consistently use en dashes between dual classifications, like "tinker–mover".
* Consistently hyphenate when part of a compound adjective, like "tinker-made".
2018-04-22 15:29:42 -04:00
Domenic Denicola
5a84947052 Remove double-Ls in some cases of signal(l)ing/signal(l)ed 2018-04-22 15:29:41 -04:00
Domenic Denicola
af3a021f7e Fix spelling of "okay" and "A-okay" where appropriate 2018-04-22 15:29:41 -04:00
Domenic Denicola
8d5c249003 Un-italicize Garama
For consistency with other foreign-language names.
2018-04-22 15:29:41 -04:00
Domenic Denicola
d05465ff80 Fix miscapitalizations of cardinal directions 2018-04-22 15:29:41 -04:00
Domenic Denicola
217e34a12d Fix a few cases of mismatched single quotes 2018-04-22 15:29:41 -04:00
Domenic Denicola
520962e633 Normalize italics and single quotes together 2018-04-22 15:29:41 -04:00
Domenic Denicola
4559265286 Fix <em>(space)word</em> and Jess possessive 2018-04-22 15:29:41 -04:00
Domenic Denicola
1fcdd9611d Extensive fixes to dialogue tag punctuation/capitalization
See newly-added code comment for details. This involves a first pass in convert.js then lots of fixups and corrections in substitutions.json.
2018-04-22 15:29:41 -04:00
Domenic Denicola
8f437eadd1 A large variety of small fixes
I didn't really track these individually, so let's just squash them into one commit.
2018-04-22 15:29:41 -04:00
Domenic Denicola
0435c45b2e Update dependencies and code style 2017-08-13 16:48:19 -04:00
Domenic Denicola
12086f209c Fix Sifara, Thanda, and Yàngban
Closes #1.
2017-08-13 16:07:55 -04:00
Domenic Denicola
a27b8a6e2f Fix trailing spaces before </em>
Closes #2.
2017-08-13 16:07:26 -04:00
Domenic Denicola
d5157f2c22 Update dev dependencies and use new JS features 2017-01-02 20:13:40 -05:00
Domenic Denicola
230f049fed More fixups, through 30.2 2015-05-23 22:53:36 -04:00
Domenic Denicola
e68602df35 Lint
Surprised I got away with this few errors, after not running lint for so long.
2015-05-21 02:28:43 -04:00
Domenic Denicola
46e38a2859 Update substitutions; fix some more quotes and dashes
Includes both fixes to previously-extant substitutions in light of recent convert.js changes, as well as new substitutions discovered while reading.
2015-05-20 23:46:19 -04:00
Domenic Denicola
cfe04bb049 Fix some mismatched quotes (not just at the end of a paragraph) 2015-05-20 23:44:05 -04:00
Domenic Denicola
8f4b61bbef Fix up end-of-paragraph quotes and whitespace 2015-05-20 23:43:46 -04:00
Domenic Denicola
41a6bfddb9 Fix some backward apostrophes 2015-05-20 23:43:33 -04:00
Domenic Denicola
5d86661c55 Fix end-of-thought punctuation being left out of the <em> 2015-05-20 23:43:20 -04:00
Domenic Denicola
baa98156b1 More <em> work 2015-05-20 23:43:07 -04:00
Domenic Denicola
33aaecb2ce Tweak he asked/she asked replacement 2015-05-20 23:42:32 -04:00
Domenic Denicola
a4e722ddea Fix <em>[single non-letter character]</em>
Move <em>-fixing before most others so that subsequent quote-fixing can apply.
2015-05-20 23:42:26 -04:00
Domenic Denicola
601d200c6b Try to fix the rest of the hyphen-minuses that should be dashes 2015-05-17 16:38:56 -04:00
Domenic Denicola
4019f5d1e6 Tweaks and bug-fixes for the cleanups
Several notable fixes:

- Fixed a bad bug with <span> remover: since moving the child node to a document fragment changes the indices of the childNodes collection, this would leave several nodes in limbo, with the net effect of removing their text from the document.
- Fixed the empty-<em> remover to replace the empty <em> with a space, instead of a removing it entirely; this leads to a lot fewer wordsstuck together, which were starting to accumulate erroneously in substitutions.json.
- Warn instead of error on bad substitutions: this makes it easier to actually find the bad substitution afterward, since then the output still happens.
2015-05-17 16:19:23 -04:00
Domenic Denicola
801e28d602 A lot more cleanups 2015-05-15 01:29:34 -04:00
Domenic Denicola
247f713e13 Better cleanup in the convert step 2015-05-11 22:52:14 -04:00
Domenic Denicola
cf6b5c9ab9 Update conversion to work with cache manifest 2015-05-11 21:24:16 -04:00
Domenic Denicola
b68b88e17e While downloading, save a cache manifest alongside
This allows us to keep track of the chapter title after the fact.
2015-05-11 21:24:15 -04:00
Domenic Denicola
ba1e7b956f More cleanup in conversion 2015-05-09 01:28:43 +02:00
Domenic Denicola
1f241b85ac Serialize body as XHTML, not HTML 2015-05-09 00:40:54 +02:00
Domenic Denicola
f932be159c More clean-ups; do these at a textual level. 2015-05-09 00:21:05 +02:00
Domenic Denicola
64de4a27e5 Clean up better 2015-05-08 00:19:06 +02:00
Domenic Denicola
8bb41473d2 Throttle conversions; move to a separate file 2015-05-07 23:56:53 +02:00