Commit | Line | Data |
---|---|---|
be010748 RS |
1 | ;;; iso-cvt.-el -- translate to ISO 8859-1 from/to net/TeX conventions |
2 | ;; This file was formerly called gm-lingo.el. | |
3 | ||
4 | ;; Copyright (C) 1993, 1994 Free Software Foundation, Inc. | |
d9375d2d RS |
5 | |
6 | ;; Author: Michael Gschwind <mike@vlsivie.tuwien.ac.at> | |
7 | ;; Keywords: tex, iso, latin, i18n | |
8 | ||
9 | ;; This file is part of GNU Emacs. | |
10 | ||
11 | ;; GNU Emacs is free software; you can redistribute it and/or modify | |
12 | ;; it under the terms of the GNU General Public License as published by | |
13 | ;; the Free Software Foundation; either version 2, or (at your option) | |
14 | ;; any later version. | |
15 | ||
16 | ;; GNU Emacs is distributed in the hope that it will be useful, | |
17 | ;; but WITHOUT ANY WARRANTY; without even the implied warranty of | |
18 | ;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
19 | ;; GNU General Public License for more details. | |
20 | ||
21 | ;; You should have received a copy of the GNU General Public License | |
22 | ;; along with GNU Emacs; see the file COPYING. If not, write to | |
23 | ;; the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. | |
24 | ||
25 | ;;; Commentary: | |
ab774801 | 26 | ;; This lisp code serves two purposes, both of which involve |
8c820820 RS |
27 | ;; the translation of various conventions for representing European |
28 | ;; character sets to ISO 8859-1. | |
d9375d2d | 29 | |
8c820820 RS |
30 | ; Net support: |
31 | ; Various conventions exist in Newsgroups on how to represent national | |
32 | ; characters. The functions provided here translate these net conventions | |
33 | ; to ISO. | |
34 | ; | |
35 | ; Calling `iso-german' will turn the net convention for umlauts ("a etc.) | |
36 | ; into ISO latin1 umlaute for easy reading. | |
37 | ; 'iso-spanish' will turn net conventions for representing spanish | |
38 | ; to ISO latin1. (Note that accents are omitted in news posts most | |
39 | ; of the time, only enye is escaped.) | |
40 | ||
41 | ; TeX support | |
42 | ; This mode installs hooks which change TeX files to ISO Latin-1 for | |
43 | ; simplified editing. When the TeX file is saved, ISO latin1 characters are | |
44 | ; translated back to escape sequences. | |
45 | ; | |
46 | ; An alternative is a TeX style that handles 8 bit ISO files | |
47 | ; (available on ftp.vlsivie.tuwien.ac.at in /pub/8bit) | |
d9375d2d RS |
48 | ; - but these files are difficult to transmit ... so while the net is |
49 | ; still @ 7 bit this may be useful | |
50 | ||
8c820820 RS |
51 | ;; TO DO: |
52 | ; The net support should install hooks (like TeX support does) | |
53 | ; which recognizes certains news groups and translates all articles from | |
54 | ; those groups. | |
d9375d2d | 55 | ; |
8c820820 RS |
56 | ; Cover more cases for translation (There is an infinite number of ways to |
57 | ; represent accented characters in TeX) | |
58 | ||
59 | ;; SEE ALSO: | |
60 | ; If you are interested in questions related to using the ISO 8859-1 | |
61 | ; characters set (configuring emacs, Unix, etc. to use ISO), then you | |
62 | ; can get the ISO 8859-1 FAQ via anonymous ftp from | |
63 | ; ftp.vlsivie.tuwien.ac.at in /pub/bit/FAQ-ISO-8859-1 | |
d9375d2d RS |
64 | |
65 | ;;; Code: | |
66 | ||
67 | (provide 'iso-cvt) | |
68 | ||
69 | (defvar iso-spanish-trans-tab | |
70 | '( | |
71 |