Results 1 to 2 of 2

Thread: Creating Bibleworks Modules from Word or HTML

  1. #1

    Default Creating Bibleworks Modules from Word or HTML

    I realize this is a complicated process, and if I could make it simpler, I would. However, it does work.

    Creating Bibleworks Modules from Word or HTML
    1. Format the webpage in Word. Make sure you use styles (heading 1, heading 2, etc). These will become your table of contents.
    2. Use msword2chm to convert the Word document to compiled help. You can get msword2chm for free from http://sourceforge.net/project/showf...roup_id=195459.
    3. Extract the chm using 7-zip, available at www.7-zip.org.
    4. Use tidy to clean up the HTML. Tidy is available here: http://tidy.sourceforge.net/#binaries
      1. From a DOS prompt, run the following command (just copy and paste to the DOS prompt)
      2. for %f in (*.htm) do tidy i u w 999999 m %f
      3. This will tidy all the htm files at once
    5. Add the necessary javascript to each html file with the addBwJs.pl. You must have Perl installed for this to work. Perl can be downloaded from http://www.activestate.com/store/dow...5-08d58c2648ca
      1. Run addBwJs.pl in the directory with the htm files. They will all be edited automatically.
    6. From the sampleHTMLHelp.zip file (c:\Program Files\Bibleworks 7\sampleHTMLHelp.zip), copy the files bw.js, mymodule.chd and mymodule-books.txt to the htm directory.
    7. Use Bibleworks to tag the htm files
      1. Tools | Build Module Index
      2. Base Directory: Directory containing the htm files
      3. Bookfile name: mymodule-books.txt
      4. Base name: Name of the module
      5. Click Build and Tag.
    8. Use HTML Help Workshop to recompile the HTML. When you create a new project, note that you will already have the HTML files, the index, and the Table of Contents.
    9. Edit mymodule.chd as directed in Bibleworks documentation
    10. Copy *.chm, *.chd, and *.sdx to the databases directory and restart Bibleworks.
    Attached Files Attached Files
    Last edited by richardsugg; 01-03-2008 at 04:16 PM. Reason: formatting
    -- Richard

    "Contend earnestly for the faith that was once for all delivered to the saints." Jude 3 (ESV)

  2. #2
    Join Date
    Apr 2004
    Posts
    2,080

    Default

    Thanks Richard. I have also re-posted this and the file on the BibleWorks blog.
    Michael Hanel
    PhD candidate Classics Univ. of Cincinnati
    MDiv Concordia Seminary
    MA Classics Washington University
    Unofficial BibleWorks Blog
    LibraryThing!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •