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.
- Run Word Perfect and Jasc, Inc.'s Paint Shop Pro.
- Switch to Word Perfect and open or create a document.
- Use View | Zoom to zoom the display to 150%.
- 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.
- Switch back to Paint Shop Pro and use Colors | Decrease Color Depth to reduce the image to 256 colors.
- Use View | Image Information... (Shift-i) to get the size of the image in pixels.
- Use the Dropper Tool to identify the background color index for the image. This index is 255 for most of my images.
- Select File | Save as... and click on the Options... button. Set the transparency value to the background index previously identified. Finish saving the file.
- 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.
- 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.
- Delete the contents of and remove the directory Word Perfect created for the graphics files generated from the document (using Windows Explorer or whatever).