Jump to content


Photo

Open Text Differences as a Search


  • Please log in to reply
2 replies to this topic

#1 Darin Franklin

Darin Franklin

    Silver

  • Active Members
  • PipPipPip
  • 106 posts
  • Gender:Male
  • Accordance Version:13.x
  • Platforms:Mac OS X

Posted 20 July 2020 - 10:07 PM

I am comparing two texts which have sparse differences, and I need a way to navigate between the differences.
 
For example:
Open HMT-W4 in a search tab.
Open BHS-W4 in parallel.
Turn on Compare. 
In Compare Text settings, I have
Compare: Words
Type: Single Text
Ignore: everything
 
Display > List Text Differences
 
Now I have a list of all the verses which have differences, but how do I navigate to each one?
 
I want a way to open the list of verses into a search tab so that I can navigate them as search result hits.
 
For now, here is my workaround.
 
Focus on the Text Differences pane.
File > Save as Text File > Plain Text…
Open the text file in a text editor, extract all the verses, and join them with semicolons.
Paste the list of verses into the Accordance search tab.
 
Now I can navigate through the hits. 
 
To make this easier, the Text Differences list should have a link at the top which opens the list of verses in the search tab.
 

Attached Files


  • Fabian likes this

#2 Fabian

Fabian

    Mithril

  • Super Member
  • PipPipPipPipPipPip
  • 4,708 posts
  • Gender:Not Telling
  • Accordance Version:13.x
  • Platforms:Mac OS X, iOS

Posted 21 July 2020 - 12:41 AM

Now I have a list of all the verses which have differences, but how do I navigate to each one?

+1 for a solution for this

 

 

Now I can navigate through the hits. 

 
To make this easier, the Text Differences list should have a link at the top which opens the list of verses in the search tab.

I requested a few times, we should be able to click on the reference and it jumps to there in the Bible. https://www.accordan...b-tie/?p=110674

 

 

I also requested to "Tie" the list of text differences with the Bibles.

https://www.accordan...b-tie/?hl=links

 

 

Fabian


Edited by Fabian, 21 July 2020 - 12:45 AM.

Greetings

Fabian

ATTENTION: My bug reports are all with the GERMAN INTERFACE and with the EUROPEAN NOTATION! It can be the English interface has no bugs, I describe.

PLEASE!
Bring more international Bibles to the store,
fix my reported bugs, even the old ones which never was addressed,
develop my feature requests, the new once and the once I made years ago,
in nearer future.

#3 Darin Franklin

Darin Franklin

    Silver

  • Active Members
  • PipPipPip
  • 106 posts
  • Gender:Male
  • Accordance Version:13.x
  • Platforms:Mac OS X

Posted 01 August 2020 - 12:25 PM

I created Automator workflows to provide navigation for text differences. This is for Mac only.
 

Attached File  TextDifferences-1.0.0.zip   310.58KB   1 downloads

 

Double-click the workflow files to install them.  They will appear in the Accordance > Services menu.
 
Open Text Differences as Search
 
This service opens a Text Differences tab, saves it, reads it, and then opens the Search tab with the list of verses.
 
1. In Accordance, open two texts in parallel, enable Compare, and turn on "Recycle Contents".
2. Accordance > Services > Open Text Differences as Search
 
 
Open Text Differences as Web Page
 
Do the same steps as above, but choose Accordance > Services > Open Text Differences as Web Page.
 
It creates an HTML file and opens it in the default web browser.  To view this file in Accordance, you have to copy and paste the URL into the Accordance web browser tab (File > New Tab > Web Browser).  There is currently no way for the script to open it directly in Accordance, but I will add that feature if Accordance ever gets a keyboard shortcut to select the URL bar (Cmd-L, perhaps).
 
Attached File  textdiffhtml.png   448.03KB   0 downloads

  • Fabian likes this




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users