Skip to content

Commit b5c3eef

Browse files
committed
Update to latest JP
1 parent 0be7057 commit b5c3eef

File tree

2 files changed

+104
-11
lines changed

2 files changed

+104
-11
lines changed

scripts/add-anno.mime

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -169,13 +169,23 @@ def fix_basics(b) {
169169
b.goto_pos(main_pos); b.replace("</i>\n<i>", "\n");
170170
b.goto_pos(main_pos); b.replace("</i> \n<i>", "\n");
171171
b.goto_pos(main_pos); b.replace("&nbsp;", "");
172+
b.goto_pos(main_pos); b.replace("&#8212;", "&mdash;");
173+
b.goto_pos(main_pos); b.replace("&ntilde;", "ñ");
174+
b.goto_pos(main_pos); b.replace("&dagger;", "†");
175+
176+
b.goto_pos(main_pos); b.replace("&agrave;", "à");
177+
b.goto_pos(main_pos); b.replace("&aacute;", "á");
178+
179+
b.goto_pos(main_pos); b.replace("&ecirc;", "ê");
172180
b.goto_pos(main_pos); b.replace("&eacute;", "é");
173181
b.goto_pos(main_pos); b.replace("&Eacute;", "É");
174-
b.goto_pos(main_pos); b.replace("&agrave;", "à");
175182
b.goto_pos(main_pos); b.replace("&egrave;", "è");
183+
184+
b.goto_pos(main_pos); b.replace("&oelig;", "œ");
185+
176186
b.goto_pos(main_pos); b.replace("&ugrave;", "ù");
177187
b.goto_pos(main_pos); b.replace("&uuml;", "ü");
178-
b.goto_pos(main_pos); b.replace("&#8212;", "&mdash;");
188+
179189

180190
b.goto_pos(main_pos);
181191
while(b.find("<span class=\"page\" ") >= 0) {

scripts/upd-epub-to-jp.mime

Lines changed: 92 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -81,15 +81,16 @@ var items = [
8181
"I am a servant of two masters",
8282
"I am the servant of two masters"),
8383

84+
diff(
85+
"<i>et unam sanctam catholicam et apostolicam ecclesiam:</i>",
86+
"<i>et unam sanctam catholicam et apostolicam ecclesiam</i>:"),
87+
88+
8489
diff(
8590
"Übermensch.",
8691
"Uebermensch."),
8792

8893
// nestor
89-
diff(
90-
"the library of Saint Genevieve",
91-
"the library of Sainte Geneviève"),
92-
9394
diff(
9495
"tartan fillibegs",
9596
"tartan filibegs"),
@@ -335,6 +336,11 @@ with pomp of tone."
335336
"A sudden&#8211;at&#8211;the&#8211;moment&#8211;though&#8211;from&#8211;lingering&#8211;illness&#8211;often&#8211;previously&#8211;expectorated&#8211;demise"
336337
),
337338

339+
diff(
340+
"Face glistering tallow under her fustian shawl.",
341+
"Face glistening tallow under her fustian shawl."
342+
),
343+
338344
diff(
339345
"threepenny bits and sixpences",
340346
"threepenny bits and a sixpence"),
@@ -344,11 +350,20 @@ with pomp of tone."
344350
"deus nobis haec otia fecit."
345351
),
346352

353+
diff(
354+
"<i>The Parable of The Plums.</i>",
355+
"<i>The Parable of the Plums</i>."),
356+
347357
// lestry
348358
diff(
349359
"£. s. d.",
350360
"L.s.d."),
351361

362+
diff(
363+
"A procession of whitesmocked sandwichmen",
364+
"A procession of whitesmocked men"
365+
),
366+
352367
diff(
353368
"U. p: up",
354369
"U.P.: up"),
@@ -452,8 +467,8 @@ what they call a dirty jew."
452467
"<i>Homestead</i>."),
453468

454469
diff(
455-
"<i>L’art d’être grand</i>",
456-
"<i>L’art d’&ecirc;tre grand</i>"
470+
"<i>Punkt.</i>",
471+
"<i>Punkt</i>"
457472
),
458473

459474
diff(
@@ -592,6 +607,11 @@ Invece, Lei si sacrifica.</i>"
592607
"&mdash;<i>Bi i dho husht,</i>"
593608
),
594609

