Jump to content


Photo

Making a User Tool Pt. 3. Importing


  • Please log in to reply
24 replies to this topic

#1 Timothy Jenney

Timothy Jenney

    Platinum

  • Accordance
  • 1,641 posts
  • Gender:Male
  • Location:sunny Winter Haven, FL
  • Interests:a good cup of coffee, sci-fi, playing bass, listing to jazz and the blues, camping, fishing and the great outdoors
  • Accordance Version:11.x

Posted 31 July 2010 - 03:58 PM

The most sophisticated importing feature in Accordance is available for HTML files (.htm extension). I regularly use Word, so converting .doc or .docx file types to .htm is fairly easy. I just use Word 2008 and "Save as Web Page...." The only problem is that Word inserts carriage returns [CR] after each line in order to preserve the layout of the document. That's fine for a web page, but a problem in Accordance. That's because User Tools have re-sizeable windows, so we want the text to flow properly as the window resizes.

Currently Accordance (8.4.7) [correctly] removes carriage returns. Unfortunately, it does not insert a space in their place. [I've been assured the next update to the program will do so.] In the interim, users will have to manually insert a space between the last word on the line and the first word on the next line.

Another option is available though. That's to use a text editor like TextWrangler ( http://www.barebones...s/textwrangler/ ). Use the Find command (Cmd-F) and follow the instructions on "TextWrangler Setting.png" below. It will substitute spaces for all the carriage returns in your document. Make these changes, save your document, and then convert it in Accordance. It will work perfectly.

Attached Files


Blessings,
"Dr. J"

Timothy P. Jenney, Ph. D.
"Lighting the Lamp" Host and Producer

 

Mac: Early 2011 17" MBP (8,3), 2.3 GHz Quad core, 16 GB RAM, Mercury 6G 480 SSD + 1.5 TB HD, OSX 10.10, Yosemite

iPhone 6 plus 64 GB iOS 8.1


#2 Tom Childers

Tom Childers

    Member

  • Active Members
  • Pip
  • 42 posts
  • Gender:Male
  • Location:Henderson, Tennessee
  • Interests:church history, cemetery walks, computers, genealogy, photography, ham radio
  • Accordance Version:10.x

Posted 31 July 2010 - 04:08 PM

Thank you for addressing and explaining this problem of the dropped spaces when creating user tools. I have mentioned this on the forum before and it seemed to me that I was the only person experiencing this problem. I resorted to searching for single spaces and replaces with double spaces. While this added a lot of extra spaces, at least the words did not run together. Thanks for explaining very clearly what is taking place and offering a solution. As always, your work with Accordance is greatly appreciated.

Tom

#3 Timothy Jenney

Timothy Jenney

    Platinum

  • Accordance
  • 1,641 posts
  • Gender:Male
  • Location:sunny Winter Haven, FL
  • Interests:a good cup of coffee, sci-fi, playing bass, listing to jazz and the blues, camping, fishing and the great outdoors
  • Accordance Version:11.x

Posted 31 July 2010 - 04:27 PM

Accordance does not currently offer direct import from .pdf documents. That's a shame, as more and more .pdf documents are becoming available. Happily, there are now a number of .pdf to .htm converters available for Mac users. I've found the following programs, but have not had a chance to evaluate them yet:
deskUNPDF: http://www.docudesk....duct_home.shtml [free trial download]
SOLID PDF to Word for Mac: http://www.mac-pdf-converter.com/ [free trial download]
recosoft ( http://www.recosoft.com/ ) offers a suite of products including both conversion to Ms Office and Apple iWork formats.

If you just need a single document converted, there are a number of web sites currently offering the service for free. [I'll let you do your own search for those.]

If you've found a good converter I haven't mentioned, or had experience with any of these products, feel free to chime in with your thoughts.

Edited by Timothy Jenney, 31 July 2010 - 04:28 PM.

Blessings,
"Dr. J"

Timothy P. Jenney, Ph. D.
"Lighting the Lamp" Host and Producer

 

Mac: Early 2011 17" MBP (8,3), 2.3 GHz Quad core, 16 GB RAM, Mercury 6G 480 SSD + 1.5 TB HD, OSX 10.10, Yosemite

iPhone 6 plus 64 GB iOS 8.1


#4 Timothy Jenney

Timothy Jenney

    Platinum

  • Accordance
  • 1,641 posts
  • Gender:Male
  • Location:sunny Winter Haven, FL
  • Interests:a good cup of coffee, sci-fi, playing bass, listing to jazz and the blues, camping, fishing and the great outdoors
  • Accordance Version:11.x

Posted 31 July 2010 - 04:32 PM

Thank you for addressing and explaining this problem of the dropped spaces when creating user tools. I have mentioned this on the forum before and it seemed to me that I was the only person experiencing this problem. I resorted to searching for single spaces and replaces with double spaces. While this added a lot of extra spaces, at least the words did not run together. Thanks for explaining very clearly what is taking place and offering a solution. As always, your work with Accordance is greatly appreciated.

Tom


Thank you, Tom.

I confess I am just passing this information along from David Lang and Rick Bennett, both of whom are far better at this sort of thing than I am. Reminds me of a good quote I heard during my doctoral work, "If I have seen further than others, it's because I have stood on the shoulders of giants!"

Blessings,
"Dr. J"

Timothy P. Jenney, Ph. D.
"Lighting the Lamp" Host and Producer

 

Mac: Early 2011 17" MBP (8,3), 2.3 GHz Quad core, 16 GB RAM, Mercury 6G 480 SSD + 1.5 TB HD, OSX 10.10, Yosemite

iPhone 6 plus 64 GB iOS 8.1


#5 Tom

Tom

    Silver

  • Active Members
  • PipPipPip
  • 124 posts
  • Gender:Male
  • Accordance Version:9.x

Posted 31 July 2010 - 10:28 PM

If you've found a good converter I haven't mentioned, or had experience with any of these products, feel free to chime in with your thoughts.


Here is one that converts from PDF to Word. It is free until August 8th (normally $39.95):

http://www.anypdftoo...rd-for-mac.html

I have played with it a little. Seems to do a nice job. PDF -> Word, then you can export it from there . . .

Tom
B.S. (Education, Bryan College)
Th.M. (Systematic Theology, Dallas Seminary)
M.A., Ph.D. (Classical Philosophy, University of Dallas)
Pastor/Teacher

#6 Helen Brown

Helen Brown

    Mithril

  • Admin
  • 8,436 posts
  • Gender:Female
  • Location:heart in Israel
  • Accordance Version:11.x

Posted 01 August 2010 - 05:48 AM

I agree, this seems to be working well, and should be a helpful tool for those who want to convert a PDF into a User Tool.

Note: the free offer is really nice, but read the letter with the registration code carefully to save yourselves the hassles I had from not doing so. You register with their email address, not yours, and you right-click to paste the text into the box.
Helen Brown
OakTree Software

#7 Timothy Jenney

Timothy Jenney

    Platinum

  • Accordance
  • 1,641 posts
  • Gender:Male
  • Location:sunny Winter Haven, FL
  • Interests:a good cup of coffee, sci-fi, playing bass, listing to jazz and the blues, camping, fishing and the great outdoors
  • Accordance Version:11.x

Posted 04 August 2010 - 11:49 PM

This podcast is now posted. It covers importing plain texts, html and TLG directly into a User Tool, rounding out our three-part series on "Making a User Tool." I hope we will see many more of our users making their work available to others on the Accordance Exchange: http://www.accordanc...1.com/exchange/

Blessings,
"Dr. J"

Timothy P. Jenney, Ph. D.
"Lighting the Lamp" Host and Producer

 

Mac: Early 2011 17" MBP (8,3), 2.3 GHz Quad core, 16 GB RAM, Mercury 6G 480 SSD + 1.5 TB HD, OSX 10.10, Yosemite

iPhone 6 plus 64 GB iOS 8.1


#8 JSGilliom

JSGilliom

    Bronze

  • Active Members
  • PipPip
  • 65 posts
  • Gender:Male
  • Accordance Version:10.x

Posted 06 August 2010 - 03:20 PM

Thank you for your Podcasts. I've really enjoyed the ones I've been able to watch.

I just finished watching this episode, Making a User Tool Pt. 3. Importing. It looks like the text converted back to Yehudit got swapped directions one too many times. Is there an easy way to correct this or prevent it from happening?

Thanks,
John S Gilliom
John S Gilliom

#9 Timothy Jenney

Timothy Jenney

    Platinum

  • Accordance
  • 1,641 posts
  • Gender:Male
  • Location:sunny Winter Haven, FL
  • Interests:a good cup of coffee, sci-fi, playing bass, listing to jazz and the blues, camping, fishing and the great outdoors
  • Accordance Version:11.x

Posted 07 August 2010 - 10:18 AM

Thank you for your Podcasts. I've really enjoyed the ones I've been able to watch.

I just finished watching this episode, Making a User Tool Pt. 3. Importing. It looks like the text converted back to Yehudit got swapped directions one too many times. Is there an easy way to correct this or prevent it from happening?

Thanks,
John S Gilliom


Thanks so much, John!

It's all about the interaction between Accordance and the specific word processing software used in the original document. I'm one of the few people here at Accordance that use Word. One method I've been experimenting with is to keep the original document open in Word, then using copy and replace for particularly problematic words.

As you may know, Hebrew is a particularly difficult language for most word processors. Many of the folks here at Accordance recommend Mellel (http://www.redlers.com/ ) for that reason.

Blessings,
"Dr. J"

Timothy P. Jenney, Ph. D.
"Lighting the Lamp" Host and Producer

 

Mac: Early 2011 17" MBP (8,3), 2.3 GHz Quad core, 16 GB RAM, Mercury 6G 480 SSD + 1.5 TB HD, OSX 10.10, Yosemite

iPhone 6 plus 64 GB iOS 8.1


#10 Outis

Outis

    Gold

  • Active Members
  • PipPipPipPip
  • 249 posts
  • Gender:Male
  • Location:West Newton, PA
  • Interests:Hiking, Mountain Biking, Swimming,Translating Hebrew & Greek, good coffee, loose-leaf tea, homebrewing, stinky candles.
  • Accordance Version:10.x

Posted 19 August 2010 - 04:59 AM

Hello Dr. J (et al),

Two things:

1) Text wrangler is a good piece of software. However, I upgraded to BBEdit long ago just exactly for stuff like this. Not only can you get to remove carriage returns and stuff, but it also cleans up plain text documents and turns them into decent html code.

2) It has been a year or so since I used Accordance to import from html. The problem I ran into is that there is no support for tables and indented text (either in indented block paragraphs in outline style or in nested lists). Have these issues been addressed? I love the user tool feature. But, until it's able to make use of basic tables and indentations, it remains for me a tool I can use with some documents, but not with most documents (because they almost need to have these two features to look right).

If you'd like to see what I'm talking about in detail, you can download the attached zipped file. The html file looks ok. But the imported user tool doesn't look right. The borders on the table don't exist and the spacing is off. Likewise the nested bullets are flattened out.

Like I said, I love the user tools. I'd just like to see the user tools mature into a more usable feature for Accordance.

thanks,

Attached Files


Pastor Steve Bauer

stevebauer.us
pastorbauer--> at <--gmail.com

sic fatvs nocti se miscvit atrae...

#11 Helen Brown

Helen Brown

    Mithril

  • Admin
  • 8,436 posts
  • Gender:Female
  • Location:heart in Israel
  • Accordance Version:11.x

Posted 19 August 2010 - 05:30 AM

We do plan to improve the importing, though busy with other features right now. I cannot promise that we'll include tables though. HTML is such a messy and variable format that it is a major challenge to import it. Just look at all the attributes that it can give tables!
Helen Brown
OakTree Software

#12 Outis

Outis

    Gold

  • Active Members
  • PipPipPipPip
  • 249 posts
  • Gender:Male
  • Location:West Newton, PA
  • Interests:Hiking, Mountain Biking, Swimming,Translating Hebrew & Greek, good coffee, loose-leaf tea, homebrewing, stinky candles.
  • Accordance Version:10.x

Posted 19 August 2010 - 05:55 AM

Good morning Helen,

Html is messy. And the tables are probably one of the messiest parts. I'll grant you that. However, it would be good to have the ability to make some basic tables without any frills or thrills. When your people get around to it, it would be good to start a discussion on some basic standards to adhere to, so that we know what to make the tables look like in html before we import them into Accordance.

Thanks.



Pastor Steve Bauer

stevebauer.us
pastorbauer--> at <--gmail.com

sic fatvs nocti se miscvit atrae...

#13 Helen Brown

Helen Brown

    Mithril

  • Admin
  • 8,436 posts
  • Gender:Female
  • Location:heart in Israel
  • Accordance Version:11.x

Posted 19 August 2010 - 06:23 AM

I think that most of our users wouldn't know how to edit an HTML file to conform to basic standards. They either download them or export to HTML from another format.
Helen Brown
OakTree Software

#14 Timothy Jenney

Timothy Jenney

    Platinum

  • Accordance
  • 1,641 posts
  • Gender:Male
  • Location:sunny Winter Haven, FL
  • Interests:a good cup of coffee, sci-fi, playing bass, listing to jazz and the blues, camping, fishing and the great outdoors
  • Accordance Version:11.x

Posted 19 August 2010 - 07:34 AM

Outis,

I do want to remind you that you can insert a link to a file on your hard drive in a user tool. That link can open a table or photo—or anything else too cumbersome to import into your tool. I put a shared folder inside my Accordance application folder called "mylinks," where all my files of this type are stored. It keeps the file path short and consistent, even when I reorganize my documents or switch to another user.

Blessings,
"Dr. J"

Timothy P. Jenney, Ph. D.
"Lighting the Lamp" Host and Producer

 

Mac: Early 2011 17" MBP (8,3), 2.3 GHz Quad core, 16 GB RAM, Mercury 6G 480 SSD + 1.5 TB HD, OSX 10.10, Yosemite

iPhone 6 plus 64 GB iOS 8.1


#15 mikes

mikes

    Gold

  • Active Members
  • PipPipPipPip
  • 298 posts
  • Gender:Male
  • Location:Monument, Colorado
  • Accordance Version:10.x

Posted 28 August 2010 - 03:18 PM

For those of us who have large numbers of documents in Mellel format, is there a known way to convert a .mellel to a .htm for user tool import?

#16 Helen Brown

Helen Brown

    Mithril

  • Admin
  • 8,436 posts
  • Gender:Female
  • Location:heart in Israel
  • Accordance Version:11.x

Posted 28 August 2010 - 03:31 PM

Your could export to RTF and then open in TextEdit and save as HTML.
  • Tony Pyles likes this
Helen Brown
OakTree Software

#17 Fabian

Fabian

    Gold

  • Active Members
  • PipPipPipPip
  • 225 posts
  • Gender:Male
  • Interests:www.internetkirche.com
    www.iglesia-del-internet.com
  • Accordance Version:11.x

Posted 30 May 2014 - 09:17 AM

Hello

 

I know this topic is a little bit older, but I have some problems.

 

Mac OS 10.9.3, Accordance 10.4.2.1, MS Word 2011 14.4.2

 

When I copy text from the Internet to MS Word, save it as .htm with UTF-8 and import it to a user tool in Accordance then I have:

 

1. that some space between the words are missing e.g. Jesuslovesyou (not always but often).

2. some Umlaut and ß for the german ss and other special character like ñ, ń, etc. are missing. e.g. Matthus instead Matthäus (always)

 

 

Anther thing:

I have also often problems to copy txt text in the user tool with Umlaut etc. then I have to search and replace all the ä, ö, ü, Ä, Ö, Ü, ß etc.

 

Does Accordance or another user have some solutions for that problems?

 

Were it possible to make .xml to import or has that other problems?

 

Greetings

 

Fabian


Mac Air (13-inch, Mid 2013)

1,3 GHz Intel Core i5

4GB Ram

 

Yosemite 10.10.1

Accordance 11.0.2

 

iPhone 4S

iOS 8.1.1


#18 Joel Brown

Joel Brown

    Administrator

  • Admin
  • 2,997 posts
  • Gender:Male
  • Location:Houston, TX
  • Accordance Version:11.x

Posted 30 May 2014 - 09:39 AM

Fabian, in order to have Accordance recognize the file as UTF8, be sure to include this line in the html header:

 

<meta http-equiv="Content-Type" content="text/html; charset=UTF-8”>

 

See if it imports better after that.


Joel Brown

By day: Consultant for Oaktree
By night: Freelance Trombonist and Private Instructor

#19 Steve King

Steve King

    Gold

  • Active Members
  • PipPipPipPip
  • 407 posts
  • Gender:Male
  • Location:Hoddesdon, Hertfordshire, UK
  • Accordance Version:10.x

Posted 30 May 2014 - 11:04 AM

In order to solve the space problem I open the htm file in TextWrangler (which is a free download) then from the 'Text' menu I select 'Remove Line Breaks'.

 

After you save the file import into Accordance and spaces should be OK.


Steve King Running Accordance 11.0.2 on:

Mac 10.9.5 (Mavericks), mid-2010 Macbook Pro, 4Gb RAM

IOS 8 (iPad 2 and iPhone 5)


#20 Gordon

Gordon

    Gold

  • Active Members
  • PipPipPipPip
  • 291 posts
  • Gender:Male
  • Accordance Version:11.x

Posted 30 May 2014 - 11:08 AM

Dr J,

Can you provide a link for the latest podcast user tools pt 3?


‏ כִּ֤י לֶ֣קַח ט֭וֹב נָתַ֣תִּי לָכֶ֑ם תּֽ֝וֹרָתִ֗י אַֽל־תַּעֲזֹֽבוּ׃





0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users