From: handa Date: Mon, 23 Jun 2003 06:20:16 +0000 (+0000) Subject: *** empty log message *** X-Git-Tag: XML-base~162 X-Git-Url: http://git.chise.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=791ee4f505f0328a52902216afb5e794a3721048;p=m17n%2Fm17n-docs.git *** empty log message *** --- diff --git a/utils/mokuji.el b/utils/mokuji.el index bdbfbde..767c4db 100644 --- a/utils/mokuji.el +++ b/utils/mokuji.el @@ -8,7 +8,7 @@ section-type title pos current-section current-subsection) (save-excursion - (find-file (expand-file-name "refman.toc" latex-dir)) + (find-file (expand-file-name "m17nlib.toc" latex-dir)) (while (re-search-forward "{\\(sub\\)*section}" nil t) (goto-char (1+ (match-beginning 0))) (setq section-type (intern (buffer-substring diff --git a/utils/refman-filter.awk b/utils/refman-filter.awk deleted file mode 100644 index c23a4e1..0000000 --- a/utils/refman-filter.awk +++ /dev/null @@ -1,26 +0,0 @@ -BEGIN { - filtering = 1; -} - -/^.section/ { - printf "%s",text; - text=$0"\n"; - next; -} - -/^.input{files}/ { - text=""; - next; -} - -/^.printindex/ { - filtering = 0; - print "\\input{conclusion.tex}" -} - -{ - if (filtering) - text=text$0"\n"; - else - print; -} diff --git a/utils/refman-filter.sed b/utils/refman-filter.sed new file mode 100644 index 0000000..96d4cf2 --- /dev/null +++ b/utils/refman-filter.sed @@ -0,0 +1,5 @@ +/The M17N Library File Index/,/files/ d +/The M17N Library File Documentation/,/printindex/ d +$ i \ +\\printindex + diff --git a/utils/run-latex.sh b/utils/run-latex.sh index 8a167b4..485963d 100755 --- a/utils/run-latex.sh +++ b/utils/run-latex.sh @@ -13,10 +13,10 @@ if [ "$2" = "ja" ] ; then else LATEX=platex fi -${LATEX} refman.tex +${LATEX} m17nlib.tex if [ "$2" = "ja" ] ; then - nkf -e < refman.idx > temp.idx; mv temp.idx refman.idx + nkf -e < m17nlib.idx > temp.idx; mv temp.idx refman.idx fi -makeindex refman.idx -${LATEX} refman.tex -dvips ${PAPER} -o refman.ps refman.dvi +makeindex m17nlib.idx +${LATEX} m17nlib.tex +dvips ${PAPER} -o m17nlib.ps m17nlib.dvi