1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 823 824 825 826 827 828 829 830 831 832 833 834 835 836 837 838 839 840 841 842 843 844 845 846 847 848 849 850 851 852 853 854 855 856 857 858 859
|
<HTML
><HEAD
><TITLE
>Preface</TITLE
><META
NAME="GENERATOR"
CONTENT="Modular DocBook HTML Stylesheet Version 1.45"><LINK
REL="HOME"
TITLE="DocBook"
HREF="docbook.html"><LINK
REL="PREVIOUS"
TITLE="DocBook"
HREF="docbook.html"><LINK
REL="NEXT"
TITLE="Introduction"
HREF="part1.html"><LINK
REL="STYLESHEET"
TYPE="text/css"
HREF="dbtdg.css"></HEAD
><BODY
CLASS="PREFACE"
BGCOLOR="#FFFFFF"
TEXT="#000000"
LINK="#0000FF"
VLINK="#840084"
ALINK="#0000FF"
><DIV
CLASS="NAVHEADER"
><TABLE
WIDTH="100%"
BORDER="0"
CELLPADDING="0"
CELLSPACING="0"
><TR
><TH
COLSPAN="3"
ALIGN="center"
>DocBook: The Definitive Guide</TH
></TR
><TR
><TD
WIDTH="10%"
ALIGN="left"
VALIGN="bottom"
><A
HREF="docbook.html"
>Prev</A
></TD
><TD
WIDTH="80%"
ALIGN="center"
VALIGN="bottom"
></TD
><TD
WIDTH="10%"
ALIGN="right"
VALIGN="bottom"
><A
HREF="part1.html"
>Next</A
></TD
></TR
></TABLE
><HR
ALIGN="LEFT"
WIDTH="100%"></DIV
><DIV
CLASS="PREFACE"
><H1
><A
NAME="PREFACE"
>Preface</A
></H1
><DIV
CLASS="TOC"
><DL
><DT
><B
>Table of Contents</B
></DT
><DT
>1. <A
HREF="ch00.html#AEN64"
>Why Read This Book?</A
></DT
><DT
>2. <A
HREF="ch00.html#AEN96"
>This Book's Audience</A
></DT
><DT
>3. <A
HREF="ch00.html#AEN110"
>Organization of This Book</A
></DT
><DT
>4. <A
HREF="ch00.html#AEN203"
>Conventions Used in This Book</A
></DT
><DT
>5. <A
HREF="ch00.html#AEN221"
>Getting This Book</A
></DT
><DT
>6. <A
HREF="ch00.html#AEN228"
>Getting Examples from This Book</A
></DT
><DT
>7. <A
HREF="ch00.html#AEN233"
>Getting DocBook</A
></DT
><DT
>8. <A
HREF="ch00.html#PREF-REQ-COMMENTS"
>Request for Comments</A
></DT
><DT
>9. <A
HREF="ch00.html#AEN245"
>Acknowledgements from Norm</A
></DT
><DT
>10. <A
HREF="ch00.html#AEN251"
>Acknowledgements from Lenny</A
></DT
><DT
>11. <A
HREF="ch00.html#AEN256"
>Acknowledgements from Norm and Lenny</A
></DT
></DL
></DIV
><P
>DocBook provides a system for writing structured documents using
<SPAN
CLASS="ACRONYM"
>SGML</SPAN
> or <SPAN
CLASS="ACRONYM"
>XML</SPAN
>. It is particularly well-suited to books and papers
about computer hardware and software, though it is by no means limited
to them. DocBook is an <SPAN
CLASS="ACRONYM"
>SGML</SPAN
> document type definition (<SPAN
CLASS="ACRONYM"
>DTD</SPAN
>). An
<SPAN
CLASS="ACRONYM"
>XML</SPAN
> version is available now, and an official <SPAN
CLASS="ACRONYM"
>XML</SPAN
> release is in
the works. Because it is a large and robust <SPAN
CLASS="ACRONYM"
>DTD</SPAN
>, and because its
main structures correspond to the general notion of what constitutes a
book, DocBook has been adopted by a large and growing community of
authors. DocBook is supported "out of the box" by a number
of commercial tools, and support for it is rapidly growing in a number
of free software environments. In short, DocBook is an
easy-to-understand and widely used <SPAN
CLASS="ACRONYM"
>DTD</SPAN
>. Dozens of organizations use
DocBook for millions of pages of documentation, in various print
and online formats, worldwide.</P
><DIV
CLASS="SECT1"
><H1
CLASS="SECT1"
><A
NAME="AEN64"
>1. Why Read This Book?</A
></H1
><P
>This book is designed to be the clear, concise, normative reference to
the DocBook <SPAN
CLASS="ACRONYM"
>DTD</SPAN
>. This book is the official documentation for the
DocBook <SPAN
CLASS="ACRONYM"
>DTD</SPAN
>.</P
><P
>We hope to answer, definitively, all the questions you might
have about all the elements and entities in DocBook. In
particular, we cover the following subjects:</P
><P
></P
><UL
><LI
><P
>The general nature of DocBook. With over 300 elements,
DocBook can be a bit overwhelming at first. We quickly get you up to
speed on how the pieces fit together.</P
></LI
><LI
><P
>How to write DocBook documents. Where should you start
and what should you do?</P
></LI
><LI
><P
>Parsing and validation. After you've written a
document, how can you tell if it really conforms to the DocBook
<SPAN
CLASS="ACRONYM"
>DTD</SPAN
>?</P
></LI
><LI
><P
>How to publish DocBook documents. After you've written
one, what do you do with it? We provide a guide to using some popular
free tools to publish DocBook documents both in print and on the
Web.</P
></LI
><LI
><P
>Customizing the <SPAN
CLASS="ACRONYM"
>DTD</SPAN
>. Many individuals and
corporations have standardized on the DocBook <SPAN
CLASS="ACRONYM"
>DTD</SPAN
>. Whether your
subject matter is computer software documentation or not,
we explain how you can write a "customization layer" to
tailor DocBook explicitly for your information.</P
></LI
><LI
><P
>Understanding all of the elements. Each element is
extensively documented, including the intended semantics and the
purpose of all its attributes. An example of proper usage is given
for every element. The parameter entities and character entities are
also described.</P
></LI
><LI
><P
>Stylesheets. Several standard stylesheet
languages are briefly described.</P
></LI
><LI
><P
><SPAN
CLASS="ACRONYM"
>XML</SPAN
> compatability. We outline all of the points that
you'll need to consider
as you or your organization contemplate <SPAN
CLASS="ACRONYM"
>XML</SPAN
> for authoring, publishing, or
both.</P
></LI
><LI
><P
>Additional resources and a
<SPAN
CLASS="ACRONYM"
>CD-ROM</SPAN
>. Finally, we direct you to other places you
can go for all the latest info, and offer a complete set of online
documentation on the <SPAN
CLASS="ACRONYM"
>CD-ROM</SPAN
>.</P
></LI
></UL
></DIV
><DIV
CLASS="SECT1"
><H1
CLASS="SECT1"
><A
NAME="AEN96"
>2. This Book's Audience</A
></H1
><P
>We expect that most readers will have some familiarity with <SPAN
CLASS="ACRONYM"
>SGML</SPAN
> or
<SPAN
CLASS="ACRONYM"
>XML</SPAN
>. Even if your experience goes no farther than writing a few
<SPAN
CLASS="ACRONYM"
>HTML</SPAN
> pages, you're probably in good shape. Although we provide an
introduction to <SPAN
CLASS="ACRONYM"
>SGML</SPAN
>, <SPAN
CLASS="ACRONYM"
>XML</SPAN
>, and structured markup, this book may
not suffice as your only tutorial about <SPAN
CLASS="ACRONYM"
>SGML</SPAN
> and <SPAN
CLASS="ACRONYM"
>XML</SPAN
>. This
depends, naturally, on your needs and experience. For a list of some
other good resources, consult <A
HREF="appd.html"
>Appendix D</A
>.</P
><P
>Some sections of this book describe tools and applications. For
the most part, these are Microsoft Windows or <SPAN
CLASS="ACRONYM"
>UNIX</SPAN
> applications,
although there's nothing about DocBook that makes it unsuitable for the
Mac or <SPAN
CLASS="ACRONYM"
>VM/CMS</SPAN
> or any other operating system of your
choice.</P
></DIV
><DIV
CLASS="SECT1"
><H1
CLASS="SECT1"
><A
NAME="AEN110"
>3. Organization of This Book</A
></H1
><P
>This book is divided into three parts. <I
CLASS="CITETITLE"
>Part I: Introduction</I
> is an introduction to structured markup and DocBook:</P
><P
></P
><DL
><DT
><B
><A
HREF="ch01.html"
>Chapter 1</A
></B
></DT
><DD
><P
>A quick introduction to structured markup.</P
></DD
><DT
><B
><A
HREF="ch02.html"
>Chapter 2</A
></B
></DT
><DD
><P
>How to make DocBook documents.</P
></DD
><DT
><B
><A
HREF="ch03.html"
>Chapter 3</A
></B
></DT
><DD
><P
>Parsing and validating DocBook documents.</P
></DD
><DT
><B
><A
HREF="ch04.html"
>Chapter 4</A
></B
></DT
><DD
><P
>How to publish DocBook documents.</P
></DD
><DT
><B
><A
HREF="ch05.html"
>Chapter 5</A
></B
></DT
><DD
><P
>How to customize DocBook.</P
></DD
></DL
><P
><I
CLASS="CITETITLE"
>Part II: Reference</I
>
is a complete reference to every element and parameter entity in
the DocBook <SPAN
CLASS="ACRONYM"
>V3.1</SPAN
> <SPAN
CLASS="ACRONYM"
>DTD</SPAN
>.</P
><P
></P
><DL
><DT
><B
><A
HREF="refelem.html"
>Reference I, <I
>DocBook Element Reference</I
></A
></B
></DT
><DD
><P
>A reference guide to the DocBook elements.</P
></DD
><DT
><B
><A
HREF="refpent.html"
>Reference II, <I
>DocBook Parameter Entity Reference</I
></A
></B
></DT
><DD
><P
>A reference guide to the DocBook parameter entities.</P
></DD
><DT
><B
><A
HREF="refchar.html"
>Reference III, <I
>DocBook Character Entity Reference</I
></A
></B
></DT
><DD
><P
>A reference guide to the character entities declared in DocBook.</P
></DD
></DL
><P
><I
CLASS="CITETITLE"
>Part III: Appendixes</I
> discusses other resources:</P
><P
></P
><DL
><DT
><B
><A
HREF="appa.html"
>Appendix A</A
></B
></DT
><DD
><P
>How to install DocBook, Jade, and the stylesheets.</P
></DD
><DT
><B
><A
HREF="appb.html"
>Appendix B</A
></B
></DT
><DD
><P
>DocBook as <SPAN
CLASS="ACRONYM"
>XML</SPAN
>.</P
></DD
><DT
><B
><A
HREF="appc.html"
>Appendix C</A
></B
></DT
><DD
><P
>A guide to DocBook versions, including a summary of the features
expected in future releases.</P
></DD
><DT
><B
><A
HREF="appd.html"
>Appendix D</A
></B
></DT
><DD
><P
>Other resources.</P
></DD
><DT
><B
><A
HREF="appe.html"
>Appendix E</A
></B
></DT
><DD
><P
>What's on the <SPAN
CLASS="ACRONYM"
>CD</SPAN
>?</P
></DD
><DT
><B
><A
HREF="appf.html"
>Appendix F</A
></B
></DT
><DD
><P
>An interchange checklist. Things to consider when you're sharing
DocBook documents with others.</P
></DD
><DT
><B
><A
HREF="quickref.html"
>Appendix G</A
></B
></DT
><DD
><P
>A Quick Reference to the elements in DocBook.</P
></DD
></DL
><P
>At the end of this book you'll find a <A
HREF="dbgloss.html"
>Glossary</A
> and an
<A
HREF="dbindex.html"
>Index</A
>.</P
></DIV
><DIV
CLASS="SECT1"
><H1
CLASS="SECT1"
><A
NAME="AEN203"
>4. Conventions Used in This Book</A
></H1
><P
></P
><UL
><LI
><P
><TT
CLASS="SGMLTAG"
>Garamond Book</TT
> is used for element and
attribute names.</P
></LI
><LI
><P
><TT
CLASS="LITERAL"
>Constant Willison</TT
> is used for program examples, attribute value
literals, start- and end-tags, and source code example text.</P
></LI
><LI
><P
><TT
CLASS="REPLACEABLE"
><I
>Constant Willison Oblique</I
></TT
> is used for
<SPAN
CLASS="QUOTE"
>"replaceable"</SPAN
> text or variables. Replaceable text is text
that describes something you're supposed to type, like a
<TT
CLASS="REPLACEABLE"
><I
>filename</I
></TT
>, in which the word
"filename" is a placeholder for the actual filename.</P
></LI
><LI
><P
><TT
CLASS="FILENAME"
>Garamond Italic</TT
> is used for filenames and (in the print version
of the book) <SPAN
CLASS="ACRONYM"
>URL</SPAN
>s.</P
></LI
></UL
></DIV
><DIV
CLASS="SECT1"
><H1
CLASS="SECT1"
><A
NAME="AEN221"
>5. Getting This Book</A
></H1
><P
>If you want to hold this book in your hand and flip through its pages,
you have to buy it as you would any other book. You can also get this
book in electronic form, as a DocBook <SPAN
CLASS="ACRONYM"
>SGML</SPAN
> document, and in <SPAN
CLASS="ACRONYM"
>HTML</SPAN
>,
either on the <SPAN
CLASS="ACRONYM"
>CD</SPAN
> that accompanies the bound book or
from this book's web site: <A
HREF="http://docbook.org/"
TARGET="_top"
>http://docbook.org/</A
>.</P
></DIV
><DIV
CLASS="SECT1"
><H1
CLASS="SECT1"
><A
NAME="AEN228"
>6. Getting Examples from This Book</A
></H1
><P
>All of the examples are included on the <SPAN
CLASS="ACRONYM"
>CD-ROM</SPAN
> and
online at the book's web site. You can get the most up-to-date
information about this book from the web site: <A
HREF="http://docbook.org/"
TARGET="_top"
>http://docbook.org/</A
>.</P
></DIV
><DIV
CLASS="SECT1"
><H1
CLASS="SECT1"
><A
NAME="AEN233"
>7. Getting DocBook</A
></H1
><P
>The DocBook <SPAN
CLASS="ACRONYM"
>DTD</SPAN
>, v3.1, is included <A
HREF="appe.html#APP-CDROM-DOCBOOK"
> on the
<SPAN
CLASS="ACRONYM"
>CD-ROM</SPAN
></A
>. You can get the most up-to-date
version and information about DocBook from the DocBook web page:
<A
HREF="http://www.oasis-open.org/docbook/"
TARGET="_top"
>http://www.oasis-open.org/docbook/</A
>.</P
></DIV
><DIV
CLASS="SECT1"
><H1
CLASS="SECT1"
><A
NAME="PREF-REQ-COMMENTS"
>8. Request for Comments</A
></H1
><P
>Please help us improve future editions of this book by reporting any
errors, inaccuracies, bugs, misleading or confusing statements, and
plain old typos that you find. An online errata list is maintained at
<A
HREF="http://docbook.org/tdg/errata.html"
TARGET="_top"
>http://docbook.org/tdg/errata.html</A
>.
Email your bug reports and comments to us at <A
HREF="mailto:bookcomments@docbook.org"
TARGET="_top"
>bookcomments@docbook.org</A
>.</P
></DIV
><DIV
CLASS="SECT1"
><H1
CLASS="SECT1"
><A
NAME="AEN245"
>9. Acknowledgements from Norm</A
></H1
><P
>This book has been in the works for a long
time. It could not have been completed without the help and
encouragement of a lot of people, most especially my wife,
Deborah, who supported me through the long hours and the late
nights.</P
><P
>I also want to thank Lenny for collaborating with me and developing
real prose out of my rough outlines, cryptic email messages, and
scribbled notes.</P
><P
>A number of people contributed technical feedback as this book
was being written, in particular Terry Allen and Eve Maler. I
owe most of what I know about <SPAN
CLASS="ACRONYM"
>SGML</SPAN
> to them, and to the other
members of the Davenport Group who answered all my questions so
many years ago, especially Jon Bosak, Eduardo Guttentag, and
Murray Maloney. Paul Prescod, Mark Galassi, and Dave Pawson also
provided invaluable feedback on the technical review draft. It's
a better book because of them.</P
></DIV
><DIV
CLASS="SECT1"
><H1
CLASS="SECT1"
><A
NAME="AEN251"
>10. Acknowledgements from Lenny</A
></H1
><P
>My gratitude goes back to Dale Dougherty and Terry Allen, who
long ago encouraged me and the production department at O'Reilly to learn
<SPAN
CLASS="ACRONYM"
>SGML</SPAN
>; and to Lar Kaufman, who also made large contributions to my
knowledge and appreciation of <SPAN
CLASS="ACRONYM"
>SGML</SPAN
>. But my greatest debt of thanks goes to
Norm for all that he patiently taught me about DocBook, and for his
supreme graciousness in keeping me a part of this project. </P
></DIV
><DIV
CLASS="SECT1"
><H1
CLASS="SECT1"
><A
NAME="AEN256"
>11. Acknowledgements from Norm and Lenny</A
></H1
><P
>Thanks finally to the great people at O'Reilly who encouraged us to
write it (Frank Willison and Sheryl Avruch), agreed to edit it
(Frank), helped design it (Alicia Cech, who worked on the interior
design, and Edie Freeman, who designed the cover), proofed and
produced it (Chris Maden, Madeline Newell, and David Futato), and
indexed it (Ellen Troutman).</P
></DIV
></DIV
><DIV
CLASS="NAVFOOTER"
><HR
ALIGN="LEFT"
WIDTH="100%"><TABLE
WIDTH="100%"
BORDER="0"
CELLPADDING="0"
CELLSPACING="0"
><TR
><TD
WIDTH="33%"
ALIGN="left"
VALIGN="top"
><A
HREF="docbook.html"
>Prev</A
></TD
><TD
WIDTH="34%"
ALIGN="center"
VALIGN="top"
><A
HREF="docbook.html"
>Home</A
></TD
><TD
WIDTH="33%"
ALIGN="right"
VALIGN="top"
><A
HREF="part1.html"
>Next</A
></TD
></TR
><TR
><TD
WIDTH="33%"
ALIGN="left"
VALIGN="top"
>DocBook</TD
><TD
WIDTH="34%"
ALIGN="center"
VALIGN="top"
> </TD
><TD
WIDTH="33%"
ALIGN="right"
VALIGN="top"
>Introduction</TD
></TR
></TABLE
></DIV
><P
><A
HREF="ln41.html"
>Copyright</A
> © 1999 O'Reilly & Associates, Inc. All rights reserved.</P
></BODY
></HTML
>
|