![]()
| Framemaker tasks |
| Overview |
This section covers those tasks you will need to do in your document to create linking to other files, conditionalizing text, indexing, creating tables and graphics, and using variables.
| Conditional text |
Conditional text is used to apply to text to highlight it for purposes of hiding it or for identification for special purposes. For example, you would apply the Comment condition to the Comment paragraph tag in order to hide it.
The conditions that you can use are listed below. We suggest that writers use these condition tags and not create their own. This is because we have had problems in the past with conditions that are not supposed to display appearing in the documents.
Conditional text settings that are valid:
You can apply a condition tag to text, anchored frame, a table, and a table row or table cell.
To apply a condition tag:
The condition tag is applied to the selection.
Conditional text is displayed or hidden depending on the conditional text Show/Hide setting. You can display all conditions, only some conditions, or none.
To select which conditions are shown or hidden:
| Note | For rollup when Frame files are converted to HTML using Webworks Publisher, all conditions are set to Hide, except for the HTML passthrough. If any new conditions are created and exist in a document, these new conditions are not known by Production and may be revealed in the HTML. |
To set conditions to show or hide in the book, do the following:
| Types of links in a document |
There are three types of links you can create in our documentation. These are cross-references, hypertext links, and URL (applied with URL character tag) links. Please use the appropriate type of link according to what you are linking to.
Use paragraph cross-references to create links to other areas in the Framemaker document or to other Framemaker documents. The following are some sample cross-reference link formats:
Use the URL character tag for applying to text that is a reference to an external URL address, that is, outside of pin.com.
This character tag is not to be used in place of the gotoURL hypertext markers that are used for linked references to flist specs, pol.c files, and object specs.
Wherever the URL character tag is applied, Webworks will know to convert this to an external link. The URL character tag will be mapped in the Webworks template to provide the actual hypertext link in the generated HTML, so you don't need to add the "http://" portion of the URL address.
The rules for using the URL character tag are as follows:
For example,
To download JDK 1.3, go to http://java.sun.com.
To link to external web sites and system files, such as storable class definitions, sample programs, and opcode flist specifications, create a Go to URL hypertext link as follows:
Examples: To link to a sample program: To link to an opcode flist spec: To link to a storable class definition:
message URL examples/sample_act.c.html
message URL flists.specs/PCM_OP_DOCUMENTATION_RULES.output.html
message URL object.specs/event.session.ipt.html
| Note | Most of our Framemaker documents are converted into the html directory http://docs.pin.com/release/Documentation/html. This means that the system files we need to link to are probably in a subdirectory of /html (such as the flist.specs and object.specs directories). Enter the name of the subdirectory first without a forward slash. |
| Important | If you don't apply a unique character tag, WebWorks won't know when the link is supposed to end when the file is converted to HTML. For example, |
With character tag:
See the sample_act.c program for more information.
Without character tag:
See the sample_act.c program for more information.
| Graphics |
Graphics are imported by reference into documents. All the graphics are stored in a separate folder called Graphics in each Frame book folder. The graphics are imported by reference so that when you change the original graphic, the change will be reflected in the document.
If you remove a graphic, make sure that you import by reference the new graphic, or delete the graphic and the anchored frame from the document.
The GIF graphic file format provides the optimum results for documents intended for online viewing. Also, the Webworks conversion works faster if the files are in GIF format.
To create graphics, use Visio for diagrams, and for screenshots, you can use the PrintScreen or Alt+PrintScreen, or use the screen capture tool of your choice. PaintShop Pro can be used to convert BMP and Visio files to GIF format.
Before creating the screenshot, set your display color scheme to Windows Standard. Also, set your Framemaker view settings to 100%.
Give the graphic a descriptive name and follow this file naming convention:
framefilename_uniquename.suffix
For example, a GIF file in the cpt_product_overview.fm would be named:
cpt_product_overview_system_overview.gif
Allowed characters are:
To import a graphic, do the following:
The following is an example of a graphic.
All graphics must be in a graphic frame with an anchor. Use the Graphics paragraph tag for the anchor. The anchor must be on a separate paragraph. The graphic anchor won't break numbered lists in the converted HTML files.
| Index |
The following explains how to create index markers in a document for an index. After you have inserted the markers, you need to add the index to the book as a generated file and Update the book. This generates the index file which lists the items you have indexed.
For what to index, wording and formatting of entries, please see the Style Guide for Indexing Guidelines.
| Tip | You should have View-Text Symbols turned on to see the marker symbols. |
To create an index marker in a document:
To change an existing index entry:
| Tip | A quick way to create a marker for one word is to place an index marker without text at the beginning of a word. The word to the right of the marker becomes the text of the marker after the index is generated. |
Index markers will remain in the document until you remove it. To remove a marker, carefully select the marker symbol in the text and click Delete.
You can create second-level entries, called subentries, under a main entry. You are allowed to create one or two subentry levels.
To create a subentry in a marker:
Nimoy, Leonard:birth The main entry needs to be typed exactly each time you use it, including any blank spaces.
| Tables |
The following table formats have been defined in the template. You may need to modify the tables to suit your content such as add more columns or rows, adjust the table width, merge cells (straddle cells), and so on.
Some customizations like changing line widths, shading, turning off borders (in table formats that have borders turned on), and merging cells may not carry over to the HTML version of this document.
The following table formats are set up in the template for you to use.
Table formats
Specific paragraph tags are created for formatting text in tables.
| Tip | Too much text in a table cell may interfere with the table flow on pages and could leave blank spaces on pages. This is because Framemaker tries to keep cell contents together. For example, a table cell filled with text making it the height of a page can be too much text in one cell. Try to break it up into chunks, or create another table. |
To insert an empty table in your document:
To convert text that is tabbed or untabbed into a table:
If you insert the normal table, you can add more columns or row to the table:
To remove a cell, column, or row in a table, completely from a table, make sure you select the entire cell (the cell should appear black). Just selecting the text in a cell only removes the text.
Click Leave Cell Empty to remove only the text in the cell. Click Remove Cells from Table to remove the text and table row from the table.
After you have entered text in the table, you may wish to adjust the column widths, or you may have added columns and the table is outside of the margins. To resize the table width, you can do this manually or by using the Resize Selected Columns menu.
You can also use the Resize Selected Columns menu to adjust columns and the table width.
Apply a different table format by:
You can use the Table formatting bar to work with tables. Open the View menu and select the QuickAccess Bar. In the QuickAccess bar, you can keep clicking on the blue arrows until you see the Table Formatting bar.
The following are some commonly used table shortcuts.
Table keyboard shortcuts
| Note | For these shortcut keys to work, your cursor must be in a table cell. |
| Tip | To keep table rows together, select table rows and select Table menu-Row Format. In Row Format window, click on Keep With: Next Row. |
The following are examples of tables of various sizes and types of content.
Normal Table
| CellHeading | CellHeading |
|---|---|
|
CellBody |
|
| CellHeading | CellHeading | CellHeading | CellHeading | CellHeading |
|---|---|---|---|---|
|
Cellbody |
Cellbody |
Cellbody |
Cellbody |
Cellbody |
| CellHeading font | is Palatino 10 pt bold |
|---|---|
|
CellBody Font |
is Palatino 10 pt |
| Application | Billing script | Description | ||
|---|---|---|---|---|
|
|
|
|
||
|
|
|
|
|
Assess Cycle Forward fees |
|
|
|
|
|
Credit Card Deposits |
| New product | Support for your product |
|---|---|
|
Release XXX features |
These features are supported. 2 |
| 1
2 The dicing functionality requires customizing an opcode. |
See Notes and related tags for an example of using a borderless table.
Sample opcode table
|
Input Flist |
Output Flist |
Transaction Handling |
Calling PCM opcodes |
Header file |
| Variables used |
The following custom and system variables are used in this template. Writers should not create their own unique variables as variables can cause maintenance issues. The definition applied to the custom variables must be updated for each new release. For example, the variable for copyright year, ProductRelease, ReleaseMain, and Release_Current, as well as others, must be changed when the product release number changes.
| Note | Solution42 writers: we suggest that you not use variables at this point. |
The following custom variables are valid for this template:
Variables we are going to keep, but updated to the current release:
| Note | Some of the new variables apply only to certain books for a specific purpose so may not be applicable to all books. |
Variables can be used to represent text, especially text that will change. It can be used repeatedly throughout a document and all the instances of a variable can be changed by just changing the definition.
System variables are variables that should not be removed and each document comes with a default set of system variables. System variables are usually listed at the top of the variables list in the Variable dialog box. An example of a system variable would be the modification date. System variables are automatically updated when the file is opened or printed.
The user variables are custom variables that have been added and defined in the template. Writers should not be creating and adding new variables. However, you can use the variables that are for official use and that are listed here.
When variables are inserted in a document, they look like regular text except that when you double-click on it, the Variable window opens.
You can also find what variables are used in a document by using the Find/Change window and select the Find criteria for Any Variable for Variable of Name.
To insert a custom or system variable in your document, do the following:
To change a variable inserted in the document, or to remove the variable, do the following:
|
JH Consulting mrycove419@yahoo.com Last modified: January 2003 |