home *** CD-ROM | disk | FTP | other *** search
/ Internet Publisher's Toolbox 1.0 / Image.iso / toolbox / panorama / manual.z / PANOFUG.SGM < prev    next >
Encoding:
Text File  |  1995-03-08  |  119.3 KB  |  3,320 lines

  1. <!DOCTYPE BOOK PUBLIC "-//Synex Information AB//DTD Manual Version 1.3//EN"[
  2. <!ENTITY % PRO "IGNORE" -- for marked sections, relevance only for the PRO version -->
  3. <!ENTITY % windows "INCLUDE" -- for marked sections, relevance under Windows -- >
  4. <!ENTITY % mac     "IGNORE"  -- for marked sections, relevance under Macintosh -->
  5. <!ENTITY % motif   "IGNORE"  -- for marked sections, relevance under Motif -->
  6. <!ENTITY sp "SoftQuad Panorama">
  7. <!ENTITY p "Panorama">
  8. <!ENTITY lt "<">
  9. <!ENTITY gt ">">
  10. <!NOTATION GIF SYSTEM>
  11. <!ENTITY #DEFAULT SYSTEM NDATA GIF>
  12. <!NOTATION SGML PUBLIC "+//ISO 8879:1986//NOTATION STANDARD GENERALIZED MARKUP LANGUAGE//EN">
  13. <!ENTITY panotr SYSTEM "PANOFTR.SGM" NDATA SGML -- The Tech Ref -->
  14. <![ %windows; [
  15. <!ENTITY DocVer "&sp; for Microsoft Windows">
  16. <!ENTITY platform "Windows">
  17. ]]>
  18. <?TAGLINK URL URI>
  19. <![ %motif; [
  20. <!ENTITY DocVer "&sp; for Unix/Motif">
  21. <!ENTITY platform "Motif">
  22. ]]>
  23. <![ %mac; [
  24. <!ENTITY DocVer "&sp; for Macintosh">
  25. <!ENTITY platform "Macintosh">
  26. ]]>
  27. <!NOTATION SGML PUBLIC "+//ISO 8879:1986//NOTATION STANDARD GENERALIZED MARKUP LANGUAGE//EN">      
  28. ]>
  29. <BOOK>
  30. <FRONT>
  31. <TITLEGRP>
  32. <TITLE>&sp; <![ %PRO; [PRO ]]>User's Guide</TITLE>
  33. </TITLEGRP>
  34. <AUTHGRP>
  35. <CORPAUTH><ORGNAME>Developed by Synex Information AB, Sweden</ORGNAME></CORPAUTH>
  36. </AUTHGRP>
  37. <PUBFRONT>
  38. <INFOGRP>
  39. <DEFLIST>
  40. <TERM>Standard Identification</TERM>
  41. <DD><P>&sp; is an SGML System Conforming to International Standard
  42. ISO 8879—Standard Generalized Markup Language.</P></DD>
  43.  
  44. <TERM>Published by</TERM>
  45. <DD><P><ORGADDR><ORGNAME>SoftQuad Inc.</ORGNAME>
  46. <STREET>56 Aberfoyle Crescent, Suite 810</STREET>
  47. <CITY>Toronto, </CITY><COUNTRY>Canada </COUNTRY><POSTCODE>M8X 2W4</POSTCODE>
  48. <PHONE>(416) 239–4801</PHONE>
  49. <FAX>(416) 239–7105</FAX>
  50. <EMAIL>Internet: mail@sq.com</EMAIL>
  51. <![ %PRO; [
  52. <EMAIL>Technical Support: panorama-support@sq.com</EMAIL>
  53. ]]>
  54. </ORGADDR></P></DD>
  55.  
  56. <![ %PRO; [
  57. <TERM>Developed by</TERM>
  58. <DD><P><ORGADDR><ORGNAME>Synex Information AB</ORGNAME>
  59. <STREET>Kallforsvägen 24</STREET>
  60. <CITY>Bandhagen, </CITY><COUNTRY>Sweden </COUNTRY><POSTCODE>S-124 32</POSTCODE>
  61. </ORGADDR></P></DD>
  62. ]]>
  63.  
  64. <TERM>Document version</TERM>
  65. <DD><P>&DocVer;</P>
  66. <P>First Edition (March 1995)</P>
  67. <P>Synex Information AB makes no warranty of any kind with respect to the
  68. completeness or accuracy of this document. Synex Information AB may make improvements
  69. and/or changes to the product(s) and/or programs described herein at any time and
  70. without notice.</P>
  71. </DD>
  72.  
  73. <TERM>Copyrights and Trademarks</TERM><DD>
  74. <CPYRT><DATE>© 1994-95</DATE>
  75. <CPYRTNME><ORGNAME> by Synex Information Aktiebolag, </ORGNAME>
  76. <COUNTRY>Sweden.</COUNTRY>
  77. </CPYRTNME>
  78. </CPYRT>
  79.  
  80. <P><BO>All rights reserved.</BO></P>
  81. <P>No part of this document may be reproduced, stored in a retrieval system, or
  82. transmitted, in any form or by any means—electronic, mechanical, recording, or
  83. otherwise—without the prior written consent of Synex Information Aktiebolag,
  84. excepting its legal use as part of the &sp; software and brief quotes used in
  85. connection with reviews written specifically for inclusion in a magazine or
  86. newspaper.</P>
  87.  
  88. <P>&sp; is a trademark of SoftQuad Inc.</P>
  89. <P>Other mentioned brand or product names are trademarks or registered
  90. trademarks of their respective holders.</P>
  91. </DD>
  92.  
  93. <TERM>Notice</TERM><DD><P>Agencies of the United States Government please note:</P>
  94. <P><SC>RESTRICTED RIGHTS LEGEND:</SC> Use, duplication, or disclosure
  95. by the Government is subject to restrictions as set forth in subparagraph (c)(1)(ii)
  96. of the Rights in Technical Data and Computer Software clause at <SC>DFARS
  97. 52.227–7013</SC> and in similar clauses in the <SC>FAR</SC> and
  98. <SC>NASA FAR</SC> Supplement.
  99. <!-- ++++++++++++++++ HyTime nameloc data begins +++++++++++++++++++++++++++++++ -->
  100. <NAMELOC ID="TR-MAN">
  101. <NMLIST NAMETYPE="ENTITY">panotr</NMLIST>
  102. </NAMELOC>
  103. <NAMELOC ID="TR-SSHS">
  104. <NMLIST NAMETYPE="ELEMENT" DOCORSUB="panotr">SSHSEL</NMLIST>
  105. </NAMELOC>
  106. <!-- ++++++++++++++++ HyTime nameloc data ends +++++++++++++++++++++++++++++++++ -->
  107. </P></DD>
  108. </DEFLIST>
  109. </INFOGRP>
  110. </PUBFRONT>
  111. </FRONT>
  112.  
  113. <BODY>
  114.  
  115. <CHAPTER ID="WELCOME"><TITLE>Welcome to &sp;<![%PRO;[ PRO]]>!</TITLE>
  116.  
  117. <P>&p; is the first of a new breed of document browsers that improve access to
  118. large and highly structured documents, by state-of-the-art navigational aids. It is
  119. a browser that reads SGML directly. Building on the solid foundation of an
  120. international document standard (<XREF RID="CONCEPTS">ISO 8879 SGML</XREF>), it is
  121. truly in a class of its own…crisp and responsive!</P>
  122.  
  123. <P>A short list of features:
  124.  
  125. <LIST>
  126. <ITEM><P>Display of documents using a variety of styles.</P></ITEM>
  127. <ITEM><P>Display of dynamic table of contents (navigators).</P></ITEM>
  128. <ITEM><P>Inline or iconized graphics that can be teared off and zoomed into.</P></ITEM>
  129. <ITEM><P>Support for iconized inline elements, tables, and math.</P></ITEM>
  130. <ITEM><P>A graphical <XREF RID="OPTODD"><EM>occurrence density display</EM></XREF>
  131. to highlight string search results.</P></ITEM>
  132. <ITEM><P>Contextual searches, where you use the structure of the document to define
  133. what parts are to be searched.</P></ITEM>
  134. <ITEM><P>Out-of-the-box support for hyperlinking based on HyTime, the international
  135. standard for hypertext.</P></ITEM>
  136. </LIST>
  137. </P>
  138.  
  139. <P>The PRO version of &p; also supports:
  140. <LIST>
  141. <ITEM><P><XREF RID="WEBS"><EM>Layered HyTime-based Webs</EM></XREF> to enrich your
  142. documents with user-defined links and annotations.</P></ITEM>
  143. <ITEM><P>Links to and from selected portions of graphics.</P></ITEM>
  144. <ITEM><P>A built-in editor for the design of style files.</P></ITEM>
  145. <ITEM><P>A built-in editor for defining dynamic table of contents—so-called
  146. <EM>navigators</EM>.</P></ITEM>
  147. <ITEM><P>Formatted printing of entire documents, or of selections
  148. only.</P></ITEM>
  149. </LIST>
  150. </P>
  151.  
  152. <P>You may also be interested in the excellent SGML support: More precisely, &p;
  153. supports minimal SGML, the core syntax with some useful extensions such as long
  154. identifiers (extended <TT>NAMELEN</TT>), the shorttag feature, marked sections,
  155. full entity support, and parsing of the local declaration subset.</P>
  156.  
  157.  
  158. <SECTION ID="ABOUT"><TITLE>About this manual</TITLE>
  159.  
  160. <P>This manual consists of:
  161.  
  162. <LIST>
  163. <ITEM><P><XREF RID="WELCOME">Welcome to &sp;<![%PRO;[ PRO]]>!</XREF>, a short introduction
  164. to &p; features.</P></ITEM>
  165. <ITEM><P><XREF RID="INIT">Getting Started: A short tour of &p;</XREF></P></ITEM>
  166. <ITEM><P><XREF RID="CONCEPTS">Basic SGML Concepts</XREF></P></ITEM>
  167. <ITEM><P><XREF RID="MENUS">The &p; Menus</XREF></P></ITEM>
  168. <ITEM><P><XREF RID="SSHEDIT">Editing Style Sheets</XREF></P></ITEM>
  169. <ITEM><P><XREF RID="NAVEDIT">Editing Navigators</XREF></P></ITEM>
  170. </LIST>
  171. <![ %PRO; [The manual documents both the commercial &sp; PRO, and the free, unsupported
  172. version.]]> This version of the manual displays documentation <![ %PRO; [(including PRO
  173. features) ]]>relevant for the following platform(s): <![ %windows; [ MS
  174. Windows]]><![ %mac; [, Macintosh]]><![ %motif; [, Unix/Motif]]>.</P>
  175.  
  176. </SECTION>
  177.  
  178. <SECTION ID="SUGGEST"><TITLE>Your suggestions</TITLE>
  179.  
  180. <P>We welcome your comments and suggestions on this documentation and
  181. on the program. These will be carefully considered for future
  182. versions. You can send e-mail to <TT>panorama@sq.com</TT>.</P>
  183. </SECTION> </CHAPTER>
  184.  
  185. <CHAPTER ID="INIT"><TITLE>Getting Started: A short tour of &p;</TITLE>
  186.  
  187. <P>This chapter gives you a quick review of central &p; features such as:
  188.  
  189. <LIST>
  190.  
  191. <ITEM><P>Browsing of files using navigators.</P></ITEM>
  192.  
  193. <ITEM><P>String searching documents using markup and the occurrence
  194. density display.</P></ITEM>
  195. <ITEM><P>Switching style sheets.</P></ITEM>
  196. <ITEM><P>Exploring web functionality.</P></ITEM>
  197.  
  198. </LIST>
  199.  
  200. </P>
  201.  
  202. <P>In addition, it describes very briefly some SGML concepts.</P>
  203.  
  204. <SECTION ID="BROWSER"><TITLE>Browsing SGML documents</TITLE>
  205.  
  206. <P>&sp; is a document browser that works in conjunction with NCSA
  207. Mosaic or Spyglass Mosaic, document browsers for the World Wide Web
  208. (WWW). &p; exists in two flavors: a freely available and non-supported
  209. version, and a supported, enhanced PRO version. <![ %PRO; [ This
  210. manual includes documentation on features relevant to the PRO
  211. version.]]></P>
  212.  
  213. <P>Using Mosaic, you can open any SGML file, and with the proper configuration,
  214. Mosaic will launch and display the SGML document using &p;. In the PRO version,
  215. this can be done directly from within the &p; application.</P>
  216.  
  217. <![ %PRO; [
  218. <P>To browse an SGML document directly with &p;, you can either select
  219. <MENU>Open File</MENU> from the menu <MENU>File</MENU>, or click the
  220. corresponding tool bar icon: &openfile.gif;</P>
  221. ]]>
  222.  
  223.  
  224. <FIGGRP>
  225. <FIG NAME="PANODEMO.GIF">
  226.  
  227. <TITLE>&p; displays documents in a resizable window—the document contents wrap
  228. to fit. Optionally, the left part of the window contains a dynamic table of contents
  229. (a so-called <EM>navigator</EM>) or tree view of the document structure.</TITLE>
  230.  
  231. </FIGGRP> 
  232.  
  233.  
  234.  
  235. <SUBSECT1><TITLE>Selecting a style sheet</TITLE>
  236.  
  237.  
  238. <P><EM>&p; style sheets</EM> are separately stored formatting rules
  239. that specify how the contents of SGML documents are to be displayed on
  240. screen <![ %PRO; [(or printed)]]> by the application.</P>
  241.  
  242. <P><![ %PRO; [<XREF RID="ATTCH">]]>Currently attached<![ %PRO; [</XREF>]]> styles
  243. (for the particular class of documents that the document belongs to) are listed at
  244. the top of the <MENU>Styles</MENU> menu. Selecting any of these styles updates
  245. the browser window to the selected style. The current style is indicated with a
  246. checkmark prefix.</P>
  247.  
  248. </SUBSECT1>
  249.  
  250.  
  251. <SUBSECT1><TITLE>Navigating SGML Documents</TITLE>
  252.  
  253. <P>Normally, the left part of the &p; application window looks like a table of
  254. contents, containing headings extracted from the document.  This portion of
  255. the window is called a <EM>navigator</EM> and is separated from the document
  256. contents by a vertical divider bar. The document appears to the right of the
  257. bar. The width of the navigator can be changed by dragging this bar
  258. horizontally; dragging the bar far to the left removes the navigator display
  259. entirely.</P>
  260.  
  261. <FIGGRP><FIG NAME="NAVPM.GIF"> <TITLE>The navigator is used to position the
  262. browser window. Each entry is extracted from the document. Entries prefixed
  263. with a plus icon sign contain subitems which are revealed by clicking on the
  264. icon. The arrow shows your current location in the document.</TITLE>
  265. </FIGGRP>
  266.  
  267. <P>The navigator window is used to scroll the browser window to the location
  268. of each corresponding navigator entry. The contents of the navigators are
  269. taken from the document, so the navigator can be regarded as a subset of the
  270. document, used for navigation.</P>
  271.  
  272. <P>In the navigator, some of the entries are prefixed with a plus sign, while
  273. others are prefixed with a minus sign.  The plus sign indicates that there are
  274. sub-items contained by the navigator entry, and that these items can be
  275. <EM>revealed</EM> by clicking the plus icon; the navigator will expand and display
  276. the contained entries.  Correspondingly, a minus sign indicates that the entry has
  277. been fully expanded but can be collapsed back again. Finally, some navigator
  278. entries are prefixed with a square dot. These items cannot be expanded or
  279. collapsed, as they are entries that are at the bottom of the navigator hierarchy. A
  280. yellow arrow icon designates the current location in the document.</P>
  281.  
  282. <P>To position the browser contents at a navigator entry, click on the
  283. navigator text itself (not the icon that prefixes it). <BO>Try out the
  284. navigator to see how it works!</BO> Return to this location by
  285. clicking the backtrack button in the tool bar: &backtrck.gif;. This will
  286. become active as soon as you've scrolled the browser using the navigator.</P>
  287.  
  288. <P>Equivalently, click on the corresponding navigator entry (the line with the
  289. title <EM>Navigating SGML Documents</EM>).</P>
  290.  
  291.  
  292. <SUBSECT2><TITLE>Switching to an alternative navigator</TITLE>
  293.  
  294. <P>The menu <MENU>Navigator</MENU> displays all of the currently attached
  295. navigators.  If there is some other navigator available, just pick its name from
  296. the list displayed in this menu.</P>
  297.  
  298. <P>To hide the navigator and only display the document, select the menu
  299. <MENU>None</MENU>. Equivalently, drag the divider bar far to the left.</P>
  300.  
  301. </SUBSECT2>
  302.  
  303.  
  304. </SUBSECT1>
  305.  
  306.  
  307. <SUBSECT1><TITLE>String searching</TITLE>
  308.  
  309. <P>String searching will be covered in detail later. Two valuable string
  310. searching features will be covered below.</P>
  311.  
  312. <P>To do a string search in the document:
  313.  
  314. <LIST>
  315.  
  316. <ITEM><P>From the <MENU>Edit</MENU> menu, select the item
  317. <MENU>Search&hellip</MENU>.</P></ITEM>
  318.  
  319. <ITEM><P>A dialog will be displayed for entering the search string.</P></ITEM>
  320.  
  321. <ITEM><P>Click the button <BUTTON>OK</BUTTON>.</P></ITEM>
  322.  
  323. </LIST>
  324.  
  325. The search dialog is dismissed as the results of the search are highlighted in
  326. the browser.  </P>
  327.  
  328. <SUBSECT2 ID="OPTODD"><TITLE>Occurrence Density Display</TITLE>
  329.  
  330. <P>When you perform a string search, a column may appear to the left of the
  331. scroll bar; this is the graphical <EM>occurrence density display</EM>. For
  332. each hit in the document, there is a thin line at the corresponding
  333. position.</P>
  334.  
  335. <P>The usefulness of this simple graphical display is striking: at a glance,
  336. you locate all of the occurrences, and immediately see if there is a
  337. concentration in some part(s) of the document.</P>
  338.  
  339. <P>Positioning the mouse cursor in the occurrence density display and clicking
  340. scrolls the browser to the position represented by the line nearest to the
  341. cursor.</P>
  342.  
  343. <P>This graphical aid is <EM>optional</EM> as its display can be suppressed by
  344. toggling the corresponding setting in the <MENU>Options</MENU> menu.</P>
  345.  
  346. <FIGGRP>
  347. <FIG NAME="SEARCH.GIF">
  348. <TITLE>The <TT>Search</TT> dialog is used to enter strings to be sought. At the far right of the window, next to the scroll bar, is &p;'s <EM>occurrence density display</EM>.</TITLE>
  349. </FIGGRP>
  350.  
  351. </SUBSECT2>
  352.  
  353.  
  354. <SUBSECT2><TITLE>Contextual Searching</TITLE>
  355.  
  356. <P>At times, the graphical feedback provided by the occurrence density display may
  357. not be enough; this is the case when searching for a word that is extremely
  358. prevalent. (As an example, think of searching for the word <Q>ignition</Q> in a
  359. manual on the ignition system of an engine). Fortunately, the SGML methodology of
  360. structuring documents hierarchically can be put to good use: you can restrict
  361. string searching to any portion of the document (naming any structural
  362. component—an <EM>element</EM> in SGML parlance).</P>
  363.  
  364. <P>The subject of contextual searches will be covered in depth later. As an
  365. example of what you can do, it is possible to restrict string searching to only
  366. <EM>headings</EM>, say, at the topmost level.</P>
  367.  
  368. <P>Because &p; lets you restrict searching to <EM>any</EM> element, you are
  369. only limited by the granularity of the document <XREF RID="markup">markup</XREF>!</P>
  370.  
  371. </SUBSECT2>
  372.  
  373. </SUBSECT1>
  374.  
  375. <SUBSECT1><TITLE>Viewing graphics</TITLE>
  376.  
  377. <P>Graphics can be presented either inline—intermixed with the document
  378. content—or tucked away behind an icon; clicking the icon opens up a
  379. separate window. In both cases, the graphics can be zoomed into. The choice of
  380. presentation (inline vs. behind icons) is simply a style sheet setting.</P>
  381.  
  382. <SUBSECT2><TITLE>Tearing off graphics</TITLE>
  383.  
  384. <P>When graphics are presented inline, you may want to keep a copy on-screen,
  385. in a separate window, as you scroll on. To do this:
  386.  
  387. <LIST>
  388.  
  389. <ITEM><P>Place the cursor over the graphics.</P></ITEM>
  390.  
  391. <ITEM><P>Select the pop-up menu item <MENU>Tear Off…</MENU> displayed
  392. by <![ %windows; [clicking the right mouse button.]]> <![ %motif; [clicking
  393. the right mouse button.]]> <![ %mac; [Alt-clicking.]]></P></ITEM>
  394.  
  395. </LIST>
  396.  
  397. </P>
  398.  
  399. <![ %windows;[
  400. <FIGGRP>
  401. <FIG NAME="GRRBMENU.GIF">
  402. <TITLE>A copy of an inline graphic is displayed in a separate window by positioning the
  403. cursor over the graphics and selecting <MENU>Tear Off…</MENU>from the right
  404. mouse button popup menu.</TITLE>
  405. </FIGGRP>
  406. ]]>
  407.  
  408. </SUBSECT2>
  409.  
  410. <SUBSECT2><TITLE>Graphics Hot Spots</TITLE>
  411.  
  412. <P>In addition, you can link to and from graphics, e.g. to create a hyperlink from a document
  413. that describes some object to a graphics that depicts it.</P>
  414.  
  415. </SUBSECT2>
  416.  
  417. </SUBSECT1>
  418.  
  419. <SUBSECT1 ID="WEBS"><TITLE>Webs</TITLE>
  420.  
  421. <P>Webs are containers for user-defined information—such as
  422. annotations, links, and bookmarks. Because &p; works in a multi-user,
  423. networked environment, it distinguishes between merely <EM>using</EM>
  424. a web (displaying its contents), vs. being able to <EM>modify</EM> its
  425. contents—to edit it. An open web (that is active and whose contents
  426. are displayed) is defined as being <EM>mounted</EM>.</P>
  427.  
  428. <P>Web files use the file suffix <TT>.WEB</TT> by convention. They are text files with
  429. SGML/HyTime markup and can thus be browsed by &p; just like any other SGML document.</P>
  430.  
  431. <SUBSECT2 ID="WEBOPEN"><TITLE>Opening and Creating Webs</TITLE>
  432.  
  433. <P>To open an existing web, or to create a new web, do as follows:
  434.  
  435. <LIST>
  436.  
  437. <ITEM><P>Select <MENU>Web Manager…</MENU> from the menu <MENU>Webs</MENU>.</P></ITEM>
  438.  
  439. <ITEM><P>In the Web Manager dialog that appears, pick the button
  440. <BUTTON>Mount…</BUTTON> and select the web to open if it already exists.</P> </ITEM>
  441.  
  442. <ITEM><P>If you want to create a new web, enter its filename in the editing window. &p; will
  443. then prompt you for a symbolic name used for display in the <MENU>Webs</MENU> menu.</P>
  444. </ITEM>
  445.  
  446. <ITEM><P>Once the web has been mounted, its symbolic name will appear in the list of mounted
  447. webs in the Web Manager.</P> </ITEM>
  448.  
  449. <ITEM><P>Click on the <BUTTON>OK</BUTTON> button to dismiss the Web Manager
  450. dialog.</P></ITEM>
  451.  
  452. </LIST>
  453.  
  454. The symbolic name of the web will now also appear in the <MENU>Webs</MENU> menu.
  455. </P>
  456.  
  457. <P>&p; remembers what webs were open and automatically makes them active again when you
  458. launch &p;. This information is stored in the settings file <TT>PANORAMA.INI</TT> in
  459. the main Windows directory.</P>
  460.  
  461. </SUBSECT2>
  462.  
  463.  
  464. <SUBSECT2 ID="WEBEDIT"><TITLE>Editing a Web</TITLE>
  465.  
  466. <P>To edit a web, select its name from the <MENU>Webs</MENU> menu. A checkmark
  467. prefix by the web shows that it is editable. You can only edit one web at a time, but
  468. you can have any number of webs open (active and mounted).</P>
  469.  
  470. </SUBSECT2>
  471.  
  472. <SUBSECT2><TITLE>Web Anchors</TITLE>
  473.  
  474. <P>The information that is stored in webs is always attached to a contiguous
  475. selection called an <EM>anchor</EM>. The location of the anchor within the document
  476. is stored using SGML and HyTime. This is done automatically by &p;. Even though your
  477. initial selection may designate only portions of words, &p; will transform it so that
  478. only whole words are addressed. (This is due to the way the corresponding location is
  479. stored using HyTime).</P>
  480.  
  481. </SUBSECT2>
  482.  
  483. <SUBSECT2><TITLE>Creating Annotations</TITLE>
  484.  
  485. <P>To create an annotation:
  486.  
  487. <LIST>
  488.  
  489. <ITEM><P>Highlight part of the document.</P></ITEM>
  490.  
  491. <ITEM><P>Select the item <MENU>Annotate…</MENU> from the menu
  492. <MENU>Webs</MENU>.</P>
  493.  
  494. <P>Alternatively, select the corresponding tool bar icon: &annotbut.gif;</P>
  495.  
  496. <P>A dialog appears that lets you enter your annotation.</P>
  497. </ITEM>
  498.  
  499. <ITEM><P>In the annotation dialog, you may optionally enter a name describing the
  500. annotation.  This note text defaults to the first words of the highlighted text
  501. portion.</P></ITEM>
  502.  
  503. <ITEM><P>After entering the annotation text, click the <BUTTON>OK</BUTTON>
  504. button.  An icon appears to indicate the presence of your
  505. annotation.</P></ITEM>
  506.  
  507. </LIST>
  508. </P>
  509.  
  510.  
  511. <SUBSECT3><TITLE>Naming Web Anchors</TITLE>
  512.  
  513. <P>The naming of web anchors is potentially useful for making semantic
  514. distinctions, or to clarify the reason behind an annotation. By combining named
  515. anchors with the &p; feature of multiple simultaneous webs, you can
  516. <EM>qualify</EM> the web information being added to the document. An example could
  517. be reviewers' comments—each supplying one or more webs—and using the
  518. naming feature to distinguish between various kinds of critique or comments.</P>
  519.  
  520. <NOTE><P>In the DTD used by &p; for webs, annotations are encapsulated by the
  521. <TT>note</TT> tag and the name by a <TT>head</TT> tag.</P></NOTE>
  522.  
  523. </SUBSECT3>
  524.  
  525. </SUBSECT2>
  526.  
  527. <SUBSECT2><TITLE>Creating Bookmarks</TITLE>
  528.  
  529. <P>Bookmarks are initially created in exactly the same way as annotations.
  530.  
  531. <LIST>
  532.  
  533. <ITEM><P>Once the annotation dialog appears, just click in the <TT>Bookmark</TT>
  534. checkbox.</P></ITEM>
  535.  
  536. <ITEM><P>You may optionally enter a note describing the bookmark (naming the
  537. bookmark).</P></ITEM>
  538.  
  539. </LIST>The bookmark will subsequently appear in the <MENU>Bookmarks</MENU> menu.
  540. Picking a bookmark from the menu scrolls the browser to the corresponding
  541. location.</P>
  542.  
  543. <NOTE><P>Note that the bookmark remains available as long as the web
  544. remains open—even when you are browsing some other document.</P></NOTE>
  545.  
  546. </SUBSECT2>
  547.  
  548. <SUBSECT2><TITLE>Creating Links</TITLE>
  549.  
  550. <P>You can create hyperlinks between selections in any SGML files, where the selections can
  551. be either text or graphics.<![ %PRO; [<XREF RID="HOTSPOT"> Links in graphics</XREF> will be covered
  552. below.]]></P>
  553.  
  554. <SUBSECT3><TITLE>Begin Link</TITLE>
  555.  
  556. <P>To create a link:
  557.  
  558. <LIST>
  559.  
  560. <ITEM><P>Highlight a portion and select <MENU>Begin Link…</MENU> from the
  561. menu <MENU>Webs</MENU>.</P>
  562.  
  563. <P>Alternatively, select the corresponding tool bar icon: &beglink.gif;</P>
  564. </ITEM>
  565. </LIST>
  566.  
  567. One of the link endpoints—the source anchor—has now been defined. This
  568. needs to be connected to a target anchor.</P>
  569.  
  570. </SUBSECT3>
  571.  
  572. <SUBSECT3><TITLE>Connect Link</TITLE>
  573.  
  574. <P>To complete the link, make a selection as endpoint and:
  575.  
  576. <LIST>
  577.  
  578. <ITEM><P>Select <MENU>Connect Link…</MENU> from the menu
  579. <MENU>Webs</MENU>.</P>
  580.  
  581. <P>Alternatively, select the corresponding tool bar icon: &conlink.gif;</P></ITEM>
  582.  
  583. </LIST>
  584. </P>
  585.  
  586. <P>A dialog appears that lets you optionally name the link source and
  587. target anchors.</P>
  588.  
  589. </SUBSECT3>
  590.  
  591. </SUBSECT2>
  592.  
  593.  
  594. <SUBSECT2><TITLE>Deleting Web Objects</TITLE>
  595.  
  596. <P>Annotations, bookmarks, and link endpoints are all deleted in the same way. There are
  597. two ways of removing them:
  598.  
  599. <LIST>
  600.  
  601. <ITEM><P>Position the cursor over the icon of the web object.</P></ITEM>
  602.  
  603. <ITEM><P>Press down the <![ %windows; [the right]]> mouse button and select
  604. <MENU>Delete Anchor</MENU> from the popup menu that appears.</P></ITEM>
  605.  
  606. </LIST>
  607.  
  608. Note that in the case of a link, the other link endpoint is not removed, but its icon
  609. changes into an annotation icon.</P>
  610.  
  611. <P>Alternatively, select <MENU>Web Manager</MENU> from the <MENU>Webs</MENU> menu:
  612.  
  613. <LIST>
  614.  
  615. <ITEM><P>Select the anchor to delete in the Web Manager dialog.</P></ITEM>
  616.  
  617. <ITEM><P>Press the <BUTTON>Remove</BUTTON> button.</P></ITEM>
  618. </LIST></P>
  619.  
  620. </SUBSECT2>
  621.  
  622.  
  623. <SUBSECT2><TITLE>Closing the Web</TITLE>
  624.  
  625. <P>When you are done editing a web, select it from the menu <MENU>Webs</MENU>: it is
  626. the web with the checkmark prefix.</P>
  627.  
  628. <P>If you choose to close the web altogether so that its contents (annotations,
  629. bookmarks, or links) are not displayed, select <MENU>Web Manager</MENU> from the
  630. <MENU>Webs</MENU> menu. In the Web Manager dialog, select the web and press the
  631. button <BUTTON>Dismount</BUTTON>.</P>
  632.  
  633. </SUBSECT2>
  634.  
  635. </SUBSECT1>
  636.  
  637. </SECTION>
  638.  
  639. <SECTION ID="STYLES"><TITLE>Style Sheets</TITLE>
  640.  
  641. <P>The notion of <EM>style sheets</EM> has already been mentioned in passing a few
  642. times. As SGML creates a structure upon documents, the tags normally reflect some
  643. logical ordering of the information contained in the document. One could also
  644. represent layout information directly using tags, but this is not the norm (an
  645. exception perhaps being low-level emphasis tags to indicate <BO>bold</BO> or
  646. <IT>italicized</IT> text).</P>
  647.  
  648.  
  649. <SUBSECT1><TITLE>Content-oriented vs. structure-oriented tagging</TITLE>
  650.  
  651. <P>Because this document follows rather closely the tag set of an existing DTD
  652. (the ISO 12083 BOOK DTD), most of the tags in this document are
  653. structure-oriented: they identify concepts such as headings, footnotes, and
  654. paragraphs.</P>
  655.  
  656. <P>In comparison, a content-oriented tagging approach captures the <EM>meaning</EM>
  657. of the tagged information. As an example, rather than represent a <EM>sequence</EM>
  658. of steps as a <EM>list</EM>, a content-oriented approach could break the
  659. information down into pre-conditions, a sequence of steps, post-conditions, and a
  660. result.</P>
  661.  
  662. <P>Irrespective of the tagging approach, the information must eventually be
  663. formatted. Publishing practices have been refined over centuries for
  664. publishing on paper; adequate representations for on-line media are gradually
  665. being developed.</P>
  666.  
  667. </SUBSECT1>
  668.  
  669.  
  670. <SUBSECT1><TITLE>Mapping of elements to styles</TITLE>
  671.  
  672. <P>Style sheets are one way to define the formatting to take place when
  673. processing an element; this is the approach being used in &p;.</P>
  674.  
  675. <P>As style sheets are stored separately from the document, you can have any
  676. number of them. Also, because the style definitions are based on elements
  677. derived from a DTD, <EM>every document</EM> based on that same DTD can share
  678. the same set of style sheets.</P>
  679.  
  680. <SUBSECT2><TITLE>Style sheet processing</TITLE>
  681.  
  682. <P>There is an entire chapter devoted to style sheet formatting. Here is just
  683. a short list to give an indication of what is possible to achieve using &p;
  684. style sheets.</P>
  685.  
  686. <LIST>
  687. <ITEM><P>Display element contents using any available font.</P></ITEM>
  688.  
  689. <ITEM><P>Show graphics in-line.</P></ITEM>
  690.  
  691. <ITEM><P>Insertion of text, attribute values, or environment variables before
  692. and/or after elements.</P></ITEM>
  693.  
  694. <ITEM><P>Conditional processing of elements, using criteria on attribute
  695. values, or on environment variables.</P></ITEM>
  696.  
  697. <ITEM><P>Hiding elements behind icons, so that the contents are displayed in a
  698. separate window when the icon is clicked</P></ITEM>
  699.  
  700. <ITEM><P>Optionally, suppressing the display of elements entirely.</P></ITEM>
  701.  
  702. <ITEM><P>Indentation relative to parent elements (useful for lists, e.g.).</P></ITEM>
  703.  
  704. <ITEM><P>Format engineering math and tables.</P></ITEM>
  705. </LIST>
  706.  
  707. </SUBSECT2>
  708.  
  709. </SUBSECT1>
  710.  
  711. </SECTION>
  712.  
  713.  
  714. <SECTION ID="HTMLSGML"><TITLE>The relationship between HTML and SGML</TITLE>
  715.  
  716. <P>HTML is the acronym for the HyperText Markup Language, and consists of a set of
  717. tags originally developed at the European laboratory for particle physics CERN. The
  718. original HTML was only loosely based on SGML, but the web community is slowly
  719. adapting HTML towards SGML. A quick plug in passing: The SoftQuad HoTMetaL editor is
  720. an example of that effort.</P>
  721.  
  722. <P>The main distinction between HTML and SGML is that the former can be considered
  723. an application of the latter: HTML can be expressed using SGML.</P>
  724.  
  725. <P>The virtue of HTML is its simplicity, allowing for an impressive growth in the
  726. number of documents that can be reached across the Web. Its simplicity is however
  727. also one of the reasons why various software houses have begun creating their own
  728. flavor of WWW browsers, e.g. to accomodate user demands regarding better layout
  729. support. Sadly, this trend is counter to the portability of documents, as HTML
  730. documents now are gradually becoming dependent on specific browsers. Fortunately,
  731. the SGML standard lets you design and encode your documents freely while
  732. retaining complete portability.</P>
  733.  
  734. <P>In addition, SGML documents are checked for validity regarding their syntax
  735. according to the SGML standard, while many existing HTML documents have been
  736. authored with the only requirement that they will display nicely in a World Wide
  737. Web browser. In practice, HTML documents are often not valid SGML. This will
  738. probably change over time, as more SGML-capable authoring tools become generally
  739. available. There is certainly a place for both to fill in the Web community.</P>
  740.  
  741. </SECTION>
  742.  
  743. </CHAPTER>
  744.  
  745. <CHAPTER ID="CONCEPTS"><TITLE>Basic SGML Concepts</TITLE>
  746.  
  747. <P>&p; is a browser for displaying SGML documents. SGML, the <EM>Standard Generalized
  748. Markup Language</EM>, is an international standard (ISO/IEC 8879) and defines rules
  749. by which to encode documents in a neutral manner, so that documents become
  750. independent of hardware and software.  Typically, an SGML document's technical
  751. lifetime will outlast the computer system on which it has been authored.</P>
  752.  
  753. <P>In essence, SGML is all about modeling information, of imposing structure upon data.
  754. The data can be—quite literally—anything, as SGML has ways of handling
  755. <BO>any</BO> kind of data. As an illustration of that statement, the only
  756. international standard for hypermedia (HyTime) is an application of SGML. Below is a
  757. short introduction to SGML concepts and terminology.</P>
  758.  
  759.  
  760. <SECTION ID="MARKUP"><TITLE>Generalized Markup</TITLE>
  761.  
  762. <P>The information modeling is achieved by <EM>markup</EM>, special codes inside the
  763. file that indicate where various data items begin and end; the markup is
  764. wrapped around the content it describes. An SGML document thus consists of
  765. structure and contents. The markup is inserted using <EM>tags</EM>, which are
  766. identifiers surrounded by pointy (angle) brackets.</P>
  767.  
  768. <P>By itself, SGML is entirely neutral, and says nothing about why you would want to
  769. tag certain data, nor what you would call the corresponding element. (In contrast,
  770. HyTime adds to the SGML methodology a <EM>meaning</EM> (semantics) to certain
  771. constructs that are useful when dealing with hypermedia).</P>
  772.  
  773. <P>This tagging scheme is called <BO>generalized markup</BO> because it lets
  774. you identify the logical structure of your document, instead of directly
  775. specifying its layout. The presentation issues can be addressed e.g. by using
  776. <EM>style sheets</EM> that define the presentation of elements.</P>
  777.  
  778. </SECTION>
  779.  
  780. <SECTION ID="ELEMS"><TITLE>The Scoop on Elements</TITLE>
  781.  
  782. <P>The tags surround contents—which in turn is normally also marked up using
  783. tags down to a certain granularity. What you choose to define (i.e. to mark up using
  784. tags), and what you call the corresponding <EM>element</EM> is up to you. SGML
  785. provides the formalism by which you structure the information.</P>
  786.  
  787. <P>As an example out of the blue, assume you were tagging information about cars:
  788. While labeling a car as an <TT>automobile</TT> is correct, this is a rather coarse
  789. measure of information. Additional data—such as the car's make, color, and
  790. mileage—could be contained by the <TT>automobile</TT> tag, but you'd probably
  791. want to structure your information object into additional pieces.  Elements thus
  792. provide a way of breaking up information objects into components and
  793. sub-components. It is up to the information provider to distinguish what is
  794. meaningful to tag.</P>
  795.  
  796. <P>If you are curious about the tag density of this document, you can have the
  797. element encapsulation displayed by toggling <XREF RID="STAGS">Show Tags</XREF> in
  798. the <MENU>Options</MENU> menu).</P></SECTION>
  799.  
  800.  
  801. <SECTION ID="ATTRS"><TITLE>Attributes</TITLE>
  802.  
  803. <P>In SGML, you also have the option of adding information to elements
  804. using <EM>attributes</EM>. The attributes are written inside the tags
  805. and do not form part of the document contents—an attribute is a
  806. piece of information about the element. Examples of attribute uses
  807. are:</P>
  808.  
  809. <LIST>
  810.  
  811. <ITEM><P>Assigning an element a unique identifier (so that the element can be
  812. cross-referenced)</P></ITEM>
  813.  
  814. <ITEM><P>As a placeholder for a text string used in indexing (generated by
  815. some processing step)</P></ITEM>
  816.  
  817. <ITEM><P>A reference to an image file.</P></ITEM>
  818.  
  819. <ITEM><P>As an information repository that provides meta-information about the
  820. element itself: a scholar could e.g. put in some degree of certainty, readability index or
  821. whatever, that in some way pertains to the contents of the element.</P></ITEM>
  822.  
  823. </LIST>
  824.  
  825. <P>Just like elements, attributes are also named by using identifiers.</P>
  826.  
  827. </SECTION>
  828.  
  829. </CHAPTER>
  830.  
  831. <CHAPTER ID="MENUS"><TITLE>The &p; Menus</TITLE>
  832.  
  833. <P>&p; has a main menu and immediately below it, a tool bar that contains icons for
  834. often used commands. At the bottom of the screen is a status bar that echoes
  835. application activities. In addition, &p; displays a menu whose contents depend on
  836. the location of the cursor when <![ %windows; [the right mouse button is]]> <![
  837. %motif; [the right mouse button is]]> <![ %mac; [the <TT>alt</TT> key and the mouse
  838. button are simultaneously]]> depressed. In the text that follows, there are
  839. mentions of system configuration files such as <TT>ENTITYRC</TT> and
  840. <TT>CATALOG</TT>. Disregard those references for the time being, as they are not
  841. important in day-to-day work.</P>
  842.  
  843. <SECTION ID="FILEMENU"><TITLE>The File Menu</TITLE>
  844.  
  845. <P>The File menu contains commands for opening, closing, and printing SGML files.
  846. The corresponding menu items will be covered in the next subsections. When you open
  847. an SGML file, a certain amount of processing happens. This activity is reflected in
  848. the application status bar at the bottom of the screen:  While &p; is processing,
  849. the status bar displays the various steps in bringing an SGML document fully
  850. formatted and navigable onto the screen:</P>
  851.  
  852. <LIST>
  853.  
  854. <ITEM><P>The document instance is fetched, and the corresponding DTD is identified
  855. (from the document's so-called <TT>DOCTYPE</TT> declaration). &p; supports the use
  856. of the <EM>document type declaration subset</EM>, so any such declarations are
  857. processed first; subsequently, the DTD is parsed.</P></ITEM>
  858.  
  859. <ITEM><P>Once the DTD structure is known, &p; reads the document itself and 
  860. builds up the document structure in memory.</P></ITEM>
  861.  
  862. <ITEM><P>Finally, the style sheet associated with the DTD, and
  863. normally a navigator definition as well, are applied in creating the
  864. formatted presentation that is displayed on-screen.</P></ITEM>
  865.  
  866. </LIST>
  867.  
  868. <P>The DTD and the files it may include by reference, the style sheet and navigator
  869. definition, and the document itself, are fetched through the web server or from the
  870. local file system, should they be available.</P>
  871.  
  872.  
  873. <![ %PRO; [
  874. <SUBSECT1><TITLE>Open File</TITLE>
  875.  
  876. <P>The <MENU>Open File…</MENU> command lets you select any SGML file
  877. for display with &p; PRO—which thus works as a stand-alone SGML
  878. document browser in addition to its companion role to Mosaic.</P>
  879.  
  880. </SUBSECT1>
  881. ]]>
  882.  
  883. <SUBSECT1><TITLE>Open URL</TITLE>
  884.  
  885. <P>The <MENU>Open URL…</MENU> command lets you access any URL on the
  886. WWW, for display with &p; or Mosaic.</P>
  887.  
  888. </SUBSECT1>
  889.  
  890.  
  891.  
  892. <SUBSECT1><TITLE>Close</TITLE>
  893.  
  894. <P>The <MENU>Close</MENU> command closes the current document. Previously
  895. parsed and displayed documents are maintained (if possible) in a <EM>cache</EM>,
  896. to speed up a subsequent return to the document during the session.</P>
  897.  
  898. </SUBSECT1>
  899.  
  900. <SUBSECT1><TITLE>Reload</TITLE>
  901.  
  902. <P>The <MENU>Reload</MENU> command forces &p; to reparse the document, by-passing a
  903. possible pre-parsed copy of the document in the application document cache. The main
  904. reason for issuing this command would be viewing documents that have been edited
  905. since first being opened by &p;—a previously parsed copy would not reflect the
  906. changes. This capability of immediately browsing an SGML file is a key feature of &p;.</P>
  907.  
  908. </SUBSECT1>
  909.  
  910. <![ %PRO; [
  911. <SUBSECT1><TITLE>Print</TITLE>
  912.  
  913. <P>The <MENU>Print…</MENU> command lets you print the document being
  914. browsed, including one or more navigators, to get page-numbered table of
  915. contents, lists of figures, etc.</P>
  916.  
  917. <FIGGRP>
  918. <FIG NAME="PRINTDLG.GIF">
  919. <TITLE>The Print dialog is used to set various options when printing a
  920. document. The hard copy is based on any of the available style sheets,
  921. along with optional navigators. In addition, settings such as printing
  922. of page numbering, current date, and suppressing of cross-reference
  923. resolution on hard copy are available as well.</TITLE>
  924. </FIGGRP> 
  925.  
  926.  
  927. <SUBSECT2><TITLE>The Print Dialog</TITLE>
  928.  
  929. <P>The topmost line of the Print dialog displays the currently selected printer,
  930. and the document title (if designated) is displayed on the next line.  Beneath are
  931. two lists displaying available style sheets and navigators for the current
  932. document.  Any style sheet can be selected for printing, in addition to one or more
  933. navigators as well. The following printing options can be set using check boxes in
  934. the print dialog:</P>
  935.  
  936. <DEFLIST REND="TABLE">
  937.  
  938. <TERM>Print Selection Only</TERM> <DD><P>This check box is automatically selected
  939. when there are <XREF RID="PRINTSEL">navigator entries</XREF> that have been selected for printing. In addition
  940. to printing the corresponding selected portions of the document, direct navigator
  941. entry ancestors will also be printed, so that the <EM>context</EM> of the item
  942. being printed is preserved.</P></DD>
  943.  
  944. <TERM>Indent Navigator</TERM> <DD><P>This setting indents the printed
  945. navigator entries so that the indentation reflects the hierarchy
  946. level.</P></DD>
  947.  
  948. <TERM>Top Border</TERM> <DD><P>This check box activates printing of a
  949. horizontal rule at the top of each page.</P></DD>
  950.  
  951. <TERM>Bottom Border</TERM> <DD><P>This check box activates printing of a
  952. horizontal rule at the bottom of each page.</P></DD>
  953.  
  954. <TERM>Page Number</TERM> <DD><P>This pull-down menu lets you select the
  955. placement, if any, of the page number: in the header or footer, with a choice
  956. of justification (left, centered, or right).</P></DD>
  957.  
  958. <TERM>Date</TERM> <DD><P>This pull-down menu lets you select the
  959. placement, if any, of the current date: in the header or footer, with a choice
  960. of justification (left, centered, or right).</P></DD>
  961.  
  962. <![ %windows; [
  963. <TERM><BUTTON>Setup</BUTTON> </TERM> <DD><P>This button lets you adjust the
  964. Windows printer settings.</P></DD>
  965. ]]>
  966.  
  967. <TERM><BUTTON>Cancel</BUTTON> </TERM> <DD><P>This button lets you exit the
  968. dialog without printing the document.</P></DD>
  969.  
  970. <TERM><BUTTON>Print</BUTTON> </TERM> <DD><P>Pressing this button
  971. will print the document according to the current settings.</P></DD>
  972.  
  973. </DEFLIST>
  974.  
  975. </SUBSECT2>
  976.  
  977.  
  978. <SUBSECT2><TITLE>Specifying a background label for printed pages</TITLE>
  979.  
  980. <P>To add a background label to hard copy output, you have to add an entity named
  981. <TT>PrnBG</TT> (case is significant) to the style sheet. This is done by editing
  982. the style sheet file directly.</P>
  983.  
  984. <NOTE><P>Make sure that the file you are editing is the intended style sheet.  To
  985. understand &p;'s handling of style sheets, see the section <XREF
  986. RID="TR-SSHS">Style Sheet Selection</XREF> in the <XREF RID="TR-MAN">&p; Technical
  987. Reference</XREF>.</P></NOTE>
  988.  
  989. <P>A style sheet definition begins with a <TT>DOCTYPE</TT> declaration such as:
  990.  
  991. <LIT>
  992. <!DOCTYPE STYLESHEET PUBLIC 
  993.           "-//Synex Information AB//DTD Stylesheet Explorer//EN">
  994. </LIT>
  995. </P>
  996.  
  997. <P>The background label is declared in the local declaration subset, such as:
  998.  
  999. <LIT>
  1000. <!DOCTYPE STYLESHEET PUBLIC 
  1001. "-//Synex Information AB//DTD Stylesheet Explorer//EN" 
  1002. [
  1003.   <!ENTITY PrnBG "PRELIMINARY! ** DO NOT REDISTRIBUTE **">
  1004. ]>
  1005. </LIT>
  1006. </P>
  1007.  
  1008. <P>The label is printed across the page, from the left bottom to the right top. The
  1009. angle of the baseline is calculated as a function of the output page height and
  1010. width.</P>
  1011.  
  1012.  
  1013. </SUBSECT2>
  1014.  
  1015.  
  1016. </SUBSECT1>
  1017.  
  1018. <SUBSECT1><TITLE>Printer Setup</TITLE>
  1019.  
  1020. <P>The <MENU>Printer Setup…</MENU> menu lets you adjust the Windows printer
  1021. settings.</P>
  1022.  
  1023. </SUBSECT1>
  1024.  
  1025. ]]>
  1026. <SUBSECT1><TITLE>Exit</TITLE>
  1027.  
  1028. <P>The <MENU>Exit</MENU> command terminates the application.</P>
  1029.  
  1030. </SUBSECT1>
  1031.  
  1032.  
  1033. <![ %mac; [
  1034. <SUBSECT1><TITLE>Page Setup</TITLE>
  1035.  
  1036. <P>The <MENU>Page Setup…</MENU> command lets you adjust the printer settings.</P>
  1037.  
  1038. </SUBSECT1>
  1039.  
  1040.  
  1041. <SUBSECT1><TITLE>Quit</TITLE>
  1042.  
  1043. <P>The <MENU>Quit</MENU> command terminates the application.</P>
  1044.  
  1045. </SUBSECT1>
  1046. ]]>
  1047.  
  1048. <FIGGRP ID="PRINTSEL">
  1049.  
  1050. <FIG NAME="PRINTSEL.GIF">
  1051.  
  1052. <TITLE>Particular portions of a document can be selected for printing through
  1053. the navigator display. The hard copy output will contain both the contents of
  1054. the selected items and direct parent navigator entries.</TITLE>
  1055.  
  1056. </FIGGRP> 
  1057.  
  1058.  
  1059. </SECTION>
  1060.  
  1061. <SECTION ID="SEARMENU"><TITLE>The Edit Menu</TITLE>
  1062.  
  1063.  
  1064. <SUBSECT1><TITLE>Edit</TITLE>
  1065.  
  1066. <P>The <MENU>Edit</MENU> menu lets you copy the current selection into the
  1067. clipboard.</P>
  1068.  
  1069. </SUBSECT1>
  1070.  
  1071.  
  1072. <SUBSECT1><TITLE>Search</TITLE>
  1073.  
  1074. <P>String searching within a document can be done in either full-text or by
  1075. restricting the search to specified elements (so-called <EM>contextual
  1076. search</EM>).</P>
  1077.  
  1078. <P>The <MENU>Search…</MENU> command brings up a dialog box for entering a
  1079. search string. When you click on the <BUTTON>OK</BUTTON> button, the dialog is
  1080. dismissed and the search results are displayed. The search string can optionally be
  1081. treated as <EM>case sensitive</EM>, meaning that capitalized and lower case letters
  1082. must match exactly as entered. The button at the far right of the dialog is a
  1083. pull-down menu for selecting a previously entered search string.</P>
  1084.  
  1085. <SUBSECT2><TITLE ID="SRFEEDB">Search Result Feedback</TITLE>
  1086.  
  1087. <P>Occurrences of the sought string are shown highlighted in the document window.
  1088. If the option <MENU>Occurrence Density Display</MENU> is selected, the far right of
  1089. the window will contain a graphical display of matches. &p;'s <EM>occurrence
  1090. density display</EM> corresponds to a scroll bar where each hit is displayed with a
  1091. horizontal line at the corresponding position. It lets you directly locate the
  1092. relative position and density of search hits. Placing the cursor over the display
  1093. and pressing the <![ %windows; [left]]><![ %motif; [left]]> mouse button will
  1094. scroll the window to that occurrence.</P>
  1095.  
  1096. </SUBSECT2>
  1097.  
  1098.  
  1099. <SUBSECT2><TITLE>Contextual Searches</TITLE>
  1100.  
  1101. <P>&p; lets you perform <EM>contextual searches</EM> using a simple query
  1102. language.  To restrict searches to a specified tag, specify the keyword
  1103. <TT>in</TT> followed by the tag, enclosed by angle brackets, e.g.
  1104. <LIT>
  1105. ignition in <ST>
  1106. </LIT>will search for occurrences of the word <Q>ignition</Q> within the tag
  1107. <TT>ST</TT>.  It does not matter whether tags are visible or not (see <MENU><XREF
  1108. RID="STAGS">Show Tags</XREF></MENU> in the <MENU>Options</MENU> menu). The full
  1109. syntax and possibilities of the query language are defined in the next section.</P>
  1110.  
  1111. <SUBSECT3><TITLE>The &p; Query Language</TITLE>
  1112.  
  1113. <P>The symbol <TT>::=</TT> represents the expression <Q>is defined as</Q>.
  1114. Formally, the syntax of the query language is:</P>
  1115.  
  1116. <TABLE REND="nogrid"> <TBODY> <ROW> <CELL><P>QueryExpression</P></CELL>
  1117. <CELL><P>::=</P></CELL> <CELL><P>QueryTerm ( AND | OR )
  1118. QueryExpression</P></CELL> </ROW> <ROW> <CELL><P>QueryTerm</P></CELL>
  1119. <CELL><P>::=</P></CELL> <CELL><P>QueryFactor ( IN | CONT )
  1120. QueryExpression</P></CELL> </ROW> <ROW> <CELL><P>QueryFactor</P></CELL>
  1121. <CELL><P>::=</P></CELL> <CELL><P>TextSpecification | TagSpecification | (
  1122. QueryExpression )</P></CELL> </ROW> <ROW>
  1123. <CELL><P>TextSpecification</P></CELL> <CELL><P>::=</P></CELL> <CELL><P>( char+
  1124. | literal )+</P></CELL> </ROW> <ROW> <CELL><P>TagSpecification</P></CELL>
  1125. <CELL><P>::=</P></CELL> <CELL><P>< tagname ></P></CELL> </ROW> <ROW>
  1126. <CELL><P>char</P></CELL> <CELL><P>::=</P></CELL> <CELL><P>any characters
  1127. except the keywords <TT>AND OR IN CONT</TT> or the characters <TT>"</TT> and
  1128. <TT>'</TT>.</P> </CELL> </ROW> <ROW> <CELL><P>literal</P></CELL>
  1129. <CELL><P>::=</P></CELL> <CELL><P>any characters delimited by <TT>'</TT> or
  1130. <TT>"</TT>.</P></CELL> </ROW> <ROW> <CELL><P>tagname</P></CELL>
  1131. <CELL><P>::=</P></CELL> <CELL><P>a name string, i.e. a generic identifier (GI)
  1132. of the form <TT>[A-Za-z0-9]+</TT></P></CELL> </ROW> </TBODY> </TABLE>
  1133.  
  1134. <P>This permits the formulation of queries like:<FOOTNOTE><P>It also allows (a
  1135. bit surprisingly) for strange queries such as <TT> <IT> in "the wonderful
  1136. &p; Application"</TT> i.e. find all italics in strings equaling "the wonderful
  1137. &p; Application". Perhaps some linguist will find a use for this
  1138. <Q>feature</Q>?</P></FOOTNOTE></P>
  1139.  
  1140. <TABLE REND="NOGRID"> <TBODY> <ROW> <CELL><P><![ CDATA [<title> in (<chapter>
  1141. or <section>)]]></P></CELL> <CELL><P>Find all titles within chapters or
  1142. sections.</P></CELL> </ROW>
  1143.  
  1144. <ROW> <CELL><P><![ CDATA [John Doe in <footnote>]]></P></CELL> <CELL><P>Find
  1145. the string <Q>John Doe</Q> in footnotes.</P></CELL> </ROW>
  1146.  
  1147. <ROW> <CELL><P><![ CDATA [<p> cont <footnote>]]></P></CELL> <CELL><P>Find all
  1148. elements p that contain footnote element(s).</P></CELL> </ROW> </TBODY>
  1149. </TABLE>
  1150.  
  1151. </SUBSECT3>
  1152.  
  1153.  
  1154. <SUBSECT3><TITLE>Searching for elements with attribute values</TITLE>
  1155.  
  1156. <P>The <TT>TagSpecification</TT> description is actually a bit more complex,
  1157. as you can enter one or more attribute values in the search specification:
  1158. <LIT>
  1159. John Doe in <person type=programmer> </LIT>Listing multiple attribute
  1160. name and attribute value pairs such as
  1161. <LIT>
  1162. John Doe in <person type=programmer compiler=borland></LIT> will search
  1163. for elements where <EM>all</EM> conditions are met (a logical AND).</P>
  1164.  
  1165. </SUBSECT3>
  1166.  
  1167.  
  1168. </SUBSECT2>
  1169.  
  1170. </SUBSECT1>
  1171.  
  1172. <SUBSECT1><TITLE>First</TITLE>
  1173.  
  1174. <P>The <MENU>First</MENU> command scrolls the window to the first place it
  1175. occurs in the document.</P>
  1176.  
  1177. </SUBSECT1>
  1178.  
  1179. <SUBSECT1><TITLE>Previous</TITLE>
  1180.  
  1181. <P>The <MENU>Previous</MENU> command scrolls the window to the previous
  1182. (undisplayed) occurrence of the sought string.</P>
  1183.  
  1184. </SUBSECT1>
  1185.  
  1186. <SUBSECT1><TITLE>Next</TITLE>
  1187.  
  1188. <P>The <MENU>Next</MENU> command scrolls the window to the next (undisplayed)
  1189. occurrence of the sought string.</P>
  1190.  
  1191.  
  1192. </SUBSECT1>
  1193.  
  1194. <SUBSECT1><TITLE>Last</TITLE>
  1195.  
  1196. <P>The <MENU>Last</MENU> command scrolls the window to the last occurrence of
  1197. the sought string.</P>
  1198.  
  1199. </SUBSECT1>
  1200.  
  1201. <SUBSECT1><TITLE>Back</TITLE>
  1202.  
  1203. <P>The <MENU>Back</MENU> command lets you go back to places you were just at:
  1204. this is useful for retracing your steps after exploring one or several
  1205. documents.</P>
  1206.  
  1207. </SUBSECT1>
  1208.  
  1209. <SUBSECT1><TITLE>Forward</TITLE>
  1210.  
  1211. <P>The <MENU>Forward</MENU> command is used to cycle along a trail of
  1212. positions that have been backtracked. It undoes the effect of
  1213. backtracking.</P>
  1214.  
  1215. </SUBSECT1> </SECTION>
  1216.  
  1217.  
  1218. <SECTION ID="OPTSMENU"><TITLE>Options</TITLE>
  1219.  
  1220. <P>The <MENU>Options</MENU> menu groups the toggling of settings that modify
  1221. the application's behavior and appearance such as the display of the <EM>tool
  1222. bar</EM> (the row of icons at the top of the screen), the display of the
  1223. <EM>status bar</EM> (used to echo the application status and general
  1224. information), and the display of the default <EM>navigator</EM> for each
  1225. document window.</P>
  1226.  
  1227. <P>The options are automatically saved between sessions, and are stored
  1228. in the settings file <TT>PANORAMA.INI</TT> in the main Windows
  1229. directory.</P>
  1230.  
  1231. <SUBSECT1><TITLE>Show Tool bar</TITLE>
  1232.  
  1233. <P>The application tool bar is displayed when <MENU>Show Tool Bar</MENU> is
  1234. checked. The tool bar groups frequently used commands into a graphical,
  1235. point-and-click set of buttons.</P>
  1236.  
  1237. <P>Some buttons are dimmed when they are not applicable: as an example, you cannot
  1238. create annotations if you have no editable web open, as the annotations are stored
  1239. in web files. For the same reason, the <BUTTON>Forward</BUTTON> button is dimmed
  1240. until you <BUTTON>Backtrack</BUTTON>.</P>
  1241.  
  1242. <SUBSECT2><TITLE ID="TBAR">Tool Bar Buttons</TITLE>
  1243.  
  1244. <P>Going from left to right, the tool bar buttons are shortcuts for the
  1245. following functions.</P>
  1246.  
  1247. <DEFLIST REND="TABLE">
  1248.  
  1249. <TERM>&openurl.gif; <BUTTON>Open URL…</BUTTON> </TERM> <DD><P>This
  1250. button brings up a dialog that lets you enter a URL. &p; will display the
  1251. corresponding file if it resolves to an SGML document.</P></DD>
  1252.  
  1253. <![ %PRO; [ <TERM>&openfile.gif; <BUTTON>Open File…</BUTTON> </TERM>
  1254. <DD><P>This command lets you select an SGML file on the local file
  1255. system for display with &p;—which thus works as a stand-alone SGML
  1256. document browser in addition to its companion role to Mosaic.</P></DD> ]]>
  1257.  
  1258. <TERM>&backtrck.gif; <BUTTON>Backtrack</BUTTON> </TERM> <DD><P>This button
  1259. lets you return to a previous position, taking into consideration movements
  1260. within the current file as well as other files reviewed during the session.
  1261. The trail of saved positions totals 100 locations.</P></DD>
  1262.  
  1263. <TERM>&forward.gif; <BUTTON>Forward</BUTTON> </TERM> <DD> <P>The Forward
  1264. command is used to cycle along a trail of positions that have been
  1265. backtracked. In practice, this button undoes the effect of the backtrack
  1266. button.</P></DD>
  1267.  
  1268. <TERM>&tbsearch.gif; <BUTTON>Search</BUTTON> </TERM> <DD><P>This button brings
  1269. up a dialog to enter a search string.</P></DD>
  1270.  
  1271. <TERM>&srchbwd.gif; <BUTTON>Previous Hit</BUTTON> </TERM> <DD><P>This button
  1272. scrolls the document window so that the previous undisplayed search hit is
  1273. brought to the top of the window.</P></DD>
  1274.  
  1275. <TERM>&srchfwd.gif; <BUTTON>Search Forward</BUTTON> </TERM> <DD><P>This button
  1276. scrolls the document window so that the next undisplayed search hit is brought
  1277. to the top of the window.</P></DD>
  1278.  
  1279. <![ %PRO; [ <TERM>&annotbut.gif; <BUTTON>Annotate…</BUTTON> </TERM>
  1280. <DD><P>The annotation button is used to create annotations or bookmarks to a
  1281. document.  This button is dimmed until there is both an editable web and a
  1282. selection.</P></DD>
  1283.  
  1284. <TERM>&beglink.gif; <BUTTON>Begin Link…</BUTTON> </TERM> <DD><P>The
  1285. begin link button is used to create user-defined hyperlinks to a document.
  1286. This button is dimmed until there is both an editable web and a
  1287. selection.</P></DD>
  1288.  
  1289. <TERM>&conlink.gif; <BUTTON>Connect Link…</BUTTON> </TERM> <DD><P>The
  1290. connect link button is used to to establish a connection with a previously
  1291. defined link source. This button is dimmed until there is a selection and a
  1292. source anchor.</P></DD> ]]>
  1293.  
  1294. <TERM>©sel.gif; <BUTTON>Copy Selection…</BUTTON> </TERM>
  1295. <DD><P>This button lets you copy a contiguous, highlighted selection into the
  1296. clipboard.</P></DD>
  1297.  
  1298. <TERM>&printdoc.gif; <BUTTON>Print Document…</BUTTON> </TERM>
  1299. <DD><P>This button lets you print the document or just selected portions of
  1300. it.</P></DD>
  1301.  
  1302. <TERM>&about.gif; <BUTTON>About…</BUTTON> </TERM> <DD><P>This button brings
  1303. up a dialog box displaying the name of the application.</P></DD>
  1304.  
  1305. </DEFLIST> </SUBSECT2> </SUBSECT1>
  1306.  
  1307. <SUBSECT1><TITLE>Show Status bar</TITLE>
  1308.  
  1309. <P>Toggling the display of the status bar either reveals or hides the application
  1310. echo area at the bottom of the main window. This is used to echo the application
  1311. status (such as the currently open web) and general information during parsing. As
  1312. an example, the right corner of the status bar displays the number of hits after a
  1313. string search.</P>
  1314.  
  1315. </SUBSECT1>
  1316.  
  1317. <SUBSECT1><TITLE>Launch Subviews</TITLE>
  1318.  
  1319. <P>The <MENU>Launch Subviews</MENU> setting changes &p;'s mode of operation when
  1320. displaying elements which are hidden behind icons. When this option is checked,
  1321. iconized elements are displayed in a window of their own. In the reverse setting,
  1322. the elements are shown at the top of the browser screen, replacing the screen
  1323. contents. You can use thus use &p; for presentations in the style of slide
  1324. shows.</P>
  1325.  
  1326. </SUBSECT1>
  1327.  
  1328.  
  1329. <SUBSECT1><TITLE>Use Default Navigator</TITLE>
  1330.  
  1331. <P>There are normally one or several navigators defined for each DTD. By
  1332. enabling this option, &p; automatically brings up the default navigator along
  1333. with the document.</P>
  1334.  
  1335. </SUBSECT1>
  1336.  
  1337.  
  1338. <SUBSECT1><TITLE>Occurrence Density Display</TITLE>
  1339.  
  1340. <P>When this option is checked, a string search result will be displayed
  1341. graphically as well, with a vertical shaft next to the scroll bar. See the
  1342. section <XREF RID="SRFEEDB">Search Result Feedback</XREF>.</P>
  1343.  
  1344. </SUBSECT1>
  1345.  
  1346. <SUBSECT1><TITLE>Autoshrink Graphics</TITLE>
  1347.  
  1348. <P>Whenever window contents cannot be displayed due to a narrow window size, a
  1349. horizontal scroll bar appears. However, when the option <MENU>Autoshrink
  1350. Graphics</MENU> is selected, graphics that are shown inline are always resized to
  1351. fit the current browser window size.</P>
  1352.  
  1353. </SUBSECT1>
  1354.  
  1355.  
  1356. <SUBSECT1><TITLE>Prevent Flicker</TITLE>
  1357.  
  1358. <P>The option <MENU>Prevent Flicker</MENU> toggles the method of updating the
  1359. screen.  When the option is enabled, the screen contents are first created in
  1360. an off-screen buffer (in RAM), and then copied onto the window.  This
  1361. operation is perceived by users as being faster than the alternative of
  1362. drawing directly onto the screen, which may create a noticeable flicker
  1363. on slower systems. The latter approach however has the pro of using less
  1364. application memory.</P>
  1365.  
  1366. </SUBSECT1>
  1367.  
  1368. <SUBSECT1><TITLE ID="STAGS">Show Tags</TITLE>
  1369.  
  1370. <P>The command <MENU>Show Tags</MENU> displays the tag structure of the
  1371. displayed SGML document. The tags are symbolized by markup icons surrounding
  1372. the corresponding elements.</P>
  1373.  
  1374. <SUBSECT2><TITLE>Selection Copying with Show Tags Enabled</TITLE>
  1375.  
  1376. <NOTE><P>Note that copying a selection into the clipboard when tags are
  1377. displayed will incorporate the SGML markup into the copy.</P></NOTE>
  1378.  
  1379. </SUBSECT2>
  1380.  
  1381. </SUBSECT1>
  1382.  
  1383.  
  1384. <SUBSECT1><TITLE>Show Hot Spots</TITLE>
  1385.  
  1386. <P>Hot Spots are clickable web anchors in graphics. When the option <MENU>Show Hot
  1387. Spots</MENU> is checked, hot spots have a subtle border to indicate their location
  1388. (regardless of whether the hot spot represents an annotation, link, or bookmark).
  1389. When the cursor is placed over a hot spot, the cursor appearance changes from the
  1390. regular arrow to a pointing finger. Toggling this setting using the keyboard
  1391. shortcut <TT>Ctrl+H</TT> is an efficient way of identifying anchors in complex
  1392. graphics.</P>
  1393.  
  1394. </SUBSECT1>
  1395.  
  1396. <SUBSECT1><TITLE>Mosaic</TITLE>
  1397.  
  1398. <P>This menu setting is for selecting the HTML browser that &p; will communicate with.
  1399. Currently supported browsers are NCSA Mosaic and Enhanced Mosaic from Spyglass.</P>
  1400.  
  1401. </SUBSECT1>
  1402.  
  1403. </SECTION>
  1404.  
  1405.  
  1406. <SECTION ID="VIEWMENU"><TITLE>The Styles Menu</TITLE>
  1407.  
  1408. <P>The <MENU>Styles</MENU> menu is used to select style sheets and to create or
  1409. remove bindings between a DTD and a style sheet definition. As the DTD defines a
  1410. class of similar documents, which all share a basic logical structure and set of
  1411. tags, it makes sense to associate style sheets to the DTD. <EM>All</EM> documents
  1412. based on a particular DTD can thus share style sheets; &p; lets you select also
  1413. designate a specific style sheet from within the document using a <XREF
  1414. RID="TR-SSHS">processing instruction</XREF> to accomodate layout needs
  1415. of particular documents.</P>
  1416.  
  1417. <P>The contents of this menu are dimmed when no document is being browsed.</P>
  1418.  
  1419. <![ %PRO; [
  1420. <SUBSECT1 ID="ATTCH"><TITLE>Attach Style Sheet</TITLE>
  1421.  
  1422. <P>The <MENU>Attach Style Sheet…</MENU> command lets you select a style
  1423. sheet file (normally with the suffix <TT>.SSH</TT>) to be associated with the DTD
  1424. of the current document. Attaching style sheets updates the <TT>ENTITYRC</TT>
  1425. catalog, and the application menu will list the name of the style in its menu list
  1426. of available styles.</P>
  1427.  
  1428. <NOTE><P>This menu item is dimmed when the DTD of the browsed file has been declared
  1429. without reference to a corresponding public identifier. When this situation arises
  1430. the style sheet selection is resolved by a <XREF RID="TR-SSHS">fallback
  1431. scheme</XREF>.</P></NOTE>
  1432.  
  1433.  
  1434. </SUBSECT1>
  1435.  
  1436.  
  1437. <SUBSECT1><TITLE>Creating a New Style Sheet</TITLE>
  1438.  
  1439. <P>To create a new style sheet, select the command <MENU>Attach Style
  1440. Sheet…</MENU> from the menu <MENU>Styles</MENU>.
  1441. <LIST>
  1442.  
  1443. <ITEM><P>Enter a new filename for the style sheet in the file selection dialog that
  1444. appears.</P></ITEM>
  1445.  
  1446. <ITEM><P>&p; will query you for a symbolic style sheet name. The symbolic name is
  1447. displayed in the <MENU>Styles</MENU> menu.</P></ITEM>
  1448. </LIST></P>
  1449.  
  1450. <P>When you create a new style sheet, the browser window contents will appear without
  1451. any formatting except for line breaks before and after each element. You can then
  1452. proceed to edit the style sheet using the built-in, interactive style sheet editor
  1453. in the PRO version of &p;.</P>
  1454.  
  1455. <NOTE><P>If you want to have a head start on the style sheet design, you can copy
  1456. and rename an existing style file before you attach it.</P></NOTE>
  1457.  
  1458. <P>The style sheet editor can be summoned from pop-up menus in the browser and SGML
  1459. Tree Window. Because the styles support inheritance, general defaults can be set to
  1460. the topmost element; only elements for whom special formatting rules need to be
  1461. applied—such as titles, footnotes, tables, or graphics—remain to specify.
  1462. With some experience, designing a style sheet for a structure-oriented DTD is done in
  1463. a matter of minutes.</P>
  1464.  
  1465.  
  1466. </SUBSECT1>
  1467.  
  1468.  
  1469. <SUBSECT1><TITLE>Detach Style Sheet</TITLE>
  1470.  
  1471. <P>This command removes the binding between the current style sheet and the
  1472. corresponding DTD. The style sheet's symbolic name is removed from the
  1473. <MENU>Styles</MENU> menu and the <TT>ENTITYRC</TT> catalog is automatically
  1474. updated. The style sheet file is <EM>not</EM> deleted.</P>
  1475.  
  1476. </SUBSECT1>
  1477. ]]>
  1478.  
  1479. <SUBSECT1><TITLE>Available Style Sheets</TITLE>
  1480.  
  1481. <P>Style sheets that have been attached to the current DTD are listed at the top
  1482. of the <MENU>Styles</MENU> menu; the name that appears in the menu is taken from
  1483. the corresponding entry in the <TT>ENTITYRC</TT> catalog<![ %PRO; [ (and is
  1484. identical to the symbolic name entered when the style sheet was created)]]>.
  1485. Selecting one of the listed styles reformats the browser window according to that
  1486. style sheet.</P>
  1487.  
  1488. </SUBSECT1>
  1489.  
  1490. </SECTION>
  1491.  
  1492. <SECTION ID="NAVMENU"><TITLE>The Navigator Menu</TITLE>
  1493.  
  1494. <P>Navigators are powerful generalized table of contents: any element can be
  1495. displayed in a navigator; clicking a navigator entry scrolls the browsed document to
  1496. the corresponding position. The navigator entries will automatically reflect the
  1497. hierarchical structure of the elements selected for display in the navigator, such
  1498. as titles at the levels of chapters, sections, and subsections.</P>
  1499.  
  1500. <P>The contents of this menu are dimmed when no document is being browsed.</P>
  1501.  
  1502. <SUBSECT1><TITLE>Available Navigators</TITLE>
  1503.  
  1504. <P>In the <MENU>Navigator</MENU> menu, available navigators are listed at the top
  1505. of the menu. The menu item <MENU>None</MENU>, removes the display of
  1506. the navigator from the document window and expands the document to fill the size of
  1507. the entire window. Removing the navigator display is also achieved by dragging the
  1508. vertical divider bar far to the left, until the bar disappears.</P>
  1509.  
  1510. </SUBSECT1>
  1511.  
  1512. <SUBSECT1><TITLE>Popup Menu Commands</TITLE>
  1513.  
  1514. <P>Clicking on the <![ %windows; [right ]]><![ %motif; [right ]]> mouse button
  1515. within the full-text portion of the browser window displays a popup menu.</P>
  1516.  
  1517.  
  1518. <SUBSECT2><TITLE>Locate in Navigator</TITLE>
  1519.  
  1520. <P>&p; continuously updates the navigator to display what part of the document that
  1521. is displayed, indicating the current location with a bright yellow arrow icon that
  1522. prefixes the nearest open navigator entry. The navigator window will however not
  1523. scroll its content should you scroll outside of the range currently being presented
  1524. in the navigator. Selecting the <MENU>Locate in Navigator</MENU> command scrolls
  1525. the navigator entry that is closest to the cursor position to the top of the
  1526. navigator. This command is dimmed when no navigator is displayed.</P>
  1527.  
  1528. </SUBSECT2>
  1529.  
  1530. <![ %PRO; [
  1531. <SUBSECT2><TITLE>Navigator Entry</TITLE>
  1532.  
  1533. <P>The <MENU>Navigator Entry</MENU> command launches the Navigator Editor, which is
  1534. part of the features specific to the PRO version of &p;. This editor allows for the
  1535. interactive definition of navigator elements. The element to be used for navigation
  1536. is designated by the cursor position when the command is issued in the full-text
  1537. browser.</P>
  1538.  
  1539. </SUBSECT2>
  1540. ]]>
  1541.  
  1542. </SUBSECT1>
  1543.  
  1544. <![ %PRO; [
  1545. <SUBSECT1 ID="ATTCHNAV"><TITLE>Attach Navigator</TITLE>
  1546.  
  1547. <P>The <MENU>Attach Navigator…</MENU> command lets you select a navigator
  1548. definition file (normally with the suffix <TT>.NAV</TT>) to be associated with the
  1549. DTD of the current document. Attaching a navigator updates the <TT>ENTITYRC</TT>
  1550. catalog.</P>
  1551.  
  1552. </SUBSECT1>
  1553.  
  1554.  
  1555. <SUBSECT1 ID="CREATNAV"><TITLE>Creating a New Navigator</TITLE>
  1556.  
  1557. <P>To create a new navigator, select the command <MENU>Attach
  1558. Navigator…</MENU> from the menu <MENU>Navigator</MENU>.
  1559. <LIST>
  1560.  
  1561. <ITEM><P>Enter a new filename for the navigator in the file selection dialog that
  1562. appears.</P></ITEM>
  1563.  
  1564. <ITEM><P>&p; will query you for a symbolic navigator name. The symbolic name is
  1565. displayed in the <MENU>Navigator</MENU> menu.</P></ITEM>
  1566. </LIST></P>
  1567.  
  1568. <P>When you create a new navigator, the navigator portion of the application window
  1569. will initially be empty.  As you proceed to interactively define the navigator
  1570. entries, the navigator fills up with the selected elements. Navigator definition
  1571. files use the file suffix <TT>.NAV</TT> by default. This command updates the
  1572. <TT>ENTITYRC</TT> catalog.</P>
  1573.  
  1574.  
  1575. </SUBSECT1>
  1576.  
  1577. <SUBSECT1><TITLE>Detach Navigator</TITLE>
  1578.  
  1579. <P>The <MENU>Detach Navigator</MENU> command is used to remove the connection
  1580. between a DTD and the current navigator definition, so that the navigator no longer
  1581. appears in the <MENU>Navigator</MENU> menu. The navigator definition file is
  1582. <EM>not</EM> deleted. This command updates the <TT>ENTITYRC</TT> catalog.</P>
  1583.  
  1584. </SUBSECT1>
  1585.  
  1586. <SUBSECT1><TITLE>Edit Navigator</TITLE>
  1587.  
  1588. <P>The <MENU>Edit Navigator…</MENU> command brings up the Navigator Editor, to
  1589. review and edit the list of elements that have been selected as navigator entries.
  1590. See the section <XREF RID="NAVEDIT">Editing Navigators</XREF>.</P>
  1591.  
  1592. </SUBSECT1>
  1593. ]]>
  1594.  
  1595. <SUBSECT1><TITLE>SGML Tree</TITLE>
  1596.  
  1597. <P>Due to the hierarchical nature of SGML markup, every element is either contained or
  1598. disjunct with respect to other elements. The corresponding structure can be
  1599. represented as a tree, the root element being the topmost (doctype) element.</P>
  1600.  
  1601. <P>The <MENU>SGML Tree</MENU> command brings up a graphical, interactive structure
  1602. view of the document instance in the navigator portion of the application window.
  1603. Just like a regular navigator, you can use this window to position the document by
  1604. clicking on the elements.</P>
  1605.  
  1606.  
  1607. <SUBSECT2><TITLE>SGML Tree Functionality</TITLE>
  1608.  
  1609. <P>Besides using the scroll bars of the SGML Tree, you can also click and drag the
  1610. window contents. When the cursor is over an element:
  1611. <LIST>
  1612.  
  1613. <ITEM><P>Clicking the left part of the element box toggles the display of contained
  1614. subelements.</P></ITEM>
  1615.  
  1616. <ITEM><P>Clicking anywhere else within the element scrolls the browser to that location, and</P></ITEM>
  1617.  
  1618. <ITEM><P>Highlights the corresponding element contents.</P></ITEM>
  1619.  
  1620. </LIST>
  1621. </P>
  1622.  
  1623. </SUBSECT2>
  1624.  
  1625. </SUBSECT1>
  1626.  
  1627. </SECTION>
  1628.  
  1629. <SECTION ID="WEBSMENU"><TITLE>The Webs Menu</TITLE>
  1630.  
  1631. <P><EM>Webs</EM> are &p;'s file containers for user-defined additions: bookmarks,
  1632. annotations, or links between text or graphics. The web documents are encoded
  1633. automatically by the application in SGML, and use <BO>HyTime</BO> addressing to
  1634. hyperlink the web information to the corresponding documents. The webs are only
  1635. available in the PRO version of &p; and should not be confused with the term
  1636. <Q>web</Q> as used in e.g. the expression <Q>World Wide Web</Q>.</P>
  1637.  
  1638.  
  1639. <SUBSECT1><TITLE>Granularity of Web Objects</TITLE>
  1640.  
  1641. <P>Web objects are always connected to a <EM>contiguous selection</EM>, to which the
  1642. user-defined information is attached. This allows for a granularity that transcends
  1643. the markup for the corresponding document, to pinpoint document contents down to the
  1644. word level or to a rectangular area within a graphic. Such selections are referred to
  1645. as <BO>anchors.</BO></P>
  1646.  
  1647. </SUBSECT1>
  1648.  
  1649.  
  1650. <SUBSECT1><TITLE>Web Persistence</TITLE>
  1651.  
  1652. <P>Webs permit annotating documents to which you may not have write access, and
  1653. thanks to the HyTime addressing capabilities, have excellent chances of coping
  1654. even with documents whose contents have been edited since the user-defined
  1655. additions were made. This is especially important in a distributed, multi-user
  1656. environment.</P>
  1657.  
  1658. <P>Webs are also an excellent means by which to share information on a set of
  1659. common documents—e.g. as part of a review process.</P>
  1660.  
  1661. </SUBSECT1>
  1662.  
  1663. <![ %PRO; [
  1664.  
  1665. <SUBSECT1><TITLE>Mounting a Web</TITLE>
  1666.  
  1667. <P>The <MENU>Mount Web…</MENU> command makes &p; aware of the contents of a
  1668. web. Once the web has been mounted, the application will read the web data it
  1669. contains and display it.  The reason for separating web data (such as annotations and
  1670. links) is that you may have many different kinds of webs on the same set of
  1671. documents, and each web contains information tailored for different recipients. Also,
  1672. more than one web can be in use simultaneously. Webs are stored and automatically
  1673. reloaded between &p; sessions.  <FOOTNOTE><P>The concept of separate webs stems from
  1674. the (now sadly defunct) Intermedia hypertext system, developed at Brown University in
  1675. Providence, RI.  The designers behind &p; have improved on this original web notion
  1676. in several important ways, such as providing HyTime adressing and concurrent web
  1677. layers.</P></FOOTNOTE></P>
  1678.  
  1679. <SUBSECT2><TITLE>Editing a Web</TITLE>
  1680.  
  1681. <P>When a web has been mounted, its name appears in the <MENU>Webs</MENU> menu. Even
  1682. though its contents are now accessible, it is not editable. To make the web editable,
  1683. select the web name from the <MENU>Webs</MENU> menu.  The status of the web as
  1684. being editable will be reflected in two ways: the name of the web is echoed in the
  1685. status bar, and a checkmark prefix appears by the web name in the <MENU>Webs</MENU>
  1686. menu.</P>
  1687.  
  1688. </SUBSECT2>
  1689.  
  1690. </SUBSECT1>
  1691.  
  1692.  
  1693. <SUBSECT1><TITLE>Deactivating a Web</TITLE>
  1694.  
  1695. <P>Select <MENU>Web Manager…</MENU> from the <MENU>Webs</MENU> menu to close
  1696. a web so that its contents are no longer shown, . In the dialog that appears,
  1697. select the web and press the <BUTTON>Dismount</BUTTON> button. The web file is
  1698. <EM>not</EM> deleted.</P>
  1699.  
  1700. </SUBSECT1>
  1701.  
  1702. <SUBSECT1><TITLE ID="ANNOTDLG">Annotate</TITLE>
  1703.  
  1704. <P>The <MENU>Annotate…</MENU> command is used to create an annotation or a
  1705. bookmark. These are the steps that you need to perform to create an annotation:</P>
  1706.  
  1707. <LIST>
  1708.  
  1709. <ITEM><P>Make sure that you have an editable web. The web name is displayed with a
  1710. checkmark prefix in <MENU>Webs</MENU> menu, and its name is displayed in the status
  1711. bar.</P></ITEM>
  1712.  
  1713. <ITEM><P>Highlight a portion of text or of a graphic. The
  1714. <BUTTON>Annotate…</BUTTON>, <BUTTON>Begin Link…</BUTTON>, and
  1715. <BUTTON>Copy Selection</BUTTON> tool bar buttons and the corresponding menu items
  1716. will become available.</P></ITEM>
  1717.  
  1718. <ITEM><P>Click on the annotation icon in the application tool bar or select
  1719. <MENU>Annotate…</MENU> from the menu <MENU>Webs</MENU>.</P>
  1720.  
  1721. <P>The dialog below will appear.</P></ITEM>
  1722.  
  1723. <FIGGRP>
  1724.  
  1725. <FIG NAME="ANNOTDLG.GIF">
  1726.  
  1727. <TITLE>This is the annotation dialog. It is used for displaying and creating
  1728. annotations, as well as for creating bookmarks.</TITLE>
  1729.  
  1730. </FIGGRP> 
  1731.  
  1732. <ITEM><P>In the annotation dialog, enter your annotation in the large editable text
  1733. field below <TT>Note</TT>.</P></ITEM>
  1734.  
  1735. <ITEM><P>Optionally, assign the annotation a symbolic name. The purpose of this
  1736. text field is to provide a space in which you can <EM>qualify</EM> your annotation
  1737. in some manner. By default, the name consists of the first words of the selected
  1738. text.</P></ITEM>
  1739.  
  1740. <ITEM><P>Optionally, click in the <TT>Bookmark</TT> check box to register the
  1741. annotation as a <XREF RID="BOOKMRKS">bookmark</XREF> as well.</P></ITEM>
  1742.  
  1743. </LIST>
  1744.  
  1745. <P>The annotation is shown as an icon in the text, and selecting the icon highlights
  1746. the corresponding selection—so that you can tell precisely what has been
  1747. annotated. Anchors in graphics are indicated by a subtle border, that flashes when
  1748. the anchor is selected.</P>
  1749.  
  1750. </SUBSECT1>
  1751.  
  1752. <SUBSECT1><TITLE>Begin Link…</TITLE>
  1753.  
  1754. <P>&p; links can go between any two addressable SGML/HyTime documents. Below are the
  1755. steps you need to perform to create user-defined hyperlinks.</P>
  1756.  
  1757.  
  1758. <SUBSECT2><TITLE>Creating a link from text</TITLE>
  1759.  
  1760. <P>To create a link that whose endpoint is text, you must:
  1761.  
  1762. <LIST>
  1763.  
  1764. <ITEM><P>Select a portion of text as a starting or <EM>source</EM> anchor.</P></ITEM>
  1765.  
  1766. <ITEM><P>Click on the &beglink.gif; icon in the application tool bar or select
  1767. <MENU>Begin Link…</MENU> from the menu <MENU>Webs</MENU>.</P></ITEM>
  1768.  
  1769. <ITEM><P>Highlight the text you want to link to—the target of your
  1770. link.</P></ITEM>
  1771.  
  1772. <ITEM><P>Select the menu item <MENU>Connect Link…</MENU> or press the
  1773. equivalent tool bar button &conlink.gif;.</P></ITEM>
  1774.  
  1775. <ITEM><P>A dialog will now be displayed, prompting you to optionally name the source
  1776. and target anchors. By default, the anchor names are the initial portion of the
  1777. selected text of each anchor.</P>
  1778.  
  1779. <P>Named anchors can be used e.g. to explain the reason behind the link
  1780. connection.</P>
  1781.  
  1782. </ITEM>
  1783.  
  1784. </LIST></P>
  1785.  
  1786. <P>Even though the link creation dialog uses the terms <Q>source</Q> and
  1787. <Q>target</Q>, links are bi-directional: they are displayed with in-line icons at
  1788. both endpoints.</P>
  1789.  
  1790. <P>As HyTime is an application of SGML, you may want to view the web document in &p;;
  1791. web documents normally use the file suffix <TT>.WEB</TT>. You will note that the
  1792. HyTime used for addressing into documents will make the web contents hyperlinked to
  1793. the corresponding document anchors.</P>
  1794.  
  1795. </SUBSECT2>
  1796.  
  1797. <SUBSECT2><TITLE ID="HOTSPOT">Creating a link from graphics</TITLE>
  1798.  
  1799. <P>To create a link that whose endpoint is a graphic hot spot, you select a source
  1800. anchor and a target anchor.</P>
  1801.  
  1802. <P>
  1803. <LIST>
  1804.  
  1805. <ITEM><P>Select a portion of a graphic (or text) as a source anchor.</P></ITEM>
  1806.  
  1807. <ITEM><P>Click on the &beglink.gif; icon in the application tool bar or select the
  1808. <MENU>Begin Link…</MENU> from the menu <MENU>Webs</MENU>.</P>
  1809.  
  1810. <P>When the graphic is displayed in a separate window the command <MENU>Begin
  1811. Link…</MENU> is available from the <MENU>Anchor</MENU> menu in the window
  1812. caption.</P>
  1813.  
  1814. </ITEM>
  1815.  
  1816. <ITEM><P>Select the target of the link.</P></ITEM>
  1817.  
  1818. <ITEM><P>Select the menu item <MENU>Connect Link…</MENU></P></ITEM>
  1819.  
  1820. <ITEM><P>A dialog will now be displayed, prompting you to optionally name the source
  1821. and target anchors. By default, the anchor names are called <TT>HOT
  1822. SPOT</TT>.</P>
  1823.  
  1824. <P>In addition, you may specify an optional zoom factor of <TT>Inherit</TT>,
  1825. <TT>100</TT>, <TT>200</TT>, <TT>400</TT>, or <TT>800</TT> percent. When the zoom
  1826. factor is set to inherit, the graphics will be kept at its current setting. Any
  1827. other zoom factor will make &p; display the graphics in a separate window when the
  1828. hot spot is accessed, and zoom the graphics according to the chosen zoom
  1829. factor.</P> </ITEM>
  1830.  
  1831. </LIST>
  1832.  
  1833. Links in graphics are shown with a subtle border that flashes when the hot spot
  1834. is selected. Links are by default bi-directional.</P>
  1835.  
  1836. <FIGGRP>
  1837. <FIG NAME="ANCHNAME.GIF">
  1838.  
  1839. <TITLE>The <TT>Anchor Names</TT> dialog is displayed when you specify the endpoint
  1840. of links. The zooming factor is only available for hot spots.</TITLE>
  1841.  
  1842. </FIGGRP> 
  1843.  
  1844. </SUBSECT2>
  1845. </SUBSECT1>
  1846.  
  1847. </SECTION>
  1848.  
  1849.  
  1850. <SECTION ID="BOOKMRKS"><TITLE>The Bookmarks Menu</TITLE> 
  1851.  
  1852. <P>Bookmarks are markers that you can leave in documents, for instant return to the
  1853. selected spot. The bookmarks are stored in webs and become available from the
  1854. <MENU>Bookmarks</MENU> menu as soon as the corresponding web is mounted. The menu
  1855. does not appear when there are no bookmarks.</P>
  1856.  
  1857. <SUBSECT1><TITLE>Creating bookmarks</TITLE>
  1858.  
  1859. <P>Bookmarks are created from the dialog used for annotations. As bookmarks are
  1860. stored in webs, there must be an editable web in which to store the bookmark. These
  1861. are the steps you need to perform to create a bookmark:</P>
  1862.  
  1863. <LIST>
  1864.  
  1865. <ITEM><P>Check that you have an open web—you can just glance at the right part
  1866. of the status bar (at the bottom of the window), as it displays the currently editable
  1867. web.</P>
  1868.  
  1869. <P>Alternatively, select the menu <MENU>Webs</MENU> to see what web is
  1870. checkmarked. Selecting a web toggles its status of being checkmarked and editable
  1871. vs. being available as a read-only object.</P>
  1872.  
  1873. <P>If there are no webs currently available, see the section <XREF
  1874. RID="WEBOPEN">Opening and Creating Webs</XREF>.</P>
  1875.  
  1876. </ITEM>
  1877.  
  1878. <ITEM><P>Make a selection by clicking and dragging a contiguous area in either text
  1879. (or a graphic, if you want a hot spot).</P></ITEM>
  1880.  
  1881. <ITEM><P>From the <MENU>Webs</MENU> menu, select <MENU>Annotate…</MENU>
  1882. , or just click the corresponding tool bar button: &annotbut.gif;.</P></ITEM>
  1883.  
  1884. <ITEM><P>In the annotation dialog, click on the check box marked
  1885. <TT>Bookmark</TT>.</P></ITEM>
  1886.  
  1887. <ITEM><P>Optionally, name the bookmark by editing the <TT>Name:</TT> text field above
  1888. the check box. By default, the bookmark is named by the first portion of the
  1889. selection (or <TT>HOT SPOT</TT>, in the case of hot spots). Naming a bookmark may be
  1890. useful when you later access it from the <MENU>Webs</MENU> menu.</P></ITEM>
  1891.  
  1892. </LIST>
  1893.  
  1894. </SUBSECT1>
  1895.  
  1896. ]]>
  1897.  
  1898. </SECTION>
  1899.  
  1900. </CHAPTER>
  1901.  
  1902. <CHAPTER ID="SSHEDIT"><TITLE>Editing Style Sheets</TITLE>
  1903.  
  1904. <P>&sp; PRO includes a style sheet editor that lets you interactively edit style
  1905. sheets by positioning the cursor over the element whose formatting is to be edited.
  1906. You can launch the editor either from the formatted browser window or from the SGML
  1907. Tree navigator; all changes can be previewed before the changes are made
  1908. permanent.</P>
  1909.  
  1910. <![ %PRO; [
  1911. <SECTION ID="SS-EDIT"><TITLE>The Style Sheet Editor</TITLE>
  1912.  
  1913. <FIGGRP>
  1914.  
  1915. <FIG NAME="INHRCONT.GIF"> <TITLE>The style sheet editor displays the current element
  1916. (possibly qualified by a tag context) in the <TT>Element</TT> pull-down list at the
  1917. very top of the window. The upper right hand corner button (denoted with a
  1918. <TT>P</TT> for Parent) is used for rapid traversal of ancestor elements. The
  1919. <BUTTON>Preview</BUTTON> button is used to redisplay the browser contents according
  1920. to current settings. Pressing <BUTTON>OK</BUTTON> commits the editing changes, while
  1921. pressing <BUTTON>Cancel</BUTTON> restores the style sheet to the state it was prior to
  1922. the editing session.</TITLE>
  1923.  
  1924. </FIGGRP>
  1925.  
  1926. <P>The style sheet editor is used to edit the style of any element.
  1927.  
  1928. <LIST>
  1929.  
  1930. <ITEM><P>In the SGML Tree,  position the cursor over an element and select <MENU>Edit Style</MENU> from
  1931. the <![ %windows; [right mouse button]]><![ %mac; [Alt-click]]> popup menu.
  1932. </P></ITEM>
  1933.  
  1934. <ITEM><P>In the the document browser window, position the cursor over the text
  1935. whose appearance you want to change and select <MENU>Edit Style</MENU> from the <![
  1936. %windows; [right mouse button]]><![ %mac; [Alt-click]]> popup menu.</P></ITEM>
  1937.  
  1938. </LIST></P>
  1939.  
  1940. <P>The pull-down list <TT>Property</TT> selects one of the five categories
  1941. (<TT>Content</TT>, <TT>Paragraph</TT>, <TT>Before</TT>,<TT>After</TT> or
  1942. <TT>Misc</TT>). Current formatting properties are displayed in the main list.</P>
  1943.  
  1944. <P>Select a setting in order to edit it. &p; displays a popup menu with possible
  1945. values to choose from, or an editing field to enter strings or a numeric argument
  1946. as needed.</P>
  1947.  
  1948. <P>The <TT>Occurrence</TT> pull-down menu is used to specify formatting that is
  1949. to take effect only on certain occurrences of an element, such as the first,
  1950. last, or the complement of these possibilities.</P>
  1951.  
  1952. <NOTE><P>Modifying the formatting settings does not have any effect until either
  1953. the <BUTTON>Preview</BUTTON> or <BUTTON>OK</BUTTON> button is pressed. The former
  1954. will re-format the browser window contents, while the latter will re-format the
  1955. browser window contents <EM>and commit the editing changes to the style
  1956. sheet</EM>. Pressing <BUTTON>Cancel</BUTTON> restores the original settings and
  1957. ends the editing session, while pressing <BUTTON>Clear</BUTTON> resets the
  1958. settings without exiting the editor.</P></NOTE>
  1959.  
  1960. <SUBSECT1><TITLE>Style Sheet Editing</TITLE>
  1961.  
  1962.  
  1963. <FIGGRP>
  1964.  
  1965. <FIG NAME="CONTENT.GIF"> <TITLE>The <TT>Property</TT> pull-down menu is used to address
  1966. various formatting aspects: how to display element contents, what should happen when
  1967. opening or closing an element, how space should be created around it, etc.</TITLE>
  1968.  
  1969. </FIGGRP>
  1970.  
  1971. <P>In the style sheet editor, there are five categories of formatting
  1972. properties that can be set:</P>
  1973.  
  1974. <P><LIST>
  1975.  
  1976. <ITEM><P><EM>Content:</EM> mainly text properties (such as font family, font size, font
  1977. slant, etc).</P></ITEM>
  1978.  
  1979. <ITEM><P><EM>Paragraph:</EM> spacing around the element (such as line breaking and
  1980. margins).</P></ITEM>
  1981.  
  1982. <ITEM><P><EM>Before:</EM> actions to do, or text to add, when
  1983. <EM>opening</EM> the element.</P></ITEM>
  1984.  
  1985. <ITEM><P><EM>After:</EM> action to do, or text to add, when
  1986. <EM>closing</EM> the element.</P></ITEM>
  1987.  
  1988. <ITEM><P><EM>Miscellaneous:</EM> Esoteric formatting properties, such as table
  1989. handling, math, iconizing elements, and auto numbering.</P></ITEM>
  1990.  
  1991. </LIST>
  1992. </P>
  1993.  
  1994. <SUBSECT2><TITLE>Inheritance and containment</TITLE>
  1995.  
  1996. <P>Generally speaking, most formatting aspects can be <EM>inherited</EM> from parent
  1997. elements: Selecting a suitable general style for the topmost (root) element and
  1998. fine-tuning the style sheet for headings, footnotes, and similar elements is the
  1999. recommended approach. Inheritance reduces the effort of creating a new style sheet to
  2000. a minimum as the inheritance chain goes all the way up to the top element.</P>
  2001. </SUBSECT2>
  2002.  
  2003. </SUBSECT1>
  2004.  
  2005. <SUBSECT1><TITLE>Content</TITLE>
  2006.  
  2007. <P>In the content dialog, one defines formatting for the display of the
  2008. <BO>element contents</BO>. Normally, suitable defaults are set for the top
  2009. element, with adjustements for the presentation of elements such as footnotes,
  2010. headings, tables, and the like.
  2011.  
  2012. <DEFLIST>
  2013. <TERM>
  2014. <TT>Font Family</TT> </TERM>
  2015. <DD>
  2016. <P>Clicking this property displays a list of all available fonts on the system.</P></DD>
  2017. <TERM>
  2018. <TT>Font Size</TT> </TERM>
  2019. <DD>
  2020. <P>Sets the font size in pixels.</P></DD>
  2021. <TERM>
  2022. <TT>Font Slant</TT> </TERM>
  2023. <DD>
  2024. <P>The slant can be set to <TT>roman</TT>, <TT>italic</TT>, or
  2025. <TT>emphasis</TT>. Emphasized text will toggle the current setting: if the text is
  2026. displayed in roman style, it is italicized, and vice-versa. This last setting is
  2027. handy when you have embedded elements that inherit the slant setting.</P></DD>
  2028. <TERM>
  2029. <TT>Font Weight</TT> </TERM>
  2030. <DD>
  2031. <P>The weight can be
  2032. <TT>Medium</TT> or
  2033. <TT>Bold</TT>.</P></DD>
  2034. <TERM>
  2035. <TT>Font Color</TT> </TERM>
  2036. <DD>
  2037.  
  2038. <P>This sets the foreground text color. The color can be specified as an RGB value
  2039. in hexadecimal notation up to 24 bits wide (<TT>#FFFFFF</TT>). In addition, the predefined
  2040. &platform; colors are:</P>
  2041.  
  2042. <![ %windows; [
  2043. <P>
  2044. <LIST>
  2045. <ITEM><P>aqua</P></ITEM>
  2046. <ITEM><P>black</P></ITEM>
  2047. <ITEM><P>blue</P></ITEM>
  2048. <ITEM><P>fuschia</P></ITEM>
  2049. <ITEM><P>gray</P></ITEM>
  2050. <ITEM><P>green</P></ITEM>
  2051. <ITEM><P>lime</P></ITEM>
  2052. <ITEM><P>maroon</P></ITEM>
  2053. <ITEM><P>navy</P></ITEM>
  2054. <ITEM><P>olive</P></ITEM>
  2055. <ITEM><P>purple</P></ITEM>
  2056. <ITEM><P>red</P></ITEM>
  2057. <ITEM><P>silver</P></ITEM>
  2058. <ITEM><P>teal</P></ITEM>
  2059. <ITEM><P>white</P></ITEM>
  2060. <ITEM><P>yellow</P></ITEM>
  2061. </LIST>
  2062. </P>
  2063. </DD>
  2064. ]]>
  2065.  
  2066. <![ %mac; [
  2067. <P>
  2068. <LIT>
  2069. ************************************
  2070. *  COPY NEEDS TO BE ADDED FOR MAC  *                                 
  2071. ************************************
  2072. </LIT> 
  2073. </P>
  2074. </DD>]]>
  2075.  
  2076. <![ %motif; [
  2077. <P>
  2078. <LIT>
  2079. **************************************
  2080. *  COPY NEEDS TO BE ADDED FOR MOTIF  *                                 
  2081. **************************************
  2082. </LIT> 
  2083. </P>
  2084. </DD>]]>
  2085.  
  2086. <TERM> <TT>Font Scale</TT> </TERM> <DD> <P>The scale of the font is entered as a
  2087. percentage; a figure greater than 100 produces a magnification, less than 100
  2088. shrinks the scale. This setting is useful for uniform size transformation, say for
  2089. a demo, or to create a style sheet specifically for certain printing requirements.
  2090. Note that the setting will affect elements whose font sizes are expressed
  2091. absolutely (in pixels) as well as elements whose size is expressed relative the
  2092. current setting using <TT>Font Scale</TT>.</P></DD>
  2093.  
  2094. <TERM><TT>Position</TT> </TERM>
  2095. <DD><P>The contents of the element are normally displayed on the current baseline.
  2096. If needed, they can be offset +/-70% (expressed in the current font) from the
  2097. baseline. The offset is set in increments of 10% as picked from the pop-up list.</P></DD>
  2098.  
  2099. <TERM><TT>Visibility</TT> </TERM> <DD><P>You can either <EM>hide</EM> or
  2100. <EM>show</EM> the element and its subelements. The usefulness of this setting is
  2101. somewhat dependent on the DTD being used.  Some document types contain a lot of
  2102. information of an administrative nature not meant to be read by an end-user.</P></DD>
  2103.  
  2104. </DEFLIST>
  2105. </P>
  2106.  
  2107. </SUBSECT1>
  2108.  
  2109. <SUBSECT1>
  2110. <TITLE>Paragraph</TITLE>
  2111.  
  2112. <FIGGRP>
  2113.  
  2114. <FIG NAME="PARAPROP.GIF"> <TITLE>The <TT>Paragraph</TT> setting affects mainly spacing
  2115. and justification of the element.</TITLE>
  2116.  
  2117. </FIGGRP>
  2118. <P>The paragraph properties affect primarily spacing and justification.</P>
  2119.  
  2120. <P>
  2121. <DEFLIST>
  2122. <TERM>
  2123. <TT>Justify</TT> </TERM>
  2124. <DD>
  2125. <P>The justification of the element contents can be set to
  2126. <TT>left</TT>,
  2127. <TT>center</TT> , and
  2128. <TT>right</TT>.</P></DD>
  2129. <TERM><TT>Leading</TT> </TERM>
  2130. <DD>
  2131. <P>&p; handles the baseline spacing automatically. The leading is
  2132. expressed as the number of pixels to add to the baseline offset, in addition to
  2133. whatever is currently required with current font size settings.</P></DD>
  2134. <TERM>
  2135. <TT>Break</TT> </TERM>
  2136. <DD>
  2137. <P>This property specifies whether the element should cause a line break before
  2138. and/or after the display of its contents. It has four settings:
  2139. <DEFLIST>
  2140. <TERM>
  2141. <TT>Block</TT> </TERM>
  2142. <DD>
  2143. <P>Creates a line break before and after the element.</P></DD>
  2144. <TERM>
  2145. <TT>Before</TT> </TERM>
  2146. <DD>
  2147. <P>Creates a line break before the element.</P></DD>
  2148. <TERM>
  2149. <TT>After</TT> </TERM>
  2150. <DD>
  2151. <P>Creates a line break after the element.</P></DD>
  2152. <TERM>
  2153. <TT>Inline</TT> </TERM>
  2154. <DD>
  2155. <P>No line breaks, thus the element is displayed in the normal flow of
  2156. text.</P></DD></DEFLIST></P></DD>
  2157. <TERM>
  2158. <TT>Space Above</TT> </TERM>
  2159. <DD>
  2160. <P>Additional spacing above the element, e.g. to create space between
  2161. headings or paragraphs.</P></DD>
  2162. <TERM>
  2163. <TT>Space Left</TT> </TERM>
  2164. <DD>
  2165. <P>Space to the left margin. The value can be absolute (from the margin) or
  2166. relative the parent element; the latter is useful when creating indented lists
  2167. within lists.</P></DD>
  2168. <TERM>
  2169. <TT>Space Indent</TT> </TERM>
  2170. <DD>
  2171. <P>This setting handles the indentation of the first line of the element.</P></DD>
  2172. <TERM>
  2173. <TT>Space Below</TT> </TERM>
  2174. <DD>
  2175. <P>Additional spacing below the element, e.g. to create space between headings or paragraphs.</P></DD>
  2176. </DEFLIST>
  2177. </P>
  2178.  
  2179. <NOTE><P>A hint: Setting spacing on all sides of the topmost element will
  2180. create nice margins in the browser window.</P></NOTE>
  2181.  
  2182. </SUBSECT1>
  2183.  
  2184.  
  2185. <SUBSECT1><TITLE>Text Before/After property functions</TITLE>
  2186.  
  2187. <P>&p; has the following sets of property functions to insert text in the style
  2188. sheet property <TT>Text Before</TT> and <TT>Text After</TT>.<FOOTNOTE><P>The
  2189. SGML application SoftQuad Explorer (also developed by Synex Information AB)
  2190. currently has a somewhat different notation—both formats will be
  2191. supported in both applications.</P></FOOTNOTE></P>
  2192.  
  2193.  
  2194. <SUBSECT2><TITLE>Generated text</TITLE>
  2195.  
  2196. <P>Many DTDs use attributes in which to store document information. &p; lets you
  2197. extract the contents of attributes and environment variables, combining the
  2198. ultimate presentation with contextual requirements. In addition to accessing
  2199. these values and inserting them before or after elements, you can insert text
  2200. strings, tab characters, and line breaks.</P>
  2201.  
  2202. </SUBSECT2>
  2203.  
  2204. <SUBSECT2><TITLE>Before and After</TITLE>
  2205.  
  2206. <P>The <TT>Before</TT> and <TT>After</TT> settings affect formatting that is to take
  2207. place when opening and closing elements, respectively. Everything that can be
  2208. inserted <EM>before</EM> can be inserted <EM>after</EM> an element as well, so the
  2209. description below applies to both of these settings.</P>
  2210.  
  2211. <P>
  2212. <DEFLIST>
  2213. <TERM>
  2214. <EMPH TYPE="5">Text</EMPH> </TERM>
  2215. <DD><P>A string of text to insert before/after the content of the element, as a
  2216. prefix/suffix, respectively.</P>
  2217.  
  2218. <P>More advanced text insertion can also be done by extracting attribute values
  2219. and environment variables by specifying a string with a special syntax,
  2220. described in the table below.
  2221.  
  2222. <DEFLIST REND="TABLE">
  2223.  
  2224. <TERM><TT>\n</TT></TERM> <DD><P>the line break character</P></DD>
  2225.  
  2226. <TERM><TT>\tab</TT></TERM> <DD><P>the tab character</P></DD>
  2227.  
  2228. <TERM><TT>\[0-9]+</TT></TERM> <DD><P>the character with the corresponding ordinal value</P></DD>
  2229.  
  2230. <TERM><TT>\att(attribute)</TT></TERM> <DD><P>the textual value of the attribute</P></DD>
  2231.  
  2232. <TERM><TT>\env(envvar)</TT></TERM> <DD><P>the textual value of the environment variable
  2233. <TT>envvar</TT></P></DD>
  2234.  
  2235. </DEFLIST> The variables <TT>\n</TT> or <TT>\tab</TT> should be
  2236. separated from the text that follows by <EM>any other character</EM>
  2237. than a lower-case letter of the english alphabet, such as a blank. In
  2238. the rare case that this would be a problem, you can insert a semi-colon after the variable.
  2239. The semi-colon will be suppressed in the output.
  2240.  
  2241. <LIST>
  2242.  
  2243. <ITEM><P><TT>first line\n;and the second line follows</TT></P></ITEM>
  2244.  
  2245. <ITEM><P><TT>\tab;</TT></P></ITEM>
  2246.  
  2247. </LIST></P>
  2248.  
  2249. <P>The inserted text can also be subject to conditional processing through the
  2250. following functions:
  2251.  
  2252. <SQTABLE>
  2253. <SQROW><!-- Row 1 -->
  2254. <SQCELL colstart=1 colspan=1 rowstart=1 rowspan=1><TT>\ifatt(attribute)</TT></SQCELL>
  2255. <SQCELL colstart=2 colspan=1 rowstart=1 rowspan=1><P>Check if attribute is assigned a value.</P></SQCELL>
  2256. </SQROW>
  2257.  
  2258. <SQROW><!-- Row 2 -->
  2259. <SQCELL colstart=1 colspan=1 rowstart=2 rowspan=1><TT>\ifatt(attribute=val)</TT></SQCELL>
  2260. <SQCELL colstart=2 colspan=1 rowstart=2 rowspan=1><P>Check if attribute is equal the value
  2261. <TT>val</TT>.</P></SQCELL>
  2262. </SQROW>
  2263.  
  2264. <SQROW><!-- Row 3 -->
  2265. <SQCELL colstart=1 colspan=1 rowstart=3 rowspan=1><TT>\ifenv(envar)</TT></SQCELL>
  2266. <SQCELL colstart=2 colspan=1 rowstart=3 rowspan=1><P>Check if the environment variable
  2267. <TT>envar</TT> is set.</P></SQCELL>
  2268. </SQROW>
  2269.  
  2270. <SQROW><!-- Row 4 -->
  2271. <SQCELL colstart=1 colspan=1 rowstart=4 rowspan=1><TT>\ifenv(envar=val)</TT></SQCELL>
  2272. <SQCELL colstart=2 colspan=1 rowstart=4 rowspan=1><P>Check if the environment
  2273. variable <TT>val</TT> equals the value <TT>val</TT>.</P></SQCELL>
  2274. </SQROW>
  2275.  
  2276. <SQROW><!-- Row 5 -->
  2277. <SQCELL colstart=1 colspan=1 rowstart=5 rowspan=1><TT>\else</TT></SQCELL>
  2278. <SQCELL colstart=2 colspan=1 rowstart=5 rowspan=1><P>The else branch in a conditional processing statement.</P>
  2279. </SQCELL>
  2280. </SQROW>
  2281.  
  2282. <SQROW><!-- Row 6 -->
  2283. <SQCELL colstart=1 colspan=1 rowstart=6 rowspan=1><TT>\endif</TT></SQCELL>
  2284. <SQCELL colstart=2 colspan=1 rowstart=6 rowspan=1><P>Closes a conditional processing statement</P></SQCELL>
  2285. </SQROW>
  2286. </SQTABLE>
  2287. </P>
  2288.  
  2289. <P>A few examples of the kinds of possible statements are:
  2290. <LIT>
  2291.    \ifatt(label)\att(label)\endif
  2292.    \ifatt(label)\att(label)\else Figure\endif
  2293.    \ifatt(sec=ts)TOP SECRET\else ifatt(sec=s) SECRET\else Open\endif\endif
  2294. </LIT>
  2295. </P>
  2296.  
  2297. <NOTE><P>The style sheet editor will dim the <MENU>Edit Style</MENU> entry when
  2298. the cursor is positioned over text that has been inserted before or after an
  2299. element.</P></NOTE>
  2300.  
  2301. <DEFLIST>
  2302.  
  2303. <TERM>
  2304. <EMPH TYPE="5">Font Family</EMPH> </TERM>
  2305. <DD>
  2306. <P>The name of the font in which the inserted text is to be shown.</P></DD>
  2307.  
  2308. <TERM>
  2309. <EMPH TYPE="5">Font Size</EMPH> </TERM>
  2310. <DD>
  2311. <P>Size of the inserted text, in pixels.</P></DD>
  2312.  
  2313. <TERM>
  2314. <EMPH TYPE="5">Font Slant</EMPH> </TERM>
  2315. <DD>
  2316. <P>The slant of the inserted text can be set to <TT>roman</TT>, <TT>italic</TT>, or
  2317. <TT>emphasis</TT>.</P></DD>
  2318.  
  2319. <TERM>
  2320. <TT>Font Weight</TT> </TERM>
  2321. <DD>
  2322. <P>The weight of the inserted text can be <TT>Medium</TT> or <TT>Bold</TT>.</P></DD>
  2323.  
  2324. <TERM>
  2325. <TT>Font Color</TT> </TERM>
  2326. <DD>
  2327.  
  2328. <P>This sets the foreground color of the inserted text.  The color can
  2329. be specified as an RGB value in hexadecimal notation up to 24 bits
  2330. wide (<TT>#FFFFFF</TT>). In addition, the predefined &platform; colors
  2331. are:</P>
  2332.  
  2333. <![ %windows; [
  2334. <P>
  2335. <LIST>
  2336. <ITEM><P>aqua</P></ITEM>
  2337. <ITEM><P>black</P></ITEM>
  2338. <ITEM><P>blue</P></ITEM>
  2339. <ITEM><P>fuschia</P></ITEM>
  2340. <ITEM><P>gray</P></ITEM>
  2341. <ITEM><P>green</P></ITEM>
  2342. <ITEM><P>lime</P></ITEM>
  2343. <ITEM><P>maroon</P></ITEM>
  2344. <ITEM><P>navy</P></ITEM>
  2345. <ITEM><P>olive</P></ITEM>
  2346. <ITEM><P>purple</P></ITEM>
  2347. <ITEM><P>red</P></ITEM>
  2348. <ITEM><P>silver</P></ITEM>
  2349. <ITEM><P>teal</P></ITEM>
  2350. <ITEM><P>white</P></ITEM>
  2351. <ITEM><P>yellow</P></ITEM>
  2352. </LIST>
  2353. </P>
  2354. </DD>]]>
  2355.  
  2356. <![ %mac; [
  2357. <P>
  2358. <LIT>
  2359. ************************************
  2360. *  COPY NEEDS TO BE ADDED FOR MAC  *                                 
  2361. ************************************
  2362. </LIT> 
  2363. </P>
  2364. </DD>]]>
  2365.  
  2366. <![ %motif; [
  2367. <P>
  2368. <LIT>
  2369. **************************************
  2370. *  COPY NEEDS TO BE ADDED FOR MOTIF  *                                 
  2371. **************************************
  2372. </LIT> 
  2373. </P>
  2374. </DD>]]>
  2375.  
  2376. <TERM>
  2377. <TT>Position</TT> </TERM>
  2378. <DD>
  2379. <P>The inserted string is normally displayed on the current baseline. If
  2380. needed, it can be offset +/-70% (expressed in the current font) from the
  2381. baseline. The offset is set in increments of 10%.</P></DD>
  2382.  
  2383. <TERM><TT>Rule</TT></TERM>
  2384. <DD>
  2385. <P>This setting is used to create a horizontal rule at the
  2386. location offset specified by applying the values of <TT>Space Above</TT> and
  2387. <TT>Space Below</TT> (respectively). The number specified in the rule setting is additional
  2388. spacing from the rule, expressed in pixels. The position of the rule is thus padded by
  2389. settings from each sides.</P></DD></DEFLIST>
  2390. </DD> </DEFLIST> </P>
  2391. </SUBSECT2>
  2392. </SUBSECT1>
  2393.  
  2394. <SUBSECT1 ID="MISCSSH"><TITLE>Miscellaneous</TITLE>
  2395.  
  2396. <P>The <TT>Misc</TT> setting is used for formatting that does not fit in any of
  2397. the categories above.</P>
  2398.  
  2399. <P>
  2400. <DEFLIST>
  2401.  
  2402. <TERM ID="ICON"><TT>Icon</TT> </TERM> <DD><P>Selecting an icon will display the element
  2403. with an inline icon. Clicking the icon displays the element contents in a
  2404. separate window. (See also the <XREF RID="BKGDCOLR"><TT>Background
  2405. Color</TT></XREF> setting below).</P>
  2406.  
  2407. <P>This revelatory style sheet behavior is suitable for elements such as
  2408. footnotes, tables, or similar elements.</P>
  2409. </DD>
  2410.  
  2411. <TERM ID="AUTONUMB"><TT>Autonumber</TT> </TERM><DD><P>This property specifies
  2412. whether the element should be numbered automatically, and in what style. It has
  2413. four settings:</P>
  2414.  
  2415. <P>
  2416. <DEFLIST>
  2417. <TERM>
  2418. <TT>Linear</TT> </TERM>
  2419. <DD>
  2420. <P>Numbers the element in order (linearly) throughout the document.</P></DD>
  2421.  
  2422. <TERM>
  2423. <TT>Hierarchical Begin</TT> </TERM>
  2424. <DD>
  2425. <P>Resets the counter of this element when the element is opened.</P></DD>
  2426.  
  2427. <TERM>
  2428. <TT>Hierarchical Block</TT> </TERM>
  2429. <DD>
  2430. <P>Assigns a counter at this hierarchical level.</P></DD>
  2431.  
  2432. <TERM>
  2433. <TT>Hierarchical Item</TT> </TERM>
  2434. <DD>
  2435. <P>Numbers the element within a block.</P>
  2436. <P>Hierarchical items are thus enclosed by elements that are assigned a style
  2437. sheet setting of <EM>hierarchical blocks</EM>.</P></DD>
  2438. </DEFLIST>
  2439. </P>
  2440.  
  2441. <P>A hint: To better understand how autonumbering is accomplished in e.g. this manual, do as follows:
  2442. <LIST>
  2443.  
  2444. <ITEM><P>Place the cursor over an autonumbered heading nested deep in the document, to have
  2445. several layers.</P></ITEM>
  2446.  
  2447. <ITEM><P>Select <TT>Locate in SGML Tree</TT> from the <![ %windows; [right mouse button]]><![
  2448. %mac; [Alt-click]]> popup menu.</P></ITEM>
  2449.  
  2450. <ITEM><P>From the same menu, select <TT>Edit Style</TT> when the cursor is over an
  2451. autonumbered heading</P></ITEM>
  2452.  
  2453. <ITEM><P>In the style sheet editor, pick the <TT>Misc</TT> property and look at the
  2454. <TT>Autonumber</TT> setting.</P></ITEM>
  2455.  
  2456. <ITEM><P>Press the parent button (<BUTTON>P</BUTTON>) to visit parent elements in turn, and
  2457. note how the style sheet setting toggles between <TT>Hierarchical Item</TT> and
  2458. <TT>Hierarchical Block</TT> as you traverse the SGML Tree.</P></ITEM>
  2459.  
  2460. </LIST>
  2461. </P>
  2462. </DD>
  2463.  
  2464. <TERM>
  2465. <TT>Number Type</TT> </TERM>
  2466. <DD>
  2467. <P>This setting specifies the style of autonumbering: arabic, roman, or alphabetic, where
  2468. the two last options can be in upper or lower case.</P>
  2469.  
  2470. <NOTE><P>This setting has no effect unless <TT>Autonumber</TT> has one of the
  2471. values <TT>Linear</TT>, <TT>Hierarchical Begin</TT>, or <TT>Hierarchical Block</TT>.
  2472. </P></NOTE></DD>
  2473.  
  2474. <TERM ID="BKGDCOLR"> <TT>Background Color</TT> </TERM> <DD><P>This setting affects the
  2475. background color for elements displayed in a window of their own, i.e. elements whose
  2476. contents has been hidden behind an <XREF RID="ICON">icon</XREF>.  Other elements will
  2477. inherit the value of the background color, regardless of their background color setting.</P>
  2478.  
  2479. <P>The predefined &platform; colors are:</P>
  2480.  
  2481. <![ %windows; [
  2482. <P>
  2483. <LIST>
  2484. <ITEM><P>aqua</P></ITEM>
  2485. <ITEM><P>black</P></ITEM>
  2486. <ITEM><P>blue</P></ITEM>
  2487. <ITEM><P>fuschia</P></ITEM>
  2488. <ITEM><P>gray</P></ITEM>
  2489. <ITEM><P>green</P></ITEM>
  2490. <ITEM><P>lime</P></ITEM>
  2491. <ITEM><P>maroon</P></ITEM>
  2492. <ITEM><P>navy</P></ITEM>
  2493. <ITEM><P>olive</P></ITEM>
  2494. <ITEM><P>purple</P></ITEM>
  2495. <ITEM><P>red</P></ITEM>
  2496. <ITEM><P>silver</P></ITEM>
  2497. <ITEM><P>teal</P></ITEM>
  2498. <ITEM><P>white</P></ITEM>
  2499. <ITEM><P>yellow</P></ITEM>
  2500. </LIST>
  2501. The color can be specified as an RGB value
  2502. in hexadecimal notation up to 24 bits wide (<TT>#FFFFFF</TT>).
  2503. </P>
  2504. </DD>]]>
  2505.  
  2506. <![ %mac; [
  2507. <P>
  2508. <LIT>
  2509. ************************************
  2510. *  COPY NEEDS TO BE ADDED FOR MAC  *                                 
  2511. ************************************
  2512. </LIT> 
  2513. </P>
  2514. </DD>]]>
  2515.  
  2516. <![ %motif; [
  2517. <P>
  2518. <LIT>
  2519. **************************************
  2520. *  COPY NEEDS TO BE ADDED FOR MOTIF  *                                 
  2521. **************************************
  2522. </LIT> 
  2523. </P>
  2524. </DD>]]>
  2525.  
  2526. <TERM><TT>Table Item</TT></TERM>
  2527.  
  2528. <DD><P>&p; has a canonical formatting interface for handling row-oriented tables and tables
  2529. whose cells follow SoftQuad's table model. Row-oriented tables are formatted by combining twelve
  2530. settings:</P></DD>
  2531.  
  2532. <TERM>
  2533. <TT>Table</TT> </TERM>
  2534. <DD>
  2535. <P>The element represents a table, and the cell are to be separated by a grid.</P></DD>
  2536. <TERM>
  2537. <TT>Table (No Grid)</TT></TERM>
  2538. <DD>
  2539. <P>The element represents a table, but no grid is drawn. This formatting feature is useful for
  2540. creating a tabular display that may not be marked up as a table.</P></DD>
  2541. <TERM>
  2542. <TT>Row</TT> </TERM>
  2543. <DD>
  2544. <P>The element starts a row in the table.</P></DD>
  2545. <TERM>
  2546. <TT>Cell(*)</TT> </TERM>
  2547. <DD>
  2548. <P>The element is a cell that can span several columns.</P></DD>
  2549. <TERM>
  2550. <TT>Cell(1)-Cell(7)</TT>
  2551. </TERM>
  2552. <DD>
  2553. <P>The element is a cell that spans from 1 to 7 columns, depending on the value within
  2554. parenthesis.</P>
  2555. </DD>
  2556. <TERM>
  2557. <TT>SQ-Cell</TT>
  2558. </TERM>
  2559. <DD>
  2560. <P>As an alternative to the row-oriented approach, you may use <EM>attributes</EM> that
  2561. define the cell placement. An SQ-Cell has four attributes (<TT>COLSTART</TT>, <TT>COLSPAN</TT>,
  2562. <TT>ROWSTART</TT> and <TT>ROWSPAN</TT>) that declare the starting column, the number of
  2563. spanned columns, the starting row, and the number of spanned rows (respectively).</P></DD>
  2564.  
  2565. <TERM>
  2566. <TT>Math Item</TT></TERM>
  2567. <DD><P>A canonical formatting interface for mathematics. Formulae can be formatted
  2568. by combining these settings:
  2569.  
  2570. <LIST>
  2571. <ITEM><P>Fraction</P></ITEM>
  2572.  
  2573. <ITEM><P>Radical</P></ITEM>
  2574.  
  2575. <ITEM><P>Radix</P></ITEM>
  2576.  
  2577. <ITEM><P>Superior</P></ITEM>
  2578.  
  2579. <ITEM><P>Inferior</P></ITEM>
  2580.  
  2581. <ITEM><P>Above</P></ITEM>
  2582.  
  2583. <ITEM><P>Below</P></ITEM>
  2584.  
  2585. </LIST>
  2586. </P></DD>
  2587.  
  2588. <TERM><TT>Link Source</TT></TERM> <DD><P>By default, &p; will automatically generate a
  2589. hyperlink for markup-based cross-references. If you do not want the link source to be
  2590. displayed as a link (as underlined text), set this setting to <TT>Hide</TT>.</P></DD>
  2591.  
  2592. <TERM><TT>Link Destination</TT></TERM> <DD><P>By default, &p; will
  2593. automatically generate a hyperlink for markup-based cross-references.  If you do not want the link target to be
  2594. displayed as a link (as underlined text), set this setting to <TT>Suppress</TT>.</P></DD>
  2595.  
  2596. <TERM><TT>Line</TT></TERM> <DD><P>This setting has three possible values:
  2597. <TT>Below</TT>, <TT>Over</TT>, and <TT>Trough</TT>. The effect of these settings is
  2598. <UL>underlined text</UL>, <OL>overlined text</OL> (useful if you are writing logic
  2599. expressions or are working in the semi-conductor industry), and striked-through
  2600. text, e.g. to show that text that has been <SO>deleted</SO> in a revision.
  2601. Underlined text should be used very restrictively—if at all—as it has
  2602. become somewhat of a convention to denote hyperlinks in many applications,
  2603. including &p;.</P></DD>
  2604.  
  2605. <FIGGRP>
  2606. <FIG NAME="LINE.GIF"> <TITLE>Examples of setting the <TT>Line</TT> property to <TT>Below</TT>,
  2607. <TT>Over</TT>, and <TT>Through</TT>.</TITLE>
  2608. </FIGGRP>
  2609.  
  2610. <TERM><TT>Change Bar</TT></TERM> <DD><P>If this setting is set to <TT>Yes</TT>, the left
  2611. margin will have a vertical rule as a revision marker for the extent of the element contents.</P></DD>
  2612.  
  2613. <TERM><TT>Printer Page Feed</TT></TERM> <DD><P>If this setting is set to <TT>Yes</TT>, a new
  2614. page is generated before printing the contents of the element. This setting can be used
  2615. beneficially for major divisions of a document, such as chapter elements.</P></DD>
  2616.  
  2617. <TERM><TT>Printer Headers</TT></TERM> <DD><P>This setting is used to create running headers or
  2618. footers, where the contents are taken from the most recent occurrence of the element. The
  2619. contents can be placed flush left, flush right, or centered. A common use of this feature
  2620. would be to place e.g. chapter titles as running heads.</P></DD>
  2621. </DEFLIST></P>
  2622.  
  2623. </SUBSECT1>
  2624.  
  2625.  
  2626. <SUBSECT1 ID="VERBATIM"><TITLE>Verbatim formatting</TITLE>
  2627.  
  2628. <P>Some elements need to be formatted the same way as they appear in the SGML source file
  2629. (verbatim), including so-called white space such as tabs and line breaks. This is however not
  2630. a style sheet option because the decision to keep white space must be made prior to the
  2631. parsing of the document contents: an on-line viewer such as &p; (which formats the contents to
  2632. fit the window size) has no concept of a page!  There are two ways of specifying verbatim
  2633. processing. You can specify:
  2634. <LIT>
  2635.   VERBATIM "gi1 gi2 gi3..."
  2636. </LIT>
  2637. in the <TT>ENTITYRC</TT> file at the corresponding DTD entry, where the <TT>gi</TT> is the
  2638. identifier for the element whose contents are to displayed verbatim. Alternatively, you can
  2639. specify a processing instruction of the form:
  2640. <LIT>
  2641. <?VERBATIM "gi1 gi2 gi3...">
  2642. </LIT>
  2643. <EM>prior</EM> to the document instance.</P>
  2644.  
  2645. </SUBSECT1>
  2646.  
  2647.  
  2648. <SUBSECT1>
  2649. <TITLE>Qualifying Elements</TITLE>
  2650. <P>Qualifying an element allows &p; to treat the same element differently depending on its</P>
  2651. <P>
  2652. <LIST TYPE="4">
  2653. <ITEM>
  2654. <P>SGML ancestry (such as ancestor or sibling elements)</P></ITEM>
  2655. <ITEM>
  2656. <P>Relative position (such as first or last)</P></ITEM>
  2657. <ITEM>
  2658. <P>SGML attributes</P></ITEM></LIST></P>
  2659. <P>The changes in style will only apply to the elements matching the specified
  2660. conditions.</P>
  2661.  
  2662. <SUBSECT2>
  2663. <TITLE>Qualified Formatting</TITLE>
  2664.  
  2665. <P>In &p;, you can specify contextual formatting qualified on ancestor (parent, grandparent,
  2666. etc.)  and sibling elements. Contextual conditions can be specified for element names (GIs),
  2667. attributes, and environment variables. There is a small qualifier language for this task.</P>
  2668.  
  2669. <P>The qualifier language has the following primitives: <TT>and</TT>, <TT>or</TT>,
  2670. <TT>not</TT>, <TT>par</TT>, <TT>prev</TT>, <TT>next</TT> and <TT>child</TT>. A
  2671. qualifier can contain subqualifiers (connected by <TT>and</TT> or <TT>or</TT>),
  2672. grouped by parentheses. Attribute values are retrieved by surrounding the attribute
  2673. name with square brackets (<TT>[]</TT>).  It is possible to quote strings with either
  2674. double or single quote pairs. The token for comparing primitives is the equal sign.</P>
  2675.  
  2676. <P>The qualifying language operates on strings, i.e. everything is computed
  2677. into strings:</P>
  2678.  
  2679. <DEFLIST>
  2680. <TERM>
  2681. <TT>"par"</TT> </TERM>
  2682. <DD>
  2683. <P>returns the GI of the current element's parent.</P></DD>
  2684.  
  2685. <TERM>
  2686. <TT>"prev"</TT> </TERM>
  2687. <DD>
  2688. <P>returns the GI of the current element's previous sibling.</P></DD>
  2689.  
  2690. <TERM>
  2691. <TT>"next" </TT> </TERM>
  2692. <DD>
  2693. <P>returns the GI of the current element's next sibling.</P></DD>
  2694.  
  2695. <TERM>
  2696. <TT>"child"</TT> </TERM>
  2697. <DD>
  2698. <P>returns the GI of the current element's first child.</P></DD>
  2699.  
  2700. <TERM>
  2701. <TT>"[att]"</TT> </TERM>
  2702. <DD>
  2703. <P>returns the value of the attribute "att".</P></DD>
  2704. </DEFLIST>
  2705.  
  2706. <P>These operators can be combined by a forward slash, e.g.:
  2707. <DEFLIST>
  2708.  
  2709. <TERM>
  2710. <TT>"par/next"</TT> </TERM>
  2711. <DD>
  2712. <P>returns the GI of the next sibling of the parent.</P></DD>
  2713.  
  2714. <TERM>
  2715. <TT>"par[att]"</TT> </TERM>
  2716. <DD>
  2717. <P>returns the value of the attribute "att" of the parent.</P></DD>
  2718.  
  2719. </DEFLIST></P>
  2720.  
  2721. <P><TT>FALSE</TT> is returned if an expression cannot be computed (say, if
  2722. the current element doesn't have a parent and the context is specified using
  2723. <TT>par</TT>).</P>
  2724.  
  2725. <P>Strings are compared using the equality operator (<TT>=</TT>), and the
  2726. resulting boolean values are combined using the operators <TT>and</TT>,
  2727. <TT>or</TT> or <TT>not</TT>. A string comparison is a boolean expression.  In
  2728. addition, a string expression evaluates to <TT>TRUE</TT> if it is specified,
  2729. and to <TT>FALSE</TT> otherwise.</P>
  2730.  
  2731.  
  2732. <SUBSECT3><TITLE>Some Examples</TITLE>
  2733.  
  2734. <TABLE>
  2735. <TBODY>
  2736. <ROW>
  2737. <CELL><P><TT>[type] = "ordered"</TT></P></CELL>
  2738. <CELL><P>This expression is <TT>TRUE</TT> if the current element has an attribute <Q>type</Q> with the
  2739. value <Q>ordered</Q>.</P></CELL>
  2740. </ROW>
  2741.  
  2742. <ROW>
  2743. <CELL><P><TT>par = "CHP"</TT></P></CELL>
  2744. <CELL><P>This expression is <TT>TRUE</TT> if the current element has a parent named <Q>CHP</Q>.</P>
  2745. <FOOTNOTE><P>(If the current element were <Q>CT</Q>, this expression would essentially be equal to
  2746. qualifying the style for <TT>CT</TT> as <TT>CHP,CT</TT>.</P></FOOTNOTE></CELL>
  2747. </ROW>
  2748.  
  2749. <ROW>
  2750. <CELL><P><TT>not (par = "CHP")</TT></P></CELL>
  2751. <CELL><P>This expression is <TT>TRUE</TT> when the parent is not a <Q>CHP</Q> element or when
  2752. the current element is the topmost element (as the topmost element has no parent).
  2753. </P></CELL>
  2754. </ROW>
  2755.  
  2756. <ROW>
  2757. <CELL><P><TT>next = "P" and prev = "Q"</TT></P></CELL>
  2758. <CELL><P>This expression is <TT>TRUE</TT> if the current element's previous
  2759. sibling is a <TT>P</TT> element and the next sibling is a <TT>Q</TT> element.
  2760. </P></CELL>
  2761. </ROW>
  2762.  
  2763. <ROW>
  2764. <CELL><P><TT>par = child</TT></P></CELL>
  2765. <CELL><P>This expression tests whether the parent and the first child has the
  2766. same GI. It would also yield <TT>TRUE</TT> in the unusual case of a document
  2767. consisting of a single element: if there is no parent and there is no child,
  2768. the expression is evaluated as the comparison <TT>FALSE = FALSE</TT>, which
  2769. is <TT>TRUE</TT>.  </P></CELL> </ROW>
  2770.  
  2771. <ROW>
  2772. <CELL><P><TT>par[tag] = prev</TT>
  2773. </P></CELL>
  2774. <CELL><P>This expression evaluates to <TT>TRUE</TT> when the value of the attribute
  2775. <Q>tag</Q> of the parent is equal to the GI of the previous sibling. There are in
  2776. addition some  unusual conditions where this expression yields <TT>TRUE</TT>, such as
  2777. <LIST>
  2778. <ITEM><P>there is no parent, or</P></ITEM>
  2779. <ITEM><P>the parent doesn't have an attribute named <Q>tag</Q>, or</P></ITEM>
  2780. <ITEM><P>the attribute <TT>tag</TT> is unspecified</P></ITEM>
  2781. </LIST>
  2782. <BO>and</BO> there is no previous sibling.</P>
  2783. </CELL>
  2784. </ROW>
  2785.  
  2786. <ROW>
  2787. <CELL><P><TT>child</TT></P></CELL>
  2788. <CELL><P>
  2789. This expression is <TT>TRUE</TT> if the current element has (at least) one child element.
  2790. </P></CELL>
  2791. </ROW>
  2792. </TBODY>
  2793. </TABLE>
  2794.  
  2795. </SUBSECT3>
  2796.  
  2797.  
  2798. <SUBSECT3><TITLE>Correspondence between &p; and Explorer formatting</TITLE>
  2799.  
  2800. <P>&p; reads the SoftQuad Explorer (also developed and maintained by Synex
  2801. Information AB) attribute qualifications and transforms them into &p;
  2802. qualifications on-the-fly. For your information, here's how Explorer
  2803. attribute qualifing styles are translated:
  2804. <LIST>
  2805.  
  2806. <ITEM><P><TT>"att=Implied"</TT> is translated as <TT>"not [att]"</TT></P></ITEM>
  2807.  
  2808. <ITEM><P><TT>"att=Not Implied"</TT> is translated as <TT>"[att]"</TT></P></ITEM>
  2809.  
  2810. <ITEM><P><TT>"att=val"</TT> is translated as <TT>"[att]=val"</TT></P></ITEM>
  2811. </LIST></P>
  2812.  
  2813. </SUBSECT3>
  2814.  
  2815. </SUBSECT2>
  2816.  
  2817.  
  2818. <SUBSECT2><TITLE>Copying styles between elements</TITLE>
  2819.  
  2820. <P>The <TT>Update</TT> and <TT>Copy</TT> buttons are used to copy style sheet
  2821. settings from one element to another, as a convenience in style sheet editing.</P>
  2822.  
  2823. <LIST TYPE="1">
  2824.  
  2825. <ITEM><P>Select the element whose style you want to modify, using the
  2826. <MENU>Edit Style</MENU> command from the browser (or the SGML Tree) popup
  2827. menu.</P></ITEM>
  2828.  
  2829. <ITEM><P>Click on the <BUTTON>>></BUTTON> beside the <TT>Property</TT> field
  2830. to unfold the style sheet editor window to its full extent.</P></ITEM>
  2831.  
  2832. <ITEM><P>Select the element whose style you want to copy from the <TT>Defined
  2833. Elements</TT> list.  Pressing the <BUTTON>Copy</BUTTON> will copy the style
  2834. settings to the current element.</P>
  2835.  
  2836. <P>Picking an element from the <TT>Defined Elements</TT> list and pressing
  2837. the <BUTTON>Update</BUTTON> makes the selected element the current element.
  2838. This is useful when you want to directly edit the settings of a previously
  2839. defined element.</P></ITEM>
  2840.  
  2841. </LIST>
  2842.  
  2843. </SUBSECT2>
  2844. </SUBSECT1>
  2845. </SECTION>
  2846.  
  2847. <SECTION ID="TIPS"><TITLE>Style Sheet Design Tips</TITLE>
  2848.  
  2849. <P>Here are a few style sheet design tips to help you get started.</P>
  2850.  
  2851. <LIST TYPE="2">
  2852.  
  2853. <ITEM><P>Assign a suitable document font and margin settings (using
  2854. <TT>Space Left</TT>, <TT>Space Above</TT>, <TT>Space Below</TT> and
  2855. <TT>Space Right</TT>, respectively) to the top element. The top element is easily
  2856. reached by clicking the button marked <TT>P</TT> in the style sheet
  2857. dialog.</P></ITEM>
  2858.  
  2859. <ITEM><P>Apply the <TT>Preview</TT> preview button before committing your editing
  2860. changes.</P></ITEM>
  2861.  
  2862. <ITEM><P>Use element qualification to assign formatting contexts.</P></ITEM>
  2863.  
  2864. <ITEM><P>Open up the SGML Tree to visualize the structure of the document instance,
  2865. and work your way from top to bottom in the element hierarchy.</P></ITEM>
  2866.  
  2867. <ITEM><P>When creating spacing around an element, strive for <EM>consistency</EM>.
  2868. Also, think of the adjacency of elements: The <TT>Space Below</TT> of one element
  2869. may be too much if the next one also specifies <TT>Space Above</TT>. Spacing is
  2870. perhaps best used in conjunction with the style sheet <TT>Occurrence</TT>
  2871. qualifier.</P></ITEM>
  2872.  
  2873. <ITEM><P>Apply inheritance whenever possible, including setting of values relative
  2874. parent elements. An example: let lists inherit their font, but set the
  2875. <TT>Space Left</TT> value relative the parent—this is useful for nested
  2876. lists.</P></ITEM>
  2877.  
  2878. <ITEM><P>For portability, choose standard &platform; fonts whenever possible,
  2879. keeping your choice of fonts to a strict minimum that mix well.</P></ITEM>
  2880.  
  2881. <ITEM><P>Navigators usually look better when their contents is shrunk somewhat, with
  2882. reasonable <XREF RID="EDITFUNC">minimum and maximum</XREF> settings.</P></ITEM>
  2883.  
  2884. </LIST>
  2885. </SECTION>
  2886.  
  2887. ]]>
  2888.  
  2889. </CHAPTER>
  2890.  
  2891. <CHAPTER ID="NAVEDIT"><TITLE>Editing Navigators</TITLE>
  2892.   
  2893. <P>Navigators are based on extraction criteria that describe what elements to
  2894. display in the navigator window.</P>
  2895.  
  2896. <P>The PRO version of &sp; includes a navigator editor for easy, interactive editing
  2897. of navigators. Navigator entries can be displayed according to contextual criteria
  2898. on immediate ancestors, and their contents formatted according to separate style
  2899. specifications.</P>
  2900.  
  2901. <P>Navigator definition files normally use the suffix <TT>.NAV</TT>. Their contents is
  2902. straightforward SGML, consisting of a doctype element called <TT>TOC-DEF</TT>, which
  2903. contains <TT>TOC</TT> elements. All relevant information is contained in attributes:</P>
  2904.  
  2905. <P>
  2906. <SQTABLE>
  2907.  
  2908. <SQROW><!-- Row 1 -->
  2909. <SQHEAD colstart=1 colspan=1 rowstart=1 rowspan=1>
  2910. Element
  2911. </SQHEAD>
  2912. <SQHEAD colstart=2 colspan=1 rowstart=1 rowspan=1>
  2913. Attribute
  2914. </SQHEAD>
  2915. <SQHEAD colstart=3 colspan=1 rowstart=1 rowspan=1>
  2916. Purpose
  2917. </SQHEAD>
  2918. </SQROW>
  2919.  
  2920. <SQROW><!-- Row 2 -->
  2921. <SQCELL colstart=1 colspan=1 rowstart=2 rowspan=6>
  2922. <P><TT>TOC-DEF</TT></P>
  2923. </SQCELL>
  2924. <SQCELL colstart=2 colspan=1 rowstart=2 rowspan=1>
  2925. <P><TT>DTD</TT></P>
  2926. </SQCELL>
  2927. <SQCELL colstart=3 colspan=1 rowstart=2 rowspan=1>
  2928. <P>Contains the public identifier of the DTD to which the navigator applies.</P>
  2929. </SQCELL>
  2930. </SQROW>
  2931.  
  2932. <SQROW><!-- Row 3 -->
  2933. <SQCELL colstart=2 colspan=1 rowstart=3 rowspan=1>
  2934. <P><TT>NAME</TT></P>
  2935. </SQCELL>
  2936. <SQCELL colstart=3 colspan=1 rowstart=3 rowspan=1>
  2937. <P>Contains the symbolic name of the navigator, to be displayed in the
  2938. <MENU>Navigator</MENU> menu.</P>
  2939. </SQCELL>
  2940. </SQROW>
  2941.  
  2942. <SQROW><!-- Row 4 -->
  2943. <SQCELL colstart=2 colspan=1 rowstart=4 rowspan=1>
  2944. <P><TT>SCALE</TT></P>
  2945. </SQCELL>
  2946. <SQCELL colstart=3 colspan=1 rowstart=4 rowspan=1>
  2947. <P>Defines the scaling of the font size (as a percentage) for textual navigator
  2948. entries.</P>
  2949. </SQCELL>
  2950. </SQROW>
  2951.  
  2952. <SQROW><!-- Row 5 -->
  2953. <SQCELL colstart=2 colspan=1 rowstart=5 rowspan=1>
  2954. <P><TT>MIN</TT></P>
  2955. </SQCELL>
  2956. <SQCELL colstart=3 colspan=1 rowstart=5 rowspan=1>
  2957. <P>Defines the minimum permitted font size (in pixels) for textual navigator
  2958. entries.</P>
  2959. </SQCELL>
  2960. </SQROW>
  2961.  
  2962. <SQROW><!-- Row 6 -->
  2963. <SQCELL colstart=2 colspan=1 rowstart=6 rowspan=1>
  2964. <TT>MAX</TT>
  2965. </SQCELL>
  2966. <SQCELL colstart=3 colspan=1 rowstart=6 rowspan=1>
  2967. <P>Defines the maximum permitted font size (in pixels) for textual navigator
  2968. entries.</P>
  2969. </SQCELL>
  2970. </SQROW>
  2971.  
  2972. <SQROW><!-- Row 7 -->
  2973. <SQCELL colstart=1 colspan=1 rowstart=7 rowspan=2>
  2974. <P><TT>TOC</TT></P>
  2975. </SQCELL>
  2976. <SQCELL colstart=2 colspan=1 rowstart=7 rowspan=1>
  2977. <TT>BODY</TT>
  2978. </SQCELL>
  2979. <SQCELL colstart=3 colspan=1 rowstart=7 rowspan=1>
  2980. <P>The element body for which the navigator entry applies.</P>
  2981. </SQCELL>
  2982. </SQROW>
  2983.  
  2984. <SQROW><!-- Row 8 -->
  2985. <SQCELL colstart=2 colspan=1 rowstart=8 rowspan=1>
  2986. <P><TT>TITLE</TT></P>
  2987. </SQCELL>
  2988. <SQCELL colstart=3 colspan=1 rowstart=8 rowspan=1>
  2989. <P>The element containing the title for the navigation block.</P>
  2990. </SQCELL>
  2991. </SQROW>
  2992. </SQTABLE>
  2993. </P>
  2994.  
  2995. <![ %PRO; [
  2996. <SECTION ID="LAUNCHNA"><TITLE>Launching the Navigator Editor</TITLE>
  2997.  
  2998. <P>The Navigator Editor is launched by positioning the cursor over the element to
  2999. include in the navigator and selecting <MENU>Navigator Entry…</MENU> from the
  3000. browser popup menu displayed when the <![ %windows; [right ]]><![ %motif; [right ]]>mouse
  3001. button is depressed.</P>
  3002.  
  3003. <P>You can also launch the editor by selecting <MENU>Edit
  3004. Navigator…</MENU> from the <MENU>Navigator</MENU> menu.</P>
  3005.  
  3006.  
  3007. <SUBSECT1 ID="EDITFUNC"><TITLE>Editor Functionality</TITLE>
  3008.  
  3009. <P>The Navigator Editor presents the element to include in a pull-down menu that
  3010. displays the element in its current context, to specify a contextual requirement for
  3011. its inclusion in the navigator.</P>
  3012.  
  3013. <P>The navigator normally uses the same style sheet as that being used by the
  3014. browser. As the kind of items often used for navigation are titles at various levels,
  3015. inserting the elements <Q>as is</Q> would be aesthetically unpleasing due to the large
  3016. font sizes normally used for titles. For this reason, you can specify a general
  3017. scaling (as a percentage), as well as minimum and maximum font sizes (in pixels) for
  3018. the navigator entry font.</P>
  3019.  
  3020. <P>The <BUTTON>P</BUTTON> button is used to traverse the direct ancestors of
  3021. the element when you have selected <MENU>Navigator Entry…</MENU> while
  3022. in the browser window. When the Navigator Editor has been launched from the
  3023. <MENU>Navigator</MENU> menu, the <BUTTON>P</BUTTON> button is dimmed as there
  3024. is no well-defined location from where one could traverse the SGML Tree.</P>
  3025.  
  3026.  
  3027. <SUBSECT2><TITLE>Creating Navigators</TITLE>
  3028.  
  3029. <P>See the section <XREF RID="CREATNAV"><EM>Creating a New Navigator</EM></XREF> on how
  3030. to create navigators.</P>
  3031.  
  3032. </SUBSECT2>
  3033.  
  3034. <SUBSECT2><TITLE>Editing Navigators</TITLE>
  3035.  
  3036.  
  3037. <SUBSECT3><TITLE>Adding a Navigator Entry</TITLE>
  3038.  
  3039. <P>To have an element (such as a title or a graphic) displayed in a navigator,
  3040. position the cursor over the element, and pick <MENU>Navigator Entry</MENU> from the
  3041. browser popup menu.  This will launch the Navigator Editor, with the element in the
  3042. <TT>Navigator Entry</TT> pull-down menu. The pull-down menu contains the element in
  3043. context, and you would normally pick the first level of containment, so that your
  3044. navigators will automatically support the folding behavior derived from the markup
  3045. hierarchy. Once you have picked the element in context, click on the
  3046. <BUTTON>Add</BUTTON>.  The element will then be placed in the list of <TT>Defined
  3047. Entries</TT>. Clicking the <BUTTON>OK</BUTTON> button to confirm your editing changes.</P>
  3048.  
  3049. </SUBSECT3>
  3050.  
  3051. <SUBSECT3><TITLE>Deleting a Navigator Entry</TITLE>
  3052.  
  3053. <P>To delete a navigator entry, launch first the Navigator Editor. Select the
  3054. navigator definition to delete from the list of <TT>Defined Entries</TT> and click
  3055. the <BUTTON>Remove</BUTTON> button. Finally, click the <BUTTON>OK</BUTTON> button
  3056. to confirm your editing changes and exit the Navigator Editor.</P>
  3057.  
  3058. </SUBSECT3>
  3059.  
  3060.  
  3061. </SUBSECT2>
  3062.  
  3063.  
  3064. <SUBSECT2><TITLE>The Locate Setting</TITLE>
  3065.  
  3066. <P>At the bottom of the Editor dialog is a <TT>Locate</TT> checkbox, whose value can
  3067. be either <TT>Body</TT> or <TT>Title</TT>. This is usually set to the value
  3068. <TT>Title</TT>: when the navigator entry is clicked upon, the browser scrolls to the
  3069. location of the item being displayed in the browser. In some circumstances, you may
  3070. prefer to have the browser scrolled to the <TT>Body</TT> of the element instead.</P>
  3071.  
  3072. <P>An example will make this clear. Assume that you want to include figure captions
  3073. in your navigator, and that captions are <EM>beneath</EM> the figures. With the
  3074. <TT>Locate</TT> setting set to <TT>Title</TT>, the caption will be topmost when you
  3075. click upon the corresponding navigator entry, with the figure scrolled out of sight.
  3076. To keep the figure in sight, you will need a containing element for both the caption
  3077. and the figure. You would then set the caption element to be contextually qualified
  3078. by the containing element and set <TT>Locate</TT> to <TT>Body</TT>.</P>
  3079.  
  3080. </SUBSECT2>
  3081.  
  3082.  
  3083. </SUBSECT1>
  3084.  
  3085. <SUBSECT1><TITLE>Specifying an Alternative Style Sheet</TITLE>
  3086.  
  3087. <P>The navigator normally uses the same style sheet as that being used by the
  3088. browser. To base a navigator on a specified style sheet (instead of using the style
  3089. sheet of the fulltext view), you need to add an entity pointing at the style sheet
  3090. and name this entity <TT>StyleSpec</TT> (case <EM>is</EM> significant) in the
  3091. navigator definition.  The navigator definition begins with a doctype declaration
  3092. such as:
  3093.  
  3094. <LIT>
  3095. <!DOCTYPE TOC-DEF PUBLIC 
  3096.           "-//Synex Information AB//DTD Navigator Explorer//EN">
  3097. </LIT>
  3098. </P>
  3099.  
  3100. <P>Assuming your style sheet definition file is <TT>style.ssh</TT>, simply add the
  3101. style sheet entity to the local declaration subset:
  3102.  
  3103. <LIT>
  3104. <!DOCTYPE TOC-DEF PUBLIC 
  3105.           "-//Synex Information AB//DTD Navigator Explorer//EN"
  3106. [
  3107.   <!ENTITY StyleSpec SYSTEM "style.ssh">
  3108. ]>
  3109. </LIT>
  3110. That's all there is to it.
  3111. </P>
  3112.  
  3113. </SUBSECT1>
  3114.  
  3115. </SECTION>
  3116. ]]>
  3117.  
  3118. </CHAPTER>
  3119. </BODY>
  3120.  
  3121. <APPMAT>
  3122.  
  3123.  
  3124. <APPENDIX><TITLE>Troubleshooting</TITLE>
  3125.  
  3126. <P>When &p; processes an SGML document, there is some complex processing going
  3127. on. The document's DTD, its associated style sheets, and its navigator
  3128. definitions must be retrieved; possibly the <TT>CATALOG</TT> and
  3129. <TT>ENTITYRC</TT> files as well. Then &p; parses the files needed, and brings
  3130. up the result fully formatted on-screen. Any one of these processing steps may
  3131. fail, for any number of reasons: the files may not be valid SGML, files are not
  3132. found, or whatever. &p; does its best to recover gracefully from such processing
  3133. errors.</P>
  3134.  
  3135. <SECTION ID="PARSEDOC"><TITLE>Parsing of Documents</TITLE>
  3136.  
  3137. <P>&p; is not a validating SGML parser. It expects the SGML documents to be
  3138. normalized and correct, meaning that each element must be encapsulated by
  3139. markup. <TT>SHORTTAG</TT> is the only markup minimization feature that is
  3140. fully supported.</P>
  3141.  
  3142. <P>Even so, &p; does a good job of making sanity checks on the SGML source, as
  3143. e.g. all of the hyperlinking is created by the application's inherent knowledge
  3144. of the corresponding concept. When there is a parsing problem, &p; will report
  3145. it and let you locate the offending passage for possible remedial action.</P>
  3146. </SECTION>
  3147.  
  3148. <SECTION ID="PARSEDEC"><TITLE>Parsing of the SGML declaration</TITLE>
  3149.  
  3150. <P>The parser does not use or interpret the SGML declaration, but knows how to skip
  3151. its contents in order to reach the DTD. For more information on technical aspects,
  3152. please consult the <XREF RID="TR-MAN">&p; Technical Reference</XREF>.</P>
  3153.  
  3154. </SECTION>
  3155.  
  3156. </APPENDIX>
  3157.  
  3158. <APPENDIX><TITLE>Keyboard Shortcuts</TITLE> 
  3159.  
  3160. <P>&p; supports the use of <EM>mnemonics</EM> for accessing menus and
  3161. commands from the keyboard, where a mnemonic is a letter that is associated
  3162. with the menu or command. Mnemonics are always underlined for easy
  3163. identification.</P>
  3164.  
  3165. <P>You can bring down a menu by holding the <TT>Alt</TT> key down and
  3166. simultaneously pressing the key with the mnemonic letter. Whenever a menu is
  3167. visible, you can invoke the command corresponding to a mnemonic just by pressing
  3168. its key.</P>
  3169.  
  3170. <P>In addition, there are a number of <EM>keyboard shortcuts</EM> for invoking
  3171. various &p; commands, listed in the tables below.</P>
  3172.  
  3173.  
  3174. <![ %windows; [
  3175. <TABLE>
  3176. <TBODY><HEAD>File Menu</HEAD>
  3177. <HEAD>Keyboard Equivalent</HEAD>
  3178. <HEAD>Description</HEAD>
  3179. <ROW>
  3180. <CELL><P>Reload</P></CELL>
  3181. <CELL><P>Ctrl+R</P></CELL>
  3182. <CELL><P>Reparse the current file.</P></CELL>
  3183. </ROW>
  3184. ]]>
  3185.  
  3186. <![ %PRO; [
  3187. <ROW>
  3188. <CELL><P>Print</P></CELL>
  3189. <CELL><P>Ctrl+P</P></CELL>
  3190. <CELL><P>Print the current file.</P></CELL>
  3191. </ROW>
  3192. ]]>
  3193.  
  3194. <ROW>
  3195. <CELL><P>Exit</P></CELL>
  3196. <CELL><P>Ctrl+F4</P></CELL>
  3197. <CELL><P>Terminates the application.</P></CELL>
  3198. </ROW> 
  3199. </TBODY>
  3200. </TABLE>
  3201.  
  3202. <TABLE>
  3203. <TBODY><HEAD>Edit Menu</HEAD>
  3204. <HEAD>Keyboard Equivalent</HEAD>
  3205. <HEAD>Description</HEAD>
  3206. <ROW>
  3207. <CELL><P>Copy</P></CELL>
  3208. <CELL><P>Ctrl+Ins</P></CELL>
  3209. <CELL><P>Paste the contents of the clipboard.</P></CELL>
  3210. </ROW> 
  3211. <ROW>
  3212. <CELL><P>Search…</P></CELL>
  3213. <CELL><P>Ctrl+S</P></CELL>
  3214. <CELL><P>String searches the document for the corresponding string.</P></CELL>
  3215. </ROW> 
  3216. <ROW>
  3217. <CELL><P>First</P></CELL>
  3218. <CELL><P>Ctrl+F2</P></CELL>
  3219. <CELL><P>Scrolls to the next undisplayed occurrence of the sought string.</P></CELL>
  3220. </ROW> 
  3221. <ROW>
  3222. <CELL><P>Previous</P></CELL>
  3223. <CELL><P>F2</P></CELL>
  3224. <CELL><P>Scrolls to the previous undisplayed occurrence of the sought string.</P></CELL>
  3225. </ROW> 
  3226. <ROW>
  3227. <CELL><P>Next</P></CELL>
  3228. <CELL><P>F3</P></CELL>
  3229. <CELL><P>Scrolls to the next undisplayed occurrence of the sought string.</P></CELL>
  3230. </ROW> 
  3231. <ROW>
  3232. <CELL><P>Last</P></CELL>
  3233. <CELL><P>Ctrl+F3</P></CELL>
  3234. <CELL><P>Scrolls to the last occurrence of the sought string.</P></CELL>
  3235. </ROW> 
  3236. <ROW>
  3237. <CELL><P>Back</P></CELL>
  3238. <CELL><P>Ctrl+B</P></CELL>
  3239. <CELL><P>Backtrack to a previous location.</P></CELL>
  3240. </ROW> 
  3241. <ROW>
  3242. <CELL><P>Forward</P></CELL>
  3243. <CELL><P>Ctrl+F</P></CELL>
  3244. <CELL><P>Return after backtracking.</P></CELL>
  3245. </ROW> 
  3246. </TBODY>
  3247. </TABLE>
  3248.  
  3249. <![ %PRO; [
  3250. <TABLE>
  3251. <TBODY><HEAD>Options Menu</HEAD>
  3252. <HEAD>Keyboard Equivalent</HEAD>
  3253. <HEAD>Description</HEAD>
  3254. <ROW>
  3255. <CELL><P>Show Tags</P></CELL>
  3256. <CELL><P>Ctrl+T</P></CELL>
  3257. <CELL><P>Toggle the display of tags.</P></CELL>
  3258. </ROW> 
  3259. <ROW>
  3260. <CELL><P>Show Hot Spots</P></CELL>
  3261. <CELL><P>Ctrl+H</P></CELL>
  3262. <CELL><P>Toggle the display of hot spots.</P></CELL>
  3263. </ROW> 
  3264. </TBODY>
  3265. </TABLE>
  3266.  
  3267. <TABLE>
  3268. <TBODY><HEAD>Webs Menu</HEAD>
  3269. <HEAD>Keyboard Equivalent</HEAD>
  3270. <HEAD>Description</HEAD>
  3271. <ROW>
  3272. <CELL><P>Annotate</P></CELL>
  3273. <CELL><P>Ctrl+A</P></CELL>
  3274. <CELL><P>Annotate selection</P></CELL>
  3275. </ROW> 
  3276. <ROW>
  3277. <CELL><P>Bookmark</P></CELL>
  3278. <CELL><P>Ctrl+M</P></CELL>
  3279. <CELL><P>Attach bookmark to selection.</P></CELL>
  3280. </ROW> 
  3281. <ROW>
  3282. <CELL><P>Begin Link</P></CELL>
  3283. <CELL><P>Ctrl+L</P></CELL>
  3284. <CELL><P>Create source anchor in a link.</P></CELL>
  3285. </ROW> 
  3286. <ROW>
  3287. <CELL><P>Connect Link</P></CELL>
  3288. <CELL><P>Ctrl+C</P></CELL>
  3289. <CELL><P>Connect target anchor to source anchor.</P></CELL>
  3290. </ROW> 
  3291. </TBODY>
  3292. </TABLE>
  3293. ]]>
  3294.  
  3295. <![ %mac; [
  3296. <P>
  3297. <LIT>
  3298. ************************************
  3299. *  COPY NEEDS TO BE ADDED FOR MAC  *                                 
  3300. ************************************
  3301. </LIT> 
  3302. </P>
  3303. ]]>
  3304.  
  3305. <![ %motif; [
  3306. <P>
  3307. <LIT>
  3308. **************************************
  3309. *  COPY NEEDS TO BE ADDED FOR MOTIF  *                                 
  3310. **************************************
  3311. </LIT> 
  3312.  
  3313. </P>
  3314. ]]>
  3315.  
  3316. </APPENDIX>
  3317.  
  3318. </APPMAT> 
  3319. </BOOK>
  3320.