Tim Campbell Posted May 19, 2015 Share Posted May 19, 2015 As reported in my support thread here I have found that importing user tools fails when scripture references are in <book> <chapter>.<verse> format, and especially when they are gathered together in lists. For example, any of the following occurring in a html document to be imported will cause the import to fail silently, and no user tool will be created: Eph. 1.1-10, 12-14 2 Cor. 1.22; 5.5; Eph 1.14 Josephus in J. W. 4.335-344; 2.254-257, 264-265. Steps to reproduce ============== 1. Create an HTML file containing any of the lines above. 2. File -> User Files -> Import User Tool... 3. Import the HTML file as a new user tool Expected results ============ Even if the above were not correctly hyperlinked, I would expect the import to run to completion and the user tool to be created. Ideally, they would all be detected and hyperlinked correctly. At a minimum, if the import did fail I would expect a notification indicating the nature of the failure and the context (i.e. the line / reference that it failed on). Actual results ========== Import fails, no user tool is created. Workaround ========= In all of the cases shown above, converting the period to a colon allows the import to succeed. However, tracking back through 8 years of research notes and manually making this change is tedious, particularly when (a) there is no indication of what or where the problem is; and ( the same data imported fine into Accordance 10. System Details =========== Accordance 11.0.6 2015 MacBook Pro OS X 10.10.2 Link to comment Share on other sites More sharing options...
Fabian Posted May 19, 2015 Share Posted May 19, 2015 (edited) If you use OpenOffice or similar LibreOffice or NeoOffice, then with (\w+) (\d+)[.](\d+) as search and replace it as $1 $2:$3 in the replace field. When set on more options and then tick regular expressions or regex. Then it would all dots that comes after a word then a digit, followed by a digit replace to a : Or only (\d+)[.](\d+) $1:$2 for verse numbering after a verse (for all). If you don't have another format that use digit.digit then you can take this alone. But I'm try first better this which is more specific. I had made my experiences as I use to global searches and replaces. Go on the search and replace pop-up to the help files, down left and search there for regu? and you'll find more infos. Greetings Fabian Edited May 19, 2015 by Fabian Link to comment Share on other sites More sharing options...
Joel Brown Posted May 31, 2015 Share Posted May 31, 2015 Tim, just to follow up here as well, I apologize for the delay, but this bug will be fixed in the next rev of Accordance. It will be able to successfully import and autolink all of those references, except the Josephus set. 1 Link to comment Share on other sites More sharing options...
Tim Campbell Posted May 31, 2015 Author Share Posted May 31, 2015 Tim, just to follow up here as well, I apologize for the delay, but this bug will be fixed in the next rev of Accordance. It will be able to successfully import and autolink all of those references, except the Josephus set. Thanks Joel, this is great news :-) I will look forward to the next update! Link to comment Share on other sites More sharing options...
Fabian Posted May 31, 2015 Share Posted May 31, 2015 Hello Joel will this be fixed too? http://www.accordancebible.com/forums/topic/15967-european-notation-1106-in-user-tools/?hl=%2Beuropean+%2Bnotation Greetings Fabian Link to comment Share on other sites More sharing options...
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now