diff --git a/MAST_tW_PDF_Updater/FilesForUpdates/User/User_defaults.mac.ginny's_machine.txt b/MAST_tW_PDF_Updater/FilesForUpdates/User/User_defaults.mac.ginny's_machine.txt new file mode 100644 index 0000000..c1ca7db --- /dev/null +++ b/MAST_tW_PDF_Updater/FilesForUpdates/User/User_defaults.mac.ginny's_machine.txt @@ -0,0 +1,57 @@ +Instructions for use of this file are below the second "===============" line. + +Here are the current defaults the scripts will be looking for. + +=============== + +# For Mac +Text editor: /Applications/BBEdit.app +HTML browser: /Applications/Firefox.app +Repository directory: /Users/virginiawhitney/Documents/Henry/WA/Repos + +translationNotes path: en_tn +translationWords path: bible.en_tw +Unlocked Literal Bible path: en_ulb +# translationNotes path: gl_.*_tn +# translationWords path: gl_.*_bible.en_tw +# Unlocked Literal Bible path: gl_.*_ulb +Hebrew Bible XML directory: MAST_HB +Greek Bible XML directory: MAST_NT + +=============== + +INSTRUCTIONS + +To find the path to the required files, use either Windows File Explorer, Linux Files, or Mac Finder to navigate to where your files are located. Right-click (secondary click) on the file name. + +In Windows or Linux, this will open a dialog box that gives you the path name and the name of the program. Put the path name, either a backslash (Windows) or a forward slash (Linux), and the application name in the appropriate line below. + +In Mac, this will open a menu. If the menu offers "Services," click that and then click "Copy Path"; otherwise click "Copy Path." Then paste the full path in the line below. + +Note in the samples that any program or application that you can call any program or application you care to use. + +The Text Editor + +The text editor is the program or application you will use to edit the files produced by the scripts. + +This line (without the #) will call Komodo Edit 10 on a Mac +# Text editor: /Applications/Komodo Edit 10.app + +This line (without the #) will call Komodo Edit on a Linux machine. +# Text editor: Komodo-Edit-9/lib/mozilla/Komodo + +This line (without the #) will call Notepad ++ on a Windows machine. +# Text editor: "C:\Program Files (x86)\Notepad++\notepad++" + +The Repository Directory + +This is the top directory for all ULB, translationNotes, translationWords, and UDB files. + +Sample Mac path +# Repository directory: /Users/John/Documents/WACS + +Sample Windows path +# Repository directory: C:\Documents\TranslationFiles + +Sample Linux path +# Repository directory: home/john/Documents/TranslationFiles diff --git a/MAST_tW_PDF_Updater/FilesForUpdates/User/User_defaults.mac_English.txt b/MAST_tW_PDF_Updater/FilesForUpdates/User/User_defaults.mac_English.txt new file mode 100644 index 0000000..7226d4f --- /dev/null +++ b/MAST_tW_PDF_Updater/FilesForUpdates/User/User_defaults.mac_English.txt @@ -0,0 +1,57 @@ +Instructions for use of this file are below the second "===============" line. + +Here are the current defaults the scripts will be looking for. + +=============== + +# For Mac +Text editor: /Applications/BBEdit.app +HTML browser: /Applications/Firefox.app +Repository directory: /Users/Henry/Documents/WACS + +translationNotes path: en_tn +translationWords path: bible.en_tw +Unlocked Literal Bible path: en_ulb +# translationNotes path: gl_.*_tn +# translationWords path: gl_.*_bible.en_tw +# Unlocked Literal Bible path: gl_.*_ulb +Hebrew Bible XML directory: MAST_HB +Greek Bible XML directory: MAST_NT + +=============== + +INSTRUCTIONS + +To find the path to the required files, use either Windows File Explorer, Linux Files, or Mac Finder to navigate to where your files are located. Right-click (secondary click) on the file name. + +In Windows or Linux, this will open a dialog box that gives you the path name and the name of the program. Put the path name, either a backslash (Windows) or a forward slash (Linux), and the application name in the appropriate line below. + +In Mac, this will open a menu. If the menu offers "Services," click that and then click "Copy Path"; otherwise click "Copy Path." Then paste the full path in the line below. + +Note in the samples that any program or application that you can call any program or application you care to use. + +The Text Editor + +The text editor is the program or application you will use to edit the files produced by the scripts. + +This line (without the #) will call Komodo Edit 10 on a Mac +# Text editor: /Applications/Komodo Edit 10.app + +This line (without the #) will call Komodo Edit on a Linux machine. +# Text editor: Komodo-Edit-9/lib/mozilla/Komodo + +This line (without the #) will call Notepad ++ on a Windows machine. +# Text editor: "C:\Program Files (x86)\Notepad++\notepad++" + +The Repository Directory + +This is the top directory for all ULB, translationNotes, translationWords, and UDB files. + +Sample Mac path +# Repository directory: /Users/John/Documents/WACS + +Sample Windows path +# Repository directory: C:\Documents\TranslationFiles + +Sample Linux path +# Repository directory: home/john/Documents/TranslationFiles diff --git a/MAST_tW_PDF_Updater/FilesForUpdates/waa_id.sh b/MAST_tW_PDF_Updater/FilesForUpdates/waa_id.sh new file mode 100644 index 0000000..cc8129d --- /dev/null +++ b/MAST_tW_PDF_Updater/FilesForUpdates/waa_id.sh @@ -0,0 +1,14 @@ +echo "Updating ULB" +perl "MakeULB.4.pl" +echo "Finding mismatched snippets" +perl "FindMismatchedULBSnippets.3.noChunks.pl" +echo "Combining ULB and NASB with codes" +perl "CombineULBandNASBwithCodes.pl" +open -a /Applications/Firefox.app "Temp/mismatched_snippets.html" +echo "Opening mismatched files" +perl "OpenMismatchedFiles.pl" +open -a /Applications/BBEdit.app "Temp/ULB_text.txt" +# echo "ExtractLinksFromScratchPad.pl" +# perl "ExtractLinksFromScratchPad.pl" +echo "Extracting links from mismatched snippets file" +perl ExtractLinksFromMismatchedSnippets.pl