<!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook V4.1//EN"[
<!ENTITY doc.date     CDATA "$hrs$">
<!ENTITY doc.title    CDATA "SGML を使って文書を管理する試み">
<!ENTITY doc.subtitle CDATA "">
<!ENTITY % output.html  "IGNORE">
<!ENTITY % output.print "IGNORE">
]>

<book>
  <bookinfo>
    <title>&doc.title;</title>

    <author>
      <firstname>Hiroki</firstname><surname>Sato</surname>
    </author>

    <author role="family-given">
      <surname>佐藤</surname>
      <firstname>広生</firstname>
    </author>

    <copyright>
      <year>2000</year>
      <year>2001</year>
      <year>2002</year>
      <holder>Hiroki Sato/HRS</holder>
    </copyright>

    <pubdate>&doc.date;</pubdate>

  </bookinfo>
  
  <chapter id="introduction">
    <title>はじめに</title>

    <sect1 id="whatisthis">
      <title>この文書は何?</title>
      
      <para>これは佐藤が SGML を理解することを目的として作成している文書です。
        SGML の設定や DSSSL のプログラミングのためのダミー文書ですので、
        内容はあまり意味がありません。</para>

      <figure>
        <title>画像表示の例</title>
        <mediaobject>
          <imageobject>
            <imagedata fileref="devnull.eps" format="eps">
          </imageobject>
          <imageobject>
            <imagedata fileref="devnull.jpeg" format="jpeg">
          </imageobject>
        </mediaobject>
      </figure>

      <para>このページのソースは、佐藤 <email>hrs@jp.FreeBSD.org</email> が
        DocBook DTD + DSSSL を Jade で処理して HTML ファイルを生成する
        ことに興味のある方向けに公開しているものです。
        特に権利は主張しませんのでご自由にお使いください。
        どのような目的で利用されるのか興味があるので、
        もしよろしければ教えて頂けると幸いです。</para>

      <para>文書を build するには、<filename>Makefile.dsssl</filename>
        を使って</para>

      <screen><prompt>%</prompt> <command>make</command> <option>-f</option> <filename>Makefile.dsssl</filename> [FORMAT=<replaceable>format</replaceable>]</screen>

      <para>とします。
        <replaceable>format</replaceable> は
        sgml, tex, rtf の出力フォーマットが指定できます。
        FORMAT= は省略可能で、省略した場合は SGML (HTML DTD) で出力されます。
      </para>

      <figure>
        <title>使用している DSSSL スタイルシート</title>

        <programlisting><inlinegraphic fileref="./article.dsl" format="linespecific"></programlisting>
      </figure>

      <sect2 id="links">
        <title>テキストマークアップ言語の関連サイト</title>
        
        <sect3>
          <title>SGML</title>
          
          <itemizedlist>
            <listitem><para><ulink url="http://www-tei.uic.edu/orgs/tei/sgml/teip3sg/index.html">
                  A Gentle Introduction to SGML</ulink></para></listitem>

            <listitem><para><ulink url="http://www.oasis-open.org/">
                  the DocBook Technical Committee of OASIS</ulink></para></listitem>

            <listitem><para><ulink url="http://docbook.org/">
                  DocBook: The Definitive Guide</ulink></para></listitem>

            <listitem><para><ulink url="http://www.jclark.com/sp/">
                  SP - SGML parser by James Clark</ulink></para></listitem>

            <listitem><para><ulink url="http://www.oac.uci.edu/indiv/ehood/perlSGML.html">
                  perlSGML - SGML document manipulation package</ulink></para></listitem>
          </itemizedlist>
        </sect3>
        
        <sect3>
          <title>XML</title>

          <itemizedlist>
            <listitem><para><ulink url="http://www.w3.org/TR/REC-xml">
                  The XML Specification</ulink></para></listitem>

            <listitem><para><ulink url="http://nwalsh.com/docs/articles/xml/">
                  A Technical Introduction to XML</ulink></para></listitem>
          </itemizedlist>
        </sect3>
        
        <sect3>
          <title>HTML</title>

          <itemizedlist>
            <listitem><para><ulink url="http://www.w3.org/TR/REC-html">
                  The HTML Specification</ulink></para></listitem>
          </itemizedlist>
        </sect3>
        
        <sect3>
          <title>DSSSL Stylesheet</title>
          
          <itemizedlist>
            <listitem><para><ulink url="http://www.jclark.com/jade/">
                  Jade - DSSSL engine by James Clark</ulink></para></listitem>
          
            <listitem><para><ulink url="http://nwalsh.com/docbook/dsssl/">
                  The Modular DocBook Stylesheets by Norman Walsh</ulink></para></listitem>
          </itemizedlist>
        </sect3>
        
        <sect3>
          <title>CSS - Cascading StyleSheet</title>
          
          <itemizedlist>
            <listitem><para><ulink url="http://www.w3.org/TR/REC-CSS">
                  The Cascading Stylesheet Specification</ulink></para></listitem>
          </itemizedlist>
        </sect3>
        
        <sect3>
          <title>XSL Stylesheet</title>
        
          <itemizedlist>
            <listitem><para><ulink url="">
                  ..</ulink></para></listitem>
          </itemizedlist>
        </sect3>
      </sect2>
    </sect1>
  </chapter>
</book>
