;;; chise-tex.el --- Coding-system based chise2otf like tool
-;; Copyright (C) 2004 MORIOKA Tomohiko
+;; Copyright (C) 2004,2005 MORIOKA Tomohiko
;; Author: MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
;; Keywords: OTF package, pTeX, CHISE, Multiscript, Multilingual
;; (if (eq (char-before) ?\e$B!T\e(B)
;; (insert " "))
(insert (format "\\UCSjis{%04X}" ret)))
+ ((and (encode-char chr '=ks-x1001)
+ (setq ret (or (encode-char chr '=ucs@ks)
+ (char-ucs chr))))
+ (delete-char)
+ ;; (if (eq (char-before) ?\e$B!T\e(B)
+ ;; (insert " "))
+ (insert (format "\\UCSks{%04X}" ret)))
((setq ret (encode-char chr '=ucs-hangul))
(delete-char)
;; (if (eq (char-before) ?\e$B!T\e(B)