Hinweis: Es scheint, Ihr Browser unterstützt nicht alle Web-Standards, und deshalb sehen Sie diesen Hinweis und das Layout nur in Auszügen. Bitte verwenden Sie einen aktuelleren Browser.
(White paper written and published by Scriptorium Publishing Services, Inc.
)
FrameMaker’s built-in HTML conversion support has a long and somewhat checkered history. In version 5, FrameMaker shipped with WebWorks Lite, which was universally derided as useless, mainly because users could not save mappings. In version 5.5, FrameMaker included a Save As HTML feature, which received more positive reviews, but it was still quite limited.
As conversion from FrameMaker to online formats became an important part of many technical documentation efforts, users have chosen to work with third-party tools, such as MIF2GO and WebWorks Publisher.
In FrameMaker version 6, Adobe has included Quadralay’s WebWorks Publisher Standard Edition. This development was met with some skepticism by the user community because of the history with WebWorks Lite.
This paper examines whether WebWorks Publisher Standard Edition, which is free to FrameMaker users (it’s included in the price of a FrameMaker 6 [and FrameMaker 7] license), can help organizations reduce their need for licenses of the quite expensive WebWorks Publisher Professional Edition.
Quadralay’s WebWorks Publisher Standard Edition converts FrameMaker files to Hypertext Markup Language (HTML) and Extensible Markup Language (XML). WebWorks Publisher Standard Edition lets you customize the output you produce in several different ways:
To convert FrameMaker files to another file format, you link (or map) FrameMaker formats (such as paragraph tags, character tags, and table tags) to formats in one of the following WebWorks Publisher Standard Edition templates:
The basic conversion process works as follows:
Quadralay also produces a more powerful version of WebWorks Publisher, called WebWorks Publisher Professional Edition. Using the Professional Edition, you can create online help formats, such as WinHelp, HTML Help, and JavaHelp, from your FrameMaker files. The Professional Edition also provides much more powerful customization features.
WebWorks Publisher Standard Edition uses the table of contents from your FrameMaker book to produce an online table of contents. This file automatically creates links for all of the TOC entries and strips the page numbers. The figure shows a table of contents in HTML.
The navigation bar is created automatically on every generated page. You can customize (or remove) the logos and the navigation bar by modifying the Normal.asp, Index.asp, and TOC.asp files. This process is identical to the process you use in WebWorks Publisher Professional Edition. You open the template files in a text or HTML editor and make changes. For example, Normal.asp contains the following information for the logo and contact information at the bottom right of each HTML and XML page:
<table align="right" border="0" cellspacing="0" cellpadding="0"> <tr> <td align="right"><font size="1"> <a href="http://www.webworks.com"><img src="images/webworks.gif" width="150" height="20" border="0"></a><br> Quadralay Corporation<br> http://www.webworks.com<br> Voice: (512) 719-3399<br> Fax: (512) 719-3606<br> <a href="mailto:sales@webworks.com">sales@webworks.com</a><br> </font></td> </tr></table>
You can change it to this (changes are bold):
<table align="right" border="0" cellspacing="0" cellpadding="0"> <tr> <td align="right">Scriptorium Publishing<br> <a href="http://www.scriptorium.com">www.scriptorium.com</a> </td> </tr></table>
The following figure shows the result of the new Normal.asp code in the output files.
To modify the colors used in the document, locate the <BODY> tag, which looks like this by default:
<body link="#3366CC" vlink="#9999CC" text="#000000" alink="#0000CC"bgcolor="#FFFFFF" background="images/backgrnd.gif">
This code determines the color of the text, the image used for the background, and the like.
| Attribute | Description |
|---|---|
| link | Specifies the color of links. |
| vlink | Specifies the color of viewed links (links that the end user has clicked on). |
| text | Specifies the color of text. |
| alink | Specifies the color of active links (a link that the user is currently clicking on). |
| bgcolor | Specifies the background color of the page. |
| background | Specifies the background image of the page. If an image is specified, it overrides the background color specification. |
You can change these attributes to specify the colors that you want to use. The color code is a pound sign (#) followed by two characters for red, two characters for green, and two characters for blue. Each two-character combination can range from 00 to FF (hexadecimal). For example, bright blue would be: #CCCCFF
In WebWorks Publisher Standard Edition, you can assign mapping to your FrameMaker paragraph, character, table, and cross-reference formats. When you map styles, you essentially “wrap” the text from the FrameMaker file in an HTML or XML tag. For example, the paragraph:
This is a body paragraph.
uses the Body style in your FrameMaker files. You map the Body style to the WebWorks Publisher Body paragraph style, and the result is something like this:
<p>This is a body paragraph.</p>
WebWorks Publisher provides default paragraph mapping styles, which let you map most of the basic styles you expect in a document. The mapping window is shown in the figure above.
The following styles are available in the default templates:
| Style name | Description |
|---|---|
| Unmap | Removes the current mapping and applies the default style. |
| Default | For styles that are not mapped. Picks up the color and font size of the FrameMaker style and uses it in the output. If the FrameMaker style uses Symbol, Wingdings, or Zapf Dingbats, the Default style inserts a <FONT FACE=...> tag into the output with the font specification. |
| Body | For regular body text. |
| BodyRelative | For body text that needs to be indented the same amount as the preceding paragraph. |
| CellBody | For table text. |
| CellHeading | For table headings (for table titles, use TableTitle). |
| GroupTitlesIX | For the GroupTitleIX paragraph style used for headings in the index. |
| Heading1–4 | For first- through fourth-level headings on the page. |
| Indented1–5 | For first- through fifth-level indented text. |
| IndentedRelative | For text that should be indented one level more than the preceding paragraph. |
| Level1–5IX | For first- through fifth-level index entries. |
| NewHTMLPage | For headings that should begin a new output page. |
| NoOutput | For paragraph tags that should not appear in the output. |
| PreformattedRelative | For code and other text that you want to display in Courier with multiple spaces preserved. Most other HTML styles strip out multiple spaces. |
| SmartList1–5 | For first- through fifth-level bulleted and numbered lists. |
| TableTitle | For table titles. |
| Title | For document titles. |
| TOC1–5 | For first- through fifth-level table of contents entries. |
The provided styles cover many of your basic requirements, but a few of the missing items include note styles, where the word Note is boldface and the rest of the text is regular font weight.
If you don’t like the styles provided in the default templates, you’re out of luck. You cannot modify these styles except to change the default font and heading color, and you cannot add new styles in the Standard Edition.
The major limitations in WebWorks Publisher Standard Edition are the following:
There are also a few minor annoyances. For example:
The limitations of the Standard Edition disappear if you move up to the Professional Edition. The Professional Edition adds the following features:
WebWorks Publisher Standard Edition will open templates developed in WebWorks Publisher Professional Edition, provided that the templates are based on one of the HTML templates (Portable or Dynamic HTML) or one of the XML templates. The Standard Edition will not open help templates—HTML Help, WinHelp, WebWorks Help, and JavaHelp.
If you are generating HTML or XML output, consider developing a custom template in WebWorks Publisher Professional and then distributing that to users who have only the Standard Edition.
This approach would also allow you to outsource development of the template to a consultant. If you do not want to invest in bringing one of your employees up to speed on WebWorks Publisher template development, this could be a cost-effective way to get the customized output you want without having to go through a long learning curve with a new tool.
If you are producing HTML or XML, you can use the Standard Edition as an output generation engine and reserve the Professional Edition for the template designer (whether that person is an employee or a vendor). The disadvantage to this approach is that you are dependent on the template designer for any updates. But at the same time, this has some advantages because it means that the end users must strictly follow the standard template—they will not be able to change it through the Standard Edition.
Quadralay has announced a template store that sells templates for the Standard and Professional Editions, but at this time, the selection is quite limited. A number of third-party consultants (including Scriptorium Publishing [and cap studio]) offer custom template development.
WebWorks Publisher Standard Edition can reduce your total software costs, provided that your conversion effort is HTML or XML based. Here are some basic guidelines:
Scriptorium Publishing Services, Inc. excels at transforming complex technical ideas into clear, concise documents. Our clients, who range from start-ups to Fortune 500 companies, rely on us for the full spectrum of technical publishing services—everything from turnkey documentation to specialized technical editing and consulting. Our expert, talented staff thrives on working with challenging new technology in a deadline-driven environment.
If you have any questions about Scriptorium Publishing Services, Inc., contact:
Scriptorium Publishing Services, Inc.
P.O. Box 12761
Research Triangle Park, NC 27709, USA
919-481-2701
sales @ scriptorium.com
http://www.scriptorium.com