*** empty log message ***
authorhanda <handa>
Mon, 23 Jun 2003 06:39:31 +0000 (06:39 +0000)
committerhanda <handa>
Mon, 23 Jun 2003 06:39:31 +0000 (06:39 +0000)
Makefile.am
data-usr/conclusion.tex
data-usr/mainpage.c
doxyfile.in
styles/doxygen-m17n.sty

index aa0b136..d9e3d32 100644 (file)
@@ -45,9 +45,9 @@ usr-html html-usr: usr/html/index.html
 ja-html html-ja: ja/html/index.html
 dev-html html-dev: dev/html/index.html
 
-usr-latex latex-usr: usr/latex/refman.ps
-ja-latex latex-ja: ja/latex/refman.ps
-dev-latex latex-dev: dev/latex/refman.ps
+usr-latex latex-usr: usr/latex/m17nlib.ps
+ja-latex latex-ja: ja/latex/m17nlib.ps
+dev-latex latex-dev: dev/latex/m17nlib.ps
 
 usr-man man-usr: man/man3m/m17nIntro.3m
 
@@ -129,21 +129,22 @@ doxyfile-man.usr: doxyfile Makefile
        rm -rf `dirname $@`
        ${DOXYGEN} $<
 
-%/latex/refman.tex: doxyfile-latex.% ${UTILPATH}/refman-filter.awk ${SRCFILES}
+%/latex/refman.tex: doxyfile-latex.% ${SRCFILES} data-%/mainpage.c
        rm -rf `dirname $@`
-       ${DOXYGEN} $<; \
-       awk -f ${UTILPATH}/refman-filter.awk < $@ > temp; \
-       mv temp $@
+       ${DOXYGEN} $<
+
+%/latex/m17nlib.tex: %/latex/refman.tex ${UTILPATH}/refman-filter.sed
+       sed -f ${UTILPATH}/refman-filter.sed < $< > $@
 
-ja/latex/refman.ps: ja/latex/refman.tex ${UTILPATH}/run-latex.sh ${LATEX_JA}
+ja/latex/m17nlib.ps: ja/latex/m17nlib.tex ${UTILPATH}/run-latex.sh ${LATEX_JA}
        ${UTILPATH}/run-latex.sh @abs_srcdir@ ja
        emacs -batch -q -l ${UTILPATH}/mokuji.el -f write-mokuji ja
 
-usr/latex/refman.ps: usr/latex/refman.tex ${UTILPATH}/run-latex.sh ${LATEX_USR}
+usr/latex/m17nlib.ps: usr/latex/m17nlib.tex ${UTILPATH}/run-latex.sh ${LATEX_USR}
        ${UTILPATH}/run-latex.sh @abs_srcdir@ usr
        emacs -batch -q -l ${UTILPATH}/mokuji.el -f write-mokuji usr
 
-dev/latex/refman.ps: dev/latex/refman.tex ${UTILPATH}/run-latex.sh ${LATEX_DEV}
+dev/latex/m17nlib.ps: dev/latex/m17nlib.tex ${UTILPATH}/run-latex.sh ${LATEX_DEV}
        ${UTILPATH}/run-latex.sh @abs_srcdir@ dev
        emacs -batch -q -l ${UTILPATH}/mokuji.el -f write-mokuji dev
 
@@ -153,7 +154,7 @@ doxyhead.txt: sample.c ${UTILPATH}/mkheaderlist.rb
        rm -rf `dirname $@`
        ${DOXYGEN} $<
 
-man/man3m/m17nIntro.3m: usr/man/man3/m17nIntro.3m sample.c ${UTILPATH}/mkman.rb 
+man/man3m/%.3m: usr/man/man3/%.3m sample.c ${UTILPATH}/mkman.rb 
        -${DOXYGEN} -g doxytemp
        echo "INPUT = sample.c" >> doxytemp
        echo "GENERATE_LATEX = NO" >> doxytemp
