Creating Mathcad Files for HTML Export

After you create the Mathcad worksheets that will comprise your Web site, place all the worksheets in a single folder. Name your files according to an organized naming scheme, for example, topic0.xmcd, topic1.xmcd, topic2.xmcd, and so on. Retain these names when you export to the .html versions of the files. The sample templates included with Mathcad that use JavaScript to track files in a site require a sequential naming structure such as this.

To create a consistent look for your worksheets, use templates and text styles. Styles specified within Mathcad templates are translated to an inline Cascading Style Sheet when the Mathcad document is exported as HTML. Note that Mathcad templates used for setting styles within Mathcad differ from HTML templates that are used to create HTML navigation and wrappers for HTML content.

To use an HTML template, set the document layout style to "Relative" in your HTML Output Preferences. Mathcad regions export to an HTML table that maintains horizontal and vertical positioning as much as possible between regions through rows and columns. Your export stays more accurate if you align regions consistently to well-defined vertical guides, for example, every 1.5 inches. See the Help sections on aligning regions and Ruler guidelines.

After you create your worksheets, you can hyperlink them for your Web site.

Tip: