From fff140a65d764bfd77c0060aa5af6e72afeeccb9 Mon Sep 17 00:00:00 2001 From: Henry Whitney Date: Fri, 10 May 2019 17:33:29 -0400 Subject: [PATCH] PDF Proverbs 6 --- .../Exceptions/Consistent_Deletes.txt | 3 +++ .../Exceptions/Exceptions_tWs_from_OSHB.txt | 22 +++++++++---------- .../Mine.URL.Strong.Verse.OT.2.pl | 6 +++-- ...exceptions_and_consistent_deletes.linux.sh | 4 ++-- 4 files changed, 20 insertions(+), 15 deletions(-) diff --git a/MAST_tW_PDF_Updater/FilesForUpdates/Exceptions/Consistent_Deletes.txt b/MAST_tW_PDF_Updater/FilesForUpdates/Exceptions/Consistent_Deletes.txt index 5fbde24..30226b9 100644 --- a/MAST_tW_PDF_Updater/FilesForUpdates/Exceptions/Consistent_Deletes.txt +++ b/MAST_tW_PDF_Updater/FilesForUpdates/Exceptions/Consistent_Deletes.txt @@ -548,3 +548,6 @@ 6256 7971 7651 +5148 +5148 +7878 diff --git a/MAST_tW_PDF_Updater/FilesForUpdates/Exceptions/Exceptions_tWs_from_OSHB.txt b/MAST_tW_PDF_Updater/FilesForUpdates/Exceptions/Exceptions_tWs_from_OSHB.txt index f415531..80ecd57 100644 --- a/MAST_tW_PDF_Updater/FilesForUpdates/Exceptions/Exceptions_tWs_from_OSHB.txt +++ b/MAST_tW_PDF_Updater/FilesForUpdates/Exceptions/Exceptions_tWs_from_OSHB.txt @@ -2230,8 +2230,8 @@ Proverbs 1:4 6612 || Proverbs 1:5 995 discerning Proverbs 1:5 8458 wise counsel Proverbs 1:5 7069 || -Proverbs 1:6 4426 -Proverbs 1:6 2420 parables +Proverbs 1:6 4426 parables +Proverbs 1:6 2420 riddles Proverbs 1:7 7225 || Proverbs 1:9 2580 || Proverbs 1:10 14 || @@ -2489,14 +2489,14 @@ Proverbs 6:19 4090 strife Proverbs 6:20 5341 obey Proverbs 6:20 8451 teaching Proverbs 6:21 8548 || -Proverbs 6:22 5148 -Proverbs 6:22 7878 -Proverbs 6:23 8451 -Proverbs 6:23 216 +Proverbs 6:22 5148 || +Proverbs 6:22 7878 || +Proverbs 6:23 8451 teaching +Proverbs 6:23 216 light Proverbs 6:23 1870 || -Proverbs 6:23 8433 -Proverbs 6:23 4148 -Proverbs 6:24 7451 +Proverbs 6:23 8433 corrections +Proverbs 6:23 4148 instruction +Proverbs 6:24 7451 evil Proverbs 6:24 3956 Proverbs 6:24 5237 Proverbs 6:25 3947 @@ -2761,7 +2761,7 @@ Proverbs 11:1 8441 Proverbs 11:1 68 Proverbs 11:1 8003 Proverbs 11:2 935 || -Proverbs 11:3 5148 +Proverbs 11:3 5148 || Proverbs 11:4 3276 Proverbs 11:4 5337 Proverbs 11:5 8549 @@ -3231,7 +3231,7 @@ Proverbs 18:15 7069 || Proverbs 18:15 241 || Proverbs 18:16 120 || Proverbs 18:16 1419 -Proverbs 18:16 5148 +Proverbs 18:16 5148 || Proverbs 18:17 6662 Proverbs 18:17 7223 Proverbs 18:17 935 || diff --git a/MAST_tW_PDF_Updater/FilesForUpdates/Mine.URL.Strong.Verse.OT.2.pl b/MAST_tW_PDF_Updater/FilesForUpdates/Mine.URL.Strong.Verse.OT.2.pl index e7e7074..91665ca 100644 --- a/MAST_tW_PDF_Updater/FilesForUpdates/Mine.URL.Strong.Verse.OT.2.pl +++ b/MAST_tW_PDF_Updater/FilesForUpdates/Mine.URL.Strong.Verse.OT.2.pl @@ -310,12 +310,14 @@ sub Finish { if ($^O eq "linux") { say "Opening https://www.blueletterbible.org/lang/lexicon/lexicon.cfm?strongs=$strong &"; # system "xdg-open https://www.blueletterbible.org/lang/lexicon/lexicon.cfm?strongs=$strong &"; - system "waterfox https://www.blueletterbible.org/lang/lexicon/lexicon.cfm?strongs=$strong &"; + system "waterfox --new-window https://www.blueletterbible.org/lang/lexicon/lexicon.cfm?strongs=$strong &"; system "sleep 0.5s"; say "Opening $blbRef &"; # system "xdg-open $blbRef &"; system "waterfox $blbRef &"; my @tWs = split / /,$tW_files; + system "komodo --new-window"; + system "sleep 0.75s"; foreach (@tWs) { say "Opening $_"; system "xdg-open $_ &" @@ -324,7 +326,7 @@ sub Finish { #system "xdg-open $exceptions_file &"; system "sleep 0.5s"; say "Opening $displayFile"; - system "komodo $displayFile &"; + system "midori $displayFile &"; } if ($^O eq "MSWin32" || $^O eq "MSWin64" ) { say "Opening $blbRef"; diff --git a/MAST_tW_PDF_Updater/FilesForUpdates/obviate_in_exceptions_and_consistent_deletes.linux.sh b/MAST_tW_PDF_Updater/FilesForUpdates/obviate_in_exceptions_and_consistent_deletes.linux.sh index e2d06a6..66bde15 100644 --- a/MAST_tW_PDF_Updater/FilesForUpdates/obviate_in_exceptions_and_consistent_deletes.linux.sh +++ b/MAST_tW_PDF_Updater/FilesForUpdates/obviate_in_exceptions_and_consistent_deletes.linux.sh @@ -10,6 +10,6 @@ if [[ $string =~ ([^:]*[a-z])[[:space:]][0-9]*:[0-9]*.([0-9]*) ]]; then strong=${BASH_REMATCH[2]} fi echo "Marking all occasions of $strong in $book" -perl -pi eliminate_unused_Strongs_numbers.pl $PWD/Exceptions/Exceptions_tWs_from_OSHB.txt $book $strong +perl -pi /home/henry/Documents/WA_Repo/Tips_and_Hacks/MAST_tW_PDF_Updater/FilesForUpdates/eliminate_unused_Strongs_numbers.pl /home/henry/Documents/WA_Repo/Tips_and_Hacks/MAST_tW_PDF_Updater/FilesForUpdates/Exceptions/Exceptions_tWs_from_OSHB.txt $book $strong echo "Adding number to consistent deletes" -perl add_number_to_consistent_deletes.pl $strong +perl /home/henry/Documents/WA_Repo/Tips_and_Hacks/MAST_tW_PDF_Updater/FilesForUpdates/add_number_to_consistent_deletes.pl $strong