@@ -166,11 +167,18 @@ man/man3m/m17nIntro.3m: usr/man/man3/m17nIntro.3m sample.c ${UTILPATH}/mkman.rb
        ruby ${UTILPATH}/mkman.rb usr
        rm -rf doxytemp sample
 
-man/ja/man3m/m17nIntro.3m: ja/man/man3/m17nIntro.3m doxyhead.txt ${UTILPATH}/mkman.rb 
+man/ja/man3m/%.3m: ja/man/man3/%.3m sample-ja.c ${UTILPATH}/mkman.rb 
+       -${DOXYGEN} -g doxytemp
+       echo "INPUT = sample.c" >> doxytemp
+       echo "GENERATE_LATEX = NO" >> doxytemp
+       echo "GENERATE_HTML = NO" >> doxytemp
+       echo "GENERATE_MAN = YES" >> doxytemp
+       echo "MAN_OUTPUT = sample" >> doxytemp
+       echo "OPTIMIZE_OUTPUT_FOR_C  = yes" >> doxytemp
+       ${DOXYGEN} doxytemp
        [ -d "man/ja/man3m" ] || mkdir -p man/ja/man3m
        ruby ${UTILPATH}/mkman.rb ja
-
-.PRECIOUS: %/latex/refman.tex
+       rm -rf doxytemp sample
 
 CLEANFILES = doxyfile doxyfile-*.* m17n.tag warning \
        */html/index.html */latex/refman.*
index 3b1fd72..46bb045 100644 (file)
@@ -2,3 +2,4 @@
 
 \section{conclusion}
 
+This is a test conclusion text.
index 9612a06..ad5006a 100644 (file)
@@ -1,13 +1,34 @@
 /***en
-    @mainpage My main page.
+    @mainpage The m17n library documentation
 
-    @section sect1 The first section.
+    @section sect1 Background
 
-    section contents.
+    What is the multilingual text processing?
 
-    @section sect2 The second section.
+    Why is the m17n library necessary?
 
-    section contents.
+    @section sect2 What is the m17n library?
+
+    The @e m17n @e library is a multilingual text processing library
+    for the C language.  It provides following facilities to handle
+    multilingual text.
+
+    <ul>
+    <li> @e M-text: A data structure for multilingual text objects.
+
+    <li> Functions for creating and processing M-texts.
+
+    <li> Decoders and encoders for converting M-texts from/to strings
+    encoded in various existing formats.
+
+    <li> A huge character space, which contains all the Unicode
+    characters and more non-Unicode characters.
+
+    <li> @e Chartable: A data structure that contains per-character
+    information effectively.
+
+    <li> Functions for inputting and displaying M-text.
+    </ul>
 
   */
 ////
index 179a725..072548d 100644 (file)
@@ -513,7 +513,7 @@ PAPER_TYPE             = a4
 # The EXTRA_PACKAGES tag can be to specify one or more names of LaTeX 
 # packages that should be included in the LaTeX output.
 
-EXTRA_PACKAGES         = 
+EXTRA_PACKAGES         = doxygen-m17n
 
 # The LATEX_HEADER tag can be used to specify a personal LaTeX header for 
 # the generated latex document. The header should contain everything until 
index 1faac7f..fa809f3 100644 (file)
 \setlength{\marginparwidth}{0pt}
 \addtolength{\textheight}{\footskip}
 
