-/***en
-@mainpage The M17N Library Documentation
+/***en @mainpage The M17N Library Documentation */ -*- coding: euc-jp; -*-
+/***ja @mainpage M17N ¥é¥¤¥Ö¥é¥ê */
-@section what What is the m17n library?
+/***en @section what What is the m17n library? */
+/***ja @section what M17N ¥é¥¤¥Ö¥é¥ê¤È¤Ï? */
+/***
The @e m17n @e library is a multilingual text processing library for
the C language.
system.
</ul>
-
-@section usage How to use it?
-
+*/
+/***en @section usage How to use it? */
+/***ja @section usage ÍøÍÑË¡ */
+/***
Just include <m17n.h> in your program, and link it with the m17n
library by -lm17n. See @ref m17nIntro @latexonly
-(P.\pageref{group__m17nIntro}) @endlatexonly for the detail.
-
-@section contact Contact us:
+(P.\pageref{group__m17nIntro}) @endlatexonly for the detail. */
+/***en @section contact Contact us: */
+/***ja @section contact Ï¢ÍíÀè */
+/***
Global IT Security Group\n
National Information Technology Research Institute\n
Institute of Advanced Industrial Science and Technology
Mailing list (English): m17n-lib@m17n.org
Mailing list (Japanese): m17n-lib-ja@m17n.org
+*/
-@section Acknowledgements
-
+/***en @section ack Acknowledgements */
+/***ja @section ack ¼Õ¼ */
+/***
Special thanks to:
<ul>
this tool, it would have been impossible to create this document.
</ul>
-
*/
cat <<EOF
/***en @page m17nDBFormat Data format of the m17n database
-This section describes formats of these data supplied by the m17n
-database.
+¤³¤³¤Ç¤Ï¡¢M17N ¥Ç¡¼¥¿¥Ù¡¼¥¹¤ÇÄ󶡤µ¤ì¤ë³Æ¥Ç¡¼¥¿¤Î¥Õ¥©¡¼¥Þ¥Ã¥È¤ò²òÀ⤹
+¤ë¡£ */
+
+/***ja @page m17nDBFormat M17N ¥Ç¡¼¥¿¥Ù¡¼¥¹¤Î¥Ç¡¼¥¿¡¦¥Õ¥©¡¼¥Þ¥Ã¥È
+This section describes formats of these data supplied by the m17n
+database. */
+////
+/***
<ul>
EOF
sed -n -e '/\/\*\*\*/,/\*\// p' | \
sed -e 's/@section/@subsection/' \
-e 's/@page/@section/'
+
+# Local Variables:
+# coding: euc-jp
+# End:
#!/bin/sh
cat <<EOF
-/***en @page m17nExMim Example Input Methods
-
+/***en @page m17nExMim Example Input Methods */
+/***ja @page m17nExMim ¥µ¥ó¥×¥ëÆþÎϥ᥽¥Ã¥É */
+/***
This section describes these example input methods. They are to
demonstrate the usage of the m17n library, not for practical use.
sed -e 's/;; *//' \
-e 's/@section/@subsection/' \
-e 's/@page \([^.]*\).mim/@section \1 \1.mim --/'
+
+# Local Variables:
+# coding: euc-jp
+# End:
#!/bin/sh
cat <<EOF
-/***en @page m17nExProg Example Programs
-
+/***en @page m17nExProg Sample Programs */
+/***ja @page m17nExProg ¥µ¥ó¥×¥ë¥×¥í¥°¥é¥à */
+/***
This section describes these example programs. They are to demonstrate
the usage of the m17n library, not for practical use.
sed -n -e '/\/\*\*\*/,/\*\// p' | \
sed -e 's/@section/@subsection/' \
-e 's/@page \([^ ]*\)/@section \1 \1 --/'
+
+# Local Variables:
+# coding: euc-jp
+# End:
gsub!("@returns", "@par Ìá¤êÃÍ:")
gsub!("@return", "@par Ìá¤êÃÍ:")
#let doxygen find functions
- gsub!(/[a-z_]\s\(\)/) {|m| m.delete!(" ")}
+ gsub!(/[a-zA-Z_]\s\(\)/) {|m| m.delete!(" ")}
#make variables in function descriptions shown in bold
- gsub!(/\$[A-Z_]+/) {|m| m.delete!("$").reverse.downcase!.concat(" e@").reverse}
+ gsub!(/\$[A-Z_]+/) {|m| m.delete!("$").reverse.downcase!.concat(" b@").reverse}
case $_
- when /^$/
+ when /^\s*$/
if doxy == 1
buf.push($_)
end
end
end
when /\/\*{2,3}en.*\*\// #english one liner is omitted
- when /\/\*{2,3}ja.*\*\// #one liner
+ when /\/\*\*ja.*\*\// #one liner
+ when /\/\*\*\*ja.*\*\// #one liner
buf.push($_.gsub!(/\/\*+ja/, " ").gsub!(/\*\//, " "))
- when /\/\*{2,3}.*\*\// #one liner
- buf.push($_.gsub!(/\/\*+/, " ").gsub!(/\*\//, " "))
+ when /\/\*\*\s.*\*\// #one liner
+ when /\/\*\*\*\s.*\*\// #one liner
+ buf.push($_.gsub!(/\/\*+/, " ").gsub!(/\*\//, " ")).push("\n")
- when /\/\*\s|\/\*{2,3}en/
+ when /\/\*{1,2}\s|\/\*{2,3}en|\/\*\*ja/ #this is not for Ja nor users
doxy = -1
- when /\/\*{2,3}ja/
+ when /\/\*\*\*ja/
buf.push($_.gsub!(/\/\*+ja/, " "))
doxy = 1
- when /\/\*{2,3}/
+ when /\/\*\*\*/
buf.push($_.gsub!(/\/\*+/, " "))
doxy = 1
when /EXAMPLE_CODE/
- buf.push($_.gsub!(/#if EXAMPLE_CODE/, "@par Î㡧 \n @code \n"))
+ buf.push($_.gsub!(/#if EXAMPLE_CODE/, "\n \n @par Î㡧 \n @code"))
doxy = 1
when /#endif/
end
end
end
+
+commentblock(buf)
+
+# Local Variables:
+# coding: euc-jp
+# End:
\ No newline at end of file