*** empty log message ***
authorhanda <handa>
Mon, 23 Jun 2003 06:20:16 +0000 (06:20 +0000)
committerhanda <handa>
Mon, 23 Jun 2003 06:20:16 +0000 (06:20 +0000)
utils/mokuji.el
utils/refman-filter.awk [deleted file]
utils/refman-filter.sed [new file with mode: 0644]
utils/run-latex.sh

index bdbfbde..767c4db 100644 (file)
@@ -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 (file)
index c23a4e1..0000000
+++ /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 (file)
index 0000000..96d4cf2
--- /dev/null
@@ -0,0 +1,5 @@
+/The M17N Library File Index/,/files/ d
+/The M17N Library File Documentation/,/printindex/ d
+$ i \
+\\printindex
+
index 8a167b4..485963d 100755 (executable)
@@ -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