-\def\sectionmark#1{\markboth
-{\MakeUppercase{\ifnum \c@secnumdepth>\z@
- \thesection\hskip 1em\relax \fi #1}}{}}
-\def\sectionmark#1{\markboth{\MakeUppercase{#1}}{}}
+%\def\sectionmark#1{\markboth
+%{\MakeUppercase{\ifnum \c@secnumdepth>\z@
+% \thesection\hskip 1em\relax \fi #1}}{}}
+%\def\sectionmark#1{\markboth{\MakeUppercase{#1}}{}}
 
 %% Don't write footers.
 \rfoot[]{}
 
 %% Fixing incorrest indentation of the original `CompactItemize'
 %% environment.
-\renewenvironment{CompactItemize}
-{
-  \bgroup
-  \def\@listi{\leftmargin\leftmargini
-            \parsep 0\p@  \@plus2.5\p@ \@minus\p@
-            \topsep 10\p@ \@plus4\p@   \@minus6\p@
-            \itemsep0\p@  \@plus2.5\p@ \@minus\p@}
-  \def\@listii {\leftmargin\leftmarginii
-              \labelwidth\leftmarginii
-              \advance\labelwidth-\labelsep
-              \topsep    5\p@   \@plus2.5\p@ \@minus\p@
-              \parsep    0\p@ \@plus\p@    \@minus\p@
-              \itemsep   \parsep}
-  \begin{itemize}
-  \setlength{\leftskip}{-1.5em}
-}
-{\end{itemize}\egroup}
+%% \renewenvironment{CompactItemize}
+%% {
+%%   \bgroup
+%%   \def\@listi{\leftmargin\leftmargini
+%%             \parsep 0\p@  \@plus2.5\p@ \@minus\p@
+%%             \topsep 10\p@ \@plus4\p@   \@minus6\p@
+%%             \itemsep0\p@  \@plus2.5\p@ \@minus\p@}
+%%   \def\@listii {\leftmargin\leftmarginii
+%%               \labelwidth\leftmarginii
+%%               \advance\labelwidth-\labelsep
+%%               \topsep    5\p@   \@plus2.5\p@ \@minus\p@
+%%               \parsep    0\p@ \@plus\p@    \@minus\p@
+%%               \itemsep   \parsep}
+%%   \begin{itemize}
+%%   \setlength{\leftskip}{-1.5em}
+%% }
+%% {\end{itemize}\egroup}
 
-\renewenvironment{Desc}
-{\begin{list}{}
-  {
-    \settowidth{\labelwidth}{40pt}
-    \setlength{\leftmargin}{\labelwidth}
-%    \setlength{\parsep}{0pt}
-    \setlength{\itemsep}{-4pt}
-    \renewcommand{\makelabel}{\entrylabel}
-  }
-}
-{\end{list}}
+%% \renewenvironment{Desc}
+%% {\begin{list}{}
+%%   {
+%%     \settowidth{\labelwidth}{40pt}
+%%     \setlength{\leftmargin}{\labelwidth}
+%% %    \setlength{\parsep}{0pt}
+%%     \setlength{\itemsep}{-4pt}
+%%     \renewcommand{\makelabel}{\entrylabel}
+%%   }
+%% }
+%% {\end{list}}
 
 
 %% Use arabic numbers in the second level `enumerate' environment.
 \renewcommand\theenumii{\@arabic\c@enumii}
 
 %% Treat `_' as a normal letter.
-\catcode`\_11\relax
+%% \catcode`\_11\relax
 
 %% Make each section start with a new page.
-\let\origsection\section
-\def\newsection{\cleardoublepage\origsection}
-\def\sectionOnNewpage{\let\section\newsection}
+%% \let\origsection\section
+%% \def\newsection{\cleardoublepage\origsection}
+%% \def\sectionOnNewpage{\let\section\newsection}
 
 %% Cross reference for IPA document.
 \def\IPAlabel#1{\label{IPA:#1}}
 \def\IPAref#1{\texttt{#1} (P.\pageref{IPA:#1})}
 \def\IPApage#1{(P.\pageref{IPA:#1})}
 
-\let\origtt\tt
-\let\origbf\bf
-\newif\iftt
-\def\tt{\tttrue\origtt}
-\def\bf{\iftt\else\origbf\fi}
-\def\em{\ttfamily\bfseries}
+%% \let\origtt\tt
+%% \let\origbf\bf
+%% \newif\iftt
+%% \def\tt{\tttrue\origtt}
+%% \def\bf{\iftt\else\origbf\fi}
+%% \def\em{\ttfamily\bfseries}
 %{\catcode`"=\active\gdef"{{\catcode`"=12\verb+"+}}}
 %\catcode`"=\active
 %\def\includegraphics[#1]#2{}