Sweeper Index Page

To run sweeper, use paste_sweep.php.

Here are some sample documents:

In very general terms, preparing a document for publishing is a 4 step process:

  1. Conversion
  2. Coding
  3. Templating
  4. Delivery

All of these steps can be done manually or perhaps with the assistance of some commercially available tools. However, some tools may help to make the work either or both more accurate or more efficient (faster).

Procedure:

  1. Do a first review of the source document and determine the number of pages, headings, figures and images - both decorative and content, tables, equations (rare), footnotes and endnotes. For the sample file we get the following:
  2. You need MS Word and Dreamweaver. Assumes Word 2010 and Dreamweaver CS 5.5
  3. make sure your preferences in DW are correct. Look at copy / paste and make sure you have the third bullet "text with structure plus basic formatting"
  4. You need to make sure your work validates or is close and gives "expected results" at every step of the way using: https://validator.w3.org/
  5. Open Dreamweaver, create a new blank page, doctype HTML5
    Use the follow at the top of the page

    <!DOCTYPE HTML>
    <html lang="en">
    <head>
    <meta charset="utf-8">
    <title>Untitled Document</title>
    </head>

    </body>
    </html>

  6. Open your source doc in MS Word. Select all (CTRL-A), Copy, Paste into Dreamweaver in Design View. If your Word doc is very large, DW may not like it. In this case you need to adjust DW by changing its config using the procedure outlined at: https://www.jdhodges.com/blog/dreamweaver-document-too-large-copy-past/
  7. Do initial clean-up
  8. Run "arbitrary_sweep"
  9. Run cleanwordclf2"
  10. Run "arbitrary_sweep" a second time
  11. At this point, you should have a page that validates. Go ahead and check to be sure.
  12. [Run "basic"] Optional
  13. [Run "table_accessibility"] Optional
  14. [Run "structure"] Optional
  15. [Run "find_abbr"] Optional
  16. Run "abbr" Make sure to select a Department and Language/li>
  17. [Run "update_to_WET4"] Optional