610+
diff(
611+
"Goosepond Prhklstr Kratchinabritchisitch, Borus Hupinkoff,",
612+
"Goosepond Přhklštř Kratchinabritchisitch, Boris Hupinkoff,"
613+
),
614+
595615
diff(
596616
"a straw</i>.",
597617
"a straw.</i>"),
@@ -643,6 +663,41 @@ Suppose she does."
643663
"from waters of old Nile",
644664
"from water of old Nile"),
645665

666+
diff(
667+
"Forward to the ribbon counter.",
668+
"Forward the ribbon counter."
669+
),
670+
671+
diff(
672+
"Allee samee dis bunch.",
673+
"Allee samee this bunch."
674+
),
675+
676+
diff(
677+
"<i>Retamplatan digidi boumboum</i>",
678+
"<i>Retamplan Digidi Boum Boum</i>"
679+
),
680+
681+
diff(
682+
"Tramp, tramp, tramp, the boys are (attitudes!) parching.",
683+
"Tramp, tramp, tramp, the boys are (atitudes!) parching."
684+
),
685+
686+
diff(
687+
"Beer, beef, business, bibles, bulldogs battleships, buggery and bishops.",
688+
"Beer, beef, business, bibles, bulldogs, battleships, buggery and bishops."
689+
),
690+
691+
diff(
692+
"Whether on the scaffold high. Beer, beef, trample the bibles. When for Irelandear. Trample the trampellers.",
693+
"Whether on the scaffold high. Beerbeef trample the bibles. When for Irelandear. Trample the trampellers."
694+
),
695+
696+
diff(
697+
"Bishops boosebox.",
698+
"Bishops’ boosebox."
699+
),
700+
646701
diff(
647702
"<i>Übermensch.</i>",
648703
"<i>Uebermensch</i>"),
@@ -747,10 +802,20 @@ grotto and passing under interlacing yews stands over Bloom."),
747802
"Yet I’ve a sort of a",
748803
"Yet I’ve a sort a"),
749804

805+
diff(
806+
"with outstretched finger.",
807+
"with outstretched fingers."
808+
),
809+
750810
diff(
751811
"of</i> Sweets of Sin,",
752812
"of Sweets of Sin,"),
753813

814+
diff(
815+
"Moses Herzog, Michael E Geraghty",
816+
"Moses Herzog, Michael E. Geraghty"
817+
),
818+
754819
diff(
755820
"Struggle for
756821
life is the law of existence but but human philirenists, notably the tsar
@@ -766,9 +831,12 @@ tsar and the king of England, have invented arbitration."
766831

767832
// eumaeus
768833
diff(
769-
"Bow to the
770-
inevitable. Grin and bear it. I remain with much love your brokenhearted
771-
husband W. B. Murphy.",
834+
"tone of voice <i>à propos</i> of",
835+
"tone of voice <i>apropos</i> of"
836+
),
837+
838+
diff(
839+
"Bow to the inevitable. Grin and bear it. I remain with much love your brokenhearted husband W. B. Murphy.",
772840
"Bow to the inevitable. Grin and bear it. I remain with much love your brokenhearted husband D. B. Murphy."
773841
),
774842

@@ -882,7 +950,17 @@ II</i>."
882950
"ship of the street was manœuvring",
883951
"ship of the street was manoeuvring"),
884952

953+
diff(
954+
"their <i>tête à tête</i> (which, of course, he was utterly out of)",
955+
"their <i>tête-à-tête</i> (which of course he was utterly out of)"
956+
),
957+
885958
// ithaca
959+
diff(
960+
"as far as the farther corner of Temple street: then,",
961+
"as far as the farther corner of Temple street, north: then,"
962+
),
963+
886964
diff(
887965
"Freeman’s Journal</i> and <i>National Press",
888966
"</i> <i>Freeman’s Journal and
@@ -921,6 +999,11 @@ quadrilinear cryptogram (vowels suppressed) N. IGS. /WI. UU. OX/W. OKS.
921999
MH/Y. IM"
9221000
),
9231001

1002+
diff(
1003+
"Coventry House, South Place, London E C",
1004+
"Coventry House, South Place, London E. C."
1005+
),
1006+
9241007
diff(
9251008
"an endowment assurance policy of £ 500",
9261009
"an endowment assurance policy of &pound;500"),

0 commit comments

Comments
 (0)