;; Functions to convert the current region of an emacs buffer among ;; three formats: tt <--> ISO <--> tex ;; ;; by P.J.de Rezende ;; (defun iso-to-tt () (interactive) (shell-command-on-region (region-beginning) (region-end) (expand-file-name "~/PUB/bin/iso-to-tt") (quote (4)) 4 )) (defun iso-to-tex () (interactive) (shell-command-on-region (region-beginning) (region-end) (expand-file-name "~/PUB/bin/iso-to-tex") (quote (4)) 4 )) (defun tt-to-iso () (interactive) (shell-command-on-region (region-beginning) (region-end) (expand-file-name "~/PUB/bin/tt-to-iso") (quote (4)) 4 )) (defun tex-to-iso () (interactive) (shell-command-on-region (region-beginning) (region-end) (expand-file-name "~/PUB/bin/tex-to-iso") (quote (4)) 4 )) (defun mac-to-iso () (interactive) (shell-command-on-region (region-beginning) (region-end) (expand-file-name "~/PUB/bin/mac-to-iso") (quote (4)) 4 )) (defun iso-to-mac () (interactive) (shell-command-on-region (region-beginning) (region-end) (expand-file-name "~/PUB/bin/iso-to-mac") (quote (4)) 4 ))