HTML lacks equation writing codes.

I currently use Adobe Acrobat (.PDF format) for documents containing equations, greek letters and fancy formatting. I first create the documents in Word Perfect (I'm still using version 7.0) and print them using the Acrobat PDFWriter driver.

Previously, I inserted equations into my documents as graphics. I have found that the File | Publish to | HTML... option in Corel Word Perfect 7 does not work reliably when documents contain equations and/or graphics. Therefore, I use the following steps to capture equations from Word Perfect as graphics for incorporation into my web pages. These steps should work with minor changes with about any Windows program.

  1. Run Word Perfect and Jasc, Inc.'s Paint Shop Pro.
  2. Switch to Word Perfect and open or create a document.
  3. Use View | Zoom to zoom the display to 150%.
  4. Use the Capture option in Paint Shop Pro to capture the area of the screen containing the desired equation. For best results, the area captured should be only slightly larger than the equation.
  5. Switch back to Paint Shop Pro and use Colors | Decrease Color Depth to reduce the image to 256 colors.
  6. Use View | Image Information... (Shift-i) to get the size of the image in pixels.
  7. Use the Dropper Tool to identify the background color index for the image. This index is 255 for most of my images.
  8. Select File | Save as... and click on the Options... button. Set the transparency value to the background index previously identified. Finish saving the file.
  9. Use File | Publish to | HTML... to save the Word Perfect file in HTML form. Note the name of the directory into which Word Perfect puts the graphics files from the document.
  10. Use Nick Bradbury's HomeSite 2.0 or whatever editor you normally use to clean up the HTML file generated by Word Perfect. In particular, edit the img tags to point to and specify the size of your .gif files rather than those produced directly by Word Perfect.
  11. Delete the contents of and remove the directory Word Perfect created for the graphics files generated from the document (using Windows Explorer or whatever).

Send comments and suggestions to: Dr. Charles S. Tritt
This page last updated 3/6/98