ch03.sgm 37 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126
  1. <!-- $XConsortium: ch03.sgm /main/4 1996/10/11 09:23:39 cdedoc $ -->
  2. <!-- (c) Copyright 1995 Digital Equipment Corporation. -->
  3. <!-- (c) Copyright 1995 Hewlett-Packard Company. -->
  4. <!-- (c) Copyright 1995 International Business Machines Corp. -->
  5. <!-- (c) Copyright 1995 Sun Microsystems, Inc. -->
  6. <!-- (c) Copyright 1995 Novell, Inc. -->
  7. <!-- (c) Copyright 1995 FUJITSU LIMITED. -->
  8. <!-- (c) Copyright 1995 Hitachi. -->
  9. <chapter id="infoapg.div.3">
  10. <title id="sidr7JBU3pBt8oL">Preparing to Build</title>
  11. <indexterm><primary>book source</primary><secondary>preparing</secondary>
  12. </indexterm>
  13. <para>
  14. Tools in the Information System Toolkit process a number of
  15. different SGML files to build documents that are displayable in the
  16. Information Manager. This section discusses the files required to
  17. build documents with the Information Manager.
  18. <indexterm><primary>information libraries</primary><secondary>building
  19. </secondary><tertiary>required files</tertiary></indexterm>
  20. </para>
  21. <sect1>
  22. <title id="n1Pih7JBbpoBt8oL">Required Files</title>
  23. <indexterm><primary>build requirements</primary>
  24. <secondary>required files</secondary></indexterm>
  25. <para>
  26. To build an Information Manager browsable book, you must supply the following:
  27. </para>
  28. <itemizedlist>
  29. <listitem>
  30. <para>
  31. <link linkend="jbQg4bBSxI9X3cS">Book Source Document(s)
  32. </link> &mdash; These SGML-conforming documents contain the text of the book
  33. and its SGML markup.
  34. </para>
  35. </listitem>
  36. <listitem>
  37. <para>
  38. <link linkend="n3NGoZbBosJ9X3cS">Table of Contents File
  39. </link> &mdash; Each Information Manager book requires a hypertext TOC that
  40. conforms to <filename>dtinfoTOC.dtd(5)</filename>.
  41. You can create the hypertext TOC with the
  42. <command>dtinfogen tocgen</command> command.
  43. </para>
  44. </listitem>
  45. <listitem>
  46. <para>
  47. <link linkend="j3fa6XBbiK9X3cS">Style Sheets</link> &mdash;
  48. Style sheets govern the formatting of your books.
  49. In Information Manager, you can specify style sheet
  50. information for both
  51. the on-line and printed output of your books.
  52. Style sheets must conform to <filename>dtinfoStyle.dtd(5)</filename>.
  53. </para>
  54. </listitem>
  55. <listitem>
  56. <para>
  57. <link linkend="r58-aZBwFK9X3cS">Bookcase Specification</link>
  58. &mdash; The bookcase specification, which conforms to
  59. <filename>dtinfoBook.dtd(5)</filename>, contains or makes reference
  60. to all of the SGML entities
  61. required by the Information Manager during the build process.
  62. A bookcase specification can be used to build a single book or
  63. a complete Information Manager information library that
  64. contains many books.
  65. </para>
  66. <para>
  67. <link linkend="TcQg4bBSxI9X3cS">Creating a Bookcase Specification</link>
  68. describes how you can create this document.
  69. An example is shown in <link linkend="XcQg4bBSxI9X3cS">Example Bookcase
  70. Specification</link>.
  71. </para>
  72. </listitem>
  73. </itemizedlist>
  74. </sect1>
  75. <!--)))))))))))))))))))))))))))))))))))))))))))))))))-->
  76. <sect1>
  77. <title id="jbQg4bBSxI9X3cS">Book Source</title>
  78. <indexterm><primary>book source</primary></indexterm>
  79. <indexterm><primary>required files</primary>
  80. <secondary>book source</secondary></indexterm>
  81. <para>
  82. At least one conforming SGML document is required for each book
  83. in your bookcase. A single SGML document may constitute a
  84. complete book or it may be only one of several documents
  85. that make up a complete book.
  86. </para>
  87. <para>
  88. The SGML book source, whether it is one document or several,
  89. includes the text (content) of the book and its SGML markup.
  90. Through the use of entity references, the document source may
  91. also make reference to external text and non-text entities
  92. that reside in separate files or external system units.
  93. </para>
  94. <para>
  95. Entity references cause the specified entities to be embedded
  96. at the reference point in the SGML document.
  97. </para>
  98. <para>
  99. A document type definition (DTD) must be associated with the
  100. SGML document source. The DTD defines the structural
  101. relationships of elements such as titles, paragraphs, lists, tables,
  102. graphics, and so forth.
  103. </para>
  104. <para>
  105. In most cases the DTD resides outside of the SGML document and
  106. is referenced by it, typically in a DOCTYPE declaration at the top of
  107. each SGML-conforming document. See the example
  108. <link linkend="mhgjriBo9H9X3cS">DOCTYPE Declaration</link> below.
  109. </para>
  110. <para>
  111. The figure <link linkend="kADiOlB78H9X3cS">SGML Document Source</link>
  112. illustrates the relationship between documents, including hypertext
  113. TOCs, and external entities, that can be used to produce an
  114. Information Manager book.
  115. </para>
  116. <figure>
  117. <title id="kADiOlB78H9X3cS">SGML Document Source</title>
  118. <graphic id="gr55" entityref="infoapg.fig.2"></graphic>
  119. </figure>
  120. <para>
  121. An SGML declaration is required by the SGML parser. It specifies the
  122. character set and SGML delimiters that are valid for the document
  123. instance. <filename>dtinfo.decl(5)</filename> is the SGML declaration
  124. used by the Information Manager.
  125. <indexterm><primary>declaration</primary><secondary>SGML</secondary></indexterm>
  126. <indexterm><primary>SGML declaration</primary></indexterm>
  127. </para>
  128. <para>
  129. The Information Manager declaration <filename>dtinfo.decl(5)</filename>
  130. cannot be substituted or overridden. Therefore, your DTD's element
  131. declarations must contain the omitted tag minimization parameter
  132. (for example: <computeroutput>&ldquo;-o&rdquo; or &ldquo;--&rdquo;
  133. </computeroutput>) because the Information Manager SGML declaration has
  134. OMITTAG set to YES. For more information,
  135. see <citetitle pubwork="Book">Element Declaration</citetitle>,
  136. in <citetitle pubwork="Book">International Standards Organization (ISO) 8879
  137. </citetitle>.
  138. </para>
  139. <note>
  140. <para>
  141. The Information Manager's SGML declaration
  142. <filename>dtinfo.decl</filename> is supplied with the Information
  143. Manager and is referenced automatically when you invoke the
  144. <command>dtinfogen build</command>, <command>dtinfogen
  145. validate</command>, or <command>dtinfogen update</command> commands.
  146. </para>
  147. </note>
  148. <figure>
  149. <title id="mhgjriBo9H9X3cS">Example DOCTYPE Declaration</title>
  150. <programlisting>
  151. &lt;!DOCTYPE Chapter PUBLIC
  152. &ldquo;-//HaL and O'Reilly//DTD DocBook//EN&rdquo;
  153. [
  154. &lt;!ENTITY % ISOlist PUBLIC
  155. &ldquo;-//Common Desktop Environment//ENTITIES ISO Catalog//EN&rdquo;>
  156. %ISOlist;
  157. %ISOlat1;
  158. %ISOnum;
  159. %ISOpub;
  160. %ISOtech;
  161. &lt;!ENTITY % halpubs SYSTEM &ldquo;hal.gml&rdquo; >
  162. %halpubs;
  163. ]>
  164. &lt;CHAPTER ID=&rdquo;CH-1015-3-1&rdquo; LABEL=&rdquo;3&rdquo;>&lt;TITLE>Working in the
  165. X Environment&lt;/TITLE>
  166. &lt;TITLEABBREV>Working in the X Environment&lt;/TITLEABBREV>
  167. &lt;HIGHLIGHTS>
  168. &lt;PARA>This chapter shows you how to begin working
  169. productively in the X environment. It describes how to:
  170. &lt;/PARA>
  171. &hellip;
  172. </programlisting>
  173. </figure>
  174. <note>
  175. <para>
  176. See <link linkend="Q3yRgFBsz1698oL">Related Documentation</link>
  177. for a listing of books that describe how to create
  178. SGML-conforming documents.
  179. </para>
  180. </note>
  181. </sect1>
  182. <!--)))))))))))))))))))))))))))))))))))))))))))))))-->
  183. <sect1>
  184. <title id="n3NGoZbBosJ9X3cS">Table of Contents</title>
  185. <indexterm><primary>table of contents</primary></indexterm>
  186. <para>
  187. Each book you build as part of an Information Manager
  188. information library is required to have a hypertext table of
  189. contents (TOC). Hypertext links connect the list of section
  190. titles in the TOC with the actual on-line sections to which
  191. those titles refer.
  192. <indexterm><primary>required files</primary>
  193. <secondary>table of contents</secondary></indexterm>
  194. </para>
  195. <para>
  196. The TOC is displayed in the Information Manager as the initial
  197. entry point to a book. It establishes the default linear path of
  198. the book &mdash; the path that a reader would take if he or she
  199. were reading a hard copy version of the book. When a reader selects
  200. (clicks on) a section title in the TOC, the browser traverses
  201. the link and displays the on-line section in a reading window.
  202. </para>
  203. <para>
  204. In the Information Manager, the TOC is also a powerful hypertext
  205. navigation tool with important features that help to orient the
  206. reader spatially within the on-line document. For example,
  207. using information supplied by the TOC, the Information Manager
  208. graphical map is able to display the relative locations of sections
  209. in the book. And, using the TOC, the Information Manager's Book List
  210. window's collapsible book list provides hierarchical information
  211. about the book's structure.
  212. </para>
  213. <para>In order to set up the hypertext links required in the
  214. TOC, the Information Manager must be able to identify sections
  215. in your document source. This is done through the application
  216. of the Information Manager architectural forms to your book's DTD.
  217. </para>
  218. <note>
  219. <para>
  220. Before you can create a TOC for your book, you must apply
  221. Information Manager architectural forms to identify every element
  222. in your DTD that is to be referenced as a section in the TOC.
  223. This enables Information Manager's table of contents generator
  224. to extract the section's title and its unique section ID value.
  225. (See <link linkend="S3CTVcBfQJ9X3cS">Table of Contents Architectural Forms
  226. </link>.)
  227. </para>
  228. </note>
  229. <!--)))))))))))))))))))))))))))))))))))))))))))))))))))))))-->
  230. <sect2>
  231. <title id="n8aJ92dBIsI9X3cS">Creating a Table of Contents</title>
  232. <indexterm><primary>table of contents</primary>
  233. <secondary>creating</secondary></indexterm>
  234. <para>
  235. You use the <command>dtinfogen tocgen</command> command to create the
  236. TOCs for each of your books.
  237. </para>
  238. <sect3>
  239. <title id="Sb4E8eBmqJ9X3cS">Running dtinfogen tocgen</title>
  240. <para>Here's an example of using <command>dtinfogen tocgen</command>
  241. to generate a table of contents.
  242. Before running <command>dtinfogen&nbsp;tocgen</command>,
  243. ensure that the book&rsquo;s source files:
  244. </para>
  245. <itemizedlist>
  246. <listitem>
  247. <para>
  248. Contain a DTD or include a reference to a DTD to which the
  249. Information Manager architectural forms have been applied.
  250. </para>
  251. </listitem>
  252. <listitem>
  253. <para>
  254. Contain valid SGML markup based on the DTD.
  255. </para>
  256. </listitem>
  257. </itemizedlist>
  258. <para>
  259. The basic <command>dtinfogen tocgen</command> command line
  260. for this example is:</para>
  261. <programlisting>
  262. dtinfogen tocgen -T <replaceable>/usr/pers</replaceable> -f <replaceable>TOC.file</replaceable> -id <replaceable>asg.toc</replaceable> -title <replaceable>&ldquo;Acoustic Sound Generators&rdquo;</replaceable> <replaceable>pref.sgm</replaceable> <replaceable>ch01.sgm</replaceable> <replaceable>ch02.sgm</replaceable> <replaceable>ch03.sgm</replaceable> <replaceable>appx.sgm</replaceable>
  263. </programlisting>
  264. <para>
  265. where
  266. </para>
  267. <variablelist>
  268. <varlistentry>
  269. <term><option>-T</option> <replaceable>/usr/pers</replaceable></term>
  270. <listitem>
  271. <para>
  272. Specifies the directory in which temporary files are
  273. placed during the build process. The default is to use the
  274. environment variable <systemitem class="environvar">TMPDIR</systemitem>.
  275. If variable <systemitem class="environvar">TMPDIR</systemitem> is not set,
  276. <filename>/usr/tmp</filename> is used.
  277. </para>
  278. </listitem>
  279. </varlistentry>
  280. <varlistentry>
  281. <term><option>-f</option> <replaceable>TOC.file</replaceable></term>
  282. <listitem>
  283. <para>
  284. Specifies the name of the file to which the output of
  285. the <command>dtinfogen tocgen</command> process is sent.
  286. </para>
  287. </listitem>
  288. </varlistentry>
  289. <varlistentry>
  290. <term><option>-id</option> <replaceable>asg.toc</replaceable></term>
  291. <listitem>
  292. <para>
  293. Specifies the TOC identifier in the newly created TOC file.
  294. The alphanumeric string value of <option>-id</option>,
  295. in this case <replaceable>asg.toc</replaceable>, associates the
  296. table of contents file with the specific set of book source files
  297. for which the TOC was generated. You must use a value that is
  298. unique across bookcases in each library.
  299. </para>
  300. </listitem>
  301. </varlistentry>
  302. <varlistentry><term><option>-title</option>
  303. <replaceable>&ldquo;Acoustic Sound Generators&rdquo;</replaceable></term>
  304. <listitem>
  305. <para>
  306. Specifies the TOC title. The value of <option>-title</option>,
  307. in this case, <replaceable>&ldquo;Acoustic Sound Generators&rdquo;</replaceable>,
  308. becomes the title of the newly created TOC file.
  309. </para>
  310. <para>
  311. The TOC title identifies the table of contents of the book
  312. with which it is associated. This name appears as the title of
  313. the TOC node when viewed in the Information Manager reading window.
  314. </para>
  315. <para>
  316. If you don't use the <option>-title</option> flag to supply a name,
  317. you may open the TOC file after it is generated and replace the
  318. default string <computeroutput>$Title = &ldquo;Table of Contents&rdquo;
  319. </computeroutput> with the appropriate title.
  320. </para>
  321. </listitem>
  322. </varlistentry>
  323. <varlistentry>
  324. <term><replaceable>pref.sgm</replaceable> <replaceable>ch01.sgm</replaceable>
  325. <replaceable>ch02.sgm</replaceable> <replaceable>ch03.sgm</replaceable>
  326. <replaceable>appx.sgm</replaceable></term>
  327. <listitem>
  328. <para>
  329. Specifies the names of the document entities from which the
  330. table of contents section title listing will be generated.
  331. </para>
  332. <para>The document entities should be entered on the command
  333. line in the order in which their contents should appear in
  334. the on-line book.
  335. </para>
  336. </listitem>
  337. </varlistentry>
  338. </variablelist>
  339. <para>
  340. The <command>dtinfogen tocgen</command> program validates your
  341. document entities against their DTDs, verifying that the
  342. Information Manager architectural forms have been applied.
  343. </para>
  344. <para>
  345. After successful validation, <command>dtinfogen tocgen</command>
  346. then extracts the list of section titles and section identifiers
  347. from the book source files and generates the TOC file.
  348. </para>
  349. <para>
  350. If you later add or remove sections in any of the book source files,
  351. you must regenerate the TOC.
  352. </para>
  353. </sect3>
  354. </sect2>
  355. </sect1>
  356. <!--(((((((((((((((((((((((((((((((((((((((((((((-->
  357. <sect1>
  358. <title id="j3fa6XBbiK9X3cS">Using Style Sheets</title>
  359. <indexterm><primary>required files</primary>
  360. <secondary>style sheet</secondary></indexterm><indexterm>
  361. <primary>style sheet</primary><secondary>using</secondary></indexterm>
  362. <para>
  363. Style sheets control the formatted appearance of your books
  364. in Information Manager. You can use a single style sheet to
  365. specify both the on-line display characteristics of your books
  366. in the Information Manager as well as the printed output
  367. characteristics of your books when printed from the
  368. Information Manager.
  369. </para>
  370. <para>
  371. You can also use a single style sheet to describe how
  372. to format multiple documents within a bookcase, or you can
  373. use multiple style sheets to process different document types
  374. within the same bookcase.
  375. </para>
  376. <itemizedlist>
  377. <listitem>
  378. <para>The figure <link linkend="JmNvZbBE6K9X3cS">How Multiple Style Sheets
  379. are Used</link> illustrates how books and sections within books
  380. can use different style sheets.
  381. </para>
  382. </listitem>
  383. <listitem>
  384. <para>
  385. <link linkend="n2PY0rbBgJJ9X3cS">Specifying Style Sheets at Different
  386. Levels</link> explains how style sheets can be specified at
  387. the bookcase level, at the book level, and at the section level.
  388. </para>
  389. </listitem>
  390. <listitem>
  391. <para><link linkend="bPY0rbBgJJ9X3cS">Example Bookcase Using Multiple
  392. Style Sheets</link> shows an example bookcase specification
  393. that uses four style sheets to provide formatting information
  394. for three books.
  395. </para>
  396. </listitem>
  397. </itemizedlist>
  398. <para>
  399. Once you have built an information database, you can use
  400. the <command>dtinfogen update</command>
  401. <indexterm><primary>Information Manager</primary>
  402. <secondary>commands</secondary>
  403. <tertiary>dtinfogen update</tertiary></indexterm>
  404. command to reformat the sections using new style sheet information.
  405. See <link linkend="WmNvZbBE6K9X3cS">Updating Style Sheets in Built
  406. Bookcases</link>.
  407. </para>
  408. <para>For information about creating style sheets,
  409. see <link linkend="BtCmaaB0ang24aK">Creating a Style Sheet</link>.
  410. </para>
  411. <figure>
  412. <title id="JmNvZbBE6K9X3cS">How Multiple Style Sheets are Used</title>
  413. <graphic id="gr56" entityref="infoapg.fig.3"></graphic>
  414. </figure>
  415. <para>
  416. As shown in the illustration, the default style sheet
  417. <replaceable>Style01</replaceable> will be used to format
  418. all books in a bookcase unless a different style sheet is
  419. specified at the book level, or at the section level.
  420. When a style sheet other than the default style sheet is specified,
  421. it is valid only for formatting the specified book or the section
  422. for which it was defined. Processing then continues with the
  423. default style sheet unless a different style sheet is again specified.
  424. </para>
  425. <!--))))))))))))))))))))))))))))))))))))))))))))))))-->
  426. <sect2>
  427. <title id="n5mNvZbBE6K9X3cS">Defining Style Sheets</title>
  428. <indexterm><primary>style sheet</primary>
  429. <secondary>defining</secondary></indexterm>
  430. <para>
  431. You must define a default style sheet for every
  432. bookcase in your Information Manager library
  433. (see <link linkend="TcQg4bBSxI9X3cS">Creating a
  434. Bookcase Specification</link>.)
  435. </para>
  436. <sect3>
  437. <title id="n2PY0rbBgJJ9X3cS">Specifying Style Sheets at Different Levels</title>
  438. <para>
  439. Each style sheet must have a unique name, specified at the top
  440. of the style sheet document itself. All of the style sheets
  441. used in a bookcase can be defined using entity declarations
  442. at the top of the bookcase specification. Here is an example
  443. of entity declarations for a set of style sheets:
  444. </para>
  445. <programlisting>
  446. [
  447. &lt;!-- Style sheets -->
  448. &lt;!ENTITY Style01 SYSTEM &ldquo;InfoMgrRN/style01.sty&rdquo; >
  449. &lt;!ENTITY Style02 SYSTEM &ldquo;Perl/perl.sty&rdquo; >
  450. &lt;!ENTITY PrefSty SYSTEM &ldquo;Preface/pref.sty&rdquo; >
  451. &lt;!ENTITY IDXSty SYSTEM &ldquo;Index/IDX.sty&rdquo; >
  452. ...............
  453. ...............
  454. ...............
  455. ]
  456. </programlisting>
  457. <para>
  458. The declared style sheets are referenced from within the
  459. bookcase specification using entity references.
  460. <link linkend="bPY0rbBgJJ9X3cS">Example Bookcase Using Multiple
  461. Style Sheets</link> illustrates a complete bookcase specification
  462. with all entity declarations and style sheet entity references.
  463. </para>
  464. <sect4>
  465. <title id="SmNvZbBE6K9X3cS">Specifying a Style Sheet at the Bookcase
  466. Level</title>
  467. <indexterm><primary>style sheet</primary>
  468. <secondary>bookcase level</secondary></indexterm>
  469. <para>
  470. The default style sheet is specified at the bookcase level.
  471. Entity references are made to any other style sheets that are
  472. defined for the bookcase.
  473. </para>
  474. <para>The BOOKCASE element start tag begins the listing of
  475. the bookcase's contents, including the style sheets that
  476. will be used and the SGML document entities that will be processed.
  477. </para>
  478. <para>
  479. The initial bookcase statement
  480. <computeroutput>&lt;BOOKCASE StyleSheet=style01></computeroutput>
  481. names <replaceable>style01</replaceable> as the default style sheet.
  482. After the BOOKCASENAME and BOOKCASEDESC elements are specified,
  483. entity references are made to all style sheet entities that will
  484. be used to format the bookcase's contents. For example:
  485. </para>
  486. <programlisting>
  487. &lt;BOOKCASE StyleSheet=Style01>
  488. &lt;BOOKCASENAME>INFOMGR&lt;/>
  489. &lt;BOOKCASEDESC>Info Manager Release Notes&lt;/>
  490. &lt;!-- Include the style sheets. -->
  491. &amp;Style01;
  492. &amp;Style02;
  493. &amp;PrefSty;
  494. &amp;IDXSty;
  495. </programlisting>
  496. <para>
  497. The ampersand and semicolon in each of the entity references:
  498. <computeroutput>&amp;Style01;</computeroutput>,
  499. <computeroutput>&amp;Style02;</computeroutput>,
  500. <computeroutput>&amp;PrefSty;</computeroutput>, and
  501. <computeroutput>&amp;IDXSty;</computeroutput>are the open and close
  502. delimiters for entity references.
  503. </para>
  504. </sect4>
  505. <sect4>
  506. <title id="TmNvZbBE6K9X3cS">Specifying a Style Sheet at the Book Level</title>
  507. <indexterm><primary>style sheet</primary>
  508. <secondary>book level</secondary></indexterm>
  509. <para>
  510. The default style sheet specified by the BOOKCASE element
  511. is used for each book in a bookcase unless a different style
  512. sheet is specified at the book level or at the section level.
  513. </para>
  514. <para>
  515. The BOOK element start tag begins the listing of the book's
  516. contents, and refers to the style sheet that will be used
  517. (if it is different than the default style sheet). For example:
  518. </para>
  519. <programlisting>
  520. &lt;/BOOK>
  521. &lt;!-- Perl Manual -->
  522. &lt;BOOK StyleSheet=Style02>
  523. </programlisting>
  524. <para>
  525. This statement specifies that <computeroutput>Style02</computeroutput>
  526. will be used to format the <citetitle>Perl Manual</citetitle> SGML source.
  527. </para>
  528. <para>
  529. After the book's source files are processed, the next
  530. BOOK element start tag resets the style sheet to the default
  531. style sheet value specified by the initial BOOKCASE element start tag,
  532. unless another style sheet is specified.
  533. </para>
  534. </sect4>
  535. <sect4>
  536. <title id="VmNvZbBE6K9X3cS">Specifying a Style Sheet at the
  537. Section Level</title>
  538. <indexterm><primary>style sheet</primary>
  539. <secondary>section level</secondary></indexterm>
  540. <para>
  541. Section-level style sheets are not specified inside the book
  542. element listing of the bookcase file. Instead, they are specified
  543. in a book's document type definition (DTD) using Information Manager
  544. architectural forms. The Information Manager architectural forms
  545. identify specific section-level elements in a book to which
  546. the formatting characteristics of a specified style sheet
  547. will apply.
  548. </para>
  549. <para>
  550. For related information, see:
  551. </para>
  552. <itemizedlist>
  553. <listitem>
  554. <para>
  555. <link linkend="BtCmaaB0ang24aK">Creating a Style Sheet</link>
  556. </para>
  557. </listitem>
  558. <listitem>
  559. <para>
  560. <link linkend="vSMTMZBRyng24aK">Understanding Architectural Forms</link>
  561. </para>
  562. </listitem>
  563. </itemizedlist>
  564. </sect4>
  565. </sect3>
  566. </sect2>
  567. <!--)))))))))))))))))))))))))))))))))))))))))))))))))-->
  568. <sect2>
  569. <title id="bPY0rbBgJJ9X3cS">Example Bookcase Using Multiple Style Sheets</title>
  570. <para>
  571. This is an example of a bookcase specification that defines
  572. three books and uses four style sheets. The style sheet entities
  573. <computeroutput>&amp;PrefSty;</computeroutput> and
  574. <computeroutput>&amp;IDXSty;</computeroutput> are referenced
  575. in the book DTD(s).
  576. </para>
  577. <programlisting>
  578. &lt;!DOCTYPE Bookcase PUBLIC
  579. &ldquo;-//Common Desktop Environment//DTD DtInfo Bookcase Description//EN&rdquo;
  580. [
  581. &lt;!-- Style sheets -->
  582. &lt;!ENTITY style01 SYSTEM &ldquo;InfoMgrRN/style01.sty&rdquo; >
  583. &lt;!ENTITY style02 SYSTEM &ldquo;Perl/perl.sty&rdquo; >
  584. &lt;!ENTITY PrefSty SYSTEM &ldquo;Preface/pref.sty&rdquo; >
  585. &lt;!ENTITY IDXSty SYSTEM &ldquo;Index/IDX.sty&rdquo; >
  586. &lt;!ENTITY TOCSTY SYSTEM &ldquo;TOC/TOC.sty&rdquo; >
  587. &lt;!-- Book documents declared as SUBDOC -->
  588. &lt;!ENTITY tocfile SYSTEM &ldquo;Small/small.toc&rdquo; SUBDOC >
  589. &lt;!ENTITY ch03 SYSTEM &ldquo;Small/ch03.sgm&rdquo; SUBDOC >
  590. &lt;!ENTITY xlsc SYSTEM &ldquo;Small/xlsc.sgm&rdquo; SUBDOC >
  591. &lt;!ENTITY rnotes.TOC SYSTEM &ldquo;InfoMgrRN/rnotes.TOC&rdquo; SUBDOC >
  592. &lt;!ENTITY rnotes.N SYSTEM &ldquo;InfoMgrRN/rnotes.N&rdquo; SUBDOC >
  593. &lt;!ENTITY perl.TOC SYSTEM &ldquo;Perl/perl.TOC&rdquo; SUBDOC >
  594. &lt;!ENTITY copytrade.N SYSTEM &ldquo;Perl/copytrade.N&rdquo; SUBDOC >
  595. &lt;!ENTITY about.N SYSTEM &ldquo;Perl/02about.N&rdquo; SUBDOC >
  596. &lt;!ENTITY intro.N SYSTEM &ldquo;Perl/1intro.N&rdquo; SUBDOC >
  597. &lt;!ENTITY start.N SYSTEM &ldquo;Perl/2start.N&rdquo; SUBDOC >
  598. &lt;!ENTITY datatypes.N SYSTEM &ldquo;Perl/3datatypes.N&rdquo; SUBDOC >
  599. &lt;!ENTITY form.N SYSTEM &ldquo;Perl/4form.N&rdquo; SUBDOC >
  600. &lt;!ENTITY commands.N SYSTEM &ldquo;Perl/5commands.N&rdquo; SUBDOC >
  601. &lt;!ENTITY perl.NDX SYSTEM &ldquo;Perl/perl.NDX&rdquo; SUBDOC >
  602. &lt;!ENTITY comments.N SYSTEM &ldquo;Perl/comments.N&rdquo; SUBDOC >
  603. ]>
  604. &lt;BOOKCASE StyleSheet=style01>
  605. &lt;BOOKCASENAME>Information Manager&lt;/>
  606. &lt;BOOKCASEDESC>Information Manager Release Notes&lt;/>
  607. &lt;!-- Include the four style sheets. -->
  608. &amp;style01;
  609. &amp;style02;
  610. &amp;PrefSty;
  611. &amp;IDXSty;
  612. &lt;!-- *****BOOK 1 - Small example book***** -->
  613. &lt;BOOK>
  614. &lt;TITLE>DocBook DTD Examples&lt;/>
  615. &lt;SHORTTITLE>SGML Examples&lt;/>
  616. &lt;TAB TabLoc=&rdquo;RE-1015-XLSCLIENTS-1&rdquo;>Manpage&lt;/>
  617. &lt;TOCFILE>&amp;tocfile;&lt;/TOCFILE>
  618. &lt;FILE>&amp;ch03;&lt;/FILE>
  619. &lt;FILE>&amp;xlsc;&lt;/FILE>
  620. &lt;/BOOK>
  621. &lt;!-- *****BOOK 2 - Information Manager Release Notes***** -->
  622. &lt;BOOK>
  623. &lt;TITLE>Information Manager Release Notes&lt;/>
  624. &lt;SHORTTITLE>Info Manager Notes&lt;/>
  625. &lt;TAB TabLoc=&rdquo;7M6zf5B0CM9X3cS&rdquo;>Contents&lt;/>
  626. &lt;TAB TabLoc=&rdquo;wP3zf5B-BM9X3cS&rdquo;>Features&lt;/>
  627. &lt;TAB TabLoc=&rdquo;yP3zf5B-BM9X3cS&rdquo;>To Do&lt;/>
  628. &lt;TAB TabLoc=&rdquo;mJ6G0CB1LG9I8gW&rdquo;>Link Demos&lt;/>
  629. &lt;TAB TabLoc=&rdquo;0K6zf5B-BM9X3cS&rdquo;>Figures&lt;/>
  630. &lt;TOCFILE>&amp;rnotes.TOC;&lt;/>
  631. &lt;FILE>&amp;rnotes.N;&lt;/>
  632. &lt;/BOOK>
  633. &lt;!-- *****BOOK 3 - Perl Manual***** -->
  634. &lt;BOOK StyleSheet=style02>
  635. &lt;TITLE>Perl Manual&lt;/>
  636. &lt;TAB TabLoc=&rdquo;Xmhyf5Bu6M9X3cS&rdquo;>Contents&lt;/>
  637. &lt;TAB TabLoc=&rdquo;3tpQGzASEYy94aK&rdquo;>About This Book&lt;/>
  638. &lt;TAB TabLoc=&rdquo;Oo9fP6B59WwA0YK&rdquo;>Index&lt;/>
  639. &lt;TAB TabLoc=&rdquo;DNph.0BBMXwA0YK&rdquo;>Comments&lt;/>
  640. &lt;TOCFILE>&amp;perl.TOC;&lt;/>
  641. &lt;FILE>&amp;copytrade.N;&lt;/>
  642. &lt;FILE>&amp;about.N;&lt;/>
  643. &lt;FILE>&amp;intro.N;&lt;/>
  644. &lt;FILE>&amp;start.N;&lt;/>
  645. &lt;FILE>&amp;datatypes.N;&lt;/>
  646. &lt;FILE>&amp;form.N;&lt;/>
  647. &lt;FILE>&amp;commands.N;&lt;/>
  648. &lt;FILE>&amp;perl.NDX;&lt;/>
  649. &lt;FILE>&amp;comments.N;&lt;/>
  650. &lt;/BOOK>
  651. &lt;/BOOKCASE></programlisting>
  652. <note>
  653. <para>This example bookcase specification conforms to the
  654. <filename>dtinfoBook.dtd</filename> distributed with the Information Manager.
  655. </para>
  656. </note>
  657. </sect2>
  658. </sect1>
  659. <!--)))))))))))))))))))))))))))))))))))))))))))))))))))-->
  660. <sect1>
  661. <title id="r58-aZBwFK9X3cS">Bookcase Specification</title>
  662. <indexterm><primary>bookcase specification</primary></indexterm>
  663. <indexterm><primary>required files</primary>
  664. <secondary>bookcase specification</secondary></indexterm>
  665. <para>
  666. To build a bookcase into an information library, you use a bookcase
  667. specification to tell the Information Manager tools what to build.
  668. </para>
  669. <para>
  670. In its simplest form, the bookcase specification
  671. contains the bookcase name and bookcase description,
  672. the style sheets that describe the formatting of each book,
  673. and the SUBDOC entity references for the SGML documents
  674. comprising the books.
  675. </para>
  676. <para>
  677. You must use SGML SUBDOC entity declarations
  678. <indexterm><primary>SGML</primary>
  679. <secondary>SUBDOC entity declarations</secondary></indexterm>
  680. to include the book documents in the bookcase specification.
  681. The structure of the bookcase specification is defined in
  682. <filename>dtinfoBook.dtd</filename>.
  683. </para>
  684. <para>
  685. A general procedure for producing a bookcase specification
  686. is provided in the section <link linkend="TcQg4bBSxI9X3cS">
  687. Creating a Bookcase Specification</link>.
  688. </para>
  689. <para>
  690. The information you need to supply in the bookcase specification includes:
  691. </para>
  692. <variablelist>
  693. <varlistentry>
  694. <term>Bookcase name</term>
  695. <listitem>
  696. <para>
  697. This name is used by the Information Manager and by the
  698. internal search engine. It must be no longer than eight
  699. alphanumeric characters and it must be unique within the bookcase.
  700. </para>
  701. </listitem>
  702. </varlistentry>
  703. <varlistentry>
  704. <term>Bookcase description</term>
  705. <listitem>
  706. <para>
  707. This is a description or synopsis of the book(s) comprising the bookcase.
  708. Typical examples might be: <citetitle>UNIX Administration Guides</citetitle>,
  709. or <citetitle>Scientific Papers on Acoustic Sound Generation</citetitle>.
  710. </para>
  711. </listitem>
  712. </varlistentry>
  713. <varlistentry>
  714. <term>One or more style sheets</term>
  715. <listitem>
  716. <para>
  717. Style sheets contain the collection of formatting instructions
  718. that define how an SGML document should be formatted both on-line
  719. and in print. You must identify one style sheet as the default style
  720. sheet for all books in the bookcase specification.
  721. </para>
  722. <para>
  723. You can include style sheets in the bookcase specification
  724. or you can reference them via an entity declaration at the top
  725. of the bookcase specification.
  726. See <link linkend="XcQg4bBSxI9X3cS">Example Bookcase Specification</link>.
  727. </para>
  728. <para>
  729. To understand how the Information Manager handles multiple style sheets
  730. in a single bookcase specification, see <link linkend="j3fa6XBbiK9X3cS">
  731. Using Style Sheets</link>.
  732. </para>
  733. <para>
  734. For information about creating style sheets,
  735. see <link linkend="BtCmaaB0ang24aK">Creating a Style Sheet</link>.
  736. </para>
  737. </listitem>
  738. </varlistentry>
  739. <varlistentry>
  740. <term>One or more books</term>
  741. <listitem>
  742. <para>
  743. The information you need to supply for each book in the
  744. bookcase specification includes:
  745. </para>
  746. <variablelist>
  747. <varlistentry>
  748. <term>Book title</term>
  749. <listitem>
  750. <para>The full title of each book in the bookcase.
  751. The length of a book title is technically unlimited.
  752. Optimally however, titles should be no longer than 50 characters in length.
  753. </para>
  754. </listitem>
  755. </varlistentry>
  756. <varlistentry>
  757. <term>Book short title</term>
  758. <listitem>
  759. <para>
  760. An optional abbreviated title for each book.
  761. The short title is used by the Information Manager's search engine.
  762. Technically, the length of the short title is unlimited,
  763. but optimally it should be no more than 20 characters in length.
  764. </para>
  765. </listitem>
  766. </varlistentry>
  767. <varlistentry>
  768. <term>Tab information</term>
  769. <listitem>
  770. <para>
  771. Tabs are displayed in an Information Manager reading window.
  772. They resemble binder tabs and enable readers to move quickly
  773. to different sections in an on-line book.
  774. </para>
  775. <para>
  776. The tab information you supply in the bookcase specification
  777. includes the names and unique identifiers of sections in a book
  778. that will be available through the browser interface.
  779. </para>
  780. <para>
  781. Tabs are optional and one or more of them may be specified
  782. for each book in the bookcase. The length of the text of each
  783. tab and the number of tabs in a given book is technically unlimited.
  784. However, on-line readability will be improved by using
  785. relatively concise tab names such as <literal>Contents</literal>,
  786. <literal>Preface</literal>, <literal>Index</literal>, and so forth,
  787. and limiting the number of tabs to be displayed.
  788. </para>
  789. </listitem>
  790. </varlistentry>
  791. <varlistentry>
  792. <term>Table of contents (TOC)</term>
  793. <listitem>
  794. <para>
  795. Each book defined in the bookcase specification must have a
  796. hypertext TOC that conforms to the Information Manager
  797. <filename>dtinfoTOC.dtd</filename>.
  798. </para>
  799. <para>
  800. You can use the <command>dtinfogen tocgen</command> command
  801. to produce an Information Manager table of contents.
  802. See <link linkend="n8aJ92dBIsI9X3cS">Creating a Table of Contents</link>.
  803. </para>
  804. </listitem>
  805. </varlistentry>
  806. <varlistentry>
  807. <term>Book source documents</term>
  808. <listitem>
  809. <para>
  810. These are the SGML-conforming document entities that make up each book.
  811. </para>
  812. <para>
  813. Because these documents may conform to different DTDs,
  814. you must use SGML SUBDOC entities to pull in the source
  815. information during the build process.
  816. </para>
  817. </listitem>
  818. </varlistentry>
  819. </variablelist>
  820. </listitem>
  821. </varlistentry>
  822. </variablelist>
  823. <para>
  824. The figure <link linkend="xJDiOlB78H9X3cS">Bookcase Specification</link>
  825. illustrates the relationship of the bookcase specification and other
  826. documents used to build an information library.
  827. </para>
  828. <figure>
  829. <title id="xJDiOlB78H9X3cS">Bookcase Specification</title>
  830. <graphic id="gr57" entityref="infoapg.fig.4"></graphic>
  831. </figure>
  832. <sect2>
  833. <title id="TcQg4bBSxI9X3cS">Creating a Bookcase Specification</title>
  834. <indexterm><primary>bookcase specification</primary>
  835. <secondary>creating</secondary></indexterm>
  836. <para>
  837. To create a bookcase specification:
  838. </para>
  839. <orderedlist>
  840. <listitem>
  841. <para>
  842. Using a text editor such as <command>vi</command>, <command>emacs</command>,
  843. or an appropriately configured SGML editor, open a new file in
  844. your book's build area. If you prefer, you can copy the
  845. <link linkend="XcQg4bBSxI9X3cS">Example Bookcase Specification</link>
  846. below or any example bookcase specification included in this
  847. documentation and modify it for your purposes.
  848. </para>
  849. </listitem>
  850. <listitem>
  851. <para>
  852. At the top of the file, specify the bookcase DTD. For example:
  853. </para>
  854. <programlisting>
  855. &lt;!DOCTYPE Bookcase PUBLIC
  856. &ldquo;-//Common Desktop Environment//DTD DtInfo Bookcase Description//EN&rdquo;
  857. [
  858. </programlisting>
  859. <para>
  860. The open brace ( [ ) at the end of the DOCTYPE declaration indicates
  861. that a set of entity declarations will follow.
  862. See the <filename>dtinfoBook.dtd(5)</filename> man page.
  863. </para>
  864. </listitem>
  865. <listitem>
  866. <para>
  867. Using an entity declaration, specify the style sheet to use.
  868. You can define multiple style sheets using entity declarations.
  869. </para>
  870. <programlisting>
  871. &lt;!-- Style sheets -->
  872. &lt;!ENTITY style01 SYSTEM &ldquo;style01.sty&rdquo; >
  873. </programlisting>
  874. </listitem>
  875. <listitem>
  876. <para>
  877. Using the SGML SUBDOC entity feature, specify the documents
  878. that will comprise the book, including the TOC.
  879. </para>
  880. <programlisting>
  881. &lt;!-- Book files declared as SUBDOC -->
  882. &lt;!ENTITY tocfile SYSTEM &ldquo;small.toc&rdquo; SUBDOC >
  883. &lt;!ENTITY ch03 SYSTEM &ldquo;ch03.sgm&rdquo; SUBDOC >
  884. &lt;!ENTITY xlsc SYSTEM &ldquo;xlsc.sgm&rdquo; SUBDOC >
  885. </programlisting>
  886. </listitem>
  887. <listitem>
  888. <para>
  889. After specifying all of the entities you will be using,
  890. close the entity declaration with a closing brace ( ] )
  891. and a closing declaration delimiter ( > ).
  892. </para>
  893. <programlisting>]></programlisting>
  894. </listitem>
  895. <listitem>
  896. <para>
  897. Enter the SGML start tag &lt;BOOKCASE> and specify the default
  898. style sheet to use for the bookcase.
  899. </para>
  900. <programlisting>
  901. &lt;BOOKCASE StyleSheet=sty1>
  902. </programlisting>
  903. <para>
  904. In this example, the BOOKCASE element's attribute
  905. <replaceable>StyleSheet</replaceable> is assigned the value
  906. <systemitem>sty1</systemitem>, which is the name of the STYLESHEET
  907. element in the style sheet file <filename>style01.sty</filename>.
  908. </para>
  909. <para>
  910. If multiple style sheets are declared in the entity subset
  911. declaration, you can specify any one of them as the default
  912. style sheet for the bookcase.
  913. </para>
  914. </listitem>
  915. <listitem>
  916. <para>
  917. Enter the BOOKCASENAME and BOOKCASEDESC elements and their
  918. contents&mdash;in this case <replaceable>SMALL</replaceable> and
  919. <replaceable>Demonstration small bookcase</replaceable>, respectively.
  920. </para>
  921. <para>
  922. BOOKCASENAME can be no longer than eight alphanumeric characters,
  923. and must not contain periods.
  924. </para>
  925. <para>
  926. Next, using an entity reference, specify the style sheet to be
  927. included&mdash;in this case <computeroutput>style01</computeroutput>.
  928. </para>
  929. <programlisting>
  930. &lt;BOOKCASENAME>SMALL&lt;/>
  931. &lt;BOOKCASEDESC>Demonstration small bookcase&lt;/>
  932. &amp;style01;
  933. </programlisting>
  934. <para>
  935. After referencing all style sheets for the bookcase, begin
  936. specifying the book(s) that make up the bookcase.
  937. </para>
  938. <note>
  939. <para>Different style sheets can be assigned to different bookcases,
  940. and even to different books within a bookcase using an identifier
  941. reference. See <link linkend="j3fa6XBbiK9X3cS">Using Style Sheets</link>.
  942. For information about creating style sheets, see
  943. <link linkend="BtCmaaB0ang24aK">Creating a Style Sheet</link>.
  944. </para>
  945. </note>
  946. </listitem>
  947. <listitem>
  948. <para>
  949. Specify the book to build by entering the BOOK element's start tag,
  950. and the TITLE and SHORTTITLE elements and their contents.
  951. </para>
  952. <programlisting>
  953. &lt;BOOK>
  954. &lt;TITLE>DocBook DTD Examples&lt;/>
  955. &lt;SHORTTITLE>SGML Examples&lt;/>
  956. </programlisting>
  957. </listitem>
  958. <listitem>
  959. <para>
  960. If you are setting up binder tabs in your book, supply the
  961. tab information.
  962. </para>
  963. <para>
  964. For each tab, you must specify the TAB element's start tag&mdash;
  965. which requires the TabLoc attribute and its value&mdash;and the text
  966. (in this case &ldquo;Manpage&rdquo;) that will appear in the tab when
  967. it is displayed in the browser.
  968. </para>
  969. <programlisting>
  970. &lt;TAB TabLoc=&ldquo;RE-1015-XLSCLIENTS-1&rdquo;>Manpage&lt;/>
  971. </programlisting>
  972. </listitem>
  973. <listitem>
  974. <para>Use the &lt;TOCFILE> tag to contain the table of contents
  975. document referenced via the SUBDOC entity declaration at the top
  976. of the bookcase specification.
  977. </para>
  978. <programlisting>
  979. &lt;TOCFILE>&amp;tocfile;&lt;/TOCFILE>
  980. </programlisting>
  981. </listitem>
  982. <listitem>
  983. <para>
  984. Use &lt;FILE> tags to contain the book documents referenced
  985. via SUBDOC entity declarations at the top of the bookcase specification.
  986. </para>
  987. <programlisting>
  988. &lt;FILE>&amp;ch03;&lt;/FILE>
  989. &lt;FILE>&amp;xlsc;&lt;/FILE>
  990. </programlisting>
  991. <para>
  992. You can also list multiple book documents in a single set of &lt;FILE>
  993. tags. For example:
  994. </para>
  995. <programlisting>
  996. &lt;FILE>&amp;ch03; &amp;xlsc;&lt;/FILE>
  997. </programlisting>
  998. </listitem>
  999. <listitem>
  1000. <para>
  1001. After all documents are referenced for this book,
  1002. close this book using the &lt;/BOOK> end tag.
  1003. </para>
  1004. <programlisting>
  1005. &lt;/BOOK>
  1006. </programlisting>
  1007. <para>
  1008. Repeat steps 8 thorough 11 for each additional book that is to be
  1009. included in the bookcase.
  1010. </para>
  1011. </listitem>
  1012. <listitem>
  1013. <para>
  1014. After all books are specified, close the bookcase specification
  1015. using the &lt;/BOOKCASE> end tag.
  1016. </para>
  1017. <programlisting>
  1018. &lt;/BOOKCASE>
  1019. </programlisting>
  1020. </listitem>
  1021. </orderedlist>
  1022. <para>
  1023. The complete bookcase example is shown in
  1024. <link linkend="XcQg4bBSxI9X3cS">Example Bookcase Specification</link>.
  1025. </para>
  1026. <!--)))))))))))))))))))))))))))))))))))))-->
  1027. <sect3>
  1028. <title id="XcQg4bBSxI9X3cS">Example Bookcase Specification</title>
  1029. <indexterm><primary>bookcase specification</primary>
  1030. <secondary>example</secondary></indexterm>
  1031. <para>
  1032. This is an example of a small bookcase specification.
  1033. It defines one bookcase containing a single book and uses a
  1034. single style sheet.
  1035. </para>
  1036. <para>
  1037. Although the style sheet in the example below is referenced
  1038. via an entity reference, the complete text of the style sheet
  1039. <computeroutput>STYLE01</computeroutput> could be included
  1040. in the bookcase specification.
  1041. </para>
  1042. <programlisting>
  1043. &lt;!DOCTYPE Bookcase PUBLIC
  1044. &ldquo;-//Common Desktop Environment//DTD DtInfo Bookcase Description//EN&rdquo;
  1045. [
  1046. &lt;!-- Style sheets -->
  1047. &lt;!ENTITY style01 SYSTEM &ldquo;style01.sty&rdquo; >
  1048. &lt;!-- Book files declared as SUBDOC -->
  1049. &lt;!ENTITY tocfile SYSTEM &ldquo;small.toc&rdquo; SUBDOC >
  1050. &lt;!ENTITY ch03 SYSTEM &ldquo;ch03.sgm&rdquo; SUBDOC >
  1051. &lt;!ENTITY xlsc SYSTEM &ldquo;xlsc.sgm&rdquo; SUBDOC >
  1052. ]>
  1053. &lt;BOOKCASE StyleSheet=sty1>
  1054. &lt;BOOKCASENAME>SMALL&lt;/>
  1055. &lt;BOOKCASEDESC>Demonstration small bookcase&lt;/>
  1056. &amp;style01;
  1057. &lt;BOOK>
  1058. &lt;TITLE>DocBook DTD Examples&lt;/>
  1059. &lt;SHORTTITLE>SGML Examples&lt;/>
  1060. &lt;!-- Tab information -->
  1061. &lt;TAB TabLoc=&rdquo;RE-1015-XLSCLIENTS-1&rdquo;>Manpage&lt;/>
  1062. &lt;TOCFILE>&amp;tocfile;&lt;/TOCFILE>
  1063. &lt;FILE>&amp;ch03;&lt;/FILE>
  1064. &lt;FILE>&amp;xlsc;&lt;/FILE>
  1065. &lt;/BOOK>
  1066. &lt;/BOOKCASE>
  1067. </programlisting>
  1068. <note>
  1069. <para>
  1070. This example bookcase specification conforms to the
  1071. <filename>dtinfoBook.dtd</filename> distributed with the Information Manager.
  1072. </para>
  1073. </note>
  1074. </sect3>
  1075. </sect2>
  1076. </sect1>
  1077. </chapter>