April 01, 2014

An Anxious Ale is Now Published

After many grueling nights getting the drafts finished and the proofs proofed, I'm happy to announce that final proofs were accepted and my book is finally published.

"An Anxious Ale:  A post-colonial survey of the semiotics of beer and other fermented consumables in the Bible."
by Dr. Joseph A. Weaks

I'm pleased with the results. The central chapter on foam and the Holy Spirit, I hope, will represent a sea change on the contextualization of PNEUMA. I even like how the cover turned out. The mug is the Shinerus Flagon from the dig at Miletus in 1999. The book will be available for Kindle April 21, and to ship in print in May.

It has been a long journey on this project, which began with an idea scribbled on a napkin at the Flying Saucer in downtown Fort Worth years ago. I'm grateful to Heidelberg Academic Press for accepting the project and to the Eltsac-Wen Fellows Program for the grant.
I also want to thank my many colleagues who have walked by my side during years of research on this topic. Your support and companionship has meant everything.

January 29, 2014

Collecting INFER & SearchBack Results in Accordance via Applescript

Accordance has a great INFER command that let's you find phrases in the corpus of one tab that 'seem similar to' the corpus in a second tag. Think searching out intertextuality echoes.
The Search Back feature let's you select a verse in the results, and see back to where that phrase is in the original source corpus.
Here is a batch script example of how to compile each of those results alongside each other in a text document.
I provide this Applescript with lots of comments so that Accordance users and with some scripting capacity can follow the flow and learn how to roll their own.
Here's a video demonstrating what on earth I'm talking about.


And here's the code:

-- Collect INFER and Search Back results in Accordance
property textApp : "TextEdit" -- name of your word processor or text editor
set d to 0 -- set global delay to 1 or more to observe the process, for troubleshooting purposes
set r to 100 -- max number of verses to iterate through

-- start the script with insertion point in Accordance in position 0, in front of the first marked verse of the INFER source tab (tab2) in the text window

