Commit graph

73 commits

Author SHA1 Message Date
Domenic Denicola
360f108c1c Use @domenic/eslint-config 2021-02-15 22:05:38 -05:00
Domenic Denicola
f70ba64629 Measure and output the time conversion takes 2020-11-14 20:26:44 -05:00
Domenic Denicola
b4454f8432 Fix warning output
This has been broken since the progress bar addition.
2020-11-07 18:05:48 -05:00
Domenic Denicola
4fbaa0e8db Settle on "Patrol <lowercase>" and "the Patrol"
This is reversing the decision made in 84e0d83bd1, and extending the revised decision to other Patrol-related terms.
2020-10-26 21:58:41 -04:00
Domenic Denicola
ad2c0b0ca5 Improve conversion speed using a worker pool 2020-10-26 21:58:40 -04:00
Domenic Denicola
68eabd0ca0 Fix incorrect over-substitution of "TV" in place of "tv"
Ward contains several instances of words that contain "tv", which shouldn't get capitalized.
2020-10-26 21:58:40 -04:00
Domenic Denicola
ae5b179d7c Add a nice progress bar for the convert step 2020-10-26 21:58:40 -04:00
Domenic Denicola
51520c11be Add an original-URL HTML comment to each chapter
This makes it easier for me to figure out how to update substitutions.json.
2020-10-26 21:58:40 -04:00
Domenic Denicola
e13ca0de74 Remove xmlserializer dependency
jsdom can be counted on to do that for us, these days, in a more standards-complaint way. A notable change is that void elements get serialized like <br /> instead of <br/>.
2020-10-26 21:58:40 -04:00
Domenic Denicola
5a6f3e8cfb Fix hyphenation of "able-bodied" 2020-10-17 20:18:12 -04:00
Domenic Denicola
f300159db3 Use en dashes for joint constructions 2020-10-17 20:17:55 -04:00
Domenic Denicola
bb5c652a3d Fix capitalization of "Mom" when used as a name 2020-10-17 20:17:45 -04:00
Domenic Denicola
697f8a76ea Fix the capitalization of "Dad" when used as a name 2020-10-17 20:17:31 -04:00
Domenic Denicola
97228bf88d Fix possessives of more names ending in "s"
This is almost all about the new names introduced in Ward, plus "Chuckles" was missed in Worm.
2020-10-17 20:17:10 -04:00
Domenic Denicola
84e0d83bd1 Standardize on one capitalization for "patrol block" 2020-10-17 20:16:32 -04:00
Domenic Denicola
24b01e4292 Fix miscapitalizations of "ReSound" 2020-10-17 20:16:02 -04:00
Domenic Denicola
4091530bb2 Fix some over-italicized periods 2020-10-17 20:15:53 -04:00
Domenic Denicola
cac9a924dc Fix extra non-breaking spaces after periods 2020-10-17 20:15:29 -04:00
Domenic Denicola
eec513bb8d Always capitalize "Cedar Point" and "Hollow Point" 2020-10-17 20:15:14 -04:00
Domenic Denicola
91f02bd029 Fix some hyphens to become em dashes at the beginning of italicized quotes 2020-10-17 20:14:57 -04:00
Domenic Denicola
176d88eea2 Fix over-capitalization of "clairvoyants" in Ward
The heuristic used to fix up Worm needed tweaking for Ward, where lowercase "clairvoyants" occurs several times.
2020-10-17 20:14:38 -04:00
Domenic Denicola
84a9540497 Improve <b> and <strong> placement 2020-10-10 14:19:22 -04:00
Domenic Denicola
6ba3246598 Fix all the "[email protected]" instances
I somehow thought there were only two, but in fact there are a lot.
2020-10-10 14:18:49 -04:00
Domenic Denicola
ff991028af Normalize Ward separators to <hr> 2020-07-01 17:26:27 -04:00
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