Home > Markers

Markers

Know what are markers in FrameMaker.

FrameMaker markers provide you multiple ways in which you can mark your documents. You can choose from pre-defined markers, such as Author, Comment, Conditional Tags, ContextString, Cross-Ref, Equation, Glossary; or create custom markers.

The Markers panel makes it easier to work with and troubleshoot hundreds of markers in a long document or book files. You can display all the markers in the current document, all open documents, selected file, or a book.

Add a marker

For example, to add a marker of Comment type:

  1. Place the cursor in the document where you want to insert a comment.

  2. Choose View > Panels > Markers to display the Markers panel if not already open.

  3. Click the Insert icon.

  4. Choose Comment from the Marker type box.

  5. Type your comment in the Marker Text text box and click New Marker.

  6. Save document.

Note: You can enter a tab character in marker text by typing either \t or the hexadecimal code \x08. However, if you generate a list of markers, only tabs entered as hexadecimal codes appear. If you generate an index of markers, only tabs entered as \t appear.

To add a marker to a structured document:

  1. Choose Insert > Marker.

  2. Select a marker element in the Element Catalog and click Insert.

  3. Choose a marker type from the drop-down list. You can use any predefined marker type except Conditional Tags. You can also define your own marker types.

    Note: For structured documents, consult your developer before changing a marker type. Your document may have a separate element defined for each marker type you’ll need.
  4. If the Attributes for New Element dialog box appears, enter attribute values for the marker element and click Insert Element.

    If no marker element is available at the location you want, you might use an invalid element. After inserting the element, talk to your developer about making the element valid at this location.

Generate a list of markers

Understand how to generate a list of markers in FrameMaker.

For example, to generate a list of all your Comment markers:

  1. Choose Insert > List Of > Markers.

  2. Choose whether you want to create a standalone list of markers or add it to book.

  3. In the Set Up List of Markers dialog box, select the Comment marker type from the right drop-down list and click the left arrow to transfer it into the Include list on the left.

  4. Check the Create Hypertext Links check-box.

  5. Click OK. All your Comment type markers are listed in a separate window.

Delete a marker

Learn how to delete a marker in FrameMaker.

Select the marker from the Markers panel and click the Delete icon. The marker is deleted from the document.

Create a custom marker

Learn how to create custom marker in FrameMaker.

You can also define custom markers for single-sourcing or automation. For example, you can use custom markers to mark text that can be extracted into a separate reference guide. You can mark graphic objects that require special processing, such as conversion from one format to another. You can then use a script to automatically extract all those graphics marked with the custom marker for further processing.

  1. Choose View > Panels > Markers.

  2. Click the Insert icon.

  3. From the Marker Type combo box, select Edit.

  4. Type a name for the custom marker in the Edit Custom Marker Type box.

  5. Click Add and click Done. The new Marker type is added to the list of markers.

Add a custom marker to your document

Know how to add a custom marker in a document in FrameMaker.

  1. From the Markers panel, click Insert.

  2. Select the custom marker type.

  3. Type the marker text and click New Marker. A custom marker gets added to your document.

Publish options

When you use the multi-channel publishing feature of FrameMaker, you get several options that enable you to streamline online Help publishing.

Pagination with Page Break marker

Using the options in the Publish Options menu, you can avoid the traditional ways of having to define custom markers for pagination and topic naming.

You can add Page Break markers to denote the topics that should be converted as separate Help topics, and define their topic names.

Add Page Break marker

  1. Click the heading text, and choose Insert > Publish Markers > Apply Page Break Marker.

  2. In the Page Break Marker dialog box, enter the topic title. The file name is automatically populated based on the title text that you enter.

    For example, if you enter the topic title as FrameMaker Publish options, the file is named FrameMaker_Publish_options.htm.

    However, you have the option to change the file name in the Filename text box.

Apply No Page Break Marker

You can also specify a marker to enforce that a page does not break at a defined location. For example, you require to keep two closely related headings on the same page. In this case, you specify a No Page Break Marker at the top of the second heading.

  1. Click the heading text of the second heading.

  2. Choose Insert > Publish Markers > Apply No Page Break Marker.

The marker text for the newly created marker is <NoSplit>. This indicates that the selected heading will appear on the same page as the previous heading.

Remove all Page Break markers

You can remove all the Page Break markers in a document.

  1. Open the document from which you need to remove all the page break markers.

  2. Choose Insert > Publish Markers > Remove All Page Break Markers.

Context-sensitive Help marker

To create context-sensitive Help, you need to add markers in your documentation that the product developers can link to from the corresponding parts of the product. The CSH (context-sensitive help) Marker feature in FrameMaker allows you to apply TopicAlias markers in your documentation. The CSH markers are then used by the publisher to add anchors in the publish output. The publisher also creates a map file that the product developers use to link to the anchors in the documentation.

Note: For best results, ensure that you are applying the map IDs to heading styles that you identified for pagination.

Context-sensitive Help markers are used in the following publish output formats:

  • Responsive HTML5

  • Microsoft HTML Help

Apply a context-sensitive Help marker

  1. Click to place the mouse cursor at the start of a paragraph text to insert the context-sensitive Help marker.

  2. Choose Insert > Publish Markers > Apply CSH Marker.

  3. Enter the map ID and click OK.

When you create a CSH marker in a document, FrameMaker creates a TopicAlias marker with the marker text as the map ID that you specify.

Important: You cannot use whitespaces or the following special characters for the marker text of a CSH marker: ~!@#$%^&*()+-={}|[]\\:\";'<>?,./

