summaryrefslogtreecommitdiffstats
path: root/docs-tutorial-zh_CN.xml
diff options
context:
space:
mode:
authorYuan Yijun <bbbush.yuan@gmail.com>2005-12-09 15:28:54 +0000
committerYuan Yijun <bbbush.yuan@gmail.com>2005-12-09 15:28:54 +0000
commit770e67eac5f36ae100306a21672c8c9ed90b2681 (patch)
tree3576e110b3374a8bf7fe5c6e1fa8d42c7e1d10d2 /docs-tutorial-zh_CN.xml
parentf7e5642cf4f7d306a805eb251f01547a4112f362 (diff)
downloaddocumentation-guide-770e67eac5f36ae100306a21672c8c9ed90b2681.tar.gz
documentation-guide-770e67eac5f36ae100306a21672c8c9ed90b2681.tar.xz
documentation-guide-770e67eac5f36ae100306a21672c8c9ed90b2681.zip
*** empty log message ***
Diffstat (limited to 'docs-tutorial-zh_CN.xml')
-rw-r--r--docs-tutorial-zh_CN.xml72
1 files changed, 72 insertions, 0 deletions
diff --git a/docs-tutorial-zh_CN.xml b/docs-tutorial-zh_CN.xml
new file mode 100644
index 0000000..28af5dd
--- /dev/null
+++ b/docs-tutorial-zh_CN.xml
@@ -0,0 +1,72 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- $Id: docs-tutorial-zh_CN.xml,v 1.1 2005/12/09 15:28:54 bbbush Exp $ --><chapter id="ch-tutorial">
+ <title>文档的布局</title>
+ <para>在本章您将看到 &PROJECT; 文档中,主控文件的示例。这个示例与 Docs Project 处理 DocBook XML 的方式相关。主控文件包含文档的主要结构,以及到定义公共实体的文件的链接,还包括定义文档版本和日期的实体。</para>
+ <sect1 id="s1-tutorial-parent">
+ <title>主控文件</title>
+ <para>下面是一个简单的主控文件</para>
+ <screen>
+ <computeroutput>
+&lt;!DOCTYPE article PUBLIC "-//OASIS//DTD DocBook XML V4.2//EN"
+ "http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd" [
+
+&lt;!ENTITY % FEDORA-ENTITIES-EN SYSTEM "../common/fedora-entities-en.xml"&gt;
+%FEDORA-ENTITIES-EN;
+
+&lt;!ENTITY VERSION "0.1"&gt; &lt;!-- change version of tutorial here --&gt;
+
+&lt;!ENTITY BOOKID "example-tutorial-&amp;VERSION; (2003-07-07)"&gt; &lt;!-- change last modified date here --&gt;
+
+&lt;!ENTITY LEGALNOTICE SYSTEM "../common/legalnotice-en.xml"&gt;
+
+
+]&gt;
+
+&lt;article id="example-tutorial" lang="en"&gt;
+ &lt;articleinfo&gt;
+ &lt;title&gt;Example Tutorial&lt;/title&gt;
+ &lt;copyright&gt;
+ &lt;year&gt;2003&lt;/year&gt;
+ &lt;holder&gt;&FORMAL-RHI;&lt;/holder&gt;
+ &lt;holder&gt;Tammy Fox&lt;/holder&gt;
+ &lt;/copyright&gt;
+ &lt;authorgroup&gt;
+ &lt;author&gt;
+ &lt;surname&gt;Fox&lt;/surname&gt;
+ &lt;firstname&gt;Tammy&lt;/firstname&gt;
+ &lt;/author&gt;
+ &lt;/authorgroup&gt;
+ &amp;LEGALNOTICE;
+ &lt;/articleinfo&gt;
+
+ &lt;section id="some-section"&gt;
+ &lt;title&gt;Some Section&lt;/title&gt;
+
+ &lt;para&gt;
+ This is an example section. You can also use sect1, sect2, etc.
+ &lt;/para&gt;
+
+ &lt;warning&gt;
+ &lt;title&gt;Warning&lt;/title&gt;
+ &lt;para&gt;
+ Example of an admonition.
+ &lt;/para&gt;
+ &lt;/warning&gt;
+
+ &lt;/section&gt;
+
+&lt;index id="generated-index"&gt;&lt;/index&gt;
+&lt;/article&gt;
+</computeroutput>
+ </screen>
+ </sect1>
+ <sect1 id="s1-tutorial-license">
+ <title>包含许可信息</title>
+ <indexterm>
+ <primary>文档版式</primary>
+ <secondary>许可</secondary>
+ </indexterm>
+ <para>所有 &PROJECT; 手册 <emphasis>必须</emphasis> 包含文件 <filename>legalnotice.xml</filename>。这个文件包含了 GNU Free Documentation License (FDL) 的文本。</para>
+ <para>示例主控文件显示了如何包含它们。</para>
+ </sect1>
+</chapter>