Home | 简体中文 | 繁体中文 | 杂文 | 打赏(Donations) | ITEYE 博客 | OSChina 博客 | Facebook | Linkedin | 知乎专栏 | Search | Email

第 4 章 DOCTYPE

目录

4.1. SYSTEM
4.2. DTD 引用
4.2.1. 引用本地DTD
4.2.2. oasis-open.org
4.3. article
4.4. book
4.5. include
4.6. Docbook HTML 输出选项
4.6.1. 指定多页输出时html文档名
4.6.2. 指定输出路径
4.6.3. 包含HTML文件
4.6.4. 包含HTML节点
4.6.5. 图标
4.6.5.1. Admonition graphics
4.6.5.2. 导航图标
4.6.5.3. Callout icons
4.6.6. dbhtml-include

4.1. SYSTEM

在线引用DOCTYPE头,这样在创建文档的时候速度会比较慢。

		
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook V5.0//EN"
"http://www.oasis-open.org/docbook/xml/5.0/docbook.dtd">
		
		

我们也可使使用本地的DTD文件

		
<!DOCTYPE subject SYSTEM "/usr/share/xml/docbook/schema/dtd/4.5/docbookx.dtd" [
	<!ENTITY book.info.author.xml			SYSTEM "../common/book.info.author.xml">
	<!ENTITY book.info.legalnotice.xml		SYSTEM "../common/book.info.legalnotice.xml">
	<!ENTITY book.info.abstract.xml			SYSTEM "../common/book.info.abstract.xml">
    <!ENTITY book.preface.xml           	SYSTEM "../common/book.preface.xml">
	<!ENTITY preface.about.me.xml       	SYSTEM "../common/about.me.xml">

	<!ENTITY chapter.docbook 			 	SYSTEM "chapter.docbook.xml">
	<!ENTITY chapter.docbook.doctype.xml 	SYSTEM "chapter.docbook.doctype.xml">
	<!ENTITY chapter.docbook.list.xml	 	SYSTEM "chapter.docbook.list.xml">
	<!ENTITY chapter.docbook.paragraphs.xml	SYSTEM "chapter.docbook.paragraphs.xml">
	<!ENTITY chapter.docbook.admonition.xml	SYSTEM "chapter.docbook.admonition.xml">
	<!ENTITY chapter.docbook-website.xml	SYSTEM "chapter.docbook-website.xml">
	<!ENTITY chapter.docbook.epub.xml	 	SYSTEM "chapter.docbook.epub.xml">
]>
		
		
		
<!DOCTYPE article PUBLIC "-//FreeBSD//DTD DocBook XML V4.5-Based Extension//EN" "../../../share/xml/freebsd45.dtd">