TAILIEUCHUNG - DocBox the Definitive Guide-Chapter 2. Creating DocBook Documents

Tham khảo tài liệu 'docbox the definitive guide-chapter 2. creating docbook documents', công nghệ thông tin, kỹ thuật lập trình phục vụ nhu cầu học tập, nghiên cứu và làm việc hiệu quả | Chapter 2. Creating DocBook Documents This chapter explains in concrete practical terms how to make DocBook documents. It s an overview of all the kinds of markup that are possible in DocBook documents. It explains how to create several kinds of DocBook documents books sets of books chapters articles and reference manual entries. The idea is to give you enough basic information to actually start writing. The information here is intentionally skeletal you can find the details in the reference section of this book. Before we can examine DocBook markup we have to take a look at what an SGML or XML system requires. . Making an SGML Document SGML requires that your document have a specific prologue. The following sections describe the features of the prologue. . An SGML Declaration SGML documents begin with an optional SGML Declaration. The declaration can precede the document instance but generally it is stored in a separate file that is associated with the DTD. The SGML Declaration is a grab bag of SGML defaults. DocBook includes an SGML Declaration that is appropriate for most DocBook documents so we won t go into a lot of detail here about the SGML Declaration. In brief the SGML Declaration describes among other things what characters are markup delimiters the default is angle brackets what characters can compose tag and attribute names usually the alphabetical and numeric characters plus the dash and the period what characters can legally occur within your document how long SGML names and numbers can be what sort of minimizations abbreviation of markup are allowed and so on. Changing the SGML Declaration is rarely necessary and because many tools only partially support changes to the declaration changing it is best avoided if possible. Wayne Wholer has written an excellent tutorial on the SGML Declaration if you re interested in more details see http cover . . A Document Type Declaration All SGML documents must begin with a

TỪ KHÓA LIÊN QUAN
Đã phát hiện trình chặn quảng cáo AdBlock
Trang web này phụ thuộc vào doanh thu từ số lần hiển thị quảng cáo để tồn tại. Vui lòng tắt trình chặn quảng cáo của bạn hoặc tạm dừng tính năng chặn quảng cáo cho trang web này.