Using Webworks: I. Starting A New Webworks Project
Using Webworks: I. Starting A New Webworks Project
Page 1 of 8
Using WebWorks
These Instructions apply to WebWorks Professional and Standard Version 7. These versions are used with FrameMaker 7.
10/29/2007
WebWorks
Page 2 of 8
Select only the FrameMaker .book file. Do not select all the individual files in the book. Click on Open. Click on Next. At his point WebWorks will read the book. This could take a few minutes. When WebWorks is done reading the book it will display a screen showing you paragraph mappings. Use the Next button to skip this screen. Select No I'll convert the content later and click Finish. WebWorks may take a few minutes to scan you project. When it is done, click on the WebWorks Save icon. Saving creates a WebWorks project file (.wdt) specific to your project. If you have followed the preceding steps correctly, you should be able to browse to your WebWorks project folder on your local drive and find your project folder. To continue setting up your project, proceed to the next section.
NOTE: See also the mappings.xxxx.txt files under the Support Files in the WebWorks Interface as shown in the image below. The mapping.txt files may contain important updates that have not yet been incorporated into this process.
10/29/2007
WebWorks
Page 3 of 8
1. Right-click on Framemaker and Generated Files and select Properties. The File Properties window will appear. 2. Click on the Output tab. Map all pages to Normal. Then map the Frame TOC file to TOC. Change the html File Name for the TOC to index.htm.
10/29/2007
WebWorks
Page 4 of 8
Click on the Graphics subtab located at the bottom of the File Properties window. Map all Graphics to JPEG. 3. Click the Files tab. 4. Right-click on title page file and select Properties. The File Properties window will appear. Map the title page file paragraphs [3] as follows: Source Style Caution Copyright Line Head 2 Non TOC Note Notice Paper Date P/N Paragraph 6. Close the Project Properties window. 7. In the Main WebWorks window Click on the Options tab. Make sure these options are checked: Use DOS 8.3 Filenames Generate Pages Generate Graphics Default Font Character Mappings 8. Proceed to section III. Converting the Book. WebWorks Style CautionTitlePage NoOutput Head2TitlePage NoteTitlePage NoticeTitlePage Copyright or NoOuput ParagraphTitlePage
1. In Main WebWorks Window, make sure your Frame TOC file is the first file in the list under Source + Generated files. If the Frame TOC is not the first file in the list, click on Project Rearrange files, and move it to the top of the list. 2. Right-click on Source + Generated files Properties. The Project Properties window
10/29/2007
WebWorks
Page 5 of 8
will appear. 3. Click on the Table subtab. Map Tables as follows. Source Style Callout (1 Column) Callout (2 Column) Solving Specs WebWorks Style Callout_1_column Callout_2_column Solving Specifications
4. Right-click on your Frame TOC Page file and select Properties. The Project Properties window will appear. Map the TOC page file paragraphs as follows Source Style ContentsTitle Head1 (Section Title) TOC Head 2 Top of Page TOC Head2TOC Head3TOC WebWorks Style NoOutput TOC1 TOC2 TOC2 TOC3
Note that if you do not want head2s and head3s included in the TOC of your final help file, map them to NoOutput 5. Click on the Output tab. Map all pages to Normal. Then map the Frame TOC file to TOC. Click on the Graphics subtab. Map all Graphics to JPEG. 6. If your document has a specifications section, right-click on the specifications file and map the Specification file paragraphs as follows: Source Style Head 2 Table Head Left 7. Close the Project Properties window. 8. In the Main WebWorks window Click on the Options tab. Make sure these options are checked: Generate Pages Generate Graphics Default Font Character Mappings WebWorks Style NoOutput Table_Head_Left_Specifications
10/29/2007
WebWorks
Page 6 of 8
9.
10/29/2007
WebWorks
Page 7 of 8
Manual Changes at Final Conversion At final conversion, make the following manual changes to your html files. 1. Make long mini-tocs 2 column At the top of each converted html chapter, there is a vertical list of links. We call this a mini-toc. If this list is over 8 links, you should manually make the list 2 column as the last step in the final conversion. This procedure should be done directly in the html code. This is the format for the empty table: <table width="80%" border="0"> <tr> <td valign="top"> <!-- column 1 --> </td> <td valign="top"> <!-- column 2 --> </td> </tr> </table> The procedure is to go into the html code, create the empty table, and copy and paste half of the links (which have already been created by WebWorks) into each of the 2 columns. For example, for the first column, cut the first half of the links and paste them into the code so that they replace the <!-- column 1 --> line of code. 2. Delete surplus files from your output folder before creating a final zip or cab file .txt files are surplus. Delete title.txt, copyright.txt, miniTOC.txt, miniTOCtitle.txt, modelnumber.txt, tp.txt, etc. Any html pages (for example, title.htm) that you know of that are not part of your final deliverable. For example in flat html we typically do not use the converted Frame title page, LOT file, LOF file, or IX file. So if those are not being used, they can be deleted.
10/29/2007
WebWorks
Page 8 of 8
Footnotes 1. This should be your default directory for templates. If it isn't, see "Set Default Folder Locations for WebWorks". 2. If you don't know where the webworks-project directory is, see "Set Default Folder Locations for WebWorks". 3. By default, you should be on the Mappings tab (Paragraph subtab). Compare what you are seeing to Figure 1 if in doubt. 4. "Compiled HTML" refers to .chm help files, also known as Microsoft HTML help. In compiled html, all the separate html pages and image files are compiled into a single .chm file, hence the name "compiled" html.
10/29/2007
Page 1 of 1
Page 1 of 9
Contents
Unwanted line breaks after a Run in head Missing Pages Errors Opening Frame Files Unwanted Text Formatting Unwanted Paragraph Formatting Character formats are not converting with proper formatting The title page book title or GuideTitle2 is in all caps GuideTitle2 is missing Cross-references Graphics Issues When small graphics are converted from Frame to html they appear centered or indented in the html Issues with Tables There is not enough white space between a Table and the text that precedes the table (or in the case of ESG, the Table title) Some table cells appear to be missing When the Specifications Table is converted from Frame to HTML, their are empty links in the Mini-toc
10/29/2007
Page 2 of 9
10/29/2007
Page 3 of 9
To understand why this is so, go into the WebWorks Style Designer and look at the html code for Run in Head, Paragraph, and Table Paragraph Run-in.
Missing Pages
When you start a new project WebWorks reads the Frame book file to determine what files are in the book. WebWorks adds those Frame files to the WebWorks project. If the writer later adds or subtracts files, you need to manually add or subtract them to the WebWorks project. In the WebWorks Interface, right click on FrameMaker and Generated Files. Select Add or Delete files and follow the directions on your screen.
10/29/2007
Page 4 of 9
character tag. If it is, point the problem out to the writer and ask them to fix.
GuideTitle2 is missing
In order for WebWorks to covert the GuideTitle2 Paragraph, there must be no extra paragraph tag after it. This works: Dell XYZ System
User's Guide
This does not work: Dell XYZ System
User's Guide
Cross-references
When cross-references are converted the space next to the text is also converted.
Check the Cross Reference format in FrameMaker and make sure there are no unwanted spaces. Check the File Properties -> XREFs tab in WebWorks and make sure there are no unwanted spaces.
10/29/2007
Page 5 of 9
Graphics Issues
Some graphics convert poorly
Make sure the graphic is set to convert JPEG and that the JPEG settings are correct.
Some graphics appear along side their Figure Title rather than below the Figure Title.
Make sure the graphic is anchored to an anchor paragraph tag, not the figure title. If you anchor to the figure title, WW thinks the graphic is part the Figure Title paragraph and converts the Figure Title plus graphic like this: <p><b><a name="1096648"></a> Figure Title Text text text<img src="images/xxxxxx.jpg"></b></p> Where as when you have the graphic anchored to an anchor tag, it converts like this: <p><b><a name="1096648"></a> Figure Title Text text text</b></p> <p><img src="images/xxxxxx.jpg"></p>
When small graphics are converted from Frame to html they appear centered or indented in the html
When WebWorks converts graphics, it converts the entire frame. If the Frame is considerably larger than the actual graphic, the converted output will also be a large graphic with a lot of white space in it. This excess white space makes the graphic appear centered or indented.
10/29/2007
Page 6 of 9
There is not enough white space between a Table and the text that precedes the table (or in the case of ESG, the Table title)
Just like figures, tables need to be anchored to an anchor tag. If you anchor a table to the end of a sentence, in the html code the table will literally be attached to the end of that sentence. In Frame, anchor tables to an anchor tag. Illustration of how to anchor a table:
10/29/2007
Page 7 of 9
10/29/2007
Page 8 of 9
When the Specifications Table is converted from Frame to HTML, their are empty links in the Mini-toc
On the Specifications page, WebWorks builds the Mini-toc from the Table Head Left paragraph tags. It will add all Table Head Left tags to the mini-toc, even if they are empty or concealed in a straddled row. Example of Table Head Left that was concealed in a straddled row.
10/29/2007
Page 9 of 9
Solution Ensure that their are no empty Table Head Left tags in the Specs table. If need be, unstraddle rows and change unwanted Table Head Left tags to Table Paragraph. Then reapply the straddle.
10/29/2007
Page 1 of 9
6. Click
a. General tab: Update the Title (for example, Dell Latitude User's Guide or Dell Dimension Help). Set the default file to tp.htm or about.htm (your title page file).
10/29/2007
Page 2 of 9
b. Files tab: In the Compiled file location path, change the name of the .chm file as appropriate (for example, DellHelp.chm or usersgd.chm). Ensure that the Contents file is the .hhc file that you renamed in step 3 (for example, DellHelp.hhc or usersgd.hhc). Leave the remaining fields blank.
10/29/2007
Page 3 of 9
c. Compiler tab: Ensure that Compile full-text search information is checked and that everything else is not checked.
10/29/2007
Page 4 of 9
d. Merge Files tab: Leave the tab blank. 7. Click OK. 8. Click and make the following changes:
a. General tab: Update the Title bar text (for example, Dell Latitude User's Guide or Dell Dimension Help).
10/29/2007
Page 5 of 9
b. Buttons tab: Check Hide/Show, Back, Forward, Options, and Print. Ensure that the other boxes are not checked.
10/29/2007
Page 6 of 9
10/29/2007
Page 7 of 9
d. Files tab: Window: TriPane TOC: .hhc file that you renamed in step 3 (for example, DellHelp.hhc or usersgd.hhc) Default: tp.htm or about.htm (your title page file) Leave the remaining fields blank.
e. Navigation Pane tab: Window type: TriPane Window with navigation pane, topic pane, and button: Ensure that the option is checked. Navigation pane width: Leave blank. Properties: Do not check any of the properties. Tabs: Select Contents under Default tab, and check Search tab. Ensure that the other tabs are not checked.
10/29/2007
Page 8 of 9
f. Styles and Extended Styles tabs: Leave blank. 8. Click the Contents tab. If you receive the message "If you change a file that has been automatically generated, you will lose your changes when you recompile...," click Yes. 9. Manually add the title page and Glossary to the table of contents: a. Click the first entry in the TOC and click .
If you receive the message Do you want to insert this entry at the beginning of the table of contents?, click Yes. b. Type the title of the document under Entry title, for example, Dell Dimension Help or Dell Latitude User's Guide. c. Click Add, click the title page file in the HTML titles list (usually tp.htm or about.htm), and click OK. If the title page is not listed, click Browse and select the title page file. d. Click the last entry in the TOC and click e. Type Glossary under Entry title. f. Click Add, click the Glossary file (usually glossary.htm), and click OK. If the Glossary is not listed, click Browse and select the Glossary file. .
10/29/2007
Page 9 of 9
NOTE: If you make any changes to the Frame files that affect the TOC, delete the copy of the .hhc file that you renamed in step 3. Reconvert the TOC, make a copy of the new .hhc file, and rename it again, using the same name that you used in step 3 (for example, DellHelp.hhc or usersgd.hhc). Repeat step 8 and step 9.
NOTE: Ensure that the following files are included in the zip file that you send to translation: All .htm, .jpg, and .gif files. The .css file. The .hhp and .hhc files that you renamed in step 2 and step 3, respectively; do not include any extra .hhp and .hhc files, such as the ones that WebWorks generates each time you reconvert the files.
10/29/2007