home *** CD-ROM | disk | FTP | other *** search
/ Dynamic HTML in Action / Dynamicke-HTML-v-akci-covermount.bin / XML / PARSER / XMLINST.EXE / viewer / long.xml < prev    next >
Encoding:
Extensible Markup Language  |  1998-05-29  |  34.3 KB  |  713 lines

  1. <?xml version="1.0" ?>
  2. <!DOCTYPE doc 
  3. <!ELEMENT doc (titlegrp, prolog, chp*)>
  4. <!ATTLIST doc docid ID #REQUIRED>
  5.  
  6. <!ELEMENT titlegrp (title+)>
  7. <!ELEMENT title (#PCDATA)>
  8.  
  9. <!ELEMENT prolog (standard,pubby,version,trade,notice)>
  10. <!ELEMENT standard (p*)>
  11. <!ELEMENT pubby (p*)>
  12. <!ELEMENT version (p*)>
  13. <!ELEMENT trade (p*)>
  14. <!ELEMENT notice (p*)>
  15. <!ELEMENT p (#PCDATA | scp | b)*>
  16. <!ELEMENT b (#PCDATA)>
  17. <!ELEMENT scp (#PCDATA )>
  18.  
  19. <!NOTATION GIF SYSTEM "\\iso-gif-89">
  20. <!ENTITY aboutgif SYSTEM "about.gif" NDATA GIF>
  21. <!ENTITY aboutweb '<xref LINKEND="about.web">About the web manager</xref>'>
  22. <!ENTITY after SYSTEM "after.gif" NDATA GIF>
  23. <!ENTITY anchor '<xref LINKEND="ab.anchors">About anchors</xref>'>
  24. <!ENTITY annot-cr '<xref LINKEND="cre.anbs">Creating annotations and bookmarks</xref>'
  25. >
  26. <!ENTITY annotbut SYSTEM "annotbut.gif" NDATA GIF>
  27. <!ENTITY annots '<xref LINKEND="use.pwebs">Using personal webs</xref>'>
  28. <!ENTITY attrib SYSTEM "attrib.gif" NDATA GIF>
  29. <!ENTITY backtrck SYSTEM "backtrck.gif" NDATA GIF>
  30. <!ENTITY beglink SYSTEM "beglink.gif" NDATA GIF>
  31. <!ENTITY bigstyle SYSTEM "bigstyle.gif" NDATA GIF>
  32. <!ENTITY cond-tbl SYSTEM "cond.tbl">
  33. <!ENTITY conlink SYSTEM "conlink.gif" NDATA GIF>
  34. <!ENTITY cont '<xref LINKEND="cont.propop">Content property options</xref>'>
  35. <!ENTITY control '<xref LINKEND="cont.styshtsel">Controlling style sheet selection</xref>'
  36. >
  37. <!ENTITY copysel SYSTEM "copysel.gif" NDATA GIF>
  38. <!ENTITY custom '<xref LINKEND="cust.webi">Customizing web icons</xref>'>
  39. <!ENTITY remove '<xref LINKEND="del.webit">Removing web items</xref>'>
  40. <!ENTITY density SYSTEM "density.gif" NDATA GIF>
  41. <!ENTITY edit-men '<xref LINKEND="edit.men">Using the Edit menu items</xref>'>
  42. <!ENTITY enturl "http://www.sgmlopen.org/sgml/docs/general/entity.htm">
  43. <!ENTITY fileprep '<xref LINKEND="prep.sgmlfls">Preparing your SGML</xref>'>
  44. <!ENTITY follow SYSTEM "follow.gif" NDATA GIF>
  45. <!ENTITY forward SYSTEM "forward.gif" NDATA GIF>
  46. <!ENTITY graphics '<xref LINKEND="disp.gra">Displaying graphics</xref>'>
  47. <!ENTITY hotspot SYSTEM "hotspot.gif" NDATA GIF>
  48. <!ENTITY icons SYSTEM "icons.gif" NDATA GIF>
  49. <!ENTITY id-wout '<xref LINKEND="fls.wopubind">For files without public identifiers</xref>'
  50. >
  51. <!ENTITY ilinkfol '<xref LINKEND="foll.links">Following links</xref>'>
  52. <!ENTITY kbd-tbl SYSTEM "kbd.tbl" >
  53. <!--<!ENTITY main SYSTEM "main.gif" NDATA GIF>-->
  54. <!ENTITY mntpwebs '<xref LINKEND="mount.pwebs">Mounting and dismounting personal webs</xref>'
  55. >
  56. <!ENTITY nav-cr '<xref LINKEND="creed.navs">Creating and editing navigators</xref>'>
  57. <!ENTITY nav-ed '<xref LINKEND="ed.navs">Creating and editing navigators</xref>'>
  58. <!ENTITY nav-tbl SYSTEM "nav.tbl" >
  59. <!ENTITY navedit SYSTEM "navedit.gif" NDATA GIF>
  60. <!ENTITY navig '<xref LINKEND="use.navs">Using navigators</xref>'>
  61. <!ENTITY note '<xref LINKEND="use.note">Using Notations</xref>'>
  62. <!ENTITY note.gif SYSTEM "note.gif" NDATA GIF>
  63. <!ENTITY occdens '<xref LINKEND="use.occdens">Using the occurrence density display</xref>'
  64. >
  65. <!ENTITY open '<xref LINKEND="open.doc">Opening a document</xref>'>
  66. <!ENTITY openfile SYSTEM "openfile.gif" NDATA GIF>
  67. <!ENTITY openurl SYSTEM "openurl.gif" NDATA GIF>
  68. <!ENTITY p "Panorama PRO">
  69. <!ENTITY platform "Windows">
  70. <!ENTITY print '<xref LINKEND="prntg">Printing</xref>'>
  71. <!ENTITY print2 SYSTEM "print.gif" NDATA GIF>
  72. <!ENTITY printdoc SYSTEM "printdoc.gif" NDATA GIF>
  73. <!ENTITY prntport '<xref LINKEND="prntg.por">Printing portions of a document</xref>'>
  74. <!ENTITY propset '<xref LINKEND="op.propset">Options for property settings</xref>'>
  75. <!ENTITY pub '<xref LINKEND="pub.proc">The publishing process</xref>'>
  76. <!ENTITY pub-tbl SYSTEM "pub.tbl" >
  77. <!ENTITY qual '<xref LINKEND="qual.style">Qualifying styles</xref>'>
  78. <!ENTITY query '<xref LINKEND="query.langsyn">Query language syntax</xref>'>
  79. <!ENTITY search '<xref LINKEND="search.doc">Searching a document</xref>'>
  80. <!ENTITY search2 SYSTEM "search.gif" NDATA GIF>
  81. <!ENTITY selec '<xref LINKEND="select.style">Selecting a style sheet</xref>'>
  82. <!ENTITY setup '<xref LINKEND="set.asfls">Setting up auxiliary files</xref>'>
  83. <!ENTITY sgmlconf '<xref LINKEND="sgml.conf">SGML conformance</xref>'>
  84. <!ENTITY showtag SYSTEM "showtag.gif" NDATA GIF>
  85. <!ENTITY sp "Panorama">
  86. <!ENTITY specalt '<xref LINKEND="spec.altstysht.navs">Specifying an alternative style sheet for navigator</xref>'
  87. >
  88. <!ENTITY srchbwd SYSTEM "srchbwd.gif" NDATA GIF>
  89. <!ENTITY srchfwd SYSTEM "srchfwd.gif" NDATA GIF>
  90. <!ENTITY srchres '<xref LINKEND="use.srchres">Using the results of a search</xref>'>
  91. <!ENTITY srchsyn '<xref LINKEND="search.syn">Search string syntax</xref>'>
  92. <!ENTITY start '<xref LINKEND="get.start">Getting started</xref>'>
  93. <!ENTITY style '<xref LINKEND="creed.styshts">Creating and editing style sheets</xref>'
  94. >
  95. <!ENTITY style2 SYSTEM "style.gif" NDATA GIF>
  96. <!ENTITY tbsearch SYSTEM "tbsearch.gif" NDATA GIF>
  97. <!ENTITY tree '<xref LINKEND="use.sgmltree">Using the SGML Tree</xref>'>
  98. <!ENTITY tree2 SYSTEM "tree.gif" NDATA GIF>
  99. <!ENTITY viewsgml  '<xref LINKEND="view.sgml">Viewing the SGML</xref>'>
  100. <!ENTITY web "web">
  101. <!ENTITY web-cr '<xref LINKEND="cre.pwebs">Creating personal webs</xref>'>
  102. <!ENTITY web-ed '<xref LINKEND="ed.webit">Editing web items</xref>'>
  103. <!ENTITY webman SYSTEM "webman.gif" NDATA GIF>
  104. <!ENTITY xyz "">
  105. <!ENTITY zoom SYSTEM "zoom.gif" NDATA GIF>
  106. <!ENTITY copy "⌐ 1997 Microsoft Corporation. All rights reserved.">
  107. <!ENTITY ndash "--">
  108. <!ENTITY trade "<sup>TM</sup>">
  109. ]>
  110. <!--Copyright 1995 SoftQuad Inc.--><!--@(#)panoman.sgm.free    1.1 95/06/22-->
  111. <doc docid="PANORAMA"><titlegrp>
  112. <title>&sp; Guide</title>
  113. </titlegrp>
  114. <prolog>
  115. <standard><p><b>Standard Identification</b></p><p>SoftQuad
  116. &sp; is an <scp>SGML</scp>
  117. System Conforming to International Standard
  118. <scp>ISO 8879</scp> & Standard Generalized Markup Language.</p></standard><pubby><p><b>Published by</b></p><p>SoftQuad Inc.</p><p><scp>56</scp> Aberfoyle
  119. Crescent</p><p>Toronto, Canada <scp>M8X 2W4</scp></p><p>Telephone:
  120. <scp>(416) 239-4801</scp></p><p>Fax:
  121. <scp>(416) 239-7105</scp></p><p>General enquiries: panorama@sq.com</p><p><scp>WWW</scp>:
  122. <url>http://www.sq.com/</url></p></pubby>
  123. <version>
  124. <p><b>Document version</b></p><p>SoftQuad
  125. Panorama for Microsoft
  126. Windows</p><p>First Edition
  127. (June <scp>1995</scp>)</p><p><scp>ISBN 1-896172-20-2</scp></p><p>SoftQuad
  128. Inc. makes no warranty of
  129. any kind with respect to the completeness or accuracy of this
  130. book. SoftQuad may make improvements and/or changes to the
  131. product(s) and/or programs described in this book at any time
  132. and without notice.</p></version>
  133. <trade>
  134. <p><b>Copyrights and Trademarks</b></p><p>© <scp>1995</scp> SoftQuad Inc. All rights reserved.</p><p>©
  135. <scp>1995</scp> Synex Information <scp>AB</scp>.
  136. All rights reserved.</p><p>No
  137. part of this book may be reproduced, stored in a
  138. retrieval system, or transmitted in any form or by any
  139. means –
  140. electronic, mechanical, recording, orotherwise –
  141. without the prior written consent of the publisher,
  142. excepting brief quotes used in connection with reviews
  143. written specifically for inclusion in a magazine or
  144. newspaper.</p><p>SoftQuad
  145. &sp; and
  146. SoftQuad Author/Editor are trademarks of SoftQuad Inc.</p><p>Microsoft
  147. Windows™ is a trademark of Microsoft Corporation.</p></trade>
  148. <notice>
  149. <p><b>Notice</b></p><p>Agencies of the United States Government please note:</p><p><scp>RESTRICTED RIGHTS LEGEND</scp>: Use, duplication,
  150. or disclosure by
  151. the Government is subject to restrictions as set forth in
  152. subparagraph
  153. (c)(<scp>1</scp>)(ii) of the Rights in Technical
  154. Data and Computer Software clause at
  155. <scp>DFARS</scp> <scp>52.227-7013</scp> and in similar
  156. clauses in the <scp>FAR</scp> and <scp>NASA</scp> <scp>FAR</scp>
  157. Supplement.</p>
  158. </notice></prolog>
  159.  
  160. <chp id="c-get"><ct id="get.start">Getting started</ct>
  161. <idx entry="getting started"/>
  162. <p>When &sp; opens a document it also (in most cases) opens other auxiliary
  163. files.<l1>
  164. <li><p>It opens files that determine how the parts of the document are
  165. displayed (for example, titles are
  166. <scp>14</scp> point Arial, text is <scp>12</scp> point Times Roman): these are
  167. called
  168. <e1>style sheets</e1>. How to use style sheets is explained in &selec;.
  169. </p></li>
  170. <idx entry="introduction" parent="navigator"/>
  171. <li><p>It opens files that provide selective outlines of the document, such as
  172. a table of contents: these are called
  173. <e1>navigators</e1>. Navigators are displayed to the left of the document, in
  174. the navigator window.
  175. How to use navigators is explained in &navig;.
  176. </p></li></l1></p>
  177. <sec id="s-user"><st>About the &sp;
  178.  user interface</st>
  179. <idx entry="user interface"/><!--<FIG FILENAME="main"></FIG>-->
  180. <p>The &sp; user interface consists of the following items.</p>
  181. <randlist><li><p>A <e1>main menu</e1> and, below it, a
  182. <e1>toolbar</e1> containing icons for commonly used commands. (You can turn off
  183. the display of the toolbar with the
  184. <menu>Options</menu> menu.)</p></li>
  185. <idx entry="status bar, location of"/>
  186. <li><p>A <e1>status bar</e1> that echoes application activities and displays
  187. the name of the
  188. <scp>SGML</scp> file opened. (You can turn off the display of the status bar
  189. with the
  190. <menu>Options</menu> menu.)</p></li>
  191. <li><p>A <e1>pop-up menu</e1> that you invoke with the
  192.  
  193.  the contents of the menu depend on the location of the
  194. cursor.</p></li>
  195. <idx entry="window" parent="navigator"/>
  196. <li><p>A <e1>navigator window</e1> that shows a selective outline of the open
  197. document.</p></li>
  198. <idx entry="document window"/>
  199. <li><p>A <e1>document window</e1> that displays the contents of the open
  200. document, using the specifications recorded in a style sheet.</p></li></randlist>
  201. <ss1 id="s1-adjust"><st>Adjusting
  202. windows</st></ss1>
  203. <idx entry="adjusting windows"/>
  204. <idx entry="windows, adjusting"/>
  205. <idx entry="None" parent="Navigator menu"/>
  206. <p>Drag the bar dividing these windows to adjust their size relative to each
  207. other. To hide the navigator and show just the document window, choose
  208. <menuitem>None</menuitem> from the<menu> Navigator</menu> menu.</p>
  209. <ss1 id="s1-opt"><st>Options menu</st>
  210. <idx entry="options stored in" parent="panorama.ini"/>
  211. <idx entry="where choices are stored" parent="options menu"/>
  212. <p>The <menu>Options</menu> menu groups a number of settings that control the
  213. display, such as whether to show the toolbar and status bar. You toggle these
  214. settings on and off.</p>
  215. <p>The options are automatically saved between sessions, and are stored in the
  216. settings file
  217. <file>panorama.ini</file> in the main Windows directory (usually <file>c:\windows</file>).</p></ss1></sec>
  218. <sec id="s-web"><st>Selecting a web browser</st>
  219. <idx entry="web browser" parent="selecting"/>
  220. <idx entry="web browser, selecting"/>
  221. <idx entry="Mosaic" parent="Options menu"/>
  222. <idx entry="Mosaic"/>
  223. <p>Choose your web browser from the
  224. <menuitem>Mosaic</menuitem> item on the <menu>
  225. Options</menu> menu. If you do not have access to a web browser, choose
  226. <menuitem>
  227. None</menuitem>. If you choose
  228. <menuitem>None</menuitem>, you are only able to view local files.</p></sec>
  229. <sec id="s-open"><st id="open.doc">Opening a document</st>
  230. <p>Whether you are opening a <scp>URL</scp> from within &sp; or through your web browser, &sp; does not simply open the
  231. <scp>SGML</scp>: it formats it for display.</p>
  232. <p>This means it must open additional files so it can apply style sheets (which
  233. control how the document looks) and navigators (which control how you navigate
  234. through the document).
  235. </p>
  236. <p>When a document is opened, files are accessed to accomplish the following
  237. tasks:<seqlist>
  238. <li><p>Locate the <scp>DTD</scp>.</p></li>
  239. <li><p>Identify verbatim elements (that is, elements to be displayed
  240. line-for-line, preserving white space from the original file).</p></li>
  241. <li><p>Use the <scp>DTD</scp>.</p></li>
  242. <li><p>Find the style sheets to be used for this <scp>DTD</scp>.</p></li>
  243. <li><p>Find the navigators to be used for this <scp>DTD</scp>.</p></li></seqlist></p>
  244. </sec>
  245.  
  246. <sec id="s-flick"><st>Preventing
  247. flicker</st>
  248. <idx entry="preventing flicker"/>
  249. <idx entry="flicker, preventing"/>
  250. <idx entry="Prevent Flicker" parent="Options menu"/>
  251. <p>The <menuitem>Prevent Flicker</menuitem> option from the <menu>Options</menu>
  252. menu provides an alternative to drawing directly onto the screen, which may
  253. create a noticable flicker on slower systems. Check this option to have the
  254. screen contents first created in an off-screen buffer (in
  255. <scp>RAM</scp>), then copied onto the window. This requires more application
  256. memory but seems faster than the alternative method.</p></sec></chp>
  257. <chp id="c-use"><ct>Using document
  258. access features</ct>
  259. <p>While browsing documents with &sp; , you can
  260. choose to scroll to a specific part of a document using the navigator, or search
  261. for text in or out of a specific context.</p>
  262. <sec id="s-usenav"><st id="use.navs">Using navigators</st>
  263. <idx entry="using" parent="navigator"/>
  264. <idx entry="navigator" parent="using"/>
  265. <p>A navigator lists parts of a document, possibly in a hierarchical view. For
  266. example, a navigator could display a table of contents, showing chapters, their
  267. individual sections, and the headings within those sections. The words in the
  268. navigator are extracted from the text. Other possible navigators are a list of
  269. figures or a display of all the illustrations in a document.</p>
  270. <idx entry="displaying sub-entries" parent="navigator"/>
  271. <p>To scroll to a specific part of the document, simply click on the entry in
  272. the navigator window and the document window scrolls to that location. Click the
  273. icon preceding the entry to reveal or hide entries nested beneath it. An
  274. <e1>arrow</e1> points to your current location.</p>
  275. <idx entry="selecting" parent="navigator"/>
  276. <idx entry="list of navigators" parent="Navigator menu"/>
  277. <p>The navigators available for the document you are browsing are listed in the
  278. <menu>Navigator</menu> menu. The current navigator has a checkmark. Select the
  279. navigator you want to use.</p>
  280. </sec>
  281. <sec id="s-search"><st id="search.doc">Searching a document</st>
  282. <idx entry="searching" parent="document"/>
  283. <idx entry="document" parent="searching"/>
  284. <p>&sp; offers two types of searches:<randlist>
  285. <li><p>Searches for all occurrences of a string in the document (<e1>full
  286. text searches</e1>).<idx entry="fulltext search"/></p></li>
  287. <li><p>Searches for all occurrences of a string within all occurrences of a
  288. particular element (<e1>context searches</e1>).<idx entry="context searches"/></p></li></randlist>Both
  289. are invoked in the same way.</p>
  290. <ss1 id="s1-start"><st>Starting a search</st>
  291. <idx entry="Search" parent="Edit menu"/>
  292. <idx entry="Search"/>
  293. <p><cmd><li><p>From the <menu>Edit</menu> menu, choose <menu>Search</menu>
  294. or click <fig filename="tbsearch" position="INLINE"></fig>.</p></li></cmd></p>
  295.  
  296. <p>The <systext>Search</systext> dialog appears.</p>
  297. <fig filename="search2"></fig><!--case sensitive in search -->
  298. <hotspot id="ID11.SPOT" graphic="search2" rx="154" ry="919" rw="534" rh="273"/><!--arrow ?down in Search -->
  299. <hotspot id="ID10.SPOT" graphic="search2" rx="1803" ry="609" rw="116" rh="322"/>
  300. <cmd><li><p>Type your search string. (See &srchsyn;.)</p></li></cmd>
  301. <p>or</p>
  302. <cmd><li><p>Click the <xref linkend="ID10.SPOT">arrow</xref> to display the last eight search strings in this
  303. session and select one.</p></li></cmd>
  304. <p>and</p>
  305. <cmd><li><p>If desired, select <systext linkend="ID11.SPOT">Case Sensitive</systext>.</p></li></cmd></ss1>
  306. <ss1 id="s1-string"><st id="search.syn">Search string syntax</st>
  307. <idx entry="search string, syntax"/>
  308. <idx entry="string syntax for" parent="searching"/>
  309. <idx entry="of search strings" parent="syntax"/>
  310. <p>The syntax you use for string searches depends on the type of search you
  311. want to perform.</p>
  312. <ss2 id="s2-syn"><st>Syntax for full text
  313. searches</st>
  314. <idx entry="fulltext" parent="searching"/>
  315. <idx entry="fulltext search"/>
  316. <idx entry="keywords for searching"/>
  317. <idx entry="keywords for" parent="searching"/>
  318. <p>For full text searches, simply type the characters for which you want to
  319. search, choose whether or not the search should be case sensitive, and click
  320. <button>OK</button>. The only exception is if you are searching for text that
  321. is also a keyword for context searches: `in', `or', `cont', or `and'. You need
  322. to surround these characters with quotation marks
  323. so &sp; does
  324. not interpret them as keywords.</p>
  325. <p>For information on using the result of the search, see &srchres;.</p></ss2>
  326. <ss2 id="s2-syn2"><st>Syntax for context
  327. searches</st>
  328. <idx entry="syntax for" parent="context searches"/>
  329. <idx entry="query language for context searches"/>
  330. <idx entry="query language for" parent="context searches"/>
  331. <p>Context searches help you narrow your search criteria. For example, you
  332. might want to search for a word only if it appears in a bibliography, not when
  333. mentioned in the body of the document. To perform a context search, you need to
  334. know the names of the
  335. <scp>SGML</scp> elements. (For help in determining names, use the <menuitem>Show
  336. Tags</menuitem> option from the
  337. <menu>Options</menu> menu, or the <scp>SGML</scp> Tree, as described in
  338. &viewsgml;.)</p>
  339. <p>To restrict searches to a specific element, type the characters, followed by
  340. the keyword `in', followed by the element name, enclosed by angle brackets. For
  341. example: <systext>ignition in <ST></systext> searches for all occurrences of
  342. the word `ignition' within the element called
  343. <markup>ST</markup>.</p>
  344. <idx entry="examples of" parent="context searches"/>
  345. <p>The formal syntax is shown in &query;. Here are some examples of the kind of
  346. searches this language allows.<randlist>
  347. <li><p><systext><title> in (<chapter> or <section>)</systext> finds
  348. all titles within chapters or sections.</p></li>
  349. <li><p><systext>John Doe in <footnote></systext> finds the string `John
  350. Doe' in footnotes.</p></li>
  351. <li><p><systext><p> cont <footnote></systext> finds all
  352. <markup>P</markup> elements that contain one or more
  353. <markup>footnote</markup> elements.</p></li>
  354. <li><p><systext>John Doe in <person type=programmer></systext> finds the
  355. string `John Doe' in
  356. <markup>person</markup> elements where the attribute
  357. <markup>type</markup> has the value `programmer'.</p></li>
  358. <li><p><systext>John Doe in <person type=programmer compiler=borland></systext>
  359. finds the string `John Doe' only in person elements where the
  360. <markup>type</markup> attribute is `programmer' and the
  361. <markup>compiler</markup> attribute is `borland'.</p></li>
  362. <li><p><systext>(<P> cont physical) and (<P> cont education)</systext>
  363. finds all <markup>
  364. P</markup> elements containing both the words `physical' and `education'.</p></li></randlist></p></ss2></ss1>
  365. <ss1 id="s1-result"><st id="use.srchres">Using the results of a search</st>
  366. <idx entry="results of" parent="searching"/>
  367. <idx entry="results of search"/>
  368. <p>Each item found that matches the specifications is called a <e1>hit</e1>.
  369. No matter what kind of search you do, if hits are made:<l1>
  370. <li><p>The search dialog disappears.</p></li>
  371. <li><p>The document window moves the line containing the first hit (relative
  372. to your current location) to the top of the window.</p></li>
  373. <li><p>All occurrences of the specified string are highlighted in the
  374. document.</p></li>
  375. <li><p>The right corner of the status bar, if showing, displays the number of
  376. hits.</p></li>
  377. <li><p>If more than one hit is found, and if the correct <menu>Options</menu>
  378. menu item is checked, an
  379. <e1>occurrence density display</e1> appears to the left of the scroll bar. (See
  380. the next section for details.)</p></li>
  381. <li><p>If more than one hit is found, the previously dimmed toolbar icons and
  382. menu items in the
  383. <menu>Edit</menu> menu are now available. (See &edit-men; for details.)</p></li></l1></p>
  384. <!--<FIG FILENAME="after"></FIG>-->
  385. <ss2 id="s2-occ"><st id="use.occdens">Using the occurrence density display</st>
  386. <idx entry="occurrence density display"/>
  387. <p>The density display bar gives an overview of the search hits in the
  388. document. It looks like a scroll bar and is shown at the right of the document
  389. window. Its horizontal lines show the search hits.</p>
  390. <p>The density display bar represents the whole document. The portion of the
  391. document that is visible in the document window is represented by a darker <xref linkend="ID12.SPOT">grey
  392. shadow</xref> on the density display bar; the hits that are currently visible in the
  393. document window are shown as white lines.</p>
  394. <fig filename="density"></fig><!-- grey in density fig -->
  395. <hotspot id="ID12.SPOT" graphic="density" rx="422" ry="446" rw="1175" rh="241"/>
  396. <p>When the cursor is above the density display bar, it changes to a magnifying
  397. glass, indicating that you can `zoom' in on the portion of interest.</p>
  398. <p>To scroll the document window to the location of one of the hits:<cmd>
  399. <li><p>Click on the horizontal line representing that hit in the density
  400. display bar.</p></li></cmd>If the hit is already visible, the document window
  401. does not scroll.</p>
  402. <p>The size of the shadow that represents the visible portion of the document
  403. varies according to how much of the document's
  404. <scp>ASCII</scp> content is visible. If the document window contains dense
  405. text, the shadow will be comparatively long. If it contains many large figures,
  406. the shadow will be very short.</p></ss2>
  407. <ss2 id="s2-edit"><st id="edit.men">Using the Edit menu items</st>
  408. <idx entry="First" parent="Edit menu"/>
  409. <idx entry="First"/>
  410. <idx entry="Previous" parent="Edit menu"/>
  411. <idx entry="Previous"/>
  412. <idx entry="Next" parent="Edit menu"/>
  413. <idx entry="Next"/>
  414. <idx entry="Last" parent="Edit menu"/>
  415. <idx entry="Last"/>
  416. <p>The following commands in the
  417. <menu>Edit</menu> menu let you move through your hits:</p>
  418. <l3><li><p><menuitem>First</menuitem>: Scrolls the window to the first hit
  419. in the document.</p></li>
  420. <li><p><menuitem>Previous</menuitem>: Scrolls the window to the previous
  421. undisplayed hit in the document.</p></li>
  422. <li><p><menuitem>Next</menuitem>: Scrolls the window to the next undisplayed
  423. hit in the document.</p></li>
  424. <li><p><menuitem>Last</menuitem>: Scrolls the window to the last hit in the
  425. document.</p></li></l3></ss2></ss1></sec></chp>
  426. <chp id="c-view"><ct id="view.sgml">Viewing the SGML</ct>
  427. <p>&sp; lets you reveal the tags used in the
  428. <scp>
  429. SGML</scp> file. You can also look at the underlying
  430. <scp>SGML</scp> structure of a document, using it to move through the document.
  431. If you are new to
  432. <scp>SGML</scp>, you may find these features particularly useful.</p>
  433. <sec id="s-tree"><st id="use.sgmltree">Using the SGML Tree</st>
  434. <idx entry="using" parent="SGML Tree"/>
  435. <idx entry="tree navigator" xref="SGML Tree"/>
  436. <idx entry="SGML Tree" parent="Navigator menu"/>
  437. <p>One of the options available from the
  438. <menu>Navigator</menu> menu is <menuitem>
  439. SGML Tree</menuitem>. This replaces the current navigator with a tree showing
  440. the structure of the document. This tree can be quite large, so you may want to
  441. increase the size of the navigator window (by dragging the separator bar) to
  442. accommodate it. You can use scroll bars to scroll through the tree or hold the left mouse
  443. button down and drag the tree image in the window.</p>
  444. <p>Just as with a regular navigator, you can click on any element bar to scroll
  445. the document window to its location. The element's content is highlighted in the
  446. document window.</p>
  447. <fig filename="tree2"></fig><!-- double box in tree-->
  448. <hotspot id="ID13.SPOT" graphic="tree2" rx="410" ry="595" rw="443" rh="309"/>
  449. <idx entry="attribute values, viewing"/>
  450. <idx entry="viewing, attributes"/>
  451. <p>A <xref linkend="ID13.SPOT">double box</xref> around an element indicates that this occurrence of the element
  452. has attribute values. To see the attribute values:
  453. <cmd>
  454. <li><p>Click the element box with the right mouse button and choose <menuitem>Attributes</menuitem>
  455. from the pop-up menu.</p></li></cmd>The
  456. <systext>Attributes</systext> dialog shows the attributes of this element
  457. instance: both values (on the left) and how the element's attributes are
  458. declared in the
  459. <scp>DTD</scp> (on the right). If the value is displayed as
  460. <menuitem><IMPLIED></menuitem>, the attribute has not been assigned a
  461. value.</p><fig filename="attrib"></fig><idx entry="Attributes" parent="pop-up menu"/>
  462. <idx entry="Attributes"/>
  463. <p>To display or hide sub-elements:</p>
  464. <cmd><li><p>Click the left part of an element's box to reveal or hide
  465. elements nested beneath it.</p></li></cmd>
  466. <p>or</p>
  467. <cmd><li><p>Click the top-most element to collapse the tree and show only the
  468. highest level element.</p></li></cmd>
  469. <p><idx entry="finding a location in" parent="SGML Tree"/>
  470. <idx entry="finding a location in SGML tree"/>
  471. <idx entry="Locate in SGML Tree"/>
  472. <idx entry="Locate in SGML Tree" parent="pop-up menu"/>While in the document window, you can use the
  473. <scp>SGML</scp> tree to find where selected content appears in the document's
  474. structure. Click the right mouse button on the content and choose
  475. <menuitem>Locate in SGML Tree</menuitem> from the pop-up menu. If the <scp>SGML</scp>
  476. tree is not currently displayed, it appears, highlighting the box containing
  477. that content.</p></sec>
  478. <sec id="s-tags"><st>Showing tags</st>
  479. <idx entry="showing SGML tags"/>
  480. <idx entry="showing" parent="tags"/>
  481. <idx entry="copying to clipboard" parent="tags"/>
  482. <idx entry="Show Tags" parent="Options menu"/>
  483. <idx entry="Show Tags"/>
  484. <idx entry="SGML tags" parent="displaying"/>
  485. <p>To show the tag structure of the document:</p>
  486. <cmd><li><p>Choose <menuitem>Show Tags</menuitem> from the <menu>Options</menu> menu.</p></li></cmd>
  487. <p>The tags are shown as markup icons. When
  488. <menuitem>Show Tags</menuitem> is enabled, the markup tags are retained when
  489. you copy a selection into the clipboard.</p>
  490. <fig filename="showtag"></fig></sec></chp>
  491.  
  492. <chp id="c-style"><ct id="select.style">Selecting a style sheet</ct>
  493. <idx entry="selecting" parent="style sheet"/>
  494. <idx entry="style sheet" parent="selecting"/>
  495. <p>The style sheets available for the document you are browsing are listed in
  496. the
  497. <menu>Styles</menu> menu. The current style sheet is indicated with a
  498. checkmark.</p>
  499. </chp>
  500. <chp id="c-graph"><ct id="disp.gra">Displaying graphics</ct>
  501. <idx entry="displaying" parent="graphics"/>
  502. <idx entry="graphics" parent="displaying"/>
  503. <idx entry="Tear Off"/>
  504. <idx entry="Tear Off" parent="pop-up menu"/>
  505. <p>Graphics can be presented either <e1>inline</e1> (intermixed with the
  506. document's contents) or represented by an icon. The choice of presentation is
  507. set in the document's style sheet.</p>
  508. <p>When a graphic is represented by an icon, you click the icon to display the
  509. graphic in a separate window. You can use this window to zoom in on portions of
  510. the graphic. To display an inline graphic in such a window:
  511. <cmd>
  512. <li><p>Click the right mouse button on the graphic and choose
  513. <menuitem>Tear Off</menuitem> from the pop-up menu.</p></li></cmd> The graphic
  514. appears in a Zoom window.
  515. <fig filename="zoom"></fig></p>
  516.  
  517. <idx entry="Overview" parent="Zoom menu"/>
  518. <idx entry="Overview"/>
  519. <p>To toggle the miniature view on and off:<cmd>
  520. <li><p>Choose <menuitem>Overview</menuitem> from the
  521. <menu>Zoom</menu> menu.
  522. </p></li></cmd></p>
  523. <p>To zoom in on the picture:
  524. <idx entry="Supress Zoom"/>
  525. <idx entry="Supress Zoom" parent="Zoom menu"/><cmd>
  526. <li><p>Be sure <menuitem>Suppress Zoom</menuitem> is not selected in the
  527. <menu>Zoom</menu> menu.
  528. </p></li>
  529. <li><p>Click on the picture.</p></li></cmd></p>
  530. <idx entry="Reset" parent="Zoom menu"/>
  531. <idx entry="Reset"/>
  532. <p>Each time you click, the picture's image increases. To return to the
  533. original size:
  534. <cmd>
  535. <li><p>Choose <menuitem>Reset</menuitem> from the
  536. <menu>Zoom</menu> menu.</p></li></cmd></p>
  537. <p>To zoom in on a particular part of the picture:
  538. <idx entry="Centre Zoom" parent="Zoom menu"/><idx entry="Centre Zoom"/><cmd>
  539. <li><p>Choose <menuitem>Centre Zoom</menuitem> in the
  540. <menu>Zoom</menu> menu.</p></li>
  541. <li><p>Be sure <menuitem>Suppress Zoom</menuitem> is not selected.</p></li></cmd>
  542. </p>
  543. <p>Now every time you click on the picture the image increases, centered around
  544. the point where you clicked. To return to the original size:<cmd>
  545. <li><p>Choose <menuitem>Reset</menuitem> from the
  546. <menu>Zoom</menu> menu.</p></li></cmd>
  547. </p>
  548. <idx entry="Autoshrink" parent="Options menu"/>
  549. <idx entry="Autoshrink"/>
  550. <idx entry="results of narrow window" parent="graphics"/>
  551. <p>When the document window is too narrow to display a particular inline
  552. graphic, the results depend on whether or not the
  553. <menuitem>Autoshrink</menuitem> item in the
  554. <menu>Options</menu> menu is selected. When it is selected, graphics are
  555. resized. When it is unselected, scroll bars appear, to allow scrolling through
  556. the graphic.</p>
  557. <p>If you are concerned with the appearance of your screen updates, select
  558. <menuitem>Use Bitmap</menuitem> from the <menu>Zoom</menu> window. This causes
  559. the graphic to be rendered from an off-screen bitmap, giving a smoother, almost
  560. flicker-free, display. Using this option takes some additional
  561. <scp>RAM</scp>.
  562. </p>
  563.  
  564. <sec id="s-webfile"><st>Hot Spots</st>
  565. <idx entry="hotspot"/>
  566. <p>&sp; supports the use of hot spots in graphics. This format is a proprietary
  567. <scp>SGML</scp>-based format, which uses the concept of architectural forms. A
  568. hot spot locator is defined
  569. as:<eg><!ELEMENT HOTSPOT       EMPTY>
  570. <!ATTLIST    HOTSPOT
  571.        SYNEX-AF   NAME      HOTSPOT
  572.        ID         ID        #IMPLIED
  573.        GRAPHIC    ENTITY    #REQUIRED
  574.        RX         NUMBER   "0"      -- left endpoint --
  575.        RY         NUMBER   "0"      -- top endpoint --
  576.        RW         NUMBER   "2048"   -- maximum height --
  577.        RH         NUMBER   "2048"   -- maximum width --
  578.        ZOOM       NUMBER   "0"      -- 0=default
  579.         1=100%
  580.         2=200%
  581.         3=400%
  582.         4=800% --></eg></p>
  583. <p>The purpose of the attribute <markup>SYNEX-AF</markup> is to emphasize that
  584. this is a proprietary format. The attribute name
  585. <markup>hotspot</markup> specifies an architectural form that the parser
  586. understands. As a result, you can add hot spots in any document: their use is
  587. not limited to personal webs. The corresponding element can be named freely, and
  588. you may add other attributes.</p>
  589. <p>The hot spot addressing is based on a logical grid on the graphic that
  590. ranges from 0 to
  591. <scp>2048</scp> on both the x- and y-axis. This means that the graphic can be
  592. resized freely as long as the scale is uniform, since the addressing is relative
  593. to the logical grid.</p>
  594. <p>The <markup>ZOOM</markup> attribute specifies the amount by which the
  595. graphic should be zoomed when following a link into it. If this attribute is set
  596. to 0, the document window will try to locate the graphic in the open document,
  597. otherwise the hot spot is always displayed in a separate zoom window, scaled
  598. <scp>100</scp>, <scp>200</scp>, <scp>400</scp>, or
  599. <scp>800</scp> percent, depending on the value of the attribute.</p>
  600. </sec>
  601. </chp>
  602. <chp id="c-query"><ct id="query.langsyn">Query language syntax</ct>
  603. <eg>QueryExpression       ::=  QueryTerm (AND|OR) QueryExpression
  604. QueryTerm             ::=  QueryFactor (IN|CONT) QueryExpression
  605. QueryFactor           ::=  TextSpecification|TagSpecification|(QueryExpression)
  606. TextSpecification     ::=  (char+|literal)+
  607. TagSpecification      ::=  <tagname>
  608. char                  ::=  any characters except the keywords
  609.     AND OR IN CONT or the characters " and '
  610. literal               ::=  any characters delimited by ' or "
  611. tagname               ::=  a name string, i.e. a generic identifier
  612.     of the form [A-Za-z0-9]+</eg></chp>
  613. <chp id="c-conf"><ct id="sgml.conf">SGML conformance</ct>
  614. <idx entry="SGML conformance"/>
  615. <p>&sp; is an
  616. <scp>SGML</scp> system conforming to International Standard
  617. <scp>ISO 8879</scp> - Standard Generalized Markup Language.</p>
  618. <sec id="s-sysdec"><st>System declaration</st>
  619. <p>&sp; ignores an
  620. <scp>SGML</scp> declaration and will not act on its contents.
  621. &sp;
  622. conforms to the following system declaration (see
  623. clause
  624. <scp>15.6</scp> of <scp>ISO 8879</scp>):</p>
  625. <eg><!SYSTEM "ISO 8879:1986"
  626.         CHARSET
  627.         BASESET "ISO 646:1983//CHARSET International Reference
  628.         Version (IRV)//ESC 2/5 4/0"
  629.         DESCSET
  630.             0       9       UNUSED
  631.             9       2       9
  632.             11      2       UNUSED
  633.             13      1       13
  634.             14     18       UNUSED
  635.             32     95       32
  636.             127     1       UNUSED
  637.         BASESET "ISO Registration Number 8859//CHARSET
  638.         Right Part of Latin Alphabet Nr.1//ESC 2/13 4/1"
  639.         DESCSET
  640.             128     127     128
  641.     CAPACITY PUBLIC
  642.         "ISO 8879:1986//CAPACITY Reference//EN"
  643.     FEATURES
  644.         MINIMIZE
  645.             DATATAG     NO
  646.             OMITTAG     NO
  647.             RANK        NO
  648.             SHORTTAG    YES
  649.         LINK
  650.             SIMPLE      NO
  651.             IMPLICIT    NO
  652.             EXPLICIT    NO
  653.         OTHER
  654.             CONCUR      NO
  655.             SUBDOC      NO
  656.             FORMAL      NO
  657.         SCOPE DOCUMENT
  658.     SYNTAX PUBLIC
  659.         "ISO 8879:1986//SYNTAX Core//EN"
  660.     VALIDATE
  661.         GENERAL     NO
  662.         MODEL       NO
  663.         EXCLUDE     NO
  664.         CAPACITY    NO
  665.         NONSGML     NO
  666.         SGML        NO
  667.         FORMAL      NO
  668.         SDIF
  669.         PACK        NO></eg>
  670. <p>The core concrete syntax is the same as the reference concrete syntax except
  671. that
  672. <scp>NONE</scp> is specified for the <scp>SHORTREF</scp> parameter. The parser
  673. also supports marked sections,
  674. <scp>#CONREF</scp> attributes, full entity support including
  675. <scp>#DEFAULT</scp> entity, and the parsing of the local declaration subset.</p>
  676. <p>&sp; extends the core syntax in the following
  677. manner:
  678. <randlist>
  679. <li><p>The length of a parameter literal or attribute value literal (<scp>LITLEN</scp>)
  680. is set to
  681. <scp>2048</scp>.</p></li>
  682. <li><p>The length of a name, name token, etc. (<scp>NAMELEN</scp>) is set to
  683. <scp>2048</scp>.</p></li>
  684. <li><p>The length of a processing instruction (<scp>PILEN</scp>) is set to
  685. <scp>
  686.  2048</scp>.</p></li>
  687. <li><p>The length of a start-tag (<scp>TAGLEN</scp>) is set to <scp>2048</scp>.</p></li>
  688. <li><p>The nesting level of open elements (<scp>TAGLVL</scp>) is set to <scp>48</scp>.</p></li>
  689. <li><p>The number of attribute names and name tokens in an element's attribute
  690. definitions (<scp>ATTCNT</scp>) is set to <scp>100</scp>.</p></li>
  691. </randlist></p>
  692. <p>There are a number of limits set by the core syntax which are ignored, since
  693. &sp; will use available <scp>RAM</scp> as needed.
  694. These are:
  695. <randlist>
  696. <li><p>The number of tokens in a group (<scp>GRPCNT</scp>).</p></li>
  697. <li><p>The grand total of tokens at all levels of a model group (<scp>GRPGTCNT</scp>).</p></li>
  698. <li><p>The nesting level of model groups (<scp>GRPLVL</scp>).</p></li>
  699. <li><p>The nesting level of entities (<scp>ENTLVL</scp>).</p></li>
  700. </randlist>
  701. </p>
  702. <p>The namecase is <scp>NO</scp> for general identifiers and <scp>YES</scp>
  703. for entities (therefore only entity names are case-sensitive).</p></sec>
  704. <sec id="s-fea"><st>Feature
  705. support</st>
  706. <p><scp>SHORTTAG</scp> minimization is supported.</p></sec>
  707. <sec id="s-valid"><st>Validation
  708. services</st>
  709. <p>As &sp;is
  710. <e1>not</e1> a validating parser, we recommend the use of valid, normalized
  711. <scp>SGML</scp> instances as source input.</p></sec></chp></doc>
  712.