set n to 1 -- counter for searches
set sourceVerse to ""
repeat r times
    tell application "Accordance" to activate
    delay 0.1
    delay d
    tell application "System Events"
        tell process "acord"
            click menu item "Search Back Linked Text" of menu 1 of menu bar item "Amplify" of menu bar 1
            delay 1
            -- Accordance moves to tab4
            
            -- Check Search Back results Search Criteria to make sure an errant string search wasn't conducted
            key code 123 -- left arrow to collapse any selection
            keystroke tab -- highlight search box
            keystroke "c" using {command down} -- copy Search Back search criteria
            delay 0.3
            delay d
            set searchBackCriteria to the clipboard -- save Search Back search criteria to variable
            
            -- go to source tab
            keystroke tab using {control down} -- go to tab1
            keystroke tab using {control down} -- go to tab2
            delay d
            key code 124 using {shift down, command down} -- Cmd Shft Rt to select entire source verse
            delay d
            keystroke "c" using {command down} -- copy
            delay 0.3
            delay d
            set previousSourceVerse to sourceVerse
            set sourceVerse to the clipboard
            delay 0.1
            
        end tell
    end tell
    
    if sourceVerse = previousSourceVerse then
        display dialog "Last source verse searched:" & return & sourceVerse
        exit repeat -- would just be repeating the last Source Verse
    end if
    
    if word 1 of searchBackCriteria is "INFER" then -- a valid Source Verse was used for the Search Back result (i.e. didn't search for a word from a wrapped line)
        
        -- paste the Source Verse in a word processing app or text editor
        tell application textApp to activate
        delay 0.1
        delay d
        tell application "System Events"
            tell process textApp
                keystroke return
                keystroke (n as string) -- add a iteration notation for each new entry
                keystroke " =========="
                keystroke return
                delay d
                keystroke "v" using {command down} -- paste source verse
                delay 0.3
                delay d
                key code 124 -- right arrow collapse selection
                keystroke return
                keystroke " --------"
                keystroke return
                delay d
            end tell
        end tell
        
        tell application "Accordance" to activate
        delay 0.1
        delay d
        tell application "System Events"
            tell process "acord"
                -- go to the results tab
                keystroke tab using {control down} -- go to tab3
                keystroke tab using {control down} -- go to tab4
                delay d
                
                -- go copy the results
                keystroke tab using {option down, shift down} -- place insertion point in the text pane
                delay d
                keystroke "a" using {command down} -- select all
                delay 0.1
                delay d
                keystroke "c" using {command down} -- copy Search Back results
                delay 0.3
                delay d
                
                -- go to the source tab
                keystroke tab using {control down} -- go to tab1
                keystroke tab using {control down} -- go to tab2
                delay d
                
            end tell
        end tell
    end if
    
    -- Accordance is already front app
    tell application "System Events"
        tell process "acord"
            -- prepare the Accordane window for the next verse search
            key code 125 -- down arrow to go to the next verse
            -- sometimes this will go to the next LINE of a single wrapped verse, but not always
            delay d
            key code 123 using {command down} -- Cmd left arrow to put insertion point at beginning of line
            delay d
        end tell
    end tell
    
    tell application textApp to activate
    delay 0.1
    delay d
    tell application "System Events"
        tell process textApp
            keystroke "v" using {command down} -- paste Search Back results
            delay 0.5
            delay d
            keystroke return
            delay d
            delay d
            set n to n + 1
        end tell
    end tell
end repeat

October 14, 2013

Taming the Symbols in Accordance

In the latest release of Accordance Bible software, one of the new features is the addition of Highlight Symbols. These function identically to previous word highlighting, but place instead symbols below words you attach them to. The image set that comes included in Accordance is clearly intended to be kid friendly (fun?). As a result, the color choices are not unified and lack any consistent style. So, if you find the image palette rather unpalatable, just alter them.
To find the resource folder of the images:

  1. Right-click or Control-click on the Accordance application icon in a Finder window.
  2. Select "Show Package Contents"
  3. Navigate to /Contents/Resources/  where you will see a "watermarks' folder with images 1 thru 130.
  4. Backup that folder elsewhere to be safe.
  5. Quit Accordance and have fun editing the images.

You can download a set of updated images that you see in this post. They add a consistent bluish-greyish color theme on top of Accordance's default images. You can install them by dragging the icons into the watermarks folder you navigated to. The images are available here.





September 23, 2013

New Combined Unicode Greek/Hebrew SBL Font

Happy to see that the Society of Biblical Literature has released a combined unicode font that includes both their previous work on Greek and Hebrew type faces. SBL Font Resources 
The individual Greek and Hebrew fonts should now be available only for legacy reasons, and it'd be nice for them to indicate as such on their font page.
This one SBL BibLit font now includes the full ranges for Greek, Hebrew and transliteration diacritics. I am comforted to see they included proper symbols for the Text Critical Symbol range U+2E00 to U+2E17, and even other useful TC symbols such as Alef Symbol at U+2135 and the Mathematical Fraktur Capitals U+1D510 �� M for majority text and U+1D513  U+1D52D �� p for papyrus.
I still am not a fan of the font face which by quick look seems to remain basically unchanged. The slanted glyphs simply score low on the readability scale.

April 12, 2013

The Consistent Failure of Assumed Consistency

This was a throw-away paragraph in my dissertation, an aside on the difficulties predicting how a source text is used, but in re-reading it, I think I like it very much.

Historians know that they can not normalize historical anomalies and occurrences. History is messy. Things happen with little rhyme or reason, alongside things that take place with long-anticipated intentionality and preparation. An author's use [or creation of a text] is an historical occurrence. Assuming a consistent intentionality [throughout the process] is not grounded in the human experience. Scribes skip lines when copying. Redactors are inconsistent in making changes ("writer's fatigue"). An author, in the process of intentional use of material, is also affected by the size of the page, and a child's interruptions, and the gash on the writing surface, and a sympathy towards a particular character, and the lateness of the hour. Alongside the intentions of the redactor fall these random historical realities that shape the resulting text… Just as it is impossible for an historian to explain the logic and reason behind everything that happens in a period that she is researching, so is it impossible to [fully discern how a text used its sources] from a limited set of presumptuous, consistent criteria.  (Weaks, Mark Without Mark, 2010)