#!/bin/sh
cat <<EOF
-/***en @page m17nExProg Example Programs
+/***en @page m17nExProg Sample Programs
This section describes these example programs. They are to demonstrate
the usage of the m17n library, not for practical use.
<ul>
EOF
-cat $* | grep '@page' | sed -e 's/@page \([^ ]*\)/<li> @ref \1 "\1" --/'
+cat $* | grep '@enpage' | sed -e 's/@enpage \([^ ]*\)/<li> @ref \1 "\1" --/'
+
+cat <<EOF
+</ul>
+*/
+EOF
+
+cat <<EOF
+/***ja @page m17nExProg ¥µ¥ó¥×¥ë¥×¥í¥°¥é¥à
+
+¤³¤³¤Ç¤Ï°Ê²¼¤Î¥µ¥ó¥×¥ë¥×¥í¥°¥é¥à¤òÀâÌÀ¤¹¤ë¡£¤³¤ì¤é¤Î¥×¥í¥°¥é¥àm17n ¥é
+¥¤¥Ö¥é¥ê¤Î»È¤¤Êý¤òÀâÌÀ¤¹¤ë¤â¤Î¤Ç¤¢¤ê¡¢¼ÂºÝ¤Î»ÈÍѤò°Õ¿Þ¤·¤¿¤â¤Î¤Ç¤Ï¤Ê¤¤¡£
+
+<ul>
+EOF
+
+cat $* | grep '@japage' | sed -e 's/@japage \([^ ]*\)/<li> @ref \1 "\1" --/'
cat <<EOF
</ul>
cat $* | \
sed -n -e '/\/\*\*\*/,/\*\// p' | \
sed -e 's/@section/@subsection/' \
- -e 's/@page \([^ ]*\)/@section \1 \1 --/'
+ -e 's/@..page \([^ ]*\)/@section \1 \1 --/'
+
+# Local Variables:
+# coding: euc-jp
+# End: