example-tutorial/en_US article-template.xml, NONE, 1.1 book-template.xml, NONE, 1.1

Paul W. Frields (pfrields) fedora-docs-commits at redhat.com
Sat Feb 3 22:26:10 UTC 2007


Author: pfrields

Update of /cvs/docs/example-tutorial/en_US
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv32326

Added Files:
	article-template.xml book-template.xml 
Log Message:
Add new quick-start templates.


--- NEW FILE article-template.xml ---
<?xml version="1.0" encoding="UTF-8"?>

<!DOCTYPE article PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN"
"http://www.docbook.org/xml/4.4/docbookx.dtd" [

<!ENTITY % FDP-ENTITIES SYSTEM "fdp-entities.ent">
%FDP-ENTITIES;

<!ENTITY % DOC-ENTITIES SYSTEM "doc-entities.ent">
%DOC-ENTITIES;

]>

<!-- If you want to simply create a new document, copy this template to -->

<!-- your own module directory and replace the content with your own -->

<!-- work.  This template is for a DocBook article, which makes it -->

<!-- appropriate for a shorter tutorial with several sections.  If you -->

<!-- are creating a very large document, you should probably start with -->

<!-- the book-template file instead. -->

<article id="my-article">
  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
    href="fdp-info.xml"/>

  <section id="sn-my-first-section">
    <title>My First Section</title>

    <para>
      All work and no play makes Jack a dull boy. All work and no play
      makes Jack a dull boy. All work and no play makes Jack a dull boy.
      All work and no play makes Jack a dull boy. All work and no play
      makes Jack a dull boy. All work and no play makes Jack a dull boy.
      All work and no play makes Jack a dull boy.
    </para>
  </section>

  <section id="sn-my-second-section">
    <title>My Second Section</title>

    <para>
      All work and no play makes Jack a dull boy. All work and no play
      makes Jack a dull boy. All work and no play makes Jack a dull boy.
      All work and no play makes Jack a dull boy. All work and no play
      makes Jack a dull boy. All work and no play makes Jack a dull boy.
      All work and no play makes Jack a dull boy.
    </para>
  </section>
</article>

<!--
Local variables:
mode: xml
fill-column: 72
End:
-->


--- NEW FILE book-template.xml ---
<?xml version="1.0" encoding="UTF-8"?>

<!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN"
"http://www.docbook.org/xml/4.4/docbookx.dtd" [

<!ENTITY % FDP-ENTITIES SYSTEM "fdp-entities.ent">
%FDP-ENTITIES;

<!ENTITY % DOC-ENTITIES SYSTEM "doc-entities.ent">
%DOC-ENTITIES;

]>

<!-- If you want to simply create a new document, copy this template to -->

<!-- your own module directory and replace the content with your own -->

<!-- work.  This template is for a DocBook book, which makes it -->

<!-- appropriate for a longer tutorial with many chapters.  If you -->

<!-- are creating a smaller document, you should probably start with -->

<!-- the article-template file instead. -->

<!-- The best way to organize a book is to use a separate file for each -->

<!-- chapter.  Then use XInclude to organize the chapters in this file. -->

<!-- If you need to change the order of chapters, you can do that in -->

<!-- this file. -->

<!-- NOTE: This file will not validate as written, because there are no -->

<!-- "chapter1.xml" and "chapter2.xml" files. -->

<book id="my-book">
  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
    href="fdp-info.xml" />

  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
    href="chapter1.xml" />

  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
    href="chapter2.xml" />

<!-- And so on... -->
</book>

<!--
Local variables:
mode: xml
fill-column: 72
End:
-->




More information about the docs-commits mailing list