annotate lisp/international/iso-cvt.el @ 16741:e4e15030dad3

Comment change.
author Richard M. Stallman <rms@gnu.org>
date Thu, 26 Dec 1996 06:10:32 +0000
parents bd56cdc4d07b
children 81fa1f5547eb
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
15261
bd56cdc4d07b Fixed up initial line
Erik Naggum <erik@naggum.no>
parents: 14169
diff changeset
1 ;;; iso-cvt.el --- translate to ISO 8859-1 from/to net/TeX conventions
13337
84acc3adcd63 Comment change.
Richard M. Stallman <rms@gnu.org>
parents: 10434
diff changeset
2 ;; This file was formerly called gm-lingo.el.
84acc3adcd63 Comment change.
Richard M. Stallman <rms@gnu.org>
parents: 10434
diff changeset
3
84acc3adcd63 Comment change.
Richard M. Stallman <rms@gnu.org>
parents: 10434
diff changeset
4 ;; Copyright (C) 1993, 1994 Free Software Foundation, Inc.
7260
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
5
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
6 ;; Author: Michael Gschwind <mike@vlsivie.tuwien.ac.at>
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
7 ;; Keywords: tex, iso, latin, i18n
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
8
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
9 ;; This file is part of GNU Emacs.
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
10
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
11 ;; GNU Emacs is free software; you can redistribute it and/or modify
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
12 ;; it under the terms of the GNU General Public License as published by
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
13 ;; the Free Software Foundation; either version 2, or (at your option)
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
14 ;; any later version.
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
15
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
16 ;; GNU Emacs is distributed in the hope that it will be useful,
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
17 ;; but WITHOUT ANY WARRANTY; without even the implied warranty of
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
18 ;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
19 ;; GNU General Public License for more details.
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
20
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
21 ;; You should have received a copy of the GNU General Public License
14169
83f275dcd93a Update FSF's address.
Erik Naggum <erik@naggum.no>
parents: 13993
diff changeset
22 ;; along with GNU Emacs; see the file COPYING. If not, write to the
83f275dcd93a Update FSF's address.
Erik Naggum <erik@naggum.no>
parents: 13993
diff changeset
23 ;; Free Software Foundation, Inc., 59 Temple Place - Suite 330,
83f275dcd93a Update FSF's address.
Erik Naggum <erik@naggum.no>
parents: 13993
diff changeset
24 ;; Boston, MA 02111-1307, USA.
7260
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
25
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
26 ;;; Commentary:
14169
83f275dcd93a Update FSF's address.
Erik Naggum <erik@naggum.no>
parents: 13993
diff changeset
27
10434
5cb0747f521f (iso-aggressive-german-trans-tab): Doc fix.
Karl Heuer <kwzh@gnu.org>
parents: 10081
diff changeset
28 ;; This lisp code serves two purposes, both of which involve
7425
eb4b69bf2d4e (iso-gtex2iso-trans-tab): Redorder this list.
Richard M. Stallman <rms@gnu.org>
parents: 7260
diff changeset
29 ;; the translation of various conventions for representing European
eb4b69bf2d4e (iso-gtex2iso-trans-tab): Redorder this list.
Richard M. Stallman <rms@gnu.org>
parents: 7260
diff changeset
30 ;; character sets to ISO 8859-1.
7260
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
31
14169
83f275dcd93a Update FSF's address.
Erik Naggum <erik@naggum.no>
parents: 13993
diff changeset
32 ;; Net support:
83f275dcd93a Update FSF's address.
Erik Naggum <erik@naggum.no>
parents: 13993
diff changeset
33 ;; Various conventions exist in Newsgroups on how to represent national
83f275dcd93a Update FSF's address.
Erik Naggum <erik@naggum.no>
parents: 13993
diff changeset
34 ;; characters. The functions provided here translate these net conventions
83f275dcd93a Update FSF's address.
Erik Naggum <erik@naggum.no>
parents: 13993
diff changeset
35 ;; to ISO.
83f275dcd93a Update FSF's address.
Erik Naggum <erik@naggum.no>
parents: 13993
diff changeset
36 ;;
83f275dcd93a Update FSF's address.
Erik Naggum <erik@naggum.no>
parents: 13993
diff changeset
37 ;; Calling `iso-german' will turn the net convention for umlauts ("a etc.)
83f275dcd93a Update FSF's address.
Erik Naggum <erik@naggum.no>
parents: 13993
diff changeset
38 ;; into ISO latin1 umlauts for easy reading.
83f275dcd93a Update FSF's address.
Erik Naggum <erik@naggum.no>
parents: 13993
diff changeset
39 ;; 'iso-spanish' will turn net conventions for representing spanish
83f275dcd93a Update FSF's address.
Erik Naggum <erik@naggum.no>
parents: 13993
diff changeset
40 ;; to ISO latin1. (Note that accents are omitted in news posts most
83f275dcd93a Update FSF's address.
Erik Naggum <erik@naggum.no>
parents: 13993
diff changeset
41 ;; of the time, only enye is escaped.)
7425
eb4b69bf2d4e (iso-gtex2iso-trans-tab): Redorder this list.
Richard M. Stallman <rms@gnu.org>
parents: 7260
diff changeset
42
14169
83f275dcd93a Update FSF's address.
Erik Naggum <erik@naggum.no>
parents: 13993
diff changeset
43 ;; TeX support
83f275dcd93a Update FSF's address.
Erik Naggum <erik@naggum.no>
parents: 13993
diff changeset
44 ;; This mode installs hooks which change TeX files to ISO Latin-1 for
83f275dcd93a Update FSF's address.
Erik Naggum <erik@naggum.no>
parents: 13993
diff changeset
45 ;; simplified editing. When the TeX file is saved, ISO latin1 characters are
83f275dcd93a Update FSF's address.
Erik Naggum <erik@naggum.no>
parents: 13993
diff changeset
46 ;; translated back to escape sequences.
83f275dcd93a Update FSF's address.
Erik Naggum <erik@naggum.no>
parents: 13993
diff changeset
47 ;;
83f275dcd93a Update FSF's address.
Erik Naggum <erik@naggum.no>
parents: 13993
diff changeset
48 ;; An alternative is a TeX style that handles 8 bit ISO files
83f275dcd93a Update FSF's address.
Erik Naggum <erik@naggum.no>
parents: 13993
diff changeset
49 ;; (available on ftp.vlsivie.tuwien.ac.at in /pub/8bit)
83f275dcd93a Update FSF's address.
Erik Naggum <erik@naggum.no>
parents: 13993
diff changeset
50 ;; - but these files are difficult to transmit ... so while the net is
83f275dcd93a Update FSF's address.
Erik Naggum <erik@naggum.no>
parents: 13993
diff changeset
51 ;; still @ 7 bit this may be useful
7260
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
52
14169
83f275dcd93a Update FSF's address.
Erik Naggum <erik@naggum.no>
parents: 13993
diff changeset
53 ;;; TO DO:
83f275dcd93a Update FSF's address.
Erik Naggum <erik@naggum.no>
parents: 13993
diff changeset
54 ;; The net support should install hooks (like TeX support does)
83f275dcd93a Update FSF's address.
Erik Naggum <erik@naggum.no>
parents: 13993
diff changeset
55 ;; which recognizes certain news groups and translates all articles from
83f275dcd93a Update FSF's address.
Erik Naggum <erik@naggum.no>
parents: 13993
diff changeset
56 ;; those groups.
83f275dcd93a Update FSF's address.
Erik Naggum <erik@naggum.no>
parents: 13993
diff changeset
57 ;;
83f275dcd93a Update FSF's address.
Erik Naggum <erik@naggum.no>
parents: 13993
diff changeset
58 ;; Cover more cases for translation (There is an infinite number of ways to
83f275dcd93a Update FSF's address.
Erik Naggum <erik@naggum.no>
parents: 13993
diff changeset
59 ;; represent accented characters in TeX)
7425
eb4b69bf2d4e (iso-gtex2iso-trans-tab): Redorder this list.
Richard M. Stallman <rms@gnu.org>
parents: 7260
diff changeset
60
14169
83f275dcd93a Update FSF's address.
Erik Naggum <erik@naggum.no>
parents: 13993
diff changeset
61 ;;; SEE ALSO:
83f275dcd93a Update FSF's address.
Erik Naggum <erik@naggum.no>
parents: 13993
diff changeset
62 ;; If you are interested in questions related to using the ISO 8859-1
83f275dcd93a Update FSF's address.
Erik Naggum <erik@naggum.no>
parents: 13993
diff changeset
63 ;; characters set (configuring emacs, Unix, etc. to use ISO), then you
83f275dcd93a Update FSF's address.
Erik Naggum <erik@naggum.no>
parents: 13993
diff changeset
64 ;; can get the ISO 8859-1 FAQ via anonymous ftp from
83f275dcd93a Update FSF's address.
Erik Naggum <erik@naggum.no>
parents: 13993
diff changeset
65 ;; ftp.vlsivie.tuwien.ac.at in /pub/bit/FAQ-ISO-8859-1
7260
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
66
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
67 ;;; Code:
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
68
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
69 (provide 'iso-cvt)
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
70
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
71 (defvar iso-spanish-trans-tab
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
72 '(
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
73 ("~n" "ñ")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
74 ("\([a-zA-Z]\)#" "\\1ñ")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
75 ("~N" "Ñ")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
76 ("\\([-a-zA-Z\"`]\\)\"u" "\\1ü")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
77 ("\\([-a-zA-Z\"`]\\)\"U" "\\1Ü")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
78 ("\\([-a-zA-Z]\\)'o" "\\1ó")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
79 ("\\([-a-zA-Z]\\)'O" "\\Ó")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
80 ("\\([-a-zA-Z]\\)'e" "\\1é")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
81 ("\\([-a-zA-Z]\\)'E" "\\1É")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
82 ("\\([-a-zA-Z]\\)'a" "\\1á")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
83 ("\\([-a-zA-Z]\\)'A" "\\1A")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
84 ("\\([-a-zA-Z]\\)'i" "\\1í")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
85 ("\\([-a-zA-Z]\\)'I" "\\1Í")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
86 )
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
87 "Spanish translation table.")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
88
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
89 (defun iso-translate-conventions (trans-tab)
7850
b6f3dd2511bc (iso-translate-conventions): Get rid of interactive spec.
Richard M. Stallman <rms@gnu.org>
parents: 7831
diff changeset
90 "Use the translation table TRANS-TAB to translate the current buffer."
7260
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
91 (save-excursion
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
92 (goto-char (point-min))
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
93 (let ((work-tab trans-tab)
7831
343a21c51172 (iso-translate-conventions): Use case-dependent search and don't alter case.
Richard M. Stallman <rms@gnu.org>
parents: 7425
diff changeset
94 (buffer-read-only nil)
343a21c51172 (iso-translate-conventions): Use case-dependent search and don't alter case.
Richard M. Stallman <rms@gnu.org>
parents: 7425
diff changeset
95 (case-fold-search nil))
7260
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
96 (while work-tab
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
97 (save-excursion
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
98 (let ((trans-this (car work-tab)))
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
99 (while (re-search-forward (car trans-this) nil t)
7831
343a21c51172 (iso-translate-conventions): Use case-dependent search and don't alter case.
Richard M. Stallman <rms@gnu.org>
parents: 7425
diff changeset
100 (replace-match (car (cdr trans-this)) t nil)))
7260
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
101 (setq work-tab (cdr work-tab)))))))
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
102
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
103 (defun iso-spanish ()
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
104 "Translate net conventions for Spanish to ISO 8859-1."
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
105 (interactive)
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
106 (iso-translate-conventions iso-spanish-trans-tab))
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
107
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
108 (defvar iso-aggressive-german-trans-tab
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
109 '(
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
110 ("\"a" "ä")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
111 ("\"A" "Ä")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
112 ("\"o" "ö")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
113 ("\"O" "Ö")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
114 ("\"u" "ü")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
115 ("\"U" "Ü")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
116 ("\"s" "ß")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
117 ("\\\\3" "ß")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
118 )
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
119 "German translation table.
10434
5cb0747f521f (iso-aggressive-german-trans-tab): Doc fix.
Karl Heuer <kwzh@gnu.org>
parents: 10081
diff changeset
120 This table uses an aggressive translation approach and may erroneously
5cb0747f521f (iso-aggressive-german-trans-tab): Doc fix.
Karl Heuer <kwzh@gnu.org>
parents: 10081
diff changeset
121 translate too much.")
7260
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
122
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
123 (defvar iso-conservative-german-trans-tab
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
124 '(
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
125 ("\\([-a-zA-Z\"`]\\)\"a" "\\1ä")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
126 ("\\([-a-zA-Z\"`]\\)\"A" "\\1Ä")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
127 ("\\([-a-zA-Z\"`]\\)\"o" "\\1ö")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
128 ("\\([-a-zA-Z\"`]\\)\"O" "\\1Ö")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
129 ("\\([-a-zA-Z\"`]\\)\"u" "\\1ü")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
130 ("\\([-a-zA-Z\"`]\\)\"U" "\\1Ü")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
131 ("\\([-a-zA-Z\"`]\\)\"s" "\\1ß")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
132 ("\\([-a-zA-Z\"`]\\)\\\\3" "\\1ß")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
133 )
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
134 "German translation table.
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
135 This table uses a conservative translation approach and may translate too
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
136 little.")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
137
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
138
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
139 (defvar iso-german-trans-tab iso-aggressive-german-trans-tab
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
140 "Currently active translation table for German.")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
141
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
142 (defun iso-german ()
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
143 "Translate net conventions for German to ISO 8859-1."
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
144 (interactive)
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
145 (iso-translate-conventions iso-german-trans-tab))
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
146
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
147 (defvar iso-iso2tex-trans-tab
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
148 '(
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
149 ("ä" "{\\\\\"a}")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
150 ("à" "{\\\\`a}")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
151 ("á" "{\\\\'a}")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
152 ("ã" "{\\\\~a}")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
153 ("â" "{\\\\^a}")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
154 ("ë" "{\\\\\"e}")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
155 ("è" "{\\\\`e}")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
156 ("é" "{\\\\'e}")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
157 ("ê" "{\\\\^e}")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
158 ("ï" "{\\\\\"\\\\i}")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
159 ("ì" "{\\\\`\\\\i}")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
160 ("í" "{\\\\'\\\\i}")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
161 ("î" "{\\\\^\\\\i}")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
162 ("ö" "{\\\\\"o}")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
163 ("ò" "{\\\\`o}")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
164 ("ó" "{\\\\'o}")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
165 ("õ" "{\\\\~o}")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
166 ("ô" "{\\\\^o}")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
167 ("ü" "{\\\\\"u}")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
168 ("ù" "{\\\\`u}")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
169 ("ú" "{\\\\'u}")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
170 ("û" "{\\\\^u}")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
171 ("Ä" "{\\\\\"A}")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
172 ("À" "{\\\\`A}")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
173 ("Á" "{\\\\'A}")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
174 ("Ã" "{\\\\~A}")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
175 ("Â" "{\\\\^A}")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
176 ("Ë" "{\\\\\"E}")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
177 ("È" "{\\\\`E}")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
178 ("É" "{\\\\'E}")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
179 ("Ê" "{\\\\^E}")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
180 ("Ï" "{\\\\\"I}")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
181 ("Ì" "{\\\\`I}")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
182 ("Í" "{\\\\'I}")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
183 ("Î" "{\\\\^I}")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
184 ("Ö" "{\\\\\"O}")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
185 ("Ò" "{\\\\`O}")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
186 ("Ó" "{\\\\'O}")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
187 ("Õ" "{\\\\~O}")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
188 ("Ô" "{\\\\^O}")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
189 ("Ü" "{\\\\\"U}")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
190 ("Ù" "{\\\\`U}")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
191 ("Ú" "{\\\\'U}")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
192 ("Û" "{\\\\^U}")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
193 ("ñ" "{\\\\~n}")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
194 ("Ñ" "{\\\\~N}")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
195 ("ç" "{\\\\c c}")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
196 ("Ç" "{\\\\c C}")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
197 ("ß" "{\\\\ss}")
7861
8996abee8718 (iso-iso2tex-trans-tab): Change a few characters.
Richard M. Stallman <rms@gnu.org>
parents: 7850
diff changeset
198 ("\306" "{\\\\AE}")
8996abee8718 (iso-iso2tex-trans-tab): Change a few characters.
Richard M. Stallman <rms@gnu.org>
parents: 7850
diff changeset
199 ("\346" "{\\\\ae}")
10081
5e4ef35c904b Handle pilcrow, paragraph and pound signs.
Richard M. Stallman <rms@gnu.org>
parents: 8538
diff changeset
200 ("\305" "{\\\\AA}")
5e4ef35c904b Handle pilcrow, paragraph and pound signs.
Richard M. Stallman <rms@gnu.org>
parents: 8538
diff changeset
201 ("\345" "{\\\\aa}")
7861
8996abee8718 (iso-iso2tex-trans-tab): Change a few characters.
Richard M. Stallman <rms@gnu.org>
parents: 7850
diff changeset
202 ("\251" "{\\\\copyright}")
10081
5e4ef35c904b Handle pilcrow, paragraph and pound signs.
Richard M. Stallman <rms@gnu.org>
parents: 8538
diff changeset
203 ("£" "{\\\\pounds}")
5e4ef35c904b Handle pilcrow, paragraph and pound signs.
Richard M. Stallman <rms@gnu.org>
parents: 8538
diff changeset
204 ("¶" "{\\\\P}")
5e4ef35c904b Handle pilcrow, paragraph and pound signs.
Richard M. Stallman <rms@gnu.org>
parents: 8538
diff changeset
205 ("§" "{\\\\S}")
7260
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
206 ("¿" "{?`}")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
207 ("¡" "{!`}")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
208 )
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
209 "Translation table for translating ISO 8859-1 characters to TeX sequences.")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
210
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
211
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
212
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
213
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
214 (defun iso-iso2tex ()
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
215 "Translate ISO 8859-1 characters to TeX sequences."
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
216 (interactive)
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
217 (iso-translate-conventions iso-iso2tex-trans-tab))
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
218
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
219
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
220 (defvar iso-tex2iso-trans-tab
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
221 '(
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
222 ("{\\\\\"a}" "ä")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
223 ("{\\\\`a}" "à")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
224 ("{\\\\'a}" "á")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
225 ("{\\\\~a}" "ã")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
226 ("{\\\\^a}" "â")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
227 ("{\\\\\"e}" "ë")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
228 ("{\\\\`e}" "è")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
229 ("{\\\\'e}" "é")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
230 ("{\\\\^e}" "ê")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
231 ("{\\\\\"\\\\i}" "ï")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
232 ("{\\\\`\\\\i}" "ì")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
233 ("{\\\\'\\\\i}" "í")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
234 ("{\\\\^\\\\i}" "î")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
235 ("{\\\\\"i}" "ï")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
236 ("{\\\\`i}" "ì")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
237 ("{\\\\'i}" "í")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
238 ("{\\\\^i}" "î")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
239 ("{\\\\\"o}" "ö")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
240 ("{\\\\`o}" "ò")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
241 ("{\\\\'o}" "ó")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
242 ("{\\\\~o}" "õ")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
243 ("{\\\\^o}" "ô")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
244 ("{\\\\\"u}" "ü")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
245 ("{\\\\`u}" "ù")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
246 ("{\\\\'u}" "ú")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
247 ("{\\\\^u}" "û")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
248 ("{\\\\\"A}" "Ä")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
249 ("{\\\\`A}" "À")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
250 ("{\\\\'A}" "Á")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
251 ("{\\\\~A}" "Ã")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
252 ("{\\\\^A}" "Â")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
253 ("{\\\\\"E}" "Ë")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
254 ("{\\\\`E}" "È")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
255 ("{\\\\'E}" "É")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
256 ("{\\\\^E}" "Ê")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
257 ("{\\\\\"I}" "Ï")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
258 ("{\\\\`I}" "Ì")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
259 ("{\\\\'I}" "Í")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
260 ("{\\\\^I}" "Î")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
261 ("{\\\\\"O}" "Ö")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
262 ("{\\\\`O}" "Ò")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
263 ("{\\\\'O}" "Ó")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
264 ("{\\\\~O}" "Õ")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
265 ("{\\\\^O}" "Ô")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
266 ("{\\\\\"U}" "Ü")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
267 ("{\\\\`U}" "Ù")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
268 ("{\\\\'U}" "Ú")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
269 ("{\\\\^U}" "Û")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
270 ("{\\\\~n}" "ñ")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
271 ("{\\\\~N}" "Ñ")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
272 ("{\\\\c c}" "ç")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
273 ("{\\\\c C}" "Ç")
7861
8996abee8718 (iso-iso2tex-trans-tab): Change a few characters.
Richard M. Stallman <rms@gnu.org>
parents: 7850
diff changeset
274 ("\\\\\"a" "ä")
8996abee8718 (iso-iso2tex-trans-tab): Change a few characters.
Richard M. Stallman <rms@gnu.org>
parents: 7850
diff changeset
275 ("\\\\`a" "à")
8996abee8718 (iso-iso2tex-trans-tab): Change a few characters.
Richard M. Stallman <rms@gnu.org>
parents: 7850
diff changeset
276 ("\\\\'a" "á")
8996abee8718 (iso-iso2tex-trans-tab): Change a few characters.
Richard M. Stallman <rms@gnu.org>
parents: 7850
diff changeset
277 ("\\\\~a" "ã")
8996abee8718 (iso-iso2tex-trans-tab): Change a few characters.
Richard M. Stallman <rms@gnu.org>
parents: 7850
diff changeset
278 ("\\\\^a" "â")
8996abee8718 (iso-iso2tex-trans-tab): Change a few characters.
Richard M. Stallman <rms@gnu.org>
parents: 7850
diff changeset
279 ("\\\\\"e" "ë")
8996abee8718 (iso-iso2tex-trans-tab): Change a few characters.
Richard M. Stallman <rms@gnu.org>
parents: 7850
diff changeset
280 ("\\\\`e" "è")
8996abee8718 (iso-iso2tex-trans-tab): Change a few characters.
Richard M. Stallman <rms@gnu.org>
parents: 7850
diff changeset
281 ("\\\\'e" "é")
8996abee8718 (iso-iso2tex-trans-tab): Change a few characters.
Richard M. Stallman <rms@gnu.org>
parents: 7850
diff changeset
282 ("\\\\^e" "ê")
8996abee8718 (iso-iso2tex-trans-tab): Change a few characters.
Richard M. Stallman <rms@gnu.org>
parents: 7850
diff changeset
283 ("\\\\\"\\\\i" "ï")
8996abee8718 (iso-iso2tex-trans-tab): Change a few characters.
Richard M. Stallman <rms@gnu.org>
parents: 7850
diff changeset
284 ("\\\\`\\\\i" "ì")
8996abee8718 (iso-iso2tex-trans-tab): Change a few characters.
Richard M. Stallman <rms@gnu.org>
parents: 7850
diff changeset
285 ("\\\\'\\\\i" "í")
8996abee8718 (iso-iso2tex-trans-tab): Change a few characters.
Richard M. Stallman <rms@gnu.org>
parents: 7850
diff changeset
286 ("\\\\^\\\\i" "î")
8996abee8718 (iso-iso2tex-trans-tab): Change a few characters.
Richard M. Stallman <rms@gnu.org>
parents: 7850
diff changeset
287 ("\\\\\"i" "ï")
8996abee8718 (iso-iso2tex-trans-tab): Change a few characters.
Richard M. Stallman <rms@gnu.org>
parents: 7850
diff changeset
288 ("\\\\`i" "ì")
8996abee8718 (iso-iso2tex-trans-tab): Change a few characters.
Richard M. Stallman <rms@gnu.org>
parents: 7850
diff changeset
289 ("\\\\'i" "í")
8996abee8718 (iso-iso2tex-trans-tab): Change a few characters.
Richard M. Stallman <rms@gnu.org>
parents: 7850
diff changeset
290 ("\\\\^i" "î")
8996abee8718 (iso-iso2tex-trans-tab): Change a few characters.
Richard M. Stallman <rms@gnu.org>
parents: 7850
diff changeset
291 ("\\\\\"o" "ö")
8996abee8718 (iso-iso2tex-trans-tab): Change a few characters.
Richard M. Stallman <rms@gnu.org>
parents: 7850
diff changeset
292 ("\\\\`o" "ò")
8996abee8718 (iso-iso2tex-trans-tab): Change a few characters.
Richard M. Stallman <rms@gnu.org>
parents: 7850
diff changeset
293 ("\\\\'o" "ó")
8996abee8718 (iso-iso2tex-trans-tab): Change a few characters.
Richard M. Stallman <rms@gnu.org>
parents: 7850
diff changeset
294 ("\\\\~o" "õ")
8996abee8718 (iso-iso2tex-trans-tab): Change a few characters.
Richard M. Stallman <rms@gnu.org>
parents: 7850
diff changeset
295 ("\\\\^o" "ô")
8996abee8718 (iso-iso2tex-trans-tab): Change a few characters.
Richard M. Stallman <rms@gnu.org>
parents: 7850
diff changeset
296 ("\\\\\"u" "ü")
8996abee8718 (iso-iso2tex-trans-tab): Change a few characters.
Richard M. Stallman <rms@gnu.org>
parents: 7850
diff changeset
297 ("\\\\`u" "ù")
8996abee8718 (iso-iso2tex-trans-tab): Change a few characters.
Richard M. Stallman <rms@gnu.org>
parents: 7850
diff changeset
298 ("\\\\'u" "ú")
8996abee8718 (iso-iso2tex-trans-tab): Change a few characters.
Richard M. Stallman <rms@gnu.org>
parents: 7850
diff changeset
299 ("\\\\^u" "û")
8996abee8718 (iso-iso2tex-trans-tab): Change a few characters.
Richard M. Stallman <rms@gnu.org>
parents: 7850
diff changeset
300 ("\\\\\"A" "Ä")
8996abee8718 (iso-iso2tex-trans-tab): Change a few characters.
Richard M. Stallman <rms@gnu.org>
parents: 7850
diff changeset
301 ("\\\\`A" "À")
8996abee8718 (iso-iso2tex-trans-tab): Change a few characters.
Richard M. Stallman <rms@gnu.org>
parents: 7850
diff changeset
302 ("\\\\'A" "Á")
8996abee8718 (iso-iso2tex-trans-tab): Change a few characters.
Richard M. Stallman <rms@gnu.org>
parents: 7850
diff changeset
303 ("\\\\~A" "Ã")
8996abee8718 (iso-iso2tex-trans-tab): Change a few characters.
Richard M. Stallman <rms@gnu.org>
parents: 7850
diff changeset
304 ("\\\\^A" "Â")
8996abee8718 (iso-iso2tex-trans-tab): Change a few characters.
Richard M. Stallman <rms@gnu.org>
parents: 7850
diff changeset
305 ("\\\\\"E" "Ë")
8996abee8718 (iso-iso2tex-trans-tab): Change a few characters.
Richard M. Stallman <rms@gnu.org>
parents: 7850
diff changeset
306 ("\\\\`E" "È")
8996abee8718 (iso-iso2tex-trans-tab): Change a few characters.
Richard M. Stallman <rms@gnu.org>
parents: 7850
diff changeset
307 ("\\\\'E" "É")
8996abee8718 (iso-iso2tex-trans-tab): Change a few characters.
Richard M. Stallman <rms@gnu.org>
parents: 7850
diff changeset
308 ("\\\\^E" "Ê")
8996abee8718 (iso-iso2tex-trans-tab): Change a few characters.
Richard M. Stallman <rms@gnu.org>
parents: 7850
diff changeset
309 ("\\\\\"I" "Ï")
8996abee8718 (iso-iso2tex-trans-tab): Change a few characters.
Richard M. Stallman <rms@gnu.org>
parents: 7850
diff changeset
310 ("\\\\`I" "Ì")
8996abee8718 (iso-iso2tex-trans-tab): Change a few characters.
Richard M. Stallman <rms@gnu.org>
parents: 7850
diff changeset
311 ("\\\\'I" "Í")
8996abee8718 (iso-iso2tex-trans-tab): Change a few characters.
Richard M. Stallman <rms@gnu.org>
parents: 7850
diff changeset
312 ("\\\\^I" "Î")
8996abee8718 (iso-iso2tex-trans-tab): Change a few characters.
Richard M. Stallman <rms@gnu.org>
parents: 7850
diff changeset
313 ("\\\\\"O" "Ö")
8996abee8718 (iso-iso2tex-trans-tab): Change a few characters.
Richard M. Stallman <rms@gnu.org>
parents: 7850
diff changeset
314 ("\\\\`O" "Ò")
8996abee8718 (iso-iso2tex-trans-tab): Change a few characters.
Richard M. Stallman <rms@gnu.org>
parents: 7850
diff changeset
315 ("\\\\'O" "Ó")
8996abee8718 (iso-iso2tex-trans-tab): Change a few characters.
Richard M. Stallman <rms@gnu.org>
parents: 7850
diff changeset
316 ("\\\\~O" "Õ")
8996abee8718 (iso-iso2tex-trans-tab): Change a few characters.
Richard M. Stallman <rms@gnu.org>
parents: 7850
diff changeset
317 ("\\\\^O" "Ô")
8996abee8718 (iso-iso2tex-trans-tab): Change a few characters.
Richard M. Stallman <rms@gnu.org>
parents: 7850
diff changeset
318 ("\\\\\"U" "Ü")
8996abee8718 (iso-iso2tex-trans-tab): Change a few characters.
Richard M. Stallman <rms@gnu.org>
parents: 7850
diff changeset
319 ("\\\\`U" "Ù")
8996abee8718 (iso-iso2tex-trans-tab): Change a few characters.
Richard M. Stallman <rms@gnu.org>
parents: 7850
diff changeset
320 ("\\\\'U" "Ú")
8996abee8718 (iso-iso2tex-trans-tab): Change a few characters.
Richard M. Stallman <rms@gnu.org>
parents: 7850
diff changeset
321 ("\\\\^U" "Û")
8996abee8718 (iso-iso2tex-trans-tab): Change a few characters.
Richard M. Stallman <rms@gnu.org>
parents: 7850
diff changeset
322 ("\\\\~n" "ñ")
8996abee8718 (iso-iso2tex-trans-tab): Change a few characters.
Richard M. Stallman <rms@gnu.org>
parents: 7850
diff changeset
323 ("\\\\~N" "Ñ")
7260
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
324 ("\\\\\"{a}" "ä")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
325 ("\\\\`{a}" "à")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
326 ("\\\\'{a}" "á")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
327 ("\\\\~{a}" "ã")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
328 ("\\\\^{a}" "â")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
329 ("\\\\\"{e}" "ë")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
330 ("\\\\`{e}" "è")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
331 ("\\\\'{e}" "é")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
332 ("\\\\^{e}" "ê")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
333 ("\\\\\"{\\\\i}" "ï")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
334 ("\\\\`{\\\\i}" "ì")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
335 ("\\\\'{\\\\i}" "í")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
336 ("\\\\^{\\\\i}" "î")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
337 ("\\\\\"{i}" "ï")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
338 ("\\\\`{i}" "ì")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
339 ("\\\\'{i}" "í")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
340 ("\\\\^{i}" "î")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
341 ("\\\\\"{o}" "ö")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
342 ("\\\\`{o}" "ò")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
343 ("\\\\'{o}" "ó")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
344 ("\\\\~{o}" "õ")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
345 ("\\\\^{o}" "ô")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
346 ("\\\\\"{u}" "ü")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
347 ("\\\\`{u}" "ù")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
348 ("\\\\'{u}" "ú")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
349 ("\\\\^{u}" "û")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
350 ("\\\\\"{A}" "Ä")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
351 ("\\\\`{A}" "À")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
352 ("\\\\'{A}" "Á")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
353 ("\\\\~{A}" "Ã")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
354 ("\\\\^{A}" "Â")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
355 ("\\\\\"{E}" "Ë")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
356 ("\\\\`{E}" "È")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
357 ("\\\\'{E}" "É")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
358 ("\\\\^{E}" "Ê")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
359 ("\\\\\"{I}" "Ï")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
360 ("\\\\`{I}" "Ì")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
361 ("\\\\'{I}" "Í")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
362 ("\\\\^{I}" "Î")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
363 ("\\\\\"{O}" "Ö")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
364 ("\\\\`{O}" "Ò")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
365 ("\\\\'{O}" "Ó")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
366 ("\\\\~{O}" "Õ")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
367 ("\\\\^{O}" "Ô")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
368 ("\\\\\"{U}" "Ü")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
369 ("\\\\`{U}" "Ù")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
370 ("\\\\'{U}" "Ú")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
371 ("\\\\^{U}" "Û")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
372 ("\\\\~{n}" "ñ")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
373 ("\\\\~{N}" "Ñ")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
374 ("\\\\c{c}" "ç")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
375 ("\\\\c{C}" "Ç")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
376 ("{\\\\ss}" "ß")
7861
8996abee8718 (iso-iso2tex-trans-tab): Change a few characters.
Richard M. Stallman <rms@gnu.org>
parents: 7850
diff changeset
377 ("{\\\\AE}" "\306")
8996abee8718 (iso-iso2tex-trans-tab): Change a few characters.
Richard M. Stallman <rms@gnu.org>
parents: 7850
diff changeset
378 ("{\\\\ae}" "\346")
10081
5e4ef35c904b Handle pilcrow, paragraph and pound signs.
Richard M. Stallman <rms@gnu.org>
parents: 8538
diff changeset
379 ("{\\\\AA}" "\305")
5e4ef35c904b Handle pilcrow, paragraph and pound signs.
Richard M. Stallman <rms@gnu.org>
parents: 8538
diff changeset
380 ("{\\\\aa}" "\345")
7861
8996abee8718 (iso-iso2tex-trans-tab): Change a few characters.
Richard M. Stallman <rms@gnu.org>
parents: 7850
diff changeset
381 ("{\\\\copyright}" "\251")
8996abee8718 (iso-iso2tex-trans-tab): Change a few characters.
Richard M. Stallman <rms@gnu.org>
parents: 7850
diff changeset
382 ("\\\\copyright{}" "\251")
10081
5e4ef35c904b Handle pilcrow, paragraph and pound signs.
Richard M. Stallman <rms@gnu.org>
parents: 8538
diff changeset
383 ("{\\\\pounds}" "£" )
5e4ef35c904b Handle pilcrow, paragraph and pound signs.
Richard M. Stallman <rms@gnu.org>
parents: 8538
diff changeset
384 ("{\\\\P}" "¶" )
5e4ef35c904b Handle pilcrow, paragraph and pound signs.
Richard M. Stallman <rms@gnu.org>
parents: 8538
diff changeset
385 ("{\\\\S}" "§" )
5e4ef35c904b Handle pilcrow, paragraph and pound signs.
Richard M. Stallman <rms@gnu.org>
parents: 8538
diff changeset
386 ("\\\\pounds{}" "£" )
5e4ef35c904b Handle pilcrow, paragraph and pound signs.
Richard M. Stallman <rms@gnu.org>
parents: 8538
diff changeset
387 ("\\\\P{}" "¶" )
5e4ef35c904b Handle pilcrow, paragraph and pound signs.
Richard M. Stallman <rms@gnu.org>
parents: 8538
diff changeset
388 ("\\\\S{}" "§" )
8538
94145efe2ad8 (iso-tex2iso-trans-tab): Put the sequences with braces
Richard M. Stallman <rms@gnu.org>
parents: 8433
diff changeset
389 ("{\\?`}" "¿")
94145efe2ad8 (iso-tex2iso-trans-tab): Put the sequences with braces
Richard M. Stallman <rms@gnu.org>
parents: 8433
diff changeset
390 ("{!`}" "¡")
94145efe2ad8 (iso-tex2iso-trans-tab): Put the sequences with braces
Richard M. Stallman <rms@gnu.org>
parents: 8433
diff changeset
391 ("\\?`" "¿")
7260
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
392 ("!`" "¡")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
393 )
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
394 "Translation table for translating TeX sequences to ISO 8859-1 characters.
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
395 This table is not exhaustive (and due to TeX's power can never be). It only
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
396 contains commonly used sequences.")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
397
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
398 (defun iso-tex2iso ()
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
399 "Translate TeX sequences to ISO 8859-1 characters."
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
400 (interactive)
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
401 (iso-translate-conventions iso-tex2iso-trans-tab))
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
402
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
403 (defvar iso-gtex2iso-trans-tab
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
404 '(
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
405 ("{\\\\\"a}" "ä")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
406 ("{\\\\`a}" "à")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
407 ("{\\\\'a}" "á")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
408 ("{\\\\~a}" "ã")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
409 ("{\\\\^a}" "â")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
410 ("{\\\\\"e}" "ë")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
411 ("{\\\\`e}" "è")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
412 ("{\\\\'e}" "é")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
413 ("{\\\\^e}" "ê")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
414 ("{\\\\\"\\\\i}" "ï")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
415 ("{\\\\`\\\\i}" "ì")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
416 ("{\\\\'\\\\i}" "í")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
417 ("{\\\\^\\\\i}" "î")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
418 ("{\\\\\"i}" "ï")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
419 ("{\\\\`i}" "ì")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
420 ("{\\\\'i}" "í")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
421 ("{\\\\^i}" "î")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
422 ("{\\\\\"o}" "ö")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
423 ("{\\\\`o}" "ò")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
424 ("{\\\\'o}" "ó")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
425 ("{\\\\~o}" "õ")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
426 ("{\\\\^o}" "ô")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
427 ("{\\\\\"u}" "ü")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
428 ("{\\\\`u}" "ù")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
429 ("{\\\\'u}" "ú")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
430 ("{\\\\^u}" "û")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
431 ("{\\\\\"A}" "Ä")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
432 ("{\\\\`A}" "À")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
433 ("{\\\\'A}" "Á")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
434 ("{\\\\~A}" "Ã")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
435 ("{\\\\^A}" "Â")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
436 ("{\\\\\"E}" "Ë")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
437 ("{\\\\`E}" "È")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
438 ("{\\\\'E}" "É")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
439 ("{\\\\^E}" "Ê")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
440 ("{\\\\\"I}" "Ï")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
441 ("{\\\\`I}" "Ì")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
442 ("{\\\\'I}" "Í")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
443 ("{\\\\^I}" "Î")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
444 ("{\\\\\"O}" "Ö")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
445 ("{\\\\`O}" "Ò")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
446 ("{\\\\'O}" "Ó")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
447 ("{\\\\~O}" "Õ")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
448 ("{\\\\^O}" "Ô")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
449 ("{\\\\\"U}" "Ü")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
450 ("{\\\\`U}" "Ù")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
451 ("{\\\\'U}" "Ú")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
452 ("{\\\\^U}" "Û")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
453 ("{\\\\~n}" "ñ")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
454 ("{\\\\~N}" "Ñ")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
455 ("{\\\\c c}" "ç")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
456 ("{\\\\c C}" "Ç")
7861
8996abee8718 (iso-iso2tex-trans-tab): Change a few characters.
Richard M. Stallman <rms@gnu.org>
parents: 7850
diff changeset
457 ("\\\\\"a" "ä")
8996abee8718 (iso-iso2tex-trans-tab): Change a few characters.
Richard M. Stallman <rms@gnu.org>
parents: 7850
diff changeset
458 ("\\\\`a" "à")
8996abee8718 (iso-iso2tex-trans-tab): Change a few characters.
Richard M. Stallman <rms@gnu.org>
parents: 7850
diff changeset
459 ("\\\\'a" "á")
8996abee8718 (iso-iso2tex-trans-tab): Change a few characters.
Richard M. Stallman <rms@gnu.org>
parents: 7850
diff changeset
460 ("\\\\~a" "ã")
8996abee8718 (iso-iso2tex-trans-tab): Change a few characters.
Richard M. Stallman <rms@gnu.org>
parents: 7850
diff changeset
461 ("\\\\^a" "â")
8996abee8718 (iso-iso2tex-trans-tab): Change a few characters.
Richard M. Stallman <rms@gnu.org>
parents: 7850
diff changeset
462 ("\\\\\"e" "ë")
8996abee8718 (iso-iso2tex-trans-tab): Change a few characters.
Richard M. Stallman <rms@gnu.org>
parents: 7850
diff changeset
463 ("\\\\`e" "è")
8996abee8718 (iso-iso2tex-trans-tab): Change a few characters.
Richard M. Stallman <rms@gnu.org>
parents: 7850
diff changeset
464 ("\\\\'e" "é")
8996abee8718 (iso-iso2tex-trans-tab): Change a few characters.
Richard M. Stallman <rms@gnu.org>
parents: 7850
diff changeset
465 ("\\\\^e" "ê")
8996abee8718 (iso-iso2tex-trans-tab): Change a few characters.
Richard M. Stallman <rms@gnu.org>
parents: 7850
diff changeset
466 ("\\\\\"\\\\i" "ï")
8996abee8718 (iso-iso2tex-trans-tab): Change a few characters.
Richard M. Stallman <rms@gnu.org>
parents: 7850
diff changeset
467 ("\\\\`\\\\i" "ì")
8996abee8718 (iso-iso2tex-trans-tab): Change a few characters.
Richard M. Stallman <rms@gnu.org>
parents: 7850
diff changeset
468 ("\\\\'\\\\i" "í")
8996abee8718 (iso-iso2tex-trans-tab): Change a few characters.
Richard M. Stallman <rms@gnu.org>
parents: 7850
diff changeset
469 ("\\\\^\\\\i" "î")
8996abee8718 (iso-iso2tex-trans-tab): Change a few characters.
Richard M. Stallman <rms@gnu.org>
parents: 7850
diff changeset
470 ("\\\\\"i" "ï")
8996abee8718 (iso-iso2tex-trans-tab): Change a few characters.
Richard M. Stallman <rms@gnu.org>
parents: 7850
diff changeset
471 ("\\\\`i" "ì")
8996abee8718 (iso-iso2tex-trans-tab): Change a few characters.
Richard M. Stallman <rms@gnu.org>
parents: 7850
diff changeset
472 ("\\\\'i" "í")
8996abee8718 (iso-iso2tex-trans-tab): Change a few characters.
Richard M. Stallman <rms@gnu.org>
parents: 7850
diff changeset
473 ("\\\\^i" "î")
8996abee8718 (iso-iso2tex-trans-tab): Change a few characters.
Richard M. Stallman <rms@gnu.org>
parents: 7850
diff changeset
474 ("\\\\\"o" "ö")
8996abee8718 (iso-iso2tex-trans-tab): Change a few characters.
Richard M. Stallman <rms@gnu.org>
parents: 7850
diff changeset
475 ("\\\\`o" "ò")
8996abee8718 (iso-iso2tex-trans-tab): Change a few characters.
Richard M. Stallman <rms@gnu.org>
parents: 7850
diff changeset
476 ("\\\\'o" "ó")
8996abee8718 (iso-iso2tex-trans-tab): Change a few characters.
Richard M. Stallman <rms@gnu.org>
parents: 7850
diff changeset
477 ("\\\\~o" "õ")
8996abee8718 (iso-iso2tex-trans-tab): Change a few characters.
Richard M. Stallman <rms@gnu.org>
parents: 7850
diff changeset
478 ("\\\\^o" "ô")
8996abee8718 (iso-iso2tex-trans-tab): Change a few characters.
Richard M. Stallman <rms@gnu.org>
parents: 7850
diff changeset
479 ("\\\\\"u" "ü")
8996abee8718 (iso-iso2tex-trans-tab): Change a few characters.
Richard M. Stallman <rms@gnu.org>
parents: 7850
diff changeset
480 ("\\\\`u" "ù")
8996abee8718 (iso-iso2tex-trans-tab): Change a few characters.
Richard M. Stallman <rms@gnu.org>
parents: 7850
diff changeset
481 ("\\\\'u" "ú")
8996abee8718 (iso-iso2tex-trans-tab): Change a few characters.
Richard M. Stallman <rms@gnu.org>
parents: 7850
diff changeset
482 ("\\\\^u" "û")
8996abee8718 (iso-iso2tex-trans-tab): Change a few characters.
Richard M. Stallman <rms@gnu.org>
parents: 7850
diff changeset
483 ("\\\\\"A" "Ä")
8996abee8718 (iso-iso2tex-trans-tab): Change a few characters.
Richard M. Stallman <rms@gnu.org>
parents: 7850
diff changeset
484 ("\\\\`A" "À")
8996abee8718 (iso-iso2tex-trans-tab): Change a few characters.
Richard M. Stallman <rms@gnu.org>
parents: 7850
diff changeset
485 ("\\\\'A" "Á")
8996abee8718 (iso-iso2tex-trans-tab): Change a few characters.
Richard M. Stallman <rms@gnu.org>
parents: 7850
diff changeset
486 ("\\\\~A" "Ã")
8996abee8718 (iso-iso2tex-trans-tab): Change a few characters.
Richard M. Stallman <rms@gnu.org>
parents: 7850
diff changeset
487 ("\\\\^A" "Â")
8996abee8718 (iso-iso2tex-trans-tab): Change a few characters.
Richard M. Stallman <rms@gnu.org>
parents: 7850
diff changeset
488 ("\\\\\"E" "Ë")
8996abee8718 (iso-iso2tex-trans-tab): Change a few characters.
Richard M. Stallman <rms@gnu.org>
parents: 7850
diff changeset
489 ("\\\\`E" "È")
8996abee8718 (iso-iso2tex-trans-tab): Change a few characters.
Richard M. Stallman <rms@gnu.org>
parents: 7850
diff changeset
490 ("\\\\'E" "É")
8996abee8718 (iso-iso2tex-trans-tab): Change a few characters.
Richard M. Stallman <rms@gnu.org>
parents: 7850
diff changeset
491 ("\\\\^E" "Ê")
8996abee8718 (iso-iso2tex-trans-tab): Change a few characters.
Richard M. Stallman <rms@gnu.org>
parents: 7850
diff changeset
492 ("\\\\\"I" "Ï")
8996abee8718 (iso-iso2tex-trans-tab): Change a few characters.
Richard M. Stallman <rms@gnu.org>
parents: 7850
diff changeset
493 ("\\\\`I" "Ì")
8996abee8718 (iso-iso2tex-trans-tab): Change a few characters.
Richard M. Stallman <rms@gnu.org>
parents: 7850
diff changeset
494 ("\\\\'I" "Í")
8996abee8718 (iso-iso2tex-trans-tab): Change a few characters.
Richard M. Stallman <rms@gnu.org>
parents: 7850
diff changeset
495 ("\\\\^I" "Î")
8996abee8718 (iso-iso2tex-trans-tab): Change a few characters.
Richard M. Stallman <rms@gnu.org>
parents: 7850
diff changeset
496 ("\\\\\"O" "Ö")
8996abee8718 (iso-iso2tex-trans-tab): Change a few characters.
Richard M. Stallman <rms@gnu.org>
parents: 7850
diff changeset
497 ("\\\\`O" "Ò")
8996abee8718 (iso-iso2tex-trans-tab): Change a few characters.
Richard M. Stallman <rms@gnu.org>
parents: 7850
diff changeset
498 ("\\\\'O" "Ó")
8996abee8718 (iso-iso2tex-trans-tab): Change a few characters.
Richard M. Stallman <rms@gnu.org>
parents: 7850
diff changeset
499 ("\\\\~O" "Õ")
8996abee8718 (iso-iso2tex-trans-tab): Change a few characters.
Richard M. Stallman <rms@gnu.org>
parents: 7850
diff changeset
500 ("\\\\^O" "Ô")
8996abee8718 (iso-iso2tex-trans-tab): Change a few characters.
Richard M. Stallman <rms@gnu.org>
parents: 7850
diff changeset
501 ("\\\\\"U" "Ü")
8996abee8718 (iso-iso2tex-trans-tab): Change a few characters.
Richard M. Stallman <rms@gnu.org>
parents: 7850
diff changeset
502 ("\\\\`U" "Ù")
8996abee8718 (iso-iso2tex-trans-tab): Change a few characters.
Richard M. Stallman <rms@gnu.org>
parents: 7850
diff changeset
503 ("\\\\'U" "Ú")
8996abee8718 (iso-iso2tex-trans-tab): Change a few characters.
Richard M. Stallman <rms@gnu.org>
parents: 7850
diff changeset
504 ("\\\\^U" "Û")
8996abee8718 (iso-iso2tex-trans-tab): Change a few characters.
Richard M. Stallman <rms@gnu.org>
parents: 7850
diff changeset
505 ("\\\\~n" "ñ")
8996abee8718 (iso-iso2tex-trans-tab): Change a few characters.
Richard M. Stallman <rms@gnu.org>
parents: 7850
diff changeset
506 ("\\\\~N" "Ñ")
7260
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
507 ("\\\\\"{a}" "ä")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
508 ("\\\\`{a}" "à")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
509 ("\\\\'{a}" "á")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
510 ("\\\\~{a}" "ã")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
511 ("\\\\^{a}" "â")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
512 ("\\\\\"{e}" "ë")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
513 ("\\\\`{e}" "è")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
514 ("\\\\'{e}" "é")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
515 ("\\\\^{e}" "ê")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
516 ("\\\\\"{\\\\i}" "ï")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
517 ("\\\\`{\\\\i}" "ì")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
518 ("\\\\'{\\\\i}" "í")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
519 ("\\\\^{\\\\i}" "î")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
520 ("\\\\\"{i}" "ï")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
521 ("\\\\`{i}" "ì")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
522 ("\\\\'{i}" "í")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
523 ("\\\\^{i}" "î")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
524 ("\\\\\"{o}" "ö")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
525 ("\\\\`{o}" "ò")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
526 ("\\\\'{o}" "ó")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
527 ("\\\\~{o}" "õ")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
528 ("\\\\^{o}" "ô")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
529 ("\\\\\"{u}" "ü")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
530 ("\\\\`{u}" "ù")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
531 ("\\\\'{u}" "ú")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
532 ("\\\\^{u}" "û")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
533 ("\\\\\"{A}" "Ä")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
534 ("\\\\`{A}" "À")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
535 ("\\\\'{A}" "Á")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
536 ("\\\\~{A}" "Ã")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
537 ("\\\\^{A}" "Â")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
538 ("\\\\\"{E}" "Ë")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
539 ("\\\\`{E}" "È")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
540 ("\\\\'{E}" "É")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
541 ("\\\\^{E}" "Ê")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
542 ("\\\\\"{I}" "Ï")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
543 ("\\\\`{I}" "Ì")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
544 ("\\\\'{I}" "Í")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
545 ("\\\\^{I}" "Î")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
546 ("\\\\\"{O}" "Ö")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
547 ("\\\\`{O}" "Ò")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
548 ("\\\\'{O}" "Ó")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
549 ("\\\\~{O}" "Õ")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
550 ("\\\\^{O}" "Ô")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
551 ("\\\\\"{U}" "Ü")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
552 ("\\\\`{U}" "Ù")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
553 ("\\\\'{U}" "Ú")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
554 ("\\\\^{U}" "Û")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
555 ("\\\\~{n}" "ñ")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
556 ("\\\\~{N}" "Ñ")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
557 ("\\\\c{c}" "ç")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
558 ("\\\\c{C}" "Ç")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
559 ("{\\\\ss}" "ß")
7861
8996abee8718 (iso-iso2tex-trans-tab): Change a few characters.
Richard M. Stallman <rms@gnu.org>
parents: 7850
diff changeset
560 ("{\\\\AE}" "\306")
8996abee8718 (iso-iso2tex-trans-tab): Change a few characters.
Richard M. Stallman <rms@gnu.org>
parents: 7850
diff changeset
561 ("{\\\\ae}" "\346")
10081
5e4ef35c904b Handle pilcrow, paragraph and pound signs.
Richard M. Stallman <rms@gnu.org>
parents: 8538
diff changeset
562 ("{\\\\AA}" "\305")
5e4ef35c904b Handle pilcrow, paragraph and pound signs.
Richard M. Stallman <rms@gnu.org>
parents: 8538
diff changeset
563 ("{\\\\aa}" "\345")
7861
8996abee8718 (iso-iso2tex-trans-tab): Change a few characters.
Richard M. Stallman <rms@gnu.org>
parents: 7850
diff changeset
564 ("{\\\\copyright}" "\251")
8996abee8718 (iso-iso2tex-trans-tab): Change a few characters.
Richard M. Stallman <rms@gnu.org>
parents: 7850
diff changeset
565 ("\\\\copyright{}" "\251")
10081
5e4ef35c904b Handle pilcrow, paragraph and pound signs.
Richard M. Stallman <rms@gnu.org>
parents: 8538
diff changeset
566 ("{\\\\pounds}" "£" )
5e4ef35c904b Handle pilcrow, paragraph and pound signs.
Richard M. Stallman <rms@gnu.org>
parents: 8538
diff changeset
567 ("{\\\\P}" "¶" )
5e4ef35c904b Handle pilcrow, paragraph and pound signs.
Richard M. Stallman <rms@gnu.org>
parents: 8538
diff changeset
568 ("{\\\\S}" "§" )
5e4ef35c904b Handle pilcrow, paragraph and pound signs.
Richard M. Stallman <rms@gnu.org>
parents: 8538
diff changeset
569 ("\\\\pounds{}" "£" )
5e4ef35c904b Handle pilcrow, paragraph and pound signs.
Richard M. Stallman <rms@gnu.org>
parents: 8538
diff changeset
570 ("\\\\P{}" "¶" )
5e4ef35c904b Handle pilcrow, paragraph and pound signs.
Richard M. Stallman <rms@gnu.org>
parents: 8538
diff changeset
571 ("\\\\S{}" "§" )
7260
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
572 ("?`" "¿")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
573 ("!`" "¡")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
574 ("{?`}" "¿")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
575 ("{!`}" "¡")
7425
eb4b69bf2d4e (iso-gtex2iso-trans-tab): Redorder this list.
Richard M. Stallman <rms@gnu.org>
parents: 7260
diff changeset
576 ("\"a" "ä")
eb4b69bf2d4e (iso-gtex2iso-trans-tab): Redorder this list.
Richard M. Stallman <rms@gnu.org>
parents: 7260
diff changeset
577 ("\"A" "Ä")
eb4b69bf2d4e (iso-gtex2iso-trans-tab): Redorder this list.
Richard M. Stallman <rms@gnu.org>
parents: 7260
diff changeset
578 ("\"o" "ö")
eb4b69bf2d4e (iso-gtex2iso-trans-tab): Redorder this list.
Richard M. Stallman <rms@gnu.org>
parents: 7260
diff changeset
579 ("\"O" "Ö")
eb4b69bf2d4e (iso-gtex2iso-trans-tab): Redorder this list.
Richard M. Stallman <rms@gnu.org>
parents: 7260
diff changeset
580 ("\"u" "ü")
eb4b69bf2d4e (iso-gtex2iso-trans-tab): Redorder this list.
Richard M. Stallman <rms@gnu.org>
parents: 7260
diff changeset
581 ("\"U" "Ü")
eb4b69bf2d4e (iso-gtex2iso-trans-tab): Redorder this list.
Richard M. Stallman <rms@gnu.org>
parents: 7260
diff changeset
582 ("\"s" "ß")
eb4b69bf2d4e (iso-gtex2iso-trans-tab): Redorder this list.
Richard M. Stallman <rms@gnu.org>
parents: 7260
diff changeset
583 ("\\\\3" "ß")
7260
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
584 )
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
585 "Translation table for translating German TeX sequences to ISO 8859-1.
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
586 This table is not exhaustive (and due to TeX's power can never be). It only
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
587 contains commonly used sequences.")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
588
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
589 (defvar iso-iso2gtex-trans-tab
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
590 '(
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
591 ("ä" "\"a")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
592 ("à" "{\\\\`a}")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
593 ("á" "{\\\\'a}")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
594 ("ã" "{\\\\~a}")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
595 ("â" "{\\\\^a}")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
596 ("ë" "{\\\\\"e}")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
597 ("è" "{\\\\`e}")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
598 ("é" "{\\\\'e}")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
599 ("ê" "{\\\\^e}")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
600 ("ï" "{\\\\\"\\\\i}")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
601 ("ì" "{\\\\`\\\\i}")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
602 ("í" "{\\\\'\\\\i}")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
603 ("î" "{\\\\^\\\\i}")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
604 ("ö" "\"o")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
605 ("ò" "{\\\\`o}")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
606 ("ó" "{\\\\'o}")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
607 ("õ" "{\\\\~o}")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
608 ("ô" "{\\\\^o}")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
609 ("ü" "\"u")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
610 ("ù" "{\\\\`u}")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
611 ("ú" "{\\\\'u}")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
612 ("û" "{\\\\^u}")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
613 ("Ä" "\"A")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
614 ("À" "{\\\\`A}")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
615 ("Á" "{\\\\'A}")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
616 ("Ã" "{\\\\~A}")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
617 ("Â" "{\\\\^A}")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
618 ("Ë" "{\\\\\"E}")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
619 ("È" "{\\\\`E}")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
620 ("É" "{\\\\'E}")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
621 ("Ê" "{\\\\^E}")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
622 ("Ï" "{\\\\\"I}")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
623 ("Ì" "{\\\\`I}")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
624 ("Í" "{\\\\'I}")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
625 ("Î" "{\\\\^I}")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
626 ("Ö" "\"O")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
627 ("Ò" "{\\\\`O}")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
628 ("Ó" "{\\\\'O}")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
629 ("Õ" "{\\\\~O}")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
630 ("Ô" "{\\\\^O}")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
631 ("Ü" "\"U")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
632 ("Ù" "{\\\\`U}")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
633 ("Ú" "{\\\\'U}")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
634 ("Û" "{\\\\^U}")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
635 ("ñ" "{\\\\~n}")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
636 ("Ñ" "{\\\\~N}")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
637 ("ç" "{\\\\c c}")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
638 ("Ç" "{\\\\c C}")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
639 ("ß" "\"s")
7861
8996abee8718 (iso-iso2tex-trans-tab): Change a few characters.
Richard M. Stallman <rms@gnu.org>
parents: 7850
diff changeset
640 ("\306" "{\\\\AE}")
8996abee8718 (iso-iso2tex-trans-tab): Change a few characters.
Richard M. Stallman <rms@gnu.org>
parents: 7850
diff changeset
641 ("\346" "{\\\\ae}")
10081
5e4ef35c904b Handle pilcrow, paragraph and pound signs.
Richard M. Stallman <rms@gnu.org>
parents: 8538
diff changeset
642 ("\305" "{\\\\AA}")
5e4ef35c904b Handle pilcrow, paragraph and pound signs.
Richard M. Stallman <rms@gnu.org>
parents: 8538
diff changeset
643 ("\345" "{\\\\aa}")
7861
8996abee8718 (iso-iso2tex-trans-tab): Change a few characters.
Richard M. Stallman <rms@gnu.org>
parents: 7850
diff changeset
644 ("\251" "{\\\\copyright}")
10081
5e4ef35c904b Handle pilcrow, paragraph and pound signs.
Richard M. Stallman <rms@gnu.org>
parents: 8538
diff changeset
645 ("£" "{\\\\pounds}")
5e4ef35c904b Handle pilcrow, paragraph and pound signs.
Richard M. Stallman <rms@gnu.org>
parents: 8538
diff changeset
646 ("¶" "{\\\\P}")
5e4ef35c904b Handle pilcrow, paragraph and pound signs.
Richard M. Stallman <rms@gnu.org>
parents: 8538
diff changeset
647 ("§" "{\\\\S}")
7260
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
648 ("¿" "{?`}")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
649 ("¡" "{!`}")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
650 )
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
651 "Translation table for translating ISO 8859-1 characters to German TeX.")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
652
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
653 (defun iso-gtex2iso ()
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
654 "Translate German TeX sequences to ISO 8859-1 characters."
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
655 (interactive)
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
656 (iso-translate-conventions iso-gtex2iso-trans-tab))
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
657
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
658
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
659 (defun iso-iso2gtex ()
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
660 "Translate ISO 8859-1 characters to German TeX sequences."
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
661 (interactive)
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
662 (iso-translate-conventions iso-iso2gtex-trans-tab))
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
663
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
664
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
665 (defun iso-german-tex-p ()
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
666 "Check if tex buffer is German LaTeX."
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
667 (save-excursion
8538
94145efe2ad8 (iso-tex2iso-trans-tab): Put the sequences with braces
Richard M. Stallman <rms@gnu.org>
parents: 8433
diff changeset
668 (save-restriction
94145efe2ad8 (iso-tex2iso-trans-tab): Put the sequences with braces
Richard M. Stallman <rms@gnu.org>
parents: 8433
diff changeset
669 (widen)
94145efe2ad8 (iso-tex2iso-trans-tab): Put the sequences with braces
Richard M. Stallman <rms@gnu.org>
parents: 8433
diff changeset
670 (goto-char (point-min))
94145efe2ad8 (iso-tex2iso-trans-tab): Put the sequences with braces
Richard M. Stallman <rms@gnu.org>
parents: 8433
diff changeset
671 (re-search-forward "\\\\documentstyle\\[.*german.*\\]" nil t))))
7260
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
672
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
673 (defun iso-fix-iso2tex ()
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
674 "Turn ISO 8859-1 (aka. ISO Latin-1) buffer into TeX sequences.
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
675 If German TeX is used, German TeX sequences are generated."
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
676 (if (or (equal major-mode 'latex-mode)
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
677 (equal major-mode 'LaTeX-mode)) ; AucTeX wants this
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
678 (if (iso-german-tex-p)
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
679 (iso-iso2gtex)
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
680 (iso-iso2tex)))
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
681 (if (or (equal major-mode 'tex-mode)
8433
b14b118e6724 (iso-fix-iso2tex, iso-fix-tex2iso): Check plain-text-mode.
Richard M. Stallman <rms@gnu.org>
parents: 7861
diff changeset
682 (equal major-mode 'TeX-mode) ; AucTeX wants this
8538
94145efe2ad8 (iso-tex2iso-trans-tab): Put the sequences with braces
Richard M. Stallman <rms@gnu.org>
parents: 8433
diff changeset
683 (equal major-mode 'plain-tex-mode))
7260
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
684 (iso-iso2tex)))
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
685
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
686 (defun iso-fix-tex2iso ()
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
687 "Turn TeX sequences into ISO 8859-1 (aka. ISO Latin-1) characters.
13993
9623505c1482 (iso-fix-tex2iso): Doc fix.
Karl Heuer <kwzh@gnu.org>
parents: 13337
diff changeset
688 This function recognizes German TeX buffers."
7260
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
689 (if (or (equal major-mode 'latex-mode)
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
690 (equal major-mode 'Latex-mode)) ; AucTeX wants this
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
691 (if (iso-german-tex-p)
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
692 (iso-gtex2iso)
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
693 (iso-tex2iso)))
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
694 (if (or (equal major-mode 'tex-mode)
8433
b14b118e6724 (iso-fix-iso2tex, iso-fix-tex2iso): Check plain-text-mode.
Richard M. Stallman <rms@gnu.org>
parents: 7861
diff changeset
695 (equal major-mode 'TeX-mode) ; AucTeX wants this
8538
94145efe2ad8 (iso-tex2iso-trans-tab): Put the sequences with braces
Richard M. Stallman <rms@gnu.org>
parents: 8433
diff changeset
696 (equal major-mode 'plain-tex-mode))
7260
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
697 (iso-tex2iso)))
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
698
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
699 (defun iso-cvt-ffh ()
10434
5cb0747f521f (iso-aggressive-german-trans-tab): Doc fix.
Karl Heuer <kwzh@gnu.org>
parents: 10081
diff changeset
700 "find-file-hook for iso-cvt.el."
7260
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
701 (iso-fix-tex2iso)
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
702 (set-buffer-modified-p nil))
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
703
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
704 (defun iso-cvt-wfh ()
10434
5cb0747f521f (iso-aggressive-german-trans-tab): Doc fix.
Karl Heuer <kwzh@gnu.org>
parents: 10081
diff changeset
705 "write file hook for iso-cvt.el."
7260
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
706 (iso-fix-iso2tex))
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
707
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
708 (defun iso-cvt-ash ()
10434
5cb0747f521f (iso-aggressive-german-trans-tab): Doc fix.
Karl Heuer <kwzh@gnu.org>
parents: 10081
diff changeset
709 "after save hook for iso-cvt.el."
7260
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
710 (iso-fix-tex2iso)
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
711 (set-buffer-modified-p nil))
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
712
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
713 (add-hook 'find-file-hooks 'iso-cvt-ffh)
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
714 (add-hook 'write-file-hooks 'iso-cvt-wfh)
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
715 (add-hook 'after-save-hook 'iso-cvt-ash)
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
716
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
717 ;;; iso-cvt.el ends here