Creating and using a Context-sensitive Help map file

You apply CSH markers to specify context specific help location in your FrameMaker document. Next, you need to create a Help map file (with a .h extension). Your application developers use the map file to hook the specific parts of the application (for example, dialog boxes or menu items) to the corresponding help topics.

  1. Add the CSH markers in the FrameMaker source.

  2. Create a text file in any text editor and name the file as:

    <source book or document name>.h

  3. Place the map file in the FrameMaker source folder.

  4. For each CSH marker that you apply in your document, you need to create one line item in the map file as follows:

    #define <map ID> <map number>
    map ID

    Name that you specify for the CSH marker

    map number

    Unique numeric identifier that will be provided by the application developers. However, as a placeholder, you can provide any random number.

    For reference, the FrameMaker publish procedure also creates a sample map file:

    1. Run the publish procedure for your document.

    2. In Windows Explorer, go to the output folder.

      If your source content has CSH markers defined, a <source book or document name>.h file is created at the same folder level as the output folder.

      Example: For the output of a book named framemaker-publisher.book, the map file is framemaker-publisher.h.

    You can use this .h file as a reference to create your map file.

    You need to create your map file in the same format as this .h file.

    Important: The <source book or document name>.h file is created at the same level as the output folder and not inside the output folder.
  5. After you have added all the CSH markers to your map file, provide the map file to the product development team.

    The product development team can use the unique identifiers that you have included in the file. Alternatively, the product team can change the identifiers, as required, and return the updated file.

  6. Copy the updated map file to the FrameMaker source folder.

    Ensure that the name of the file is <source book or document name>.h.

  7. Run the publish procedure.

    The CSH markers are now included as anchors in the published output. You can now test the product context-sensitive Help functionality.

To implement context-sensitive Help in an application, you need to include the CSH markers in the documentation as described above. In addition, your product team will also need to add functionality in the application. For a detailed description on how to include context-sensitive Help functionality in an application, see Context-sensitive Help information for developers in the Using RoboHelp guide.

Apply index markers

  1. Click on the paragraph text that you want to insert the index marker.

  2. Choose Insert > Publish Markers > Apply Index Marker.

  3. Enter the index entry and click OK.

Important: You cannot use whitespaces or the following special characters for the marker text of an index marker: ~!@#$%^&*()+-={}|[]\\:\";'<>?,./

Create Dynamic HTML effects

You can create dynamic HTML effects such as drop-down text and expanding text in your FrameMaker documents if you want to have the published online Help formats to have these options.

Use the drop-down text effect to provide alternative task options and basic conceptual topics, summarize the questions on an FAQ, and shorten nested procedures. Text that you mark as drop-down body is displayed in your PDF output. But the text appears online only when the user clicks the drop-down text caption on the Help page.

Similarly, you can use expanding text DHTML effect to display expanded definitions, key terms, or links to overview topics embedded in a paragraph. Expanding text requires an expanding text caption that contains the link and expanding text body that is displayed when a user clicks the expanding text link. Expanding text body is not displayed in PDF. It appears only in the Help page when a user clicks the text that contains the expanding text link.

These DHTML effects require two components: a caption and body. You apply the drop-down text effects to paragraphs and the expanding text effect to characters. When the drop-down text effect is created, two paragraph styles, DropDownCaption and DropDownBody, are added to the FrameMaker document. When the expanding text effect is created, the two character styles ”ExpandingTextCaption” and ”ExpandingTextBody” are added. These formats are imported to the RoboHelp project when you import the FrameMaker documents. The effects are visible in the created HTML topics.

If the HTML topic generated contains only the captions without the accompanying body formats, links are generated and visible in the HTML topic. If the HTML topic generated contains a text body without the corresponding captions, no links are generated. In addition, if a paragraph to which the drop-down text body format is applied is also specified for conversion to an autonumbered list, the list conversion is ignored.

Create drop-down text in a FrameMaker document

  1. Select the text or paragraph on which you want to place the drop-down text caption.

  2. Choose Insert > Dynamic HTML Effects > Drop Down Caption.

  3. Select the text that should appear as drop-down text in your online Help page.

  4. Choose Insert > Dynamic HTML Effects > Drop Down Body.

Create expanding text in a FrameMaker document

  1. Select the term or phrase on which you want to place the expanding text caption.

  2. Choose Insert > Dynamic HTML Effects > Expanding Text Caption.

  3. Select the text that should appear as expanding text in your online Help page.

  4. Choose Insert > Dynamic HTML Effects > Expanding Text Body.

Customize DHTML effects for HTML5 output

You can customize the drop-down text and expanding text effects for an unstructured FrameMaker document that is published in HTML5 output format. To customize the output settings:
  1. Choose File > Publish to open the Publish dialog.
  2. Click Change Settings.
  3. In the Settings drop-down button, select Edit.
  4. In the Style Mapping tab, select the DHTML Effects options from the General Settings.


  • If the first option is selected, the text which has a drop-down text effect will appear as drop-down text on your online Help page.
  • Similarly, if the second option is selected, the text which has an expanding text effect will appear as expanding text on your online Help page.
  • If the DHTML options are deselected, the HTML5 output will not show the DHTML effects, and the text will appear as plain text without any dropdown or expanding effects.
You can also change the Twisties that appear as icons with the DHTML effects. From the Select Twisties Images dialog, choose the icons to appear as you open and close the dropdown or expanding text. You can also select the placement of the icons.