Previous Table of Contents Next


Performing Document Searches. You can search for specific text in Panorama Pro by:

  Searching the entire document
  Searching for the occurrence of the text within the context of specific elements

Both types of searches are performed in a similar manner. To search the whole document—a full text search—select the search choice in the Edit menu or click the Search icon on the toolbar. Enter the search term in the pop-up menu.

If items matching the search are found, you are taken to the first match. The number of matches is shown in a window in the lower-right corner. Their distribution and relative locations in the document are indicated by the lines on the display bar to the right of the document, as shown in figure 26.21. The number of bars indicates the number of hits in each area of the document.


Fig. 26.21  The number of matches in a search is indicated by the frequency bar on the right edge of the document.

To perform a context search, you indicate the conditions under which you want to search. For example, to search for the term Troubleshooting in document sections pertaining to turbine engines, you would enter:

     Troubleshooting in <section subject=turbine>

Supported Graphics Formats. Graphics included in an SGML document are typically handled by Panorama Pro through the use of external entities. The graphics viewer included in Panorama Pro supports the following formats:

  BMP (Microsoft Windows bitmap)
  GIF (Graphics Interchange Format)
  WMF (Microsoft Windows metafile)

With the NOTATION declaration, you can call viewers that support other graphics file formats.

Publishing Documents with Panorama Pro. You can use Panorama Pro to prepare SGML documents for electronic delivery, such as on the World Wide Web. Because HTML is an implementation of SGML, Panorama Pro can be used for both HTML and other implementations of SGML.

To publish documents on the World Wide Web, you must first check the public identifiers, validate the document instances, check the graphics, and build the directory trees. The specific steps are:

1.  Add and validate public identifiers to the SGML document instances.
2.  Validate—parse—the document instances and the DTDs.
3.  Check and validate all the document links.
4.  Check and validate the graphics file markup.
5.  Validate that any external programs—such as graphics viewers—are operating correctly.
6.  Validate the filename syntax and filename location.
7.  Check the availability of applicable DTDs in the correct format.
8.  Set up the directory structure for document and supporting files—DTDs, entities, graphics, and so on.


Note:  
The syntax checker in Panorama Pro is not a validating parser. All document instances and DTDs should be parsed by a validating parser such as SP, which is included on the CD-ROM that accompanies this book.


• See “SP/NSGMLS Parser,” p. 490

Highlights. Panorama Pro is a versatile product. It supports World Wide Web and local SGML documents. Its support for multiple stylesheets with a variety of formatting capabilities and its ease of use make it a useful tool for viewing electronic documents.

SoftQuad, Inc.
56 Aberfoyle Crescent
Toronto, Canada M8X 2W4
Web: http://www.sq.com/products/panorama/panor-fe.htm

Near & Far

Designing and developing SGML documents is labor-intensive. During document analysis, a project team analyzes the structure and usage of a document type and translates the document model into a DTD. Although this approach is useful, creating it is a manual process that requires you to translate the document model into a DTD. Near & Far, a companion product to Near & Far Author, is an automated tool for constructing DTDs. With its drag-and-drop interface, Near & Far enables you to construct a graphical model of your document, validate it, and output the corresponding DTD.

Features. Near & Far—part of Microstar’s computer-aided document engineering (CADE) system—is a groupware application based on Lotus Notes. It facilitates the collaborative development of SGML document designs and architecture. The features provided in Near & Far include a useful tool set for creating, documenting, and maintaining DTDs. It is useful across the many phases of the DTD creation and maintenance cycle. Table 26.8 describes the features of Near & Far.

Table 26.8 Near & Far Features

Phase Features

Creation Graphical design of document models
DTD generation
Documentation Graphical view of document models
Document model tabular reports
Internal DTD documentation and comments
Validation Content model parsing


Previous Table of Contents Next