\documentclass[a4paper]{article}
\usepackage{linuxdoc-sgml}
\usepackage{qwertz}
\usepackage{url}
\usepackage{epsfig}
\usepackage{null}
\def\addbibtoc{
\addcontentsline{toc}{section}{\numberline{\mbox{}}\relax\bibname}
}%end-preamble
\title{¡ÒÃãªé sgml-tools ¡ÑºÀÒÉÒä·Â}
\author{\onlynameurl{¾ÙÅÅÒÀ ÇÕÃÐ¸¹ÒºØµÃ}}
\date{\$Id: sgmltools.sgml,v 1.1 1998/09/28 11:26:44 poon-v Exp poon-v \$}
\abstract{àÍ¡ÊÒÃ©ºÑº¨ÐÍ¸ÔºÒÂ¡ÒÃãªéÀÒÉÒä·Â¡Ñº SGML-tools áÅÐ¡ÒÃà¢ÕÂ¹àÍ¡ÊÒÃ SGML àº×éÍ§µé¹à¾×èÍãªé¡Ñº SGML-tools. ¼ÙéÍèÒ¹ÊÒÁÒÃ¶µÔ´µÒÁàÍ¡ÊÒÃ©ºÑºÅèÒÊØ´ä´é·Õè http://www.fedu.uec.ac.jp/ZzzThai/Linux}


\usepackage{thai}
\begin{document}
\maketitle
\tableofcontents

\section{á¹Ð¹Ó SGML-tools}

SGML-tools à»ç¹ªØ´â»Ãá¡ÃÁÊÓËÃÑº·ÓàÍ¡ÊÒÃâ´Â¡ÒÃà¢ÕÂ¹àÍ¡ÊÒÃã¹ÃÙ»áºº¢Í§ SGML 
(Standard Generalized Markup Language) áÅÐãªéâ»Ãá¡ÃÁ¨Ò¡ SGML-tools 
á»Å§à»ç¹àÍ¡ÊÒÃáººÍ×è¹æä´éá¡è àÍ¡ÊÒÃáºº HTML, lyx, latex, dvi, Postscript, plain text, rich text áÅÐ 
GNU info. 

SGML-tools à´ÔÁª×èÍ Linuxdoc-sgml à¢ÕÂ¹¢Öé¹à¾×èÍãªéã¹ \nameurl{http://sunsite.unc.edu/linux}{Linux Document Project (LDP)}. ·ÓãËé¡ÒÃà¢ÕÂ¹àÍ¡ÊÒÃÊÓËÃÑºâ»Ãà¨¤¹ÕéÁÕÃÙ»áººÁÒµÃ°Ò¹·Õèá¹è¹Í¹.
µÒÁËÅÑ¡¢Í§ LDP áÅéÇàÍ¡ÊÒÃ HOWTO µéÍ§à¢ÕÂ¹ã¹ÃÙ»áºº SGML, ÊèÇ¹àÍ¡ÊÒÃ mini-HOWTO ¨Ðà¢ÕÂ¹´éÇÂÃÙ»áºº HTML.
license ¢Í§ LDP ÊÒÁÒÃ¶´Ùä´é¨Ò¡àÍ¡ÊÒÃ \nameurl{ http://sunsite.unc.edu/linux/LDP-COPYRIGHT.html}{Linux Document Project copying License}. «Öè§àÍ¡ÊÒÃàËÅèÒ¹ÕéÁÕ copyright â´Â¤¹·Õèà¢ÕÂ¹áÅÐäÁèãªè 
Public Domain.

¼ÙéÍèÒ¹ÊÒÁÒÃ¶ download SGML-tools àÇÍÃìªÑè¹ÅèÒÊØ´ä´é·Õè \nameurl{http://www.sgmltools.org/download.html}{SGML tools download}. â´Â·ÑèÇä»áÅéÇ SGML-tools ÁÑ¡ÁÒ¾ÃéÍÁæ¡Ñº Linux. 
à¹×èÍ§¨Ò¡ SGML-tools à»ç¹ªØ´â»Ãá¡ÃÁ·Õèá»Å§àÍ¡ÊÒÃà»ç¹àÍ¡ÊÒÃÃÙ»áººÍ×è¹æ 
à¾ÃÒÐ©Ð¹Ñé¹¼Ùéãªé¤ÇÃ¨ÐÁÕâ»Ãá¡ÃÁ·Õè¨Ñ´¡ÒÃàÍ¡ÊÒÃÃÙ»áºº¹Ñé¹æäÇéãªé´éÇÂ ä´éá¡è 
{\ttfamily groff, TeX, LaTeX, flex, gawk} áÅÐ {\ttfamily lyx}. 

ã¹àÍ¡ÊÒÃ©ºÑº¹Õé¨ÐÍ¸ÔºÒÂ¡ÒÃà¢ÕÂ¹àÍ¡ÊÒÃÀÒÉÒä·Âã¹áºº¢Í§ SGML (linuxdoc) àº×éÍ§µé¹ 
à¾×èÍãËé¼ÙéÊ¹ã¨¡ÒÃà¢ÕÂ¹àÍ¡ÊÒÃ HOWTO ÊÓËÃÑº Linux à¢ÕÂ¹àÍ¡ÊÒÃÍÂèÒ§ÁÕ»ÃÐÊÔ·¸ÔÀÒ¾áÅÐÃÙ»áººÁÒµÃ°Ò¹à´ÕÂÇ¡Ñ¹. 
áÅÐ¨ÐÍ¸ÔºÒÂ¡ÒÃãªéÀÒÉÒä·Â¡Ñº¡ÒÃá»Å§àÍ¡ÊÒÃ·Õèá»Å§à»ç¹áºº HTML, LaTeX, áÅÐ text à·èÒ¹Ñé¹.




\section{¡ÒÃà¢ÕÂ¹àÍ¡ÊÒÃã¹ÃÙ»áºº SGML (linuxdoc)}

ËÅÑ¡¡ÒÃà¢ÕÂ¹àÍ¡ÊÒÃáºº SGML ¤ÅéÒÂ HTML ÁÒ¡ ¡ÅèÒÇ¤×Íãªé tags ã¹¡ÒÃ¡ÓË¹´ÃÙ»áºº¢Í§àÍ¡ÊÒÃ.


\subsection{â¤Ã§ÊÃéÒ§¢Í§àÍ¡ÊÒÃ SGML-tools}

â¤Ã§ÊÃéÒ§àÍ¡ÊÒÃ SGML ÊÓËÃÑº SGML-tools ÁÕÃÙ»áºº·ÑèÇä»´Ñ§¹Õé

\begin{tscreen}
\begin{verbatim}
<!doctype linuxdoc system>          
                                    
<article>                           
                                    
<title> DOCUMENT TITLE              
<author> AUTHOR NAME                
<date> DATE                         
<abstract>                          
ABSTRACT HERE                       
</abstract>                    
                                    
<toc> <!-- table of content -->     

<sect> SECTION                      
<p>                                 
CONTENT .......                     
</article>                     
                                    
\end{verbatim}
\end{tscreen}

àÍ¡ÊÒÃ·Õèãªé SGML-tools µéÍ§ÁÕ¤ÓÊÑè§ {\ttfamily $<$!doctype linuxdoc system$>$} ·Ø¡¤ÃÑé§. à¾×èÍà»ç¹¡ÒÃºÍ¡ãËé 
SGML-tools ÃÙéÇèÒ¤ÓÊÑè§(TAG)ã¹àÍ¡ÊÒÃ¹Õé¶Ù¡¡ÓË¹´â´Â linuxdoc. ÃÒÂÅÐàÍÕÂ´·Ò§à·¤¹Ô¤¢Í§ SGML 
ÊÒÁÒÃ¶ÍèÒ¹ä´é¨Ò¡ guide.sgml «Öè§à»ç¹àÍ¡ÊÒÃá¹Ð¹Ó¡ÒÃãªé SGML-tools ·ÕèÁÒ¡ÑºµÑÇâ»Ãá¡ÃÁ.




\subsection{¡ÒÃãªé TAG}

¡ÒÃãªé TAG ã¹ä¿Åì SGML ¤ÅéÒÂæ¡Ñº TAG ¢Í§ HTML ¤×ÍÁÕµÑÇà»Ô´áÅÐ»Ô´. äÇÂ¡Ã³ì·ÑèÇ¤×Í
\begin{tscreen}
\begin{verbatim}
<TAG> phrase </TAG>
\end{verbatim}
\end{tscreen}

¤ÓÊÑè§¢éÒ§º¹ÊÒÁÒÃ¶ÂèÍÊÑé¹æä´é´Ñ§¹Õé
\begin{tscreen}
\begin{verbatim}
<TAG/ phrase /
\end{verbatim}
\end{tscreen}

ã¹¡Ã³ÕËÅÑ§àËÁÒÐÊÓËÃÑº¡ÒÃà¢ÕÂ¹¤ÓÊÑé¹æ áÅÐäÁèàËÁÒÐÊÓËÃÑº¡ÒÃà¢ÕÂ¹ª×èÍä¿ÅìàµçÁæ¢Í§ 
UNIX à¾ÃÒÐÁÕà¤Ã×èÍ§ËÁÒÂ / ÍÂÙè«Öè§¶×Íà»ç¹ÊèÇ¹Ë¹Öè§¢Í§¤ÓÊÑè§.

TAG ºÒ§ª¹Ô´äÁè¨Óà»ç¹µéÍ§ÁÕµÑÇ»Ô´¡çä´éàªè¹ $<$P$>$ «Öè§ËÁÒÂ¶Ö§¤ÓÊÑè§¡Ó¡ÑºÂèÍË¹éÒà»ç¹µé¹. 
ÍÕ¡ÇÔ¸ÕË¹Öè§·ÕèãªéÊÓËÃÑº¡ÒÃÂèÍË¹éÒ¤×Í ¡ÒÃàÇé¹ºÃÃ·Ñ´ÇèÒ§Ë¹Öè§ºÃÃ·Ñ´.




\subsection{à¤Ã×èÍ§ËÁÒÂ¾ÔàÈÉ}

¡ÒÃà¢ÕÂ¹à¤Ã×èÍ§ËÁÒÂ¾ÔàÈÉÁÕ¤ÇÒÁ¨Óà»ç¹àÁ×èÍ¼ÙéãªéµéÍ§¡ÒÃà¢ÕÂ¹µÑÇÍÑ¡ÉÃ·Õèà»ç¹¤ÓÊÑè§àªè¹ 
{\tt\char`\"}$<$ÀÒÉÒä·Â$>${\tt\char`\"} à¾×èÍäÁèãËéá»Åà¤Ã×èÍ§ËÁÒÂ $<$$>$ à»ç¹ TAG 
¼ÙéãªéÊÒÁÒÃ¶à¢ÕÂ¹µÑÇÍÂèÒ§·ÕèáÊ´§ä´éâ´Â {\ttfamily \&lt;}ÀÒÉÒä·Â{\ttfamily \&gt;} à»ç¹µé¹.
à¤Ã×èÍ§ËÁÒÂ¾ÔàÈÉ·ÕèãªéºèÍÂä´éá¡è,
\begin{itemize}
\item à¢ÕÂ¹ {\ttfamily \&amp;} á·¹à¤Ã×èÍ§ËÁÒÂ ampersand (\&), 
\item à¢ÕÂ¹ {\ttfamily \&lt;} á·¹à¤Ã×èÍ§ËÁÒÂ left bracket ($<$),
\item à¢ÕÂ¹ {\ttfamily \&gt;} á·¹à¤Ã×èÍ§ËÁÒÂ right bracket ($>$),
\item à¢ÕÂ¹ {\ttfamily \&etago;} á·¹à¤Ã×èÍ§ËÁÒÂ left bracket with a slash 
({\ttfamily {$<$}/})
\item à¢ÕÂ¹ {\ttfamily \&dollar;} á·¹à¤Ã×èÍ§ËÁÒÂ dollar sign (\$),
\item à¢ÕÂ¹ {\ttfamily \&num;} á·¹à¤Ã×èÍ§ËÁÒÂ hash (\#),
\item à¢ÕÂ¹ {\ttfamily \&percnt;} á·¹à¤Ã×èÍ§ËÁÒÂ percent (\%),
\item à¢ÕÂ¹ {\ttfamily \&tilde;} á·¹à¤Ã×èÍ§ËÁÒÂ tilde (\~{}),
\item à¢ÕÂ¹ {\ttfamily \&dquot;} á·¹à¤Ã×èÍ§ËÁÒÂ double quot {\tt\char`\"}.
\end{itemize}


à¤Ã×èÍ§ËÁÒÂ¾ÔàÈÉÍ×è¹æ·Õèãªéä´é¡Ñº SGML-tools 1.0.x ÊÒÁÒÃ¶´Ùä´é¨Ò¡ {\ttfamily guide.sgml}.




\subsection{¡ÒÃà¢ÕÂ¹¢éÍ¤ÇÒÁáºº verbatim}

àÁ×èÍ¼ÙéãªéµéÍ§¡ÒÃáÊ´§¢éÍ¤ÇÒÁ·ÕèäÁèµéÍ§¡ÒÃãËéá»ÅµÒÁÀÒÉÒ SGML ãËéà¢ÕÂ¹¢éÍ¤ÇÒÁàËÅèÒ¹Ñé¹ã¹ environment 
·Õèª×èÍ verbatim ´Ñ§¹Õé

\begin{tscreen}
\begin{verbatim}
<verb>
This is the verbatim environment.
<> & ; ~ You can write special characters here.
</verb>
\end{verbatim}
\end{tscreen}

µÑÇÍÂèÒ§¢éÒ§¨ÐáÊ´§¼Åà»ç¹´Ñ§¹Õé
\begin{verbatim}
This is the verbatim environment.
<> & ; ~ You can write special characters here.
\end{verbatim}


¡ÒÃãªé {\ttfamily $<$verb;$>$}...{\ttfamily {$<$}}verb$>$/ ÂÑ§äÁèàËÁÒÐ¡Ñº¡ÒÃãªéÀÒÉÒä·Âã¹ SGML 
ÁÒ¡¹Ñ¡à¾ÃÒÐ¢³Ð¹ÕéÂÑ§äÁèÊÒÁÒÃ¶áÊ´§¼ÅÀÒÉÒä·Âã¹ verbatim environment ¢Í§ LaTeX ä´é.
ã¹ verbatim environment ÁÕ¢éÍ¡ÓË¹´¡ÒÃà¢ÕÂ¹ÍÑ¡ÉÃºÒ§µÑÇ´Ñ§¹Õé
\begin{itemize}
\item ãËéà¢ÕÂ¹ {\ttfamily \&ero;} à¾×èÍáÊ´§µÑÇÍÑ¡ÉÃ ampersand, 
\item ãËéà¢ÕÂ¹ {\ttfamily \&etago;} à¾×èÍáÊ´§µÑÇÍÑ¡ÉÃ {\ttfamily {$<$}/},
\item ËéÒÁà¢ÕÂ¹ {\ttfamily $\backslash$end$\{$verbatim$\}$} ã¹ {\ttfamily verb}
environment, «Öè§ÇÅÕ¹Õéà»ç¹¤ÓºÍ¡àÅÔ¡ {\ttfamily verbatim} 
environment ¢Í§ LaTeX.
\end{itemize}


¹Í¡¨Ò¡ {\ttfamily verb} environment áÅéÇÂÑ§ÁÕ environment Í×è¹·Õè¤ÅéÒÂæ¡Ñ¹¤×Í {\ttfamily code}.
µÑÇÍÂèÒ§àªè¹
\begin{tscreen}
\begin{verbatim}
<code>
This is the code environment.
</code>
\end{verbatim}
\end{tscreen}

¡ÒÃáÊ´§¼Å :
\par
\addvspace{\medskipamount}
\nopagebreak\hrule
\begin{verbatim}
This is the code environment.
\end{verbatim} 
\nopagebreak\hrule 
\addvspace{\medskipamount}

{\ttfamily code} environment ¨Ðáµ¡µèÒ§¡Ñº {\ttfamily verb} environment µÃ§·ÕèÁÕàÊé¹¡Ñé¹¢éÍ¤ÇÒÁ(horizontal rule)ãËé.

¼ÙéãªéÂÑ§ÊÒÁÒÃ¶ãªé {\ttfamily tscreen} environment »ÃÐ¡Íº¡Ñº {\ttfamily verb} ËÃ×Í {\ttfamily code} 
à¾×èÍÅè¹¢éÍ¤ÇÒÁ(indent)ä»·Ò§¢ÇÒ. µÑÇÍÂèÒ§àªè¹,
\begin{tscreen}
\begin{verbatim}
<tscreen><verb>
Using verb environmment with tscreen environment.
</verb></tscreen>
\end{verbatim}
\end{tscreen}

¡ÒÃáÊ´§¼Å:
\begin{tscreen}
\begin{verbatim}
Using verb environmment with tscreen environment.
\end{verbatim}
\end{tscreen}


{\ttfamily quote} environment ¤ÅéÒÂ {\ttfamily tscreen} environment ÁÒ¡áµèáµ¡µèÒ§¡Ñ¹µÃ§·ÕèäÁèãªé¿Í¹µì {\ttfamily tt}
(fixed width font) ã¹¡ÒÃáÊ´§¼Å. µÑÇÍÂèÒ§àªè¹,
\begin{tscreen}
\begin{verbatim}
<quote>
This is the quote environment.
</quote>
\end{verbatim}
\end{tscreen}

¡ÒÃáÊ´§¼Å:
\begin{quotation}
This is the quote environment.
\end{quotation}





\subsection{¡ÒÃà¢ÕÂ¹ÃÒÂ¡ÒÃ (list)}

¡ÒÃà¢ÕÂ¹ÃÒÂ¡ÒÃ(list) ÊÒÁÒÃ¶à¢ÕÂ¹ä´é 3 áºº¤×Í
\begin{itemize}
\item {\ttfamily itemize}, à»ç¹ÃÒÂ¡ÒÃ·ÕèäÁèµéÍ§¡ÒÃµÑÇàÅ¢¡Ó¡Ñº
\item {\ttfamily enum}, à»ç¹ÃÒÂ¡ÒÃ·Õè¡Ó¡ÑºµÑÇàÅ¢
\item {\ttfamily descrip}, à»ç¹¡ÒÃÂ¡ËÑÇ¢éÍáÅÐÍ¸ÔºÒÂ»ÃÐ¡Íº
\end{itemize}

µÑÇÍÂèÒ§¡ÒÃà¢ÕÂ¹ÃÒÂ¡ÒÃáºº {\ttfamily itemize}
\begin{tscreen}
{\ttfamily $<$itemize$>$}

{\ttfamily $<$item$>$}ÃÒÂ¡ÒÃ·ÕèË¹Öè§

{\ttfamily $<$item$>$}ÃÒÂ¡ÒÃµèÍä»

{\ttfamily {$<$}}itemize$>$/

\end{tscreen}

¡ÒÃáÊ´§¼Å:
\begin{itemize}
\item ÃÒÂ¡ÒÃ·ÕèË¹Öè§
\item ÃÒÂ¡ÒÃµèÍä»
\end{itemize}

µÑÇÍÂèÒ§¡ÒÃà¢ÕÂ¹ÃÒÂ¡ÒÃáºº {\ttfamily enum},
\begin{tscreen}
{\ttfamily $<$enum$>$}

{\ttfamily $<$item$>$}ÃÒÂ¡ÒÃ·ÕèË¹Öè§

{\ttfamily $<$item$>$}ÃÒÂ¡ÒÃµèÍä»

{\ttfamily {$<$}}enum$>$/

\end{tscreen}

¡ÒÃáÊ´§¼Å:
\begin{enumerate}
\item ÃÒÂ¡ÒÃ·ÕèË¹Öè§
\item ÃÒÂ¡ÒÃµèÍä»
\end{enumerate}


¡ÒÃà¢ÕÂ¹ÃÒÂ¡ÒÃáºº {\ttfamily descrip} ¨Ðáµ¡µèÒ§¨Ò¡µÑÇÍÂèÒ§Í×è¹àÅç¡¹éÍÂ´Ñ§¹Õé
\begin{tscreen}
{\ttfamily $<$descrip$>$}

{\ttfamily $<$tag/}ËÑÇ¢éÍ·ÕèË¹Öè§{\ttfamily /} ¤ÓÍ¸ÔºÒÂ

{\ttfamily $<$tag/}ËÑÇ¢éÍµèÍä»{\ttfamily /} ¤ÓÍ¸ÔºÒÂ

{\ttfamily {$<$}}descrip$>$/

\end{tscreen}

¡ÒÃáÊ´§¼Å:
\begin{description}
\item[ËÑÇ¢éÍ·ÕèË¹Öè§] \mbox{}

¤ÓÍ¸ÔºÒÂ

\item[ËÑÇ¢éÍµèÍä»] \mbox{}

¤ÓÍ¸ÔºÒÂ

\end{description}











\subsection{ÊÃØ»·ÕèãªéºèÍÂ TAG Í×è¹æ}

\begin{description}
\item[$<$article$>$ ... {$<$}/article$>$] \mbox{}

à»ç¹¤ÓÊÑè§ºÍ¡àÃÔèÁàÍ¡ÊÒÃ 
«Öè§¢³Ð¹Õéà¢éÒã¨ÇèÒãªéä´éà©¾ÒÐ article 
à·èÒ¹Ñé¹ ¢éÍ¤ÇÒÁ·ÕèÍÂÙèÃÐËÇèÒ§¹Õé¶×Íà»ç¹à¹×éÍËÒ¢Í§àÍ¡ÊÒÃ áÅÐ¤ÓÊÑè§·ÕèÍÂÙè¡èÍ¹Ë¹éÒ¹Õé¶×Íà»ç¹ preamble.



\item[$<$author$>$] \mbox{}

ãªéÃÐºØª×èÍ¼Ùéà¢ÕÂ¹àÍ¡ÊÒÃ



\item[$<$date$>$] \mbox{}

ãªéÃÐºØÇÑ¹·Õè·Õèà¢ÕÂ¹àÍ¡ÊÒÃ



\item[$<$abstract$>$ ... {$<$}/abstract$>$] \mbox{}

à»ç¹ÊèÇ¹ÊÓËÃÑºà¢ÕÂ¹º·¤Ñ´ÂèÍ Í¸ÔºÒÂà¹×éÍËÒ¢Í§àÍ¡ÊÒÃ



\item[$<$toc$>$] \mbox{}

¤ÓÊÑè§ÊÃéÒ§ÊÒÃºÑ­



\item[$<$p$>$] \mbox{}

ãªéã¹¡ÒÃÂèÍË¹éÒ â´Â»Ã¡µÔáÅéÇ TAG ¹Õé¤ÇÃµÒÁËÅÑ§ {\ttfamily $<$sect$>$} à¾×èÍà»ç¹¡ÒÃºÍ¡ÇèÒ¾ÃéÍÁ·Õè¨Ðà¢ÕÂ¹à¹×éÍËÒËÅÑ§¨Ò¡»ÃÐ¡ÒÈËÑÇ¢éÍ. ¡ÒÃÂèÍË¹éÒÍÕ¡ÇÔ¸ÕË¹Öè§ÊÒÁÒÃ¶·Óä´éâ´Â¡ÒÃàÇé¹ºÃÃ·Ñ´ÇèÒ§Ë¹Öè§ºÃÃ·Ñ´«Öè§¨Ð¹ÔÂÁÁÒ¡¡ÇèÒãªé 
{\ttfamily $<$p$>$}. TAG ¹ÕéäÁè¨Óà»ç¹µéÍ§ÁÕµÑÇ»Ô´·éÒÂ.



\item[$<$sect$>$] \mbox{}

à»ç¹¤ÓÂèÍ¢Í§ section ãªéÊÓËÃÑº¡Ó¡ÑºËÑÇ¢éÍ ã¹¡Ã³Õ¹Õé¨ÐáÊ´§µÑÇàÅ¢ËÑÇ¢éÍà»ç¹ 1, 2, 3, ... 
µÒÁÅÓ´Ñº



\item[$<$sect1$>$] \mbox{}

¤ÓÊÑè§»ÃÐ¡ÒÈËÑÇ¢éÍÂèÍÂ ãªé»ÃÐ¡ÒÈÀÒÂã¹ËÑÇ¢éÍËÅÑ¡. ã¹¡Ã³Õ¨ÐÁÕµÑÇàÅ¢à»ç¹ 1.1, 1.2, 1.3, ...
à»ç¹µé¹. ËÑÇ¢éÍÂèÍÂ¶Ñ´¨Ò¡¹Õé¤×Í {\ttfamily $<$sect2$>$, $<$sect3$>$} áÅÐ {\ttfamily $<$sect4$>$}



\item[$<$tt$>$ ... {$<$}/tt$>$] \mbox{}

à»ç¹¤ÓÊÑè§à»ÅÕèÂ¹¿Í¹µìà»ç¹¿Í¹µì¾ÔÁ¾ì´Õ´(Type writer). 
ÁÑ¡ãªéã¹¡ÒÃà¢ÕÂ¹ª×èÍ¤ÓÊÑè§ à»ç¹µé¹



\item[$<$url url={\tt\char`\"}URL{\tt\char`\"} name={\tt\char`\"}NAME{\tt\char`\"}$>$] \mbox{}

ãªéãÊè URL ã¹à¹×éÍËÒ. ¶éÒá»Å§à»ç¹ 
HTML format, NAME ¨ÐÅÔ§¤ìä»ÂÑ§ URL ¹Ñé¹æ. ¶éÒà»ç¹ text ËÃ×Í LaTeX, ¨ÐáÊ´§´éÇÂª×èÍáÅéÇµÒÁ´éÇÂ·ÕèÍÂÙè URL.



\item[$<$htmlurl url={\tt\char`\"}HTML\_URL{\tt\char`\"} name={\tt\char`\"}NAME{\tt\char`\"}$>$] \mbox{}

ãªéà¢ÕÂ¹ URL ¢Í§ 
HTML àªè¹ {\ttfamily $<$htmlurl url={\tt\char`\"}mailto:poon-v@fedu.uec.ac.jp{\tt\char`\"} name={\tt\char`\"}¾ÙÅÅÒÀ ÇÕÃÐ¸¹ÒºØµÃ{\tt\char`\"}} à»ç¹µé¹



\item[$<$label id={\tt\char`\"}ID{\tt\char`\"}$>$] \mbox{}

ãªéã¹¡ÒÃàÅ×Í¡µÓáË¹è§ÍéÒ§ÍÔ§¢Í§àÍ¡ÊÒÃ. 
¤ÓÊÑè§¹ÕéÁÑ¡ãªé¤Çº¤Ùè¡Ñº¡Ñº¤ÓÊÑè§ {\ttfamily $<$ref id={\tt\char`\"}ID{\tt\char`\"} name={\tt\char`\"}NAME{\tt\char`\"}$>$}



\item[$<$ref id={\tt\char`\"}ID{\tt\char`\"} name={\tt\char`\"}NAME{\tt\char`\"}$>$] \mbox{}

à»ç¹¤ÓÊÑè§ºÍ¡µÓáË¹è§ÍéÒ§ÍÔ§ã¹àÍ¡ÊÒÃ. ¶éÒà»ç¹ HTML format, 
¨Ðà»ç¹¡ÒÃÅÔ§¤ì¡Ñ¹ÀÒÂã¹àÍ¡ÊÒÃ. ¶éÒà»ç¹ LaTeX format ¨Ðà»ç¹¡ÒÃºÍ¡µÓáË¹è§Ë¹éÒ·ÕèÍéÒ§ÍÔ§ à»ç¹µé¹. 

\end{description}

¼ÙéãªéÊÒÁÒÃ¶ÍèÒ¹ÇÔ¸Õ¡ÒÃãªé¤ÓÊÑè§Í×è¹æä´é¨Ò¡ {\ttfamily guide.sgml} ·ÕèÁÒ¡Ñº SGML-tools.

¼ÙéãªéÊÒÁÒÃ¶à¢ÕÂ¹ÀÒÉÒä·Âã¹ä¿Åì SGML ä´éáµèäÁè¤ÇÃà¢ÕÂ¹ÀÒÉÒä·Âã¹ {\ttfamily verb} ËÃ×Í {\ttfamily code} environment 
«Öè§µéÍ§ËÒ·Ò§á¡éä¢¡Ñ¹µèÍä».




\section{¡ÒÃãªé SGML-tools}

¼ÙéãªéÊÒÁÒÃ¶àªç¤äÇÂ¡Ã³ì·Õèà¢ÕÂ¹ã¹ä¿Åì SGML ä´éâ´Â
\begin{tscreen}
\begin{verbatim}
% sgmlcheck foo.sgml
\end{verbatim}
\end{tscreen}

ã¹·Õè¹Õé¨Ð¢Í¡ÅèÒÇ¶Ö§¡ÒÃá»Å§àÍ¡ÊÒÃÀÒÉÒä·Âáºº SGML ãËéà»ç¹àÍ¡ÊÒÃáººÍ×è¹æ à©¾ÒÐáºº Plain Text, HTML áÅÐ LaTeX à·èÒ¹Ñé¹.




\subsection{¡ÒÃ¼ÅÔµàÍ¡ÊÒÃÀÒÉÒä·Âáºº Plain Text}

¼ÙéãªéÊÒÁÒÃ¶á»Å§àÍ¡ÊÒÃÀÒÉÒä·Âáºº SGML ·Õèà¢ÕÂ¹äÇéà»ç¹áºº Plain Text ä´é´éÇÂ¤ÓÊÑè§
\begin{tscreen}
\begin{verbatim}
% sgml2txt -c latin foo.sgml
\end{verbatim}
\end{tscreen}

¶éÒäÁèà¡Ô´¢éÍ¼Ô´¾ÅÒ´ã´æ ¼Ùéãªé¨Ðä´éä¿ÅìãËÁè·Õèª×èÍ {\ttfamily foo.txt} ã¹ä´àÃ¡·ÍÃÕè·Õè·Ó§Ò¹ÍÂÙè.




\subsection{¡ÒÃ¼ÅÔµàÍ¡ÊÒÃÀÒÉÒä·Âáºº HTML}

¼ÙéãªéÊÒÁÒÃ¶á»Å§àÍ¡ÊÒÃÀÒÉÒä·Âáºº SGML ·Õèà¢ÕÂ¹äÇéà»ç¹áºº HTML ä´é´éÇÂ¤ÓÊÑè§
\begin{tscreen}
\begin{verbatim}
% sgml2html foo.sgml
\end{verbatim}
\end{tscreen}

¶éÒäÁèà¡Ô´¢éÍ¼Ô´¾ÅÒ´ã´æ ¼Ùéãªé¨Ðä´éä¿ÅìãËÁè·Õèª×èÍ {\ttfamily foo.html} áÅÐ {\ttfamily foo-1.html, foo-2.html, ...} 
ã¹ä´àÃ¡·ÍÃÕè·Õè·Ó§Ò¹ÍÂÙè. «Öè§ SGML-tools ¨Ðáºè§à»ç¹ä¿ÅìÂèÍÂæµÒÁËÑÇ¢éÍ(section)·ÕèÃÐºØäÇé. ã¹·Õè¹Õé¼ÙéãªéäÁèµéÍ§ãÊè 
option {\ttfamily -c latin}, àÍ¡ÊÒÃ·Õè¼ÅÔµÍÍ¡ÁÒ¨Ðà»ç¹ÃËÑÊ 8-bit «Öè§µÃ§¡ÑºÃËÑÊ tis-620 
ÀÒÉÒä·Â·ÕèãªéÍÂÙèº¹ÍÔ¹àµÍÃìà¹çµ·ÑèÇä». à¾×èÍ¤ÇÒÁÊÐ´Ç¡ã¹¡ÒÃãªé§Ò¹ÂÔè§¢Öé¹, ¼Ùéà¢ÕÂ¹ä´éà¢ÕÂ¹ Perl script 
ÊÓËÃÑºá»Å§àÍ¡ÊÒÃ HTML ·Õèà¢ÕÂ¹ã¹ÃÙ»¢Í§ 
{\ttfamily \&LATIN\_CHAR\_NAME;} ãËéà»ç¹ÃËÑÊ tis-620 áÅÐÁÕ option ÊÑè§ãËéàÃÕÂ¡ {\ttfamily cttex} ÁÒµÑ´¤Óà¾×èÍ¤ÇÒÁÊÇÂ§ÒÁ´éÇÂ.

\begin{tscreen}
\par
\addvspace{\medskipamount}
\nopagebreak\hrule
\begin{verbatim}

#!/usr/bin/perl

################################################################
# sgmlthtml: 
# Run sgml2html and convert latin symbols to Thai characters.
# This program will change, for example, a to "\340".
#
# by Poonlap Veeratanabutr <poon-v@fedu.uec.ac.jp> 
# $Id: sgmlthtml,v 1.1 1998/09/28 06:51:52 poon-v Exp poon-v $
################################################################


sub error {
    print STDERR "usage: $0 [-c] file.sgml\n";
    print STDERR "       -c , use cttex to fill <WBR>\n";
    exit; 
}    

# command line processing.
if( $#ARGV == -1 ){
    &error;
} elsif ( $#ARGV == 0 && $ARGV[0] ne "-c"){
    $file = $ARGV[0];
    $cut = 0;
} elsif ( $#ARGV == 1 ){
    if( $ARGV[0] eq "-c"){
        $cut = 1;
        $file = $ARGV[1];
    } elsif( $ARGV[1] eq "-c"){
        $cut = 1;
        $file = $ARGV[0];
    } else {
        &error;
    }
} else {
    &error;
}

# run sgml2html
if( system( "sgml2html $file" ) != 0 ){
    exit;
}

# lookup table for what to change and not to change
%lookuptbl = (quot, "quot",amp,"amp","lt","lt","gt","gt",copy,"\251",reg,"\256",
              micro,"\265",Agrave,"\300",Aacute,"\301",Acirc,"\302",Atilde,"\303",
              Auml,"\304",Aring,"\305",AElig,"\306",Ccedil,"\307",Egrave,"\310",
              Eacute,"\311",Ecirc,"\312",Euml,"\313",Igrave,"\314",Iacute,"\315",
              Icirc,"\316",Iduml,"\317",ETH,"\320",eth,"\320",Ntilde,"\321",
              Ograve,"\322",Oacute,"\323",Ocirc,"\324",Otilde,"\325",Ouml,"\326",
              Oslash,"\330",Ugrave,"\331",Uacute,"\332",THORN,"THORNÞ",Thorn,"Thron",
              szlig,"\337",agrave,"\340",aacute,"\341",acirc,"\342",atilde,"\343",
              auml,"\344",aring,"\345",aelig,"\346",ccedil,"\347",egrave,"\350",
              eacute,"\351",ecirc,"\352",euml,"\353",igrave,"\354",iacute,"\355",
              icirc,"\356",iuml,"\357",eth,"\360",ntilde,"\361",ograve,"\362",
              oacute,"\363",ocirc,"\364",otilde,"\365",ouml,"\366",oslash,"\370",
              ugrave,"\371",uacute,"\372",ucirc,"\373",uuml,"uuml",yacute,"yacute",
              yuml,"yuml");

# separate directory and file name from the given file name
if( $file =~ /(.*)[\/](.+)$/ ){
    $dir = $1;
    $file = $2;
}
$file =~ s/(.+)\.sgml/$1/; # get rootname

if( length( $dir ) == 0 ){
    opendir( DIR, ".");
} else {
    opendir( DIR, "$dir" );
}
@html = grep {/$file.*\.html$/} readdir( DIR ); # get all related html files
closedir( DIR );

foreach $html_file (@html) {
    print "Processing file $html_file\n";
    open( INPUT, "$html_file");
    open( OUTPUT,">$html_file.tmp" );    
    
    while( <INPUT> ){
        $line = $_;
        $beg = index( $line, "&");
        $end = index( $line, ";");
        while( $beg >= 0  && $end > $beg  ){
            $target = substr( $line, $beg+1, $end-$beg-1);
            $thai = $lookuptbl{ $target };
            if( $target eq $thai ){
                $line = sprintf( "%s%s%s", substr( $line, 0, $beg), '&' . $thai . ';', 
                                substr( $line, $end+1 ));
                
            } else {
                $line = sprintf( "%s%s%s", substr( $line, 0, $beg), $thai, 
                                substr( $line, $end+1 ));
            }
            $beg = index( $line, "&", $beg+1);
            $end = index( $line, ";", $beg);
        }
        print OUTPUT "$line";
    }
    close( INPUT );
    close( OUTPUT );
    if( $cut == 1 ){
        system( "cttex 0 < $html_file.tmp > $html_file" );
        system( "rm -f $html_file.tmp" );
    } else {
        rename( "$html_file.tmp", "$html_file");
    }
}

# EOF
\end{verbatim} 
\nopagebreak\hrule 
\addvspace{\medskipamount}
\end{tscreen}


¼ÙéãªéÊÒÁÒÃ¶àÃÕÂ¡¤ÓÊÑè§ {\ttfamily sgmlthtml} á·¹ {\ttfamily sgml2html} ÊÓËÃÑºàÍ¡ÊÒÃ SGML ·ÕèÁÕÀÒÉÒä·Âä´é´Ñ§¹Õé 
\begin{tscreen}
\begin{verbatim}
% sgmlthtml foo.sgml -c 
\end{verbatim}
\end{tscreen}

¨Ò¡µÑÇÍÂèÒ§´Ñ§¡ÅèÒÇ, {\ttfamily sgmlthtml} ¨ÐàÃÕÂ¡¤ÓÊÑè§ {\ttfamily sgml2html} «Öè§¨Ð¼ÅÔµä¿Åìáºº HTML ËÅÒÂä¿Åì. 
¨Ò¡¹Ñé¹â»Ãá¡ÃÁ {\ttfamily sgmlthtml} 
¨Ð¾ÂÒÂÒÁà»ÅÕèÂ¹ {\ttfamily \&LATIN\_CHAR\_NAME;} ãËéà»ç¹ÃËÑÊ tis-620 (¶éÒÁÕ, â´Â»Ã¡µÔ {\ttfamily sgml2html} 
¨Ð¼ÅÔµä¿Åì·Õèà¼ÍÔ­µÃ§µÒÁ tis-620 ÍÂÙèáÅéÇ) áÅÐàÃÕÂ¡ {\ttfamily cttex} ÁÒµÑ´¤Ó(·Ø¡ä¿Åì·Õèà¡ÕèÂÇ¢éÍ§¡Ñº {\ttfamily foo.sgml})
ãËé¡ÒÃáÊ´§¼Åº¹ browser ÊÇÂ§ÒÁ¢Öé¹. ¡ÒÃ·Õè¨Ðãªé¤ÓÊÑè§¹Õé, ¼ÙéãªéµéÍ§ÁÕâ»Ãá¡ÃÁ {\ttfamily cttex} 
ÍÂÙèã¹ÃÐºº´éÇÂ. ËÒ¡äÁèµéÍ§¡ÒÃãËé {\ttfamily cttex} µÑ´¤Ó, äÁèµéÍ§ãÊè option {\ttfamily -c} ´Ñ§µÑÇÍÂèÒ§
\begin{tscreen}
\begin{verbatim}
% sgmlthtml foo.sgml
\end{verbatim}
\end{tscreen}





\subsection{¡ÒÃ¼ÅÔµàÍ¡ÊÒÃÀÒÉÒä·Âáºº LaTeX}

¼ÙéãªéµéÍ§ÁÕªØ´â»Ãá¡ÃÁ LaTeX áÅÐµÔ´µÑé§ÀÒÉÒä·ÂàÃÕÂºÃéÍÂáÅéÇ¨Ö§¨ÐÊÒÁÒÃ¶á»Å§àÍ¡ÊÒÃ¨Ò¡ 
SGML à»ç¹ LaTeX ä´é. ¡ÒÃµÔ´µÑé§ÀÒÉÒä·Âã¹ LaTeX ÊÒÁÒÃ¶ÍèÒ¹ä´é¨Ò¡àÍ¡ÊÒÃ 
{\tt\char`\"}\nameurl{http://www.fedu.uec.ac.jp/ZzzThai/Linux/thailatex/thailatex}{¡ÒÃãªéÀÒÉÒä·Â¡Ñº LaTeX}{\tt\char`\"}.

¼ÙéãªéÊÒÁÒÃ¶¼ÅÔµàÍ¡ÊÒÃ LaTeX({\ttfamily .tex}) ·ÕèÁÕÀÒÉÒä·Â¨Ò¡àÍ¡ÊÒÃáºº SGML ä´éâ´Â¤ÓÊÑè§
\begin{tscreen}
\begin{verbatim}
% sgml2latex --output=tex foo.sgml
\end{verbatim}
\end{tscreen}


¨Ò¡¤ÓÊÑè§¢éÒ§º¹ {\ttfamily sgml2latex} ¨ÐÊÃéÒ§ä¿Åì {\ttfamily foo.tex} ã¹ä´àÃ¡·ÍÃÕè·Õè·Ó§Ò¹ÍÂÙè.
¼ÙéãªéÂÑ§äÁèÊÒÁÒÃ¶¹Óä¿Åì¹Õéä»ãªé¡Ñº LaTeX ä´éâ´ÂµÃ§, ¨ÐµéÍ§á¡éÊèÇ¹ preamble ¢Í§ä¿Åì¹ÕéàÅç¡¹éÍÂ¡èÍ¹¹Óä»ãªé¡Ñº 
{\ttfamily cttex} áÅÐ {\ttfamily latex} µèÍä».

¼ÙéãªéµéÍ§ÅººÃÃ·Ñ´µèÍä»¹ÕéÍÍ¡¨Ò¡ preamble ¢Í§ä¿Åì {\ttfamily foo.tex} 
\begin{tscreen}
\begin{verbatim}
\usepackage[latin1]{inputenc}
\usepackage{t1enc}
\usepackage{babel}
\end{verbatim}
\end{tscreen}

áÅÐãÊèºÃÃ·Ñ´µèÍä»¹Õéá·¹Å§ä»á·¹
\begin{tscreen}
\begin{verbatim}
\usepackage{thai}
\end{verbatim}
\end{tscreen}

¨Ò¡¹Ñé¹¨Ö§ÊÑè§¤ÓÊÑè§ {\ttfamily cttex} áÅÐ {\ttfamily latex} µÒÁÅÓ´Ñº´Ñ§µÑÇÍÂèÒ§
\begin{tscreen}
\begin{verbatim}
% cttex < foo.tex > foo_ok.tex
% latex foo_ok.tex
\end{verbatim}
\end{tscreen}


¨ÐàËç¹ä´éÇèÒà¹×èÍ§¨Ò¡ SGML-tools äÁèä´é¼ÅÔµÁÒà¾×èÍãªé¡ÑºÀÒÉÒä·Ââ´Âà©¾ÒÐ¨Ö§ãªéÂØè§ÂÒ¡. 
¼Ùéà¢ÕÂ¹¾ÂÒÂÒÁÅ´¢Ñé¹µÍ¹àËÅèÒ¹Õéâ´Âà¢ÕÂ¹ Perl script ª×èÍ {\ttfamily sgmltlatex} ·ÓË¹éÒ·ÕèµèÒ§æàËÅèÒ¹Õéâ´ÂÍÑµâ¹ÁÑµÔ.

\begin{tscreen}
\par
\addvspace{\medskipamount}
\nopagebreak\hrule
\begin{verbatim}

#!/usr/bin/perl

###############################################################################
#  sgmltlatex:
#  Processing SGML or LaTeX file for Thai language.
#  
#
#  by Poonlap Veeratanabutr <poon-v@fedu.uec.ac.jp>
#  $Id: sgmltools.sgml,v 1.1 1998/09/28 11:26:44 poon-v Exp poon-v $
###############################################################################
sub error {
    print STDERR "$0 - Processing SGML or LaTeX file for Thai language.\n";
    print STDERR "usage: $0 [-[t|d|p] sgml_file] [-l latex_file] \n";
    print STDERR "       -t , create latex_file file from sgml_file\n";
    print STDERR "       -d , create dvi file from sgml_file and leave latex_file\n";
    print STDERR "       -p , create Postscript file and leave latex_file\n";
    print STDERR "       -l , run latex on latex_file\n";
    exit( -1 );
}

# command line processing
if( $#ARGV != 1 ){
    &error;
} elsif ( $ARGV[0] eq "-l" ){
    $option = "l";
} elsif ( $ARGV[0] eq "-t" ){
    $option = "t";
} elsif ( $ARGV[0] eq "-d" ){
    $option = "d";
} elsif ( $ARGV[0] eq "-p" ){
    $option = "p";
} else {
    &error;
}
$file = $ARGV[1];
$tempfile = "$file" . ".tmp";

if( $option ne "l" ){
    if( system( "sgml2latex --output=tex $file" ) != 0 ){
        exit( -1 );
    }
    
# separate directory and file name from the given file name
    if( $file =~ /(.*)[\/](.+)$/ ){
        $dir = $1;
        $file = $2;
    }
    
    if( $file =~ m/(.+)\.sgml$/ ){
        $rootname = "$1";
    } else {
        $rootname = $file;
    }
    $file = $rootname . ".tex";
    
    print "Processing file $file\n";

    open( INPUT, "$file" );
    open( OUTPUT, ">" . "$tempfile" );
    $preamble = 1;
    while( <INPUT> ){
        if( $preamble == 1 ){
            if( /^\\begin\s*{\s*document\s*}\s*$/ ){
                print OUTPUT "\\usepackage{thai}\n";
                $preamble = 0;
                break;
            }
            s/^\\usepackage.*{\s*inputenc.*}\n//;
            s/^\\usepackage.*{\s*babel.*}\n//;
            s/^\\usepackage.*{\s*t1enc.*}\n//;
            print OUTPUT;
            
        } else {
            print OUTPUT;
        }
    }
    close( INPUT );
    close( OUTPUT );

    
} else {
    unless( $file =~ m/(.+)\.tex$/ ){
        print STDERR "$0 needs .tex file\n";
        &error;
    }
    rename( "$file", "$tempfile" );
}


if( $option eq "t" ){
    rename( "$tempfile", "$file" );
    exit( 0 );
} else {
    system( "cttex < $tempfile > $file" );
    system( "latex $file" );
    rename( "$tempfile", "$file" );
} 

if( $option eq "p" ){
    $psfile = "$rootname" . ".ps";
    $dvifile = "$rootname" . ".dvi";
    system( "dvips -o $psfile $dvifile" );
}

exit( 0 );

#EOF
    
\end{verbatim} 
\nopagebreak\hrule 
\addvspace{\medskipamount}
\end{tscreen}
    

¼ÙéãªéÊÒÁÒÃ¶àÃÕÂ¡¤ÓÊÑè§ {\ttfamily sgmltlatex} á·¹ {\ttfamily sgml2latex} ÊÓËÃÑºàÍ¡ÊÒÃ SGML ·ÕèÁÕÀÒÉÒä·Â. 
¶éÒµéÍ§¡ÒÃ¼ÅÔµàÍ¡ÊÒÃáºº {\ttfamily .dvi},
\begin{tscreen}
\begin{verbatim}
% sgmltlatex -d foo.sgml
\end{verbatim}
\end{tscreen}

ËÒ¡äÁèÁÕ¢éÍ¼Ô´¾ÅÒ´à¡Ô´¢Öé¹, ¨Ðä´é {\ttfamily foo.dvi} ã¹ä´àÃ¡·ÍÃÕè·Õè·Ó§Ò¹ÍÂÙè. ¶éÒµéÍ§¡ÒÃ¼ÅÔµä¿Åìáºº Postscript 
ãËéÊÑè§¤ÓÊÑè§
\begin{tscreen}
\begin{verbatim}
% sgmltlatex -p foo.sgml
\end{verbatim}
\end{tscreen}

ËÃ×Í¶éÒµéÍ§¡ÒÃ¼ÅÔµàÍ¡ÊÒÃáºº LaTeX ({\ttfamily .tex}) ãËéãªé¤ÓÊÑè§
\begin{tscreen}
\begin{verbatim}
% sgmltlatex -t foo.sgml
\end{verbatim}
\end{tscreen}

ã¹¡Ã³Õ·Õèãªé option {\tt\char`\"}{\ttfamily d}{\tt\char`\"} ËÃ×Í {\tt\char`\"}{\ttfamily p}{\tt\char`\"} ËÃ×Í {\tt\char`\"}{\ttfamily t}{\tt\char`\"} 
¨Ðä´éä¿Åìáºº LaTeX ({\ttfamily .tex}) ´éÇÂ. ¼ÙéãªéÊÒÁÒÃ¶á¡éä¢à¹×éÍËÒã¹ {\ttfamily foo.tex} áÅéÇÊÑè§¤ÓÊÑè§´Ñ§¹Õé
\begin{tscreen}
\begin{verbatim}
% sgmltlatex -l foo.tex
\end{verbatim}
\end{tscreen}

¤ÓÊÑè§¹Õé¨ÐàÃÕÂ¡ {\ttfamily cttex} ÁÒµÑ´¤ÓáÅÐÊè§µèÍãËé {\ttfamily latex} ¨Ñ´¡ÒÃ. ËÅÑ§¨Ò¡¹Ñé¹ {\ttfamily sgmltlatex} ¨ÐºÑ¹·Ö¡ä¿Åì 
{\ttfamily foo.tex} ã¹ÃÙ»·Õè¼ÙéãªéÊÒÁÒÃ¶á¡éä¢ä´éÍÕ¡. «Öè§ËÁÒÂ¤ÇÒÁÇèÒ¼ÙéãªéäÁèÁÕ¤ÇÒÁ¨Óà»ç¹µéÍ§ÊÑè§ {\ttfamily cttex} áÅÐ 
{\ttfamily latex} ¾ÃéÍÁ¡Ñ¹ÍÕ¡.

à¹×èÍ§¨Ò¡àÍ¡ÊÒÃáºº LaTeX ·Õè¼ÅÔµâ´Â SGML-tools µéÍ§¡ÒÃ {\ttfamily linuxdoc-sgml.sty, qwertz.sty, url.sty, epsfig.sty} áÅÐ {\ttfamily null.sty} ã¹¡ÒÃ¼ÅÔµä¿Åì {\ttfamily .dvi} ¼ÙéãªéµéÍ§ configure â»Ãá¡ÃÁ 
{\ttfamily latex} ãËéÃÙéÇèÒä¿ÅìàËÅèÒ¹ÕéÍÂÙè·ÕèäË¹´éÇÂ. ÇÔ¸Õ·Õè§èÒÂ·ÕèÊØ´¤×Í¡çÍ»»Õéä¿ÅìàËÅèÒ¹Õé«Öè§ã¹¡Ã³Õ¢Í§¼Ùéà¢ÕÂ¹¨ÐÍÂÙèãµéä´àÃ¡·ÍÃÕè 
/usr/local/lib/sgml-tools/ ÁÒäÇé·Õèä´àÃ¡·ÍÃÕè·ÕèÁÕä¿Åì {\ttfamily .tex} ÍÂÙèËÃ×Í·Ó symbolic link ¡çä´é.




\section{º·ÊÃØ»}

¡ÒÃà¢ÕÂ¹àÍ¡ÊÒÃ HOWTO ´éÇÂÀÒÉÒ SGML áÅÐãªé SGML-tools ã¹¡ÒÃá»Å§à»ç¹àÍ¡ÊÒÃÃÙ»áººÍ×è¹æ 
·ÓãËé¡ÒÃà¢ÕÂ¹àÍ¡ÊÒÃÁÕÃÐººÃÐàºÕÂº¡ÇèÒ¡ÒÃà¢ÕÂ¹àÍ¡ÊÒÃÃÙ»áººÍ×è¹æ. 
ÊÐ´Ç¡ã¹¡ÒÃá¡éä¢àÍ¡ÊÒÃà¾ÃÒÐÊÒÁÒÃ¶á¡é¨Ò¡ä¿Åì SGML à´ÕÂÇ¡çÊÒÁÒÃ¶á¡éàÍ¡ÊÒÃÃÙ»áººÍ×è¹æä´é´éÇÂ. 
¶éÒËÒ¡ÁÕàÍ¡ÊÒÃ¨Ó¹Ç¹ÁÒ¡, ÂÑ§ÊÒÁÒÃ¶µÕ¾ÔÁ¾ìà»ç¹Ë¹Ñ§Ê×Íä´é§èÒÂâ´Âãªé LaTeX ¨Ñ´¡ÒÃä¿ÅìµèÒ§æ «Öè§Ë¹Ñ§Ê×Íà¡ÕèÂÇ¡Ñº HOWTO 
¢Í§ Linux ¡çãªéÇÔ¸Õ¹Õéã¹¡ÒÃ¾ÔÁ¾ìà»ç¹Ë¹Ñ§Ê×Í¢ÒÂ.

¡ÒÃãªéÀÒÉÒä·Â¾Í¨Ð·Óä´éã¹ÃÐ´ÑºË¹Öè§áÅÐµéÍ§¡ÒÃ¡ÒÃ¾Ñ²¹ÒµèÍä». 






\section{áËÅè§¢éÍÁÙÅà¾ÔèÁàµÔÁ}

\begin{itemize}
\item  \nameurl{http://www.sgmltools.org}{SGML-tools Homepage}
\item  \nameurl{http://www.fedu.uec.ac.jp/ZzzThai/Linux/thailatex/}{¡ÒÃãªéÀÒÉÒä·Â¡Ñº LaTeX}
\item  {\ttfamily guide.sgml} áÅÐ {\ttfamily example.sgml} «Öè§ÁÒ¡Ñº SGML-tools
\end{itemize}




\end{document}
