annotate lisp/international/iso-cvt.el @ 30561:fb68d65b0fa3

Fix a customization problem on ps-mule-font-info-database-default.
author Gerd Moellmann <gerd@gnu.org>
date Wed, 02 Aug 2000 20:20:55 +0000
parents 6cc408ca6aef
children 879195ddd0d6
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
28393
aaa13b7caa88 Move provide to end. Doc fixes.
Dave Love <fx@gnu.org>
parents: 22911
diff changeset
1 ;;; iso-cvt.-el -- translate ISO 8859-1 from/to various encodings -*- coding: iso-latin-1 -*-
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
28393
aaa13b7caa88 Move provide to end. Doc fixes.
Dave Love <fx@gnu.org>
parents: 22911
diff changeset
4 ;; Copyright (C) 1993, 1994, 1995, 1996, 1998, 2000 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
22911
d70738580fb4 (iso-spanish, iso-german, iso-iso2tex,
Dave Love <fx@gnu.org>
parents: 20987
diff changeset
26 ;;; Commentary:
d70738580fb4 (iso-spanish, iso-german, iso-iso2tex,
Dave Love <fx@gnu.org>
parents: 20987
diff changeset
27 ;; This lisp code is a general framework for translating various
18228
81fa1f5547eb Require `format'.
Richard M. Stallman <rms@gnu.org>
parents: 15261
diff changeset
28 ;; representations of the same data.
81fa1f5547eb Require `format'.
Richard M. Stallman <rms@gnu.org>
parents: 15261
diff changeset
29 ;; among other things it can be used to translate TeX, HTML, and compressed
22911
d70738580fb4 (iso-spanish, iso-german, iso-iso2tex,
Dave Love <fx@gnu.org>
parents: 20987
diff changeset
30 ;; files to ISO 8859-1. It can also be used to translate different charsets
18228
81fa1f5547eb Require `format'.
Richard M. Stallman <rms@gnu.org>
parents: 15261
diff changeset
31 ;; such as IBM PC, Macintosh or HP Roman8.
81fa1f5547eb Require `format'.
Richard M. Stallman <rms@gnu.org>
parents: 15261
diff changeset
32 ;; Note that many translations use the GNU recode tool to do the actual
81fa1f5547eb Require `format'.
Richard M. Stallman <rms@gnu.org>
parents: 15261
diff changeset
33 ;; conversion. So you might want to install that tool to get the full
81fa1f5547eb Require `format'.
Richard M. Stallman <rms@gnu.org>
parents: 15261
diff changeset
34 ;; benefit of iso-cvt.el
7425
eb4b69bf2d4e (iso-gtex2iso-trans-tab): Redorder this list.
Richard M. Stallman <rms@gnu.org>
parents: 7260
diff changeset
35
18228
81fa1f5547eb Require `format'.
Richard M. Stallman <rms@gnu.org>
parents: 15261
diff changeset
36 ; TO DO:
28393
aaa13b7caa88 Move provide to end. Doc fixes.
Dave Love <fx@gnu.org>
parents: 22911
diff changeset
37 ; Cover more cases for translation. (There is an infinite number of ways to
18228
81fa1f5547eb Require `format'.
Richard M. Stallman <rms@gnu.org>
parents: 15261
diff changeset
38 ; represent accented characters in TeX)
7260
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
39
18228
81fa1f5547eb Require `format'.
Richard M. Stallman <rms@gnu.org>
parents: 15261
diff changeset
40 ;; SEE ALSO:
22911
d70738580fb4 (iso-spanish, iso-german, iso-iso2tex,
Dave Love <fx@gnu.org>
parents: 20987
diff changeset
41 ; If you are interested in questions related to using the ISO 8859-1
18228
81fa1f5547eb Require `format'.
Richard M. Stallman <rms@gnu.org>
parents: 15261
diff changeset
42 ; characters set (configuring emacs, Unix, etc. to use ISO), then you
22911
d70738580fb4 (iso-spanish, iso-german, iso-iso2tex,
Dave Love <fx@gnu.org>
parents: 20987
diff changeset
43 ; can get the ISO 8859-1 FAQ via anonymous ftp from
28425
6cc408ca6aef Fix comment. Don't bother to require format.
Dave Love <fx@gnu.org>
parents: 28393
diff changeset
44 ; ftp.vlsivie.tuwien.ac.at in /pub/8bit/FAQ-ISO-8859-1
7260
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
45
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
46 ;;; Code:
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
47
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
48 (defvar iso-spanish-trans-tab
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
49 '(
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
50 ("~n" "ñ")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
51 ("\([a-zA-Z]\)#" "\\1ñ")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
52 ("~N" "Ñ")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
53 ("\\([-a-zA-Z\"`]\\)\"u" "\\1ü")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
54 ("\\([-a-zA-Z\"`]\\)\"U" "\\1Ü")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
55 ("\\([-a-zA-Z]\\)'o" "\\1ó")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
56 ("\\([-a-zA-Z]\\)'O" "\\Ó")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
57 ("\\([-a-zA-Z]\\)'e" "\\1é")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
58 ("\\([-a-zA-Z]\\)'E" "\\1É")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
59 ("\\([-a-zA-Z]\\)'a" "\\1á")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
60 ("\\([-a-zA-Z]\\)'A" "\\1A")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
61 ("\\([-a-zA-Z]\\)'i" "\\1í")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
62 ("\\([-a-zA-Z]\\)'I" "\\1Í")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
63 )
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
64 "Spanish translation table.")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
65
18228
81fa1f5547eb Require `format'.
Richard M. Stallman <rms@gnu.org>
parents: 15261
diff changeset
66 (defun iso-translate-conventions (from to trans-tab)
7850
b6f3dd2511bc (iso-translate-conventions): Get rid of interactive spec.
Richard M. Stallman <rms@gnu.org>
parents: 7831
diff changeset
67 "Use the translation table TRANS-TAB to translate the current buffer."
7260
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
68 (save-excursion
18228
81fa1f5547eb Require `format'.
Richard M. Stallman <rms@gnu.org>
parents: 15261
diff changeset
69 (save-restriction
81fa1f5547eb Require `format'.
Richard M. Stallman <rms@gnu.org>
parents: 15261
diff changeset
70 (narrow-to-region from to)
81fa1f5547eb Require `format'.
Richard M. Stallman <rms@gnu.org>
parents: 15261
diff changeset
71 (goto-char from)
81fa1f5547eb Require `format'.
Richard M. Stallman <rms@gnu.org>
parents: 15261
diff changeset
72 (let ((work-tab trans-tab)
81fa1f5547eb Require `format'.
Richard M. Stallman <rms@gnu.org>
parents: 15261
diff changeset
73 (buffer-read-only nil)
81fa1f5547eb Require `format'.
Richard M. Stallman <rms@gnu.org>
parents: 15261
diff changeset
74 (case-fold-search nil))
81fa1f5547eb Require `format'.
Richard M. Stallman <rms@gnu.org>
parents: 15261
diff changeset
75 (while work-tab
81fa1f5547eb Require `format'.
Richard M. Stallman <rms@gnu.org>
parents: 15261
diff changeset
76 (save-excursion
81fa1f5547eb Require `format'.
Richard M. Stallman <rms@gnu.org>
parents: 15261
diff changeset
77 (let ((trans-this (car work-tab)))
81fa1f5547eb Require `format'.
Richard M. Stallman <rms@gnu.org>
parents: 15261
diff changeset
78 (while (re-search-forward (car trans-this) nil t)
81fa1f5547eb Require `format'.
Richard M. Stallman <rms@gnu.org>
parents: 15261
diff changeset
79 (replace-match (car (cdr trans-this)) t nil)))
81fa1f5547eb Require `format'.
Richard M. Stallman <rms@gnu.org>
parents: 15261
diff changeset
80 (setq work-tab (cdr work-tab)))))
81fa1f5547eb Require `format'.
Richard M. Stallman <rms@gnu.org>
parents: 15261
diff changeset
81 (point-max))))
7260
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
82
22911
d70738580fb4 (iso-spanish, iso-german, iso-iso2tex,
Dave Love <fx@gnu.org>
parents: 20987
diff changeset
83 ;;;###autoload
d70738580fb4 (iso-spanish, iso-german, iso-iso2tex,
Dave Love <fx@gnu.org>
parents: 20987
diff changeset
84 (defun iso-spanish (from to &optional buffer)
d70738580fb4 (iso-spanish, iso-german, iso-iso2tex,
Dave Love <fx@gnu.org>
parents: 20987
diff changeset
85 "Translate net conventions for Spanish to ISO 8859-1.
d70738580fb4 (iso-spanish, iso-german, iso-iso2tex,
Dave Love <fx@gnu.org>
parents: 20987
diff changeset
86 The region between FROM and TO is translated using the table TRANS-TAB.
d70738580fb4 (iso-spanish, iso-german, iso-iso2tex,
Dave Love <fx@gnu.org>
parents: 20987
diff changeset
87 Optional arg BUFFER is ignored (so that the function can can be used in
d70738580fb4 (iso-spanish, iso-german, iso-iso2tex,
Dave Love <fx@gnu.org>
parents: 20987
diff changeset
88 `format-alist')."
d70738580fb4 (iso-spanish, iso-german, iso-iso2tex,
Dave Love <fx@gnu.org>
parents: 20987
diff changeset
89 (interactive "*r")
18228
81fa1f5547eb Require `format'.
Richard M. Stallman <rms@gnu.org>
parents: 15261
diff changeset
90 (iso-translate-conventions from to iso-spanish-trans-tab))
7260
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
91
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
92 (defvar iso-aggressive-german-trans-tab
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
93 '(
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
94 ("\"a" "ä")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
95 ("\"A" "Ä")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
96 ("\"o" "ö")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
97 ("\"O" "Ö")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
98 ("\"u" "ü")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
99 ("\"U" "Ü")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
100 ("\"s" "ß")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
101 ("\\\\3" "ß")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
102 )
22911
d70738580fb4 (iso-spanish, iso-german, iso-iso2tex,
Dave Love <fx@gnu.org>
parents: 20987
diff changeset
103 "German translation table.
10434
5cb0747f521f (iso-aggressive-german-trans-tab): Doc fix.
Karl Heuer <kwzh@gnu.org>
parents: 10081
diff changeset
104 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
105 translate too much.")
7260
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
106
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
107 (defvar iso-conservative-german-trans-tab
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
108 '(
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
109 ("\\([-a-zA-Z\"`]\\)\"a" "\\1ä")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
110 ("\\([-a-zA-Z\"`]\\)\"A" "\\1Ä")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
111 ("\\([-a-zA-Z\"`]\\)\"o" "\\1ö")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
112 ("\\([-a-zA-Z\"`]\\)\"O" "\\1Ö")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
113 ("\\([-a-zA-Z\"`]\\)\"u" "\\1ü")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
114 ("\\([-a-zA-Z\"`]\\)\"U" "\\1Ü")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
115 ("\\([-a-zA-Z\"`]\\)\"s" "\\1ß")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
116 ("\\([-a-zA-Z\"`]\\)\\\\3" "\\1ß")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
117 )
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
118 "German translation table.
22911
d70738580fb4 (iso-spanish, iso-german, iso-iso2tex,
Dave Love <fx@gnu.org>
parents: 20987
diff changeset
119 This table uses a conservative translation approach and may translate too
7260
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
120 little.")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
121
22911
d70738580fb4 (iso-spanish, iso-german, iso-iso2tex,
Dave Love <fx@gnu.org>
parents: 20987
diff changeset
122 (defvar iso-german-trans-tab iso-aggressive-german-trans-tab
7260
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
123 "Currently active translation table for German.")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
124
22911
d70738580fb4 (iso-spanish, iso-german, iso-iso2tex,
Dave Love <fx@gnu.org>
parents: 20987
diff changeset
125 ;;;###autoload
d70738580fb4 (iso-spanish, iso-german, iso-iso2tex,
Dave Love <fx@gnu.org>
parents: 20987
diff changeset
126 (defun iso-german (from to &optional buffer)
d70738580fb4 (iso-spanish, iso-german, iso-iso2tex,
Dave Love <fx@gnu.org>
parents: 20987
diff changeset
127 "Translate net conventions for German to ISO 8859-1.
d70738580fb4 (iso-spanish, iso-german, iso-iso2tex,
Dave Love <fx@gnu.org>
parents: 20987
diff changeset
128 The region between FROM and TO is translated using the table TRANS-TAB.
d70738580fb4 (iso-spanish, iso-german, iso-iso2tex,
Dave Love <fx@gnu.org>
parents: 20987
diff changeset
129 Optional arg BUFFER is ignored (so that the function can can be used in
d70738580fb4 (iso-spanish, iso-german, iso-iso2tex,
Dave Love <fx@gnu.org>
parents: 20987
diff changeset
130 `format-alist')."
d70738580fb4 (iso-spanish, iso-german, iso-iso2tex,
Dave Love <fx@gnu.org>
parents: 20987
diff changeset
131 (interactive "*r")
18228
81fa1f5547eb Require `format'.
Richard M. Stallman <rms@gnu.org>
parents: 15261
diff changeset
132 (iso-translate-conventions from to iso-german-trans-tab))
7260
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 (defvar iso-iso2tex-trans-tab
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
135 '(
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
136 ("ä" "{\\\\\"a}")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
137 ("à" "{\\\\`a}")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
138 ("á" "{\\\\'a}")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
139 ("ã" "{\\\\~a}")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
140 ("â" "{\\\\^a}")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
141 ("ë" "{\\\\\"e}")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
142 ("è" "{\\\\`e}")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
143 ("é" "{\\\\'e}")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
144 ("ê" "{\\\\^e}")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
145 ("ï" "{\\\\\"\\\\i}")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
146 ("ì" "{\\\\`\\\\i}")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
147 ("í" "{\\\\'\\\\i}")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
148 ("î" "{\\\\^\\\\i}")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
149 ("ö" "{\\\\\"o}")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
150 ("ò" "{\\\\`o}")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
151 ("ó" "{\\\\'o}")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
152 ("õ" "{\\\\~o}")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
153 ("ô" "{\\\\^o}")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
154 ("ü" "{\\\\\"u}")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
155 ("ù" "{\\\\`u}")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
156 ("ú" "{\\\\'u}")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
157 ("û" "{\\\\^u}")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
158 ("Ä" "{\\\\\"A}")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
159 ("À" "{\\\\`A}")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
160 ("Á" "{\\\\'A}")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
161 ("Ã" "{\\\\~A}")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
162 ("Â" "{\\\\^A}")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
163 ("Ë" "{\\\\\"E}")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
164 ("È" "{\\\\`E}")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
165 ("É" "{\\\\'E}")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
166 ("Ê" "{\\\\^E}")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
167 ("Ï" "{\\\\\"I}")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
168 ("Ì" "{\\\\`I}")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
169 ("Í" "{\\\\'I}")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
170 ("Î" "{\\\\^I}")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
171 ("Ö" "{\\\\\"O}")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
172 ("Ò" "{\\\\`O}")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
173 ("Ó" "{\\\\'O}")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
174 ("Õ" "{\\\\~O}")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
175 ("Ô" "{\\\\^O}")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
176 ("Ü" "{\\\\\"U}")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
177 ("Ù" "{\\\\`U}")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
178 ("Ú" "{\\\\'U}")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
179 ("Û" "{\\\\^U}")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
180 ("ñ" "{\\\\~n}")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
181 ("Ñ" "{\\\\~N}")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
182 ("ç" "{\\\\c c}")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
183 ("Ç" "{\\\\c C}")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
184 ("ß" "{\\\\ss}")
7861
8996abee8718 (iso-iso2tex-trans-tab): Change a few characters.
Richard M. Stallman <rms@gnu.org>
parents: 7850
diff changeset
185 ("\306" "{\\\\AE}")
8996abee8718 (iso-iso2tex-trans-tab): Change a few characters.
Richard M. Stallman <rms@gnu.org>
parents: 7850
diff changeset
186 ("\346" "{\\\\ae}")
10081
5e4ef35c904b Handle pilcrow, paragraph and pound signs.
Richard M. Stallman <rms@gnu.org>
parents: 8538
diff changeset
187 ("\305" "{\\\\AA}")
5e4ef35c904b Handle pilcrow, paragraph and pound signs.
Richard M. Stallman <rms@gnu.org>
parents: 8538
diff changeset
188 ("\345" "{\\\\aa}")
7861
8996abee8718 (iso-iso2tex-trans-tab): Change a few characters.
Richard M. Stallman <rms@gnu.org>
parents: 7850
diff changeset
189 ("\251" "{\\\\copyright}")
10081
5e4ef35c904b Handle pilcrow, paragraph and pound signs.
Richard M. Stallman <rms@gnu.org>
parents: 8538
diff changeset
190 ("£" "{\\\\pounds}")
5e4ef35c904b Handle pilcrow, paragraph and pound signs.
Richard M. Stallman <rms@gnu.org>
parents: 8538
diff changeset
191 ("¶" "{\\\\P}")
5e4ef35c904b Handle pilcrow, paragraph and pound signs.
Richard M. Stallman <rms@gnu.org>
parents: 8538
diff changeset
192 ("§" "{\\\\S}")
7260
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
193 ("¿" "{?`}")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
194 ("¡" "{!`}")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
195 )
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
196 "Translation table for translating ISO 8859-1 characters to TeX sequences.")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
197
22911
d70738580fb4 (iso-spanish, iso-german, iso-iso2tex,
Dave Love <fx@gnu.org>
parents: 20987
diff changeset
198 ;;;###autoload
d70738580fb4 (iso-spanish, iso-german, iso-iso2tex,
Dave Love <fx@gnu.org>
parents: 20987
diff changeset
199 (defun iso-iso2tex (from to &optional buffer)
d70738580fb4 (iso-spanish, iso-german, iso-iso2tex,
Dave Love <fx@gnu.org>
parents: 20987
diff changeset
200 "Translate ISO 8859-1 characters to TeX sequences.
d70738580fb4 (iso-spanish, iso-german, iso-iso2tex,
Dave Love <fx@gnu.org>
parents: 20987
diff changeset
201 The region between FROM and TO is translated using the table TRANS-TAB.
d70738580fb4 (iso-spanish, iso-german, iso-iso2tex,
Dave Love <fx@gnu.org>
parents: 20987
diff changeset
202 Optional arg BUFFER is ignored (so that the function can can be used in
d70738580fb4 (iso-spanish, iso-german, iso-iso2tex,
Dave Love <fx@gnu.org>
parents: 20987
diff changeset
203 `format-alist')."
d70738580fb4 (iso-spanish, iso-german, iso-iso2tex,
Dave Love <fx@gnu.org>
parents: 20987
diff changeset
204 (interactive "*r")
18228
81fa1f5547eb Require `format'.
Richard M. Stallman <rms@gnu.org>
parents: 15261
diff changeset
205 (iso-translate-conventions from to iso-iso2tex-trans-tab))
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 (defvar iso-tex2iso-trans-tab
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 ("{\\\\\"a}" "ä")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
210 ("{\\\\`a}" "à")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
211 ("{\\\\'a}" "á")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
212 ("{\\\\~a}" "ã")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
213 ("{\\\\^a}" "â")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
214 ("{\\\\\"e}" "ë")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
215 ("{\\\\`e}" "è")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
216 ("{\\\\'e}" "é")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
217 ("{\\\\^e}" "ê")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
218 ("{\\\\\"\\\\i}" "ï")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
219 ("{\\\\`\\\\i}" "ì")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
220 ("{\\\\'\\\\i}" "í")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
221 ("{\\\\^\\\\i}" "î")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
222 ("{\\\\\"i}" "ï")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
223 ("{\\\\`i}" "ì")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
224 ("{\\\\'i}" "í")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
225 ("{\\\\^i}" "î")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
226 ("{\\\\\"o}" "ö")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
227 ("{\\\\`o}" "ò")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
228 ("{\\\\'o}" "ó")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
229 ("{\\\\~o}" "õ")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
230 ("{\\\\^o}" "ô")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
231 ("{\\\\\"u}" "ü")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
232 ("{\\\\`u}" "ù")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
233 ("{\\\\'u}" "ú")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
234 ("{\\\\^u}" "û")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
235 ("{\\\\\"A}" "Ä")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
236 ("{\\\\`A}" "À")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
237 ("{\\\\'A}" "Á")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
238 ("{\\\\~A}" "Ã")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
239 ("{\\\\^A}" "Â")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
240 ("{\\\\\"E}" "Ë")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
241 ("{\\\\`E}" "È")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
242 ("{\\\\'E}" "É")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
243 ("{\\\\^E}" "Ê")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
244 ("{\\\\\"I}" "Ï")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
245 ("{\\\\`I}" "Ì")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
246 ("{\\\\'I}" "Í")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
247 ("{\\\\^I}" "Î")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
248 ("{\\\\\"O}" "Ö")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
249 ("{\\\\`O}" "Ò")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
250 ("{\\\\'O}" "Ó")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
251 ("{\\\\~O}" "Õ")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
252 ("{\\\\^O}" "Ô")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
253 ("{\\\\\"U}" "Ü")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
254 ("{\\\\`U}" "Ù")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
255 ("{\\\\'U}" "Ú")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
256 ("{\\\\^U}" "Û")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
257 ("{\\\\~n}" "ñ")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
258 ("{\\\\~N}" "Ñ")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
259 ("{\\\\c c}" "ç")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
260 ("{\\\\c C}" "Ç")
7861
8996abee8718 (iso-iso2tex-trans-tab): Change a few characters.
Richard M. Stallman <rms@gnu.org>
parents: 7850
diff changeset
261 ("\\\\\"a" "ä")
8996abee8718 (iso-iso2tex-trans-tab): Change a few characters.
Richard M. Stallman <rms@gnu.org>
parents: 7850
diff changeset
262 ("\\\\`a" "à")
8996abee8718 (iso-iso2tex-trans-tab): Change a few characters.
Richard M. Stallman <rms@gnu.org>
parents: 7850
diff changeset
263 ("\\\\'a" "á")
8996abee8718 (iso-iso2tex-trans-tab): Change a few characters.
Richard M. Stallman <rms@gnu.org>
parents: 7850
diff changeset
264 ("\\\\~a" "ã")
8996abee8718 (iso-iso2tex-trans-tab): Change a few characters.
Richard M. Stallman <rms@gnu.org>
parents: 7850
diff changeset
265 ("\\\\^a" "â")
8996abee8718 (iso-iso2tex-trans-tab): Change a few characters.
Richard M. Stallman <rms@gnu.org>
parents: 7850
diff changeset
266 ("\\\\\"e" "ë")
8996abee8718 (iso-iso2tex-trans-tab): Change a few characters.
Richard M. Stallman <rms@gnu.org>
parents: 7850
diff changeset
267 ("\\\\`e" "è")
8996abee8718 (iso-iso2tex-trans-tab): Change a few characters.
Richard M. Stallman <rms@gnu.org>
parents: 7850
diff changeset
268 ("\\\\'e" "é")
8996abee8718 (iso-iso2tex-trans-tab): Change a few characters.
Richard M. Stallman <rms@gnu.org>
parents: 7850
diff changeset
269 ("\\\\^e" "ê")
8996abee8718 (iso-iso2tex-trans-tab): Change a few characters.
Richard M. Stallman <rms@gnu.org>
parents: 7850
diff changeset
270 ("\\\\\"\\\\i" "ï")
8996abee8718 (iso-iso2tex-trans-tab): Change a few characters.
Richard M. Stallman <rms@gnu.org>
parents: 7850
diff changeset
271 ("\\\\`\\\\i" "ì")
8996abee8718 (iso-iso2tex-trans-tab): Change a few characters.
Richard M. Stallman <rms@gnu.org>
parents: 7850
diff changeset
272 ("\\\\'\\\\i" "í")
8996abee8718 (iso-iso2tex-trans-tab): Change a few characters.
Richard M. Stallman <rms@gnu.org>
parents: 7850
diff changeset
273 ("\\\\^\\\\i" "î")
8996abee8718 (iso-iso2tex-trans-tab): Change a few characters.
Richard M. Stallman <rms@gnu.org>
parents: 7850
diff changeset
274 ("\\\\\"i" "ï")
8996abee8718 (iso-iso2tex-trans-tab): Change a few characters.
Richard M. Stallman <rms@gnu.org>
parents: 7850
diff changeset
275 ("\\\\`i" "ì")
8996abee8718 (iso-iso2tex-trans-tab): Change a few characters.
Richard M. Stallman <rms@gnu.org>
parents: 7850
diff changeset
276 ("\\\\'i" "í")
8996abee8718 (iso-iso2tex-trans-tab): Change a few characters.
Richard M. Stallman <rms@gnu.org>
parents: 7850
diff changeset
277 ("\\\\^i" "î")
8996abee8718 (iso-iso2tex-trans-tab): Change a few characters.
Richard M. Stallman <rms@gnu.org>
parents: 7850
diff changeset
278 ("\\\\\"o" "ö")
8996abee8718 (iso-iso2tex-trans-tab): Change a few characters.
Richard M. Stallman <rms@gnu.org>
parents: 7850
diff changeset
279 ("\\\\`o" "ò")
8996abee8718 (iso-iso2tex-trans-tab): Change a few characters.
Richard M. Stallman <rms@gnu.org>
parents: 7850
diff changeset
280 ("\\\\'o" "ó")
8996abee8718 (iso-iso2tex-trans-tab): Change a few characters.
Richard M. Stallman <rms@gnu.org>
parents: 7850
diff changeset
281 ("\\\\~o" "õ")
8996abee8718 (iso-iso2tex-trans-tab): Change a few characters.
Richard M. Stallman <rms@gnu.org>
parents: 7850
diff changeset
282 ("\\\\^o" "ô")
8996abee8718 (iso-iso2tex-trans-tab): Change a few characters.
Richard M. Stallman <rms@gnu.org>
parents: 7850
diff changeset
283 ("\\\\\"u" "ü")
8996abee8718 (iso-iso2tex-trans-tab): Change a few characters.
Richard M. Stallman <rms@gnu.org>
parents: 7850
diff changeset
284 ("\\\\`u" "ù")
8996abee8718 (iso-iso2tex-trans-tab): Change a few characters.
Richard M. Stallman <rms@gnu.org>
parents: 7850
diff changeset
285 ("\\\\'u" "ú")
8996abee8718 (iso-iso2tex-trans-tab): Change a few characters.
Richard M. Stallman <rms@gnu.org>
parents: 7850
diff changeset
286 ("\\\\^u" "û")
8996abee8718 (iso-iso2tex-trans-tab): Change a few characters.
Richard M. Stallman <rms@gnu.org>
parents: 7850
diff changeset
287 ("\\\\\"A" "Ä")
8996abee8718 (iso-iso2tex-trans-tab): Change a few characters.
Richard M. Stallman <rms@gnu.org>
parents: 7850
diff changeset
288 ("\\\\`A" "À")
8996abee8718 (iso-iso2tex-trans-tab): Change a few characters.
Richard M. Stallman <rms@gnu.org>
parents: 7850
diff changeset
289 ("\\\\'A" "Á")
8996abee8718 (iso-iso2tex-trans-tab): Change a few characters.
Richard M. Stallman <rms@gnu.org>
parents: 7850
diff changeset
290 ("\\\\~A" "Ã")
8996abee8718 (iso-iso2tex-trans-tab): Change a few characters.
Richard M. Stallman <rms@gnu.org>
parents: 7850
diff changeset
291 ("\\\\^A" "Â")
8996abee8718 (iso-iso2tex-trans-tab): Change a few characters.
Richard M. Stallman <rms@gnu.org>
parents: 7850
diff changeset
292 ("\\\\\"E" "Ë")
8996abee8718 (iso-iso2tex-trans-tab): Change a few characters.
Richard M. Stallman <rms@gnu.org>
parents: 7850
diff changeset
293 ("\\\\`E" "È")
8996abee8718 (iso-iso2tex-trans-tab): Change a few characters.
Richard M. Stallman <rms@gnu.org>
parents: 7850
diff changeset
294 ("\\\\'E" "É")
8996abee8718 (iso-iso2tex-trans-tab): Change a few characters.
Richard M. Stallman <rms@gnu.org>
parents: 7850
diff changeset
295 ("\\\\^E" "Ê")
8996abee8718 (iso-iso2tex-trans-tab): Change a few characters.
Richard M. Stallman <rms@gnu.org>
parents: 7850
diff changeset
296 ("\\\\\"I" "Ï")
8996abee8718 (iso-iso2tex-trans-tab): Change a few characters.
Richard M. Stallman <rms@gnu.org>
parents: 7850
diff changeset
297 ("\\\\`I" "Ì")
8996abee8718 (iso-iso2tex-trans-tab): Change a few characters.
Richard M. Stallman <rms@gnu.org>
parents: 7850
diff changeset
298 ("\\\\'I" "Í")
8996abee8718 (iso-iso2tex-trans-tab): Change a few characters.
Richard M. Stallman <rms@gnu.org>
parents: 7850
diff changeset
299 ("\\\\^I" "Î")
8996abee8718 (iso-iso2tex-trans-tab): Change a few characters.
Richard M. Stallman <rms@gnu.org>
parents: 7850
diff changeset
300 ("\\\\\"O" "Ö")
8996abee8718 (iso-iso2tex-trans-tab): Change a few characters.
Richard M. Stallman <rms@gnu.org>
parents: 7850
diff changeset
301 ("\\\\`O" "Ò")
8996abee8718 (iso-iso2tex-trans-tab): Change a few characters.
Richard M. Stallman <rms@gnu.org>
parents: 7850
diff changeset
302 ("\\\\'O" "Ó")
8996abee8718 (iso-iso2tex-trans-tab): Change a few characters.
Richard M. Stallman <rms@gnu.org>
parents: 7850
diff changeset
303 ("\\\\~O" "Õ")
8996abee8718 (iso-iso2tex-trans-tab): Change a few characters.
Richard M. Stallman <rms@gnu.org>
parents: 7850
diff changeset
304 ("\\\\^O" "Ô")
8996abee8718 (iso-iso2tex-trans-tab): Change a few characters.
Richard M. Stallman <rms@gnu.org>
parents: 7850
diff changeset
305 ("\\\\\"U" "Ü")
8996abee8718 (iso-iso2tex-trans-tab): Change a few characters.
Richard M. Stallman <rms@gnu.org>
parents: 7850
diff changeset
306 ("\\\\`U" "Ù")
8996abee8718 (iso-iso2tex-trans-tab): Change a few characters.
Richard M. Stallman <rms@gnu.org>
parents: 7850
diff changeset
307 ("\\\\'U" "Ú")
8996abee8718 (iso-iso2tex-trans-tab): Change a few characters.
Richard M. Stallman <rms@gnu.org>
parents: 7850
diff changeset
308 ("\\\\^U" "Û")
8996abee8718 (iso-iso2tex-trans-tab): Change a few characters.
Richard M. Stallman <rms@gnu.org>
parents: 7850
diff changeset
309 ("\\\\~n" "ñ")
8996abee8718 (iso-iso2tex-trans-tab): Change a few characters.
Richard M. Stallman <rms@gnu.org>
parents: 7850
diff changeset
310 ("\\\\~N" "Ñ")
7260
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
311 ("\\\\\"{a}" "ä")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
312 ("\\\\`{a}" "à")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
313 ("\\\\'{a}" "á")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
314 ("\\\\~{a}" "ã")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
315 ("\\\\^{a}" "â")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
316 ("\\\\\"{e}" "ë")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
317 ("\\\\`{e}" "è")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
318 ("\\\\'{e}" "é")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
319 ("\\\\^{e}" "ê")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
320 ("\\\\\"{\\\\i}" "ï")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
321 ("\\\\`{\\\\i}" "ì")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
322 ("\\\\'{\\\\i}" "í")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
323 ("\\\\^{\\\\i}" "î")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
324 ("\\\\\"{i}" "ï")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
325 ("\\\\`{i}" "ì")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
326 ("\\\\'{i}" "í")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
327 ("\\\\^{i}" "î")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
328 ("\\\\\"{o}" "ö")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
329 ("\\\\`{o}" "ò")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
330 ("\\\\'{o}" "ó")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
331 ("\\\\~{o}" "õ")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
332 ("\\\\^{o}" "ô")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
333 ("\\\\\"{u}" "ü")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
334 ("\\\\`{u}" "ù")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
335 ("\\\\'{u}" "ú")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
336 ("\\\\^{u}" "û")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
337 ("\\\\\"{A}" "Ä")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
338 ("\\\\`{A}" "À")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
339 ("\\\\'{A}" "Á")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
340 ("\\\\~{A}" "Ã")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
341 ("\\\\^{A}" "Â")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
342 ("\\\\\"{E}" "Ë")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
343 ("\\\\`{E}" "È")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
344 ("\\\\'{E}" "É")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
345 ("\\\\^{E}" "Ê")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
346 ("\\\\\"{I}" "Ï")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
347 ("\\\\`{I}" "Ì")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
348 ("\\\\'{I}" "Í")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
349 ("\\\\^{I}" "Î")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
350 ("\\\\\"{O}" "Ö")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
351 ("\\\\`{O}" "Ò")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
352 ("\\\\'{O}" "Ó")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
353 ("\\\\~{O}" "Õ")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
354 ("\\\\^{O}" "Ô")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
355 ("\\\\\"{U}" "Ü")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
356 ("\\\\`{U}" "Ù")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
357 ("\\\\'{U}" "Ú")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
358 ("\\\\^{U}" "Û")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
359 ("\\\\~{n}" "ñ")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
360 ("\\\\~{N}" "Ñ")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
361 ("\\\\c{c}" "ç")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
362 ("\\\\c{C}" "Ç")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
363 ("{\\\\ss}" "ß")
7861
8996abee8718 (iso-iso2tex-trans-tab): Change a few characters.
Richard M. Stallman <rms@gnu.org>
parents: 7850
diff changeset
364 ("{\\\\AE}" "\306")
8996abee8718 (iso-iso2tex-trans-tab): Change a few characters.
Richard M. Stallman <rms@gnu.org>
parents: 7850
diff changeset
365 ("{\\\\ae}" "\346")
10081
5e4ef35c904b Handle pilcrow, paragraph and pound signs.
Richard M. Stallman <rms@gnu.org>
parents: 8538
diff changeset
366 ("{\\\\AA}" "\305")
5e4ef35c904b Handle pilcrow, paragraph and pound signs.
Richard M. Stallman <rms@gnu.org>
parents: 8538
diff changeset
367 ("{\\\\aa}" "\345")
7861
8996abee8718 (iso-iso2tex-trans-tab): Change a few characters.
Richard M. Stallman <rms@gnu.org>
parents: 7850
diff changeset
368 ("{\\\\copyright}" "\251")
8996abee8718 (iso-iso2tex-trans-tab): Change a few characters.
Richard M. Stallman <rms@gnu.org>
parents: 7850
diff changeset
369 ("\\\\copyright{}" "\251")
10081
5e4ef35c904b Handle pilcrow, paragraph and pound signs.
Richard M. Stallman <rms@gnu.org>
parents: 8538
diff changeset
370 ("{\\\\pounds}" "£" )
5e4ef35c904b Handle pilcrow, paragraph and pound signs.
Richard M. Stallman <rms@gnu.org>
parents: 8538
diff changeset
371 ("{\\\\P}" "¶" )
5e4ef35c904b Handle pilcrow, paragraph and pound signs.
Richard M. Stallman <rms@gnu.org>
parents: 8538
diff changeset
372 ("{\\\\S}" "§" )
5e4ef35c904b Handle pilcrow, paragraph and pound signs.
Richard M. Stallman <rms@gnu.org>
parents: 8538
diff changeset
373 ("\\\\pounds{}" "£" )
5e4ef35c904b Handle pilcrow, paragraph and pound signs.
Richard M. Stallman <rms@gnu.org>
parents: 8538
diff changeset
374 ("\\\\P{}" "¶" )
5e4ef35c904b Handle pilcrow, paragraph and pound signs.
Richard M. Stallman <rms@gnu.org>
parents: 8538
diff changeset
375 ("\\\\S{}" "§" )
8538
94145efe2ad8 (iso-tex2iso-trans-tab): Put the sequences with braces
Richard M. Stallman <rms@gnu.org>
parents: 8433
diff changeset
376 ("{\\?`}" "¿")
94145efe2ad8 (iso-tex2iso-trans-tab): Put the sequences with braces
Richard M. Stallman <rms@gnu.org>
parents: 8433
diff changeset
377 ("{!`}" "¡")
94145efe2ad8 (iso-tex2iso-trans-tab): Put the sequences with braces
Richard M. Stallman <rms@gnu.org>
parents: 8433
diff changeset
378 ("\\?`" "¿")
7260
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
379 ("!`" "¡")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
380 )
22911
d70738580fb4 (iso-spanish, iso-german, iso-iso2tex,
Dave Love <fx@gnu.org>
parents: 20987
diff changeset
381 "Translation table for translating TeX sequences to ISO 8859-1 characters.
d70738580fb4 (iso-spanish, iso-german, iso-iso2tex,
Dave Love <fx@gnu.org>
parents: 20987
diff changeset
382 This table is not exhaustive (and due to TeX's power can never be). It only
7260
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
383 contains commonly used sequences.")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
384
22911
d70738580fb4 (iso-spanish, iso-german, iso-iso2tex,
Dave Love <fx@gnu.org>
parents: 20987
diff changeset
385 ;;;###autoload
d70738580fb4 (iso-spanish, iso-german, iso-iso2tex,
Dave Love <fx@gnu.org>
parents: 20987
diff changeset
386 (defun iso-tex2iso (from to &optional buffer)
d70738580fb4 (iso-spanish, iso-german, iso-iso2tex,
Dave Love <fx@gnu.org>
parents: 20987
diff changeset
387 "Translate TeX sequences to ISO 8859-1 characters.
d70738580fb4 (iso-spanish, iso-german, iso-iso2tex,
Dave Love <fx@gnu.org>
parents: 20987
diff changeset
388 The region between FROM and TO is translated using the table TRANS-TAB.
d70738580fb4 (iso-spanish, iso-german, iso-iso2tex,
Dave Love <fx@gnu.org>
parents: 20987
diff changeset
389 Optional arg BUFFER is ignored (so that the function can can be used in
d70738580fb4 (iso-spanish, iso-german, iso-iso2tex,
Dave Love <fx@gnu.org>
parents: 20987
diff changeset
390 `format-alist')."
d70738580fb4 (iso-spanish, iso-german, iso-iso2tex,
Dave Love <fx@gnu.org>
parents: 20987
diff changeset
391 (interactive "*r")
18228
81fa1f5547eb Require `format'.
Richard M. Stallman <rms@gnu.org>
parents: 15261
diff changeset
392 (iso-translate-conventions from to iso-tex2iso-trans-tab))
7260
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 (defvar iso-gtex2iso-trans-tab
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
395 '(
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
396 ("{\\\\\"a}" "ä")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
397 ("{\\\\`a}" "à")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
398 ("{\\\\'a}" "á")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
399 ("{\\\\~a}" "ã")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
400 ("{\\\\^a}" "â")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
401 ("{\\\\\"e}" "ë")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
402 ("{\\\\`e}" "è")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
403 ("{\\\\'e}" "é")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
404 ("{\\\\^e}" "ê")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
405 ("{\\\\\"\\\\i}" "ï")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
406 ("{\\\\`\\\\i}" "ì")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
407 ("{\\\\'\\\\i}" "í")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
408 ("{\\\\^\\\\i}" "î")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
409 ("{\\\\\"i}" "ï")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
410 ("{\\\\`i}" "ì")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
411 ("{\\\\'i}" "í")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
412 ("{\\\\^i}" "î")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
413 ("{\\\\\"o}" "ö")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
414 ("{\\\\`o}" "ò")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
415 ("{\\\\'o}" "ó")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
416 ("{\\\\~o}" "õ")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
417 ("{\\\\^o}" "ô")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
418 ("{\\\\\"u}" "ü")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
419 ("{\\\\`u}" "ù")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
420 ("{\\\\'u}" "ú")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
421 ("{\\\\^u}" "û")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
422 ("{\\\\\"A}" "Ä")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
423 ("{\\\\`A}" "À")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
424 ("{\\\\'A}" "Á")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
425 ("{\\\\~A}" "Ã")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
426 ("{\\\\^A}" "Â")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
427 ("{\\\\\"E}" "Ë")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
428 ("{\\\\`E}" "È")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
429 ("{\\\\'E}" "É")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
430 ("{\\\\^E}" "Ê")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
431 ("{\\\\\"I}" "Ï")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
432 ("{\\\\`I}" "Ì")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
433 ("{\\\\'I}" "Í")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
434 ("{\\\\^I}" "Î")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
435 ("{\\\\\"O}" "Ö")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
436 ("{\\\\`O}" "Ò")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
437 ("{\\\\'O}" "Ó")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
438 ("{\\\\~O}" "Õ")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
439 ("{\\\\^O}" "Ô")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
440 ("{\\\\\"U}" "Ü")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
441 ("{\\\\`U}" "Ù")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
442 ("{\\\\'U}" "Ú")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
443 ("{\\\\^U}" "Û")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
444 ("{\\\\~n}" "ñ")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
445 ("{\\\\~N}" "Ñ")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
446 ("{\\\\c c}" "ç")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
447 ("{\\\\c C}" "Ç")
7861
8996abee8718 (iso-iso2tex-trans-tab): Change a few characters.
Richard M. Stallman <rms@gnu.org>
parents: 7850
diff changeset
448 ("\\\\\"a" "ä")
8996abee8718 (iso-iso2tex-trans-tab): Change a few characters.
Richard M. Stallman <rms@gnu.org>
parents: 7850
diff changeset
449 ("\\\\`a" "à")
8996abee8718 (iso-iso2tex-trans-tab): Change a few characters.
Richard M. Stallman <rms@gnu.org>
parents: 7850
diff changeset
450 ("\\\\'a" "á")
8996abee8718 (iso-iso2tex-trans-tab): Change a few characters.
Richard M. Stallman <rms@gnu.org>
parents: 7850
diff changeset
451 ("\\\\~a" "ã")
8996abee8718 (iso-iso2tex-trans-tab): Change a few characters.
Richard M. Stallman <rms@gnu.org>
parents: 7850
diff changeset
452 ("\\\\^a" "â")
8996abee8718 (iso-iso2tex-trans-tab): Change a few characters.
Richard M. Stallman <rms@gnu.org>
parents: 7850
diff changeset
453 ("\\\\\"e" "ë")
8996abee8718 (iso-iso2tex-trans-tab): Change a few characters.
Richard M. Stallman <rms@gnu.org>
parents: 7850
diff changeset
454 ("\\\\`e" "è")
8996abee8718 (iso-iso2tex-trans-tab): Change a few characters.
Richard M. Stallman <rms@gnu.org>
parents: 7850
diff changeset
455 ("\\\\'e" "é")
8996abee8718 (iso-iso2tex-trans-tab): Change a few characters.
Richard M. Stallman <rms@gnu.org>
parents: 7850
diff changeset
456 ("\\\\^e" "ê")
8996abee8718 (iso-iso2tex-trans-tab): Change a few characters.
Richard M. Stallman <rms@gnu.org>
parents: 7850
diff changeset
457 ("\\\\\"\\\\i" "ï")
8996abee8718 (iso-iso2tex-trans-tab): Change a few characters.
Richard M. Stallman <rms@gnu.org>
parents: 7850
diff changeset
458 ("\\\\`\\\\i" "ì")
8996abee8718 (iso-iso2tex-trans-tab): Change a few characters.
Richard M. Stallman <rms@gnu.org>
parents: 7850
diff changeset
459 ("\\\\'\\\\i" "í")
8996abee8718 (iso-iso2tex-trans-tab): Change a few characters.
Richard M. Stallman <rms@gnu.org>
parents: 7850
diff changeset
460 ("\\\\^\\\\i" "î")
8996abee8718 (iso-iso2tex-trans-tab): Change a few characters.
Richard M. Stallman <rms@gnu.org>
parents: 7850
diff changeset
461 ("\\\\\"i" "ï")
8996abee8718 (iso-iso2tex-trans-tab): Change a few characters.
Richard M. Stallman <rms@gnu.org>
parents: 7850
diff changeset
462 ("\\\\`i" "ì")
8996abee8718 (iso-iso2tex-trans-tab): Change a few characters.
Richard M. Stallman <rms@gnu.org>
parents: 7850
diff changeset
463 ("\\\\'i" "í")
8996abee8718 (iso-iso2tex-trans-tab): Change a few characters.
Richard M. Stallman <rms@gnu.org>
parents: 7850
diff changeset
464 ("\\\\^i" "î")
8996abee8718 (iso-iso2tex-trans-tab): Change a few characters.
Richard M. Stallman <rms@gnu.org>
parents: 7850
diff changeset
465 ("\\\\\"o" "ö")
8996abee8718 (iso-iso2tex-trans-tab): Change a few characters.
Richard M. Stallman <rms@gnu.org>
parents: 7850
diff changeset
466 ("\\\\`o" "ò")
8996abee8718 (iso-iso2tex-trans-tab): Change a few characters.
Richard M. Stallman <rms@gnu.org>
parents: 7850
diff changeset
467 ("\\\\'o" "ó")
8996abee8718 (iso-iso2tex-trans-tab): Change a few characters.
Richard M. Stallman <rms@gnu.org>
parents: 7850
diff changeset
468 ("\\\\~o" "õ")
8996abee8718 (iso-iso2tex-trans-tab): Change a few characters.
Richard M. Stallman <rms@gnu.org>
parents: 7850
diff changeset
469 ("\\\\^o" "ô")
8996abee8718 (iso-iso2tex-trans-tab): Change a few characters.
Richard M. Stallman <rms@gnu.org>
parents: 7850
diff changeset
470 ("\\\\\"u" "ü")
8996abee8718 (iso-iso2tex-trans-tab): Change a few characters.
Richard M. Stallman <rms@gnu.org>
parents: 7850
diff changeset
471 ("\\\\`u" "ù")
8996abee8718 (iso-iso2tex-trans-tab): Change a few characters.
Richard M. Stallman <rms@gnu.org>
parents: 7850
diff changeset
472 ("\\\\'u" "ú")
8996abee8718 (iso-iso2tex-trans-tab): Change a few characters.
Richard M. Stallman <rms@gnu.org>
parents: 7850
diff changeset
473 ("\\\\^u" "û")
8996abee8718 (iso-iso2tex-trans-tab): Change a few characters.
Richard M. Stallman <rms@gnu.org>
parents: 7850
diff changeset
474 ("\\\\\"A" "Ä")
8996abee8718 (iso-iso2tex-trans-tab): Change a few characters.
Richard M. Stallman <rms@gnu.org>
parents: 7850
diff changeset
475 ("\\\\`A" "À")
8996abee8718 (iso-iso2tex-trans-tab): Change a few characters.
Richard M. Stallman <rms@gnu.org>
parents: 7850
diff changeset
476 ("\\\\'A" "Á")
8996abee8718 (iso-iso2tex-trans-tab): Change a few characters.
Richard M. Stallman <rms@gnu.org>
parents: 7850
diff changeset
477 ("\\\\~A" "Ã")
8996abee8718 (iso-iso2tex-trans-tab): Change a few characters.
Richard M. Stallman <rms@gnu.org>
parents: 7850
diff changeset
478 ("\\\\^A" "Â")
8996abee8718 (iso-iso2tex-trans-tab): Change a few characters.
Richard M. Stallman <rms@gnu.org>
parents: 7850
diff changeset
479 ("\\\\\"E" "Ë")
8996abee8718 (iso-iso2tex-trans-tab): Change a few characters.
Richard M. Stallman <rms@gnu.org>
parents: 7850
diff changeset
480 ("\\\\`E" "È")
8996abee8718 (iso-iso2tex-trans-tab): Change a few characters.
Richard M. Stallman <rms@gnu.org>
parents: 7850
diff changeset
481 ("\\\\'E" "É")
8996abee8718 (iso-iso2tex-trans-tab): Change a few characters.
Richard M. Stallman <rms@gnu.org>
parents: 7850
diff changeset
482 ("\\\\^E" "Ê")
8996abee8718 (iso-iso2tex-trans-tab): Change a few characters.
Richard M. Stallman <rms@gnu.org>
parents: 7850
diff changeset
483 ("\\\\\"I" "Ï")
8996abee8718 (iso-iso2tex-trans-tab): Change a few characters.
Richard M. Stallman <rms@gnu.org>
parents: 7850
diff changeset
484 ("\\\\`I" "Ì")
8996abee8718 (iso-iso2tex-trans-tab): Change a few characters.
Richard M. Stallman <rms@gnu.org>
parents: 7850
diff changeset
485 ("\\\\'I" "Í")
8996abee8718 (iso-iso2tex-trans-tab): Change a few characters.
Richard M. Stallman <rms@gnu.org>
parents: 7850
diff changeset
486 ("\\\\^I" "Î")
8996abee8718 (iso-iso2tex-trans-tab): Change a few characters.
Richard M. Stallman <rms@gnu.org>
parents: 7850
diff changeset
487 ("\\\\\"O" "Ö")
8996abee8718 (iso-iso2tex-trans-tab): Change a few characters.
Richard M. Stallman <rms@gnu.org>
parents: 7850
diff changeset
488 ("\\\\`O" "Ò")
8996abee8718 (iso-iso2tex-trans-tab): Change a few characters.
Richard M. Stallman <rms@gnu.org>
parents: 7850
diff changeset
489 ("\\\\'O" "Ó")
8996abee8718 (iso-iso2tex-trans-tab): Change a few characters.
Richard M. Stallman <rms@gnu.org>
parents: 7850
diff changeset
490 ("\\\\~O" "Õ")
8996abee8718 (iso-iso2tex-trans-tab): Change a few characters.
Richard M. Stallman <rms@gnu.org>
parents: 7850
diff changeset
491 ("\\\\^O" "Ô")
8996abee8718 (iso-iso2tex-trans-tab): Change a few characters.
Richard M. Stallman <rms@gnu.org>
parents: 7850
diff changeset
492 ("\\\\\"U" "Ü")
8996abee8718 (iso-iso2tex-trans-tab): Change a few characters.
Richard M. Stallman <rms@gnu.org>
parents: 7850
diff changeset
493 ("\\\\`U" "Ù")
8996abee8718 (iso-iso2tex-trans-tab): Change a few characters.
Richard M. Stallman <rms@gnu.org>
parents: 7850
diff changeset
494 ("\\\\'U" "Ú")
8996abee8718 (iso-iso2tex-trans-tab): Change a few characters.
Richard M. Stallman <rms@gnu.org>
parents: 7850
diff changeset
495 ("\\\\^U" "Û")
8996abee8718 (iso-iso2tex-trans-tab): Change a few characters.
Richard M. Stallman <rms@gnu.org>
parents: 7850
diff changeset
496 ("\\\\~n" "ñ")
8996abee8718 (iso-iso2tex-trans-tab): Change a few characters.
Richard M. Stallman <rms@gnu.org>
parents: 7850
diff changeset
497 ("\\\\~N" "Ñ")
7260
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
498 ("\\\\\"{a}" "ä")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
499 ("\\\\`{a}" "à")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
500 ("\\\\'{a}" "á")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
501 ("\\\\~{a}" "ã")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
502 ("\\\\^{a}" "â")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
503 ("\\\\\"{e}" "ë")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
504 ("\\\\`{e}" "è")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
505 ("\\\\'{e}" "é")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
506 ("\\\\^{e}" "ê")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
507 ("\\\\\"{\\\\i}" "ï")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
508 ("\\\\`{\\\\i}" "ì")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
509 ("\\\\'{\\\\i}" "í")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
510 ("\\\\^{\\\\i}" "î")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
511 ("\\\\\"{i}" "ï")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
512 ("\\\\`{i}" "ì")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
513 ("\\\\'{i}" "í")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
514 ("\\\\^{i}" "î")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
515 ("\\\\\"{o}" "ö")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
516 ("\\\\`{o}" "ò")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
517 ("\\\\'{o}" "ó")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
518 ("\\\\~{o}" "õ")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
519 ("\\\\^{o}" "ô")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
520 ("\\\\\"{u}" "ü")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
521 ("\\\\`{u}" "ù")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
522 ("\\\\'{u}" "ú")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
523 ("\\\\^{u}" "û")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
524 ("\\\\\"{A}" "Ä")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
525 ("\\\\`{A}" "À")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
526 ("\\\\'{A}" "Á")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
527 ("\\\\~{A}" "Ã")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
528 ("\\\\^{A}" "Â")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
529 ("\\\\\"{E}" "Ë")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
530 ("\\\\`{E}" "È")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
531 ("\\\\'{E}" "É")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
532 ("\\\\^{E}" "Ê")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
533 ("\\\\\"{I}" "Ï")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
534 ("\\\\`{I}" "Ì")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
535 ("\\\\'{I}" "Í")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
536 ("\\\\^{I}" "Î")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
537 ("\\\\\"{O}" "Ö")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
538 ("\\\\`{O}" "Ò")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
539 ("\\\\'{O}" "Ó")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
540 ("\\\\~{O}" "Õ")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
541 ("\\\\^{O}" "Ô")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
542 ("\\\\\"{U}" "Ü")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
543 ("\\\\`{U}" "Ù")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
544 ("\\\\'{U}" "Ú")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
545 ("\\\\^{U}" "Û")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
546 ("\\\\~{n}" "ñ")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
547 ("\\\\~{N}" "Ñ")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
548 ("\\\\c{c}" "ç")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
549 ("\\\\c{C}" "Ç")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
550 ("{\\\\ss}" "ß")
7861
8996abee8718 (iso-iso2tex-trans-tab): Change a few characters.
Richard M. Stallman <rms@gnu.org>
parents: 7850
diff changeset
551 ("{\\\\AE}" "\306")
8996abee8718 (iso-iso2tex-trans-tab): Change a few characters.
Richard M. Stallman <rms@gnu.org>
parents: 7850
diff changeset
552 ("{\\\\ae}" "\346")
10081
5e4ef35c904b Handle pilcrow, paragraph and pound signs.
Richard M. Stallman <rms@gnu.org>
parents: 8538
diff changeset
553 ("{\\\\AA}" "\305")
5e4ef35c904b Handle pilcrow, paragraph and pound signs.
Richard M. Stallman <rms@gnu.org>
parents: 8538
diff changeset
554 ("{\\\\aa}" "\345")
7861
8996abee8718 (iso-iso2tex-trans-tab): Change a few characters.
Richard M. Stallman <rms@gnu.org>
parents: 7850
diff changeset
555 ("{\\\\copyright}" "\251")
8996abee8718 (iso-iso2tex-trans-tab): Change a few characters.
Richard M. Stallman <rms@gnu.org>
parents: 7850
diff changeset
556 ("\\\\copyright{}" "\251")
10081
5e4ef35c904b Handle pilcrow, paragraph and pound signs.
Richard M. Stallman <rms@gnu.org>
parents: 8538
diff changeset
557 ("{\\\\pounds}" "£" )
5e4ef35c904b Handle pilcrow, paragraph and pound signs.
Richard M. Stallman <rms@gnu.org>
parents: 8538
diff changeset
558 ("{\\\\P}" "¶" )
5e4ef35c904b Handle pilcrow, paragraph and pound signs.
Richard M. Stallman <rms@gnu.org>
parents: 8538
diff changeset
559 ("{\\\\S}" "§" )
5e4ef35c904b Handle pilcrow, paragraph and pound signs.
Richard M. Stallman <rms@gnu.org>
parents: 8538
diff changeset
560 ("\\\\pounds{}" "£" )
5e4ef35c904b Handle pilcrow, paragraph and pound signs.
Richard M. Stallman <rms@gnu.org>
parents: 8538
diff changeset
561 ("\\\\P{}" "¶" )
5e4ef35c904b Handle pilcrow, paragraph and pound signs.
Richard M. Stallman <rms@gnu.org>
parents: 8538
diff changeset
562 ("\\\\S{}" "§" )
7260
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
563 ("?`" "¿")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
564 ("!`" "¡")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
565 ("{?`}" "¿")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
566 ("{!`}" "¡")
7425
eb4b69bf2d4e (iso-gtex2iso-trans-tab): Redorder this list.
Richard M. Stallman <rms@gnu.org>
parents: 7260
diff changeset
567 ("\"a" "ä")
eb4b69bf2d4e (iso-gtex2iso-trans-tab): Redorder this list.
Richard M. Stallman <rms@gnu.org>
parents: 7260
diff changeset
568 ("\"A" "Ä")
eb4b69bf2d4e (iso-gtex2iso-trans-tab): Redorder this list.
Richard M. Stallman <rms@gnu.org>
parents: 7260
diff changeset
569 ("\"o" "ö")
eb4b69bf2d4e (iso-gtex2iso-trans-tab): Redorder this list.
Richard M. Stallman <rms@gnu.org>
parents: 7260
diff changeset
570 ("\"O" "Ö")
eb4b69bf2d4e (iso-gtex2iso-trans-tab): Redorder this list.
Richard M. Stallman <rms@gnu.org>
parents: 7260
diff changeset
571 ("\"u" "ü")
eb4b69bf2d4e (iso-gtex2iso-trans-tab): Redorder this list.
Richard M. Stallman <rms@gnu.org>
parents: 7260
diff changeset
572 ("\"U" "Ü")
eb4b69bf2d4e (iso-gtex2iso-trans-tab): Redorder this list.
Richard M. Stallman <rms@gnu.org>
parents: 7260
diff changeset
573 ("\"s" "ß")
eb4b69bf2d4e (iso-gtex2iso-trans-tab): Redorder this list.
Richard M. Stallman <rms@gnu.org>
parents: 7260
diff changeset
574 ("\\\\3" "ß")
7260
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
575 )
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
576 "Translation table for translating German TeX sequences to ISO 8859-1.
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
577 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
578 contains commonly used sequences.")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
579
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
580 (defvar iso-iso2gtex-trans-tab
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
581 '(
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
582 ("ä" "\"a")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
583 ("à" "{\\\\`a}")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
584 ("á" "{\\\\'a}")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
585 ("ã" "{\\\\~a}")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
586 ("â" "{\\\\^a}")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
587 ("ë" "{\\\\\"e}")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
588 ("è" "{\\\\`e}")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
589 ("é" "{\\\\'e}")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
590 ("ê" "{\\\\^e}")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
591 ("ï" "{\\\\\"\\\\i}")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
592 ("ì" "{\\\\`\\\\i}")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
593 ("í" "{\\\\'\\\\i}")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
594 ("î" "{\\\\^\\\\i}")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
595 ("ö" "\"o")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
596 ("ò" "{\\\\`o}")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
597 ("ó" "{\\\\'o}")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
598 ("õ" "{\\\\~o}")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
599 ("ô" "{\\\\^o}")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
600 ("ü" "\"u")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
601 ("ù" "{\\\\`u}")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
602 ("ú" "{\\\\'u}")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
603 ("û" "{\\\\^u}")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
604 ("Ä" "\"A")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
605 ("À" "{\\\\`A}")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
606 ("Á" "{\\\\'A}")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
607 ("Ã" "{\\\\~A}")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
608 ("Â" "{\\\\^A}")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
609 ("Ë" "{\\\\\"E}")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
610 ("È" "{\\\\`E}")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
611 ("É" "{\\\\'E}")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
612 ("Ê" "{\\\\^E}")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
613 ("Ï" "{\\\\\"I}")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
614 ("Ì" "{\\\\`I}")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
615 ("Í" "{\\\\'I}")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
616 ("Î" "{\\\\^I}")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
617 ("Ö" "\"O")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
618 ("Ò" "{\\\\`O}")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
619 ("Ó" "{\\\\'O}")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
620 ("Õ" "{\\\\~O}")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
621 ("Ô" "{\\\\^O}")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
622 ("Ü" "\"U")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
623 ("Ù" "{\\\\`U}")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
624 ("Ú" "{\\\\'U}")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
625 ("Û" "{\\\\^U}")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
626 ("ñ" "{\\\\~n}")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
627 ("Ñ" "{\\\\~N}")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
628 ("ç" "{\\\\c c}")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
629 ("Ç" "{\\\\c C}")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
630 ("ß" "\"s")
7861
8996abee8718 (iso-iso2tex-trans-tab): Change a few characters.
Richard M. Stallman <rms@gnu.org>
parents: 7850
diff changeset
631 ("\306" "{\\\\AE}")
8996abee8718 (iso-iso2tex-trans-tab): Change a few characters.
Richard M. Stallman <rms@gnu.org>
parents: 7850
diff changeset
632 ("\346" "{\\\\ae}")
10081
5e4ef35c904b Handle pilcrow, paragraph and pound signs.
Richard M. Stallman <rms@gnu.org>
parents: 8538
diff changeset
633 ("\305" "{\\\\AA}")
5e4ef35c904b Handle pilcrow, paragraph and pound signs.
Richard M. Stallman <rms@gnu.org>
parents: 8538
diff changeset
634 ("\345" "{\\\\aa}")
7861
8996abee8718 (iso-iso2tex-trans-tab): Change a few characters.
Richard M. Stallman <rms@gnu.org>
parents: 7850
diff changeset
635 ("\251" "{\\\\copyright}")
10081
5e4ef35c904b Handle pilcrow, paragraph and pound signs.
Richard M. Stallman <rms@gnu.org>
parents: 8538
diff changeset
636 ("£" "{\\\\pounds}")
5e4ef35c904b Handle pilcrow, paragraph and pound signs.
Richard M. Stallman <rms@gnu.org>
parents: 8538
diff changeset
637 ("¶" "{\\\\P}")
5e4ef35c904b Handle pilcrow, paragraph and pound signs.
Richard M. Stallman <rms@gnu.org>
parents: 8538
diff changeset
638 ("§" "{\\\\S}")
7260
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
639 ("¿" "{?`}")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
640 ("¡" "{!`}")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
641 )
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
642 "Translation table for translating ISO 8859-1 characters to German TeX.")
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
643
22911
d70738580fb4 (iso-spanish, iso-german, iso-iso2tex,
Dave Love <fx@gnu.org>
parents: 20987
diff changeset
644 ;;;###autoload
d70738580fb4 (iso-spanish, iso-german, iso-iso2tex,
Dave Love <fx@gnu.org>
parents: 20987
diff changeset
645 (defun iso-gtex2iso (from to &optional buffer)
d70738580fb4 (iso-spanish, iso-german, iso-iso2tex,
Dave Love <fx@gnu.org>
parents: 20987
diff changeset
646 "Translate German TeX sequences to ISO 8859-1 characters.
d70738580fb4 (iso-spanish, iso-german, iso-iso2tex,
Dave Love <fx@gnu.org>
parents: 20987
diff changeset
647 The region between FROM and TO is translated using the table TRANS-TAB.
d70738580fb4 (iso-spanish, iso-german, iso-iso2tex,
Dave Love <fx@gnu.org>
parents: 20987
diff changeset
648 Optional arg BUFFER is ignored (so that the function can can be used in
d70738580fb4 (iso-spanish, iso-german, iso-iso2tex,
Dave Love <fx@gnu.org>
parents: 20987
diff changeset
649 `format-alist')."
d70738580fb4 (iso-spanish, iso-german, iso-iso2tex,
Dave Love <fx@gnu.org>
parents: 20987
diff changeset
650 (interactive "*r")
18228
81fa1f5547eb Require `format'.
Richard M. Stallman <rms@gnu.org>
parents: 15261
diff changeset
651 (iso-translate-conventions from to iso-gtex2iso-trans-tab))
7260
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
652
22911
d70738580fb4 (iso-spanish, iso-german, iso-iso2tex,
Dave Love <fx@gnu.org>
parents: 20987
diff changeset
653 ;;;###autoload
d70738580fb4 (iso-spanish, iso-german, iso-iso2tex,
Dave Love <fx@gnu.org>
parents: 20987
diff changeset
654 (defun iso-iso2gtex (from to &optional buffer)
d70738580fb4 (iso-spanish, iso-german, iso-iso2tex,
Dave Love <fx@gnu.org>
parents: 20987
diff changeset
655 "Translate ISO 8859-1 characters to German TeX sequences.
d70738580fb4 (iso-spanish, iso-german, iso-iso2tex,
Dave Love <fx@gnu.org>
parents: 20987
diff changeset
656 The region between FROM and TO is translated using the table TRANS-TAB.
d70738580fb4 (iso-spanish, iso-german, iso-iso2tex,
Dave Love <fx@gnu.org>
parents: 20987
diff changeset
657 Optional arg BUFFER is ignored (so that the function can can be used in
d70738580fb4 (iso-spanish, iso-german, iso-iso2tex,
Dave Love <fx@gnu.org>
parents: 20987
diff changeset
658 `format-alist')."
d70738580fb4 (iso-spanish, iso-german, iso-iso2tex,
Dave Love <fx@gnu.org>
parents: 20987
diff changeset
659 (interactive "*r")
18228
81fa1f5547eb Require `format'.
Richard M. Stallman <rms@gnu.org>
parents: 15261
diff changeset
660 (iso-translate-conventions from to iso-iso2gtex-trans-tab))
81fa1f5547eb Require `format'.
Richard M. Stallman <rms@gnu.org>
parents: 15261
diff changeset
661
81fa1f5547eb Require `format'.
Richard M. Stallman <rms@gnu.org>
parents: 15261
diff changeset
662 (defvar iso-iso2duden-trans-tab
81fa1f5547eb Require `format'.
Richard M. Stallman <rms@gnu.org>
parents: 15261
diff changeset
663 '(("ä" "ae")
81fa1f5547eb Require `format'.
Richard M. Stallman <rms@gnu.org>
parents: 15261
diff changeset
664 ("Ä" "Ae")
81fa1f5547eb Require `format'.
Richard M. Stallman <rms@gnu.org>
parents: 15261
diff changeset
665 ("ö" "oe")
81fa1f5547eb Require `format'.
Richard M. Stallman <rms@gnu.org>
parents: 15261
diff changeset
666 ("Ö" "Oe")
81fa1f5547eb Require `format'.
Richard M. Stallman <rms@gnu.org>
parents: 15261
diff changeset
667 ("ü" "ue")
81fa1f5547eb Require `format'.
Richard M. Stallman <rms@gnu.org>
parents: 15261
diff changeset
668 ("Ü" "Ue")
81fa1f5547eb Require `format'.
Richard M. Stallman <rms@gnu.org>
parents: 15261
diff changeset
669 ("ß" "ss")))
81fa1f5547eb Require `format'.
Richard M. Stallman <rms@gnu.org>
parents: 15261
diff changeset
670
22911
d70738580fb4 (iso-spanish, iso-german, iso-iso2tex,
Dave Love <fx@gnu.org>
parents: 20987
diff changeset
671 ;;;###autoload
d70738580fb4 (iso-spanish, iso-german, iso-iso2tex,
Dave Love <fx@gnu.org>
parents: 20987
diff changeset
672 (defun iso-iso2duden (from to &optional buffer)
d70738580fb4 (iso-spanish, iso-german, iso-iso2tex,
Dave Love <fx@gnu.org>
parents: 20987
diff changeset
673 "Translate ISO 8859-1 characters to German TeX sequences.
d70738580fb4 (iso-spanish, iso-german, iso-iso2tex,
Dave Love <fx@gnu.org>
parents: 20987
diff changeset
674 The region between FROM and TO is translated using the table TRANS-TAB.
d70738580fb4 (iso-spanish, iso-german, iso-iso2tex,
Dave Love <fx@gnu.org>
parents: 20987
diff changeset
675 Optional arg BUFFER is ignored (so that the function can can be used in
d70738580fb4 (iso-spanish, iso-german, iso-iso2tex,
Dave Love <fx@gnu.org>
parents: 20987
diff changeset
676 `format-alist')."
d70738580fb4 (iso-spanish, iso-german, iso-iso2tex,
Dave Love <fx@gnu.org>
parents: 20987
diff changeset
677 (interactive "*r")
18228
81fa1f5547eb Require `format'.
Richard M. Stallman <rms@gnu.org>
parents: 15261
diff changeset
678 (iso-translate-conventions from to iso-iso2duden-trans-tab))
7260
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
679
28393
aaa13b7caa88 Move provide to end. Doc fixes.
Dave Love <fx@gnu.org>
parents: 22911
diff changeset
680 (defvar iso-iso2sgml-trans-tab
aaa13b7caa88 Move provide to end. Doc fixes.
Dave Love <fx@gnu.org>
parents: 22911
diff changeset
681 '(("À" "&Agrave;")
aaa13b7caa88 Move provide to end. Doc fixes.
Dave Love <fx@gnu.org>
parents: 22911
diff changeset
682 ("Á" "&Aacute;")
aaa13b7caa88 Move provide to end. Doc fixes.
Dave Love <fx@gnu.org>
parents: 22911
diff changeset
683 ("Â" "&Acirc;")
aaa13b7caa88 Move provide to end. Doc fixes.
Dave Love <fx@gnu.org>
parents: 22911
diff changeset
684 ("Ã" "&Atilde;")
aaa13b7caa88 Move provide to end. Doc fixes.
Dave Love <fx@gnu.org>
parents: 22911
diff changeset
685 ("Ä" "&Auml;")
aaa13b7caa88 Move provide to end. Doc fixes.
Dave Love <fx@gnu.org>
parents: 22911
diff changeset
686 ("Å" "&Aring;")
aaa13b7caa88 Move provide to end. Doc fixes.
Dave Love <fx@gnu.org>
parents: 22911
diff changeset
687 ("Æ" "&AElig;")
aaa13b7caa88 Move provide to end. Doc fixes.
Dave Love <fx@gnu.org>
parents: 22911
diff changeset
688 ("Ç" "&Ccedil;")
aaa13b7caa88 Move provide to end. Doc fixes.
Dave Love <fx@gnu.org>
parents: 22911
diff changeset
689 ("È" "&Egrave;")
aaa13b7caa88 Move provide to end. Doc fixes.
Dave Love <fx@gnu.org>
parents: 22911
diff changeset
690 ("É" "&Eacute;")
aaa13b7caa88 Move provide to end. Doc fixes.
Dave Love <fx@gnu.org>
parents: 22911
diff changeset
691 ("Ê" "&Ecirc;")
aaa13b7caa88 Move provide to end. Doc fixes.
Dave Love <fx@gnu.org>
parents: 22911
diff changeset
692 ("Ë" "&Euml;")
aaa13b7caa88 Move provide to end. Doc fixes.
Dave Love <fx@gnu.org>
parents: 22911
diff changeset
693 ("Ì" "&Igrave;")
aaa13b7caa88 Move provide to end. Doc fixes.
Dave Love <fx@gnu.org>
parents: 22911
diff changeset
694 ("Í" "&Iacute;")
aaa13b7caa88 Move provide to end. Doc fixes.
Dave Love <fx@gnu.org>
parents: 22911
diff changeset
695 ("Î" "&Icirc;")
aaa13b7caa88 Move provide to end. Doc fixes.
Dave Love <fx@gnu.org>
parents: 22911
diff changeset
696 ("Ï" "&Iuml;")
aaa13b7caa88 Move provide to end. Doc fixes.
Dave Love <fx@gnu.org>
parents: 22911
diff changeset
697 ("Ð" "&ETH;")
aaa13b7caa88 Move provide to end. Doc fixes.
Dave Love <fx@gnu.org>
parents: 22911
diff changeset
698 ("Ñ" "&Ntilde;")
aaa13b7caa88 Move provide to end. Doc fixes.
Dave Love <fx@gnu.org>
parents: 22911
diff changeset
699 ("Ò" "&Ograve;")
aaa13b7caa88 Move provide to end. Doc fixes.
Dave Love <fx@gnu.org>
parents: 22911
diff changeset
700 ("Ó" "&Oacute;")
aaa13b7caa88 Move provide to end. Doc fixes.
Dave Love <fx@gnu.org>
parents: 22911
diff changeset
701 ("Ô" "&Ocirc;")
aaa13b7caa88 Move provide to end. Doc fixes.
Dave Love <fx@gnu.org>
parents: 22911
diff changeset
702 ("Õ" "&Otilde;")
aaa13b7caa88 Move provide to end. Doc fixes.
Dave Love <fx@gnu.org>
parents: 22911
diff changeset
703 ("Ö" "&Ouml;")
aaa13b7caa88 Move provide to end. Doc fixes.
Dave Love <fx@gnu.org>
parents: 22911
diff changeset
704 ("Ø" "&Oslash;")
aaa13b7caa88 Move provide to end. Doc fixes.
Dave Love <fx@gnu.org>
parents: 22911
diff changeset
705 ("Ù" "&Ugrave;")
aaa13b7caa88 Move provide to end. Doc fixes.
Dave Love <fx@gnu.org>
parents: 22911
diff changeset
706 ("Ú" "&Uacute;")
aaa13b7caa88 Move provide to end. Doc fixes.
Dave Love <fx@gnu.org>
parents: 22911
diff changeset
707 ("Û" "&Ucirc;")
aaa13b7caa88 Move provide to end. Doc fixes.
Dave Love <fx@gnu.org>
parents: 22911
diff changeset
708 ("Ü" "&Uuml;")
aaa13b7caa88 Move provide to end. Doc fixes.
Dave Love <fx@gnu.org>
parents: 22911
diff changeset
709 ("Ý" "&Yacute;")
aaa13b7caa88 Move provide to end. Doc fixes.
Dave Love <fx@gnu.org>
parents: 22911
diff changeset
710 ("Þ" "&THORN;")
aaa13b7caa88 Move provide to end. Doc fixes.
Dave Love <fx@gnu.org>
parents: 22911
diff changeset
711 ("ß" "&szlig;")
aaa13b7caa88 Move provide to end. Doc fixes.
Dave Love <fx@gnu.org>
parents: 22911
diff changeset
712 ("à" "&agrave;")
aaa13b7caa88 Move provide to end. Doc fixes.
Dave Love <fx@gnu.org>
parents: 22911
diff changeset
713 ("á" "&aacute;")
aaa13b7caa88 Move provide to end. Doc fixes.
Dave Love <fx@gnu.org>
parents: 22911
diff changeset
714 ("â" "&acirc;")
aaa13b7caa88 Move provide to end. Doc fixes.
Dave Love <fx@gnu.org>
parents: 22911
diff changeset
715 ("ã" "&atilde;")
aaa13b7caa88 Move provide to end. Doc fixes.
Dave Love <fx@gnu.org>
parents: 22911
diff changeset
716 ("ä" "&auml;")
aaa13b7caa88 Move provide to end. Doc fixes.
Dave Love <fx@gnu.org>
parents: 22911
diff changeset
717 ("å" "&aring;")
aaa13b7caa88 Move provide to end. Doc fixes.
Dave Love <fx@gnu.org>
parents: 22911
diff changeset
718 ("æ" "&aelig;")
aaa13b7caa88 Move provide to end. Doc fixes.
Dave Love <fx@gnu.org>
parents: 22911
diff changeset
719 ("ç" "&ccedil;")
aaa13b7caa88 Move provide to end. Doc fixes.
Dave Love <fx@gnu.org>
parents: 22911
diff changeset
720 ("è" "&egrave;")
aaa13b7caa88 Move provide to end. Doc fixes.
Dave Love <fx@gnu.org>
parents: 22911
diff changeset
721 ("é" "&eacute;")
aaa13b7caa88 Move provide to end. Doc fixes.
Dave Love <fx@gnu.org>
parents: 22911
diff changeset
722 ("ê" "&ecirc;")
aaa13b7caa88 Move provide to end. Doc fixes.
Dave Love <fx@gnu.org>
parents: 22911
diff changeset
723 ("ë" "&euml;")
aaa13b7caa88 Move provide to end. Doc fixes.
Dave Love <fx@gnu.org>
parents: 22911
diff changeset
724 ("ì" "&igrave;")
aaa13b7caa88 Move provide to end. Doc fixes.
Dave Love <fx@gnu.org>
parents: 22911
diff changeset
725 ("í" "&iacute;")
aaa13b7caa88 Move provide to end. Doc fixes.
Dave Love <fx@gnu.org>
parents: 22911
diff changeset
726 ("î" "&icirc;")
aaa13b7caa88 Move provide to end. Doc fixes.
Dave Love <fx@gnu.org>
parents: 22911
diff changeset
727 ("ï" "&iuml;")
aaa13b7caa88 Move provide to end. Doc fixes.
Dave Love <fx@gnu.org>
parents: 22911
diff changeset
728 ("ð" "&eth;")
aaa13b7caa88 Move provide to end. Doc fixes.
Dave Love <fx@gnu.org>
parents: 22911
diff changeset
729 ("ñ" "&ntilde;")
aaa13b7caa88 Move provide to end. Doc fixes.
Dave Love <fx@gnu.org>
parents: 22911
diff changeset
730 ("ò" "&ograve;")
aaa13b7caa88 Move provide to end. Doc fixes.
Dave Love <fx@gnu.org>
parents: 22911
diff changeset
731 ("ó" "&oacute;")
aaa13b7caa88 Move provide to end. Doc fixes.
Dave Love <fx@gnu.org>
parents: 22911
diff changeset
732 ("ô" "&ocirc;")
aaa13b7caa88 Move provide to end. Doc fixes.
Dave Love <fx@gnu.org>
parents: 22911
diff changeset
733 ("õ" "&otilde;")
aaa13b7caa88 Move provide to end. Doc fixes.
Dave Love <fx@gnu.org>
parents: 22911
diff changeset
734 ("ö" "&ouml;")
aaa13b7caa88 Move provide to end. Doc fixes.
Dave Love <fx@gnu.org>
parents: 22911
diff changeset
735 ("ø" "&oslash;")
aaa13b7caa88 Move provide to end. Doc fixes.
Dave Love <fx@gnu.org>
parents: 22911
diff changeset
736 ("ù" "&ugrave;")
aaa13b7caa88 Move provide to end. Doc fixes.
Dave Love <fx@gnu.org>
parents: 22911
diff changeset
737 ("ú" "&uacute;")
aaa13b7caa88 Move provide to end. Doc fixes.
Dave Love <fx@gnu.org>
parents: 22911
diff changeset
738 ("û" "&ucirc;")
aaa13b7caa88 Move provide to end. Doc fixes.
Dave Love <fx@gnu.org>
parents: 22911
diff changeset
739 ("ü" "&uuml;")
aaa13b7caa88 Move provide to end. Doc fixes.
Dave Love <fx@gnu.org>
parents: 22911
diff changeset
740 ("ý" "&yacute;")
aaa13b7caa88 Move provide to end. Doc fixes.
Dave Love <fx@gnu.org>
parents: 22911
diff changeset
741 ("þ" "&thorn;")
aaa13b7caa88 Move provide to end. Doc fixes.
Dave Love <fx@gnu.org>
parents: 22911
diff changeset
742 ("ÿ" "&yuml;")))
aaa13b7caa88 Move provide to end. Doc fixes.
Dave Love <fx@gnu.org>
parents: 22911
diff changeset
743
aaa13b7caa88 Move provide to end. Doc fixes.
Dave Love <fx@gnu.org>
parents: 22911
diff changeset
744 (defvar iso-sgml2iso-trans-tab
aaa13b7caa88 Move provide to end. Doc fixes.
Dave Love <fx@gnu.org>
parents: 22911
diff changeset
745 '(("&Agrave;" "À")
aaa13b7caa88 Move provide to end. Doc fixes.
Dave Love <fx@gnu.org>
parents: 22911
diff changeset
746 ("&Aacute;" "Á")
aaa13b7caa88 Move provide to end. Doc fixes.
Dave Love <fx@gnu.org>
parents: 22911
diff changeset
747 ("&Acirc;" "Â")
aaa13b7caa88 Move provide to end. Doc fixes.
Dave Love <fx@gnu.org>
parents: 22911
diff changeset
748 ("&Atilde;" "Ã")
aaa13b7caa88 Move provide to end. Doc fixes.
Dave Love <fx@gnu.org>
parents: 22911
diff changeset
749 ("&Auml;" "Ä")
aaa13b7caa88 Move provide to end. Doc fixes.
Dave Love <fx@gnu.org>
parents: 22911
diff changeset
750 ("&Aring;" "Å")
aaa13b7caa88 Move provide to end. Doc fixes.
Dave Love <fx@gnu.org>
parents: 22911
diff changeset
751 ("&AElig;" "Æ")
aaa13b7caa88 Move provide to end. Doc fixes.
Dave Love <fx@gnu.org>
parents: 22911
diff changeset
752 ("&Ccedil;" "Ç")
aaa13b7caa88 Move provide to end. Doc fixes.
Dave Love <fx@gnu.org>
parents: 22911
diff changeset
753 ("&Egrave;" "È")
aaa13b7caa88 Move provide to end. Doc fixes.
Dave Love <fx@gnu.org>
parents: 22911
diff changeset
754 ("&Eacute;" "É")
aaa13b7caa88 Move provide to end. Doc fixes.
Dave Love <fx@gnu.org>
parents: 22911
diff changeset
755 ("&Ecirc;" "Ê")
aaa13b7caa88 Move provide to end. Doc fixes.
Dave Love <fx@gnu.org>
parents: 22911
diff changeset
756 ("&Euml;" "Ë")
aaa13b7caa88 Move provide to end. Doc fixes.
Dave Love <fx@gnu.org>
parents: 22911
diff changeset
757 ("&Igrave;" "Ì")
aaa13b7caa88 Move provide to end. Doc fixes.
Dave Love <fx@gnu.org>
parents: 22911
diff changeset
758 ("&Iacute;" "Í")
aaa13b7caa88 Move provide to end. Doc fixes.
Dave Love <fx@gnu.org>
parents: 22911
diff changeset
759 ("&Icirc;" "Î")
aaa13b7caa88 Move provide to end. Doc fixes.
Dave Love <fx@gnu.org>
parents: 22911
diff changeset
760 ("&Iuml;" "Ï")
aaa13b7caa88 Move provide to end. Doc fixes.
Dave Love <fx@gnu.org>
parents: 22911
diff changeset
761 ("&ETH;" "Ð")
aaa13b7caa88 Move provide to end. Doc fixes.
Dave Love <fx@gnu.org>
parents: 22911
diff changeset
762 ("&Ntilde;" "Ñ")
aaa13b7caa88 Move provide to end. Doc fixes.
Dave Love <fx@gnu.org>
parents: 22911
diff changeset
763 ("&Ograve;" "Ò")
aaa13b7caa88 Move provide to end. Doc fixes.
Dave Love <fx@gnu.org>
parents: 22911
diff changeset
764 ("&Oacute;" "Ó")
aaa13b7caa88 Move provide to end. Doc fixes.
Dave Love <fx@gnu.org>
parents: 22911
diff changeset
765 ("&Ocirc;" "Ô")
aaa13b7caa88 Move provide to end. Doc fixes.
Dave Love <fx@gnu.org>
parents: 22911
diff changeset
766 ("&Otilde;" "Õ")
aaa13b7caa88 Move provide to end. Doc fixes.
Dave Love <fx@gnu.org>
parents: 22911
diff changeset
767 ("&Ouml;" "Ö")
aaa13b7caa88 Move provide to end. Doc fixes.
Dave Love <fx@gnu.org>
parents: 22911
diff changeset
768 ("&Oslash;" "Ø")
aaa13b7caa88 Move provide to end. Doc fixes.
Dave Love <fx@gnu.org>
parents: 22911
diff changeset
769 ("&Ugrave;" "Ù")
aaa13b7caa88 Move provide to end. Doc fixes.
Dave Love <fx@gnu.org>
parents: 22911
diff changeset
770 ("&Uacute;" "Ú")
aaa13b7caa88 Move provide to end. Doc fixes.
Dave Love <fx@gnu.org>
parents: 22911
diff changeset
771 ("&Ucirc;" "Û")
aaa13b7caa88 Move provide to end. Doc fixes.
Dave Love <fx@gnu.org>
parents: 22911
diff changeset
772 ("&Uuml;" "Ü")
aaa13b7caa88 Move provide to end. Doc fixes.
Dave Love <fx@gnu.org>
parents: 22911
diff changeset
773 ("&Yacute;" "Ý")
aaa13b7caa88 Move provide to end. Doc fixes.
Dave Love <fx@gnu.org>
parents: 22911
diff changeset
774 ("&THORN;" "Þ")
aaa13b7caa88 Move provide to end. Doc fixes.
Dave Love <fx@gnu.org>
parents: 22911
diff changeset
775 ("&szlig;" "ß")
aaa13b7caa88 Move provide to end. Doc fixes.
Dave Love <fx@gnu.org>
parents: 22911
diff changeset
776 ("&agrave;" "à")
aaa13b7caa88 Move provide to end. Doc fixes.
Dave Love <fx@gnu.org>
parents: 22911
diff changeset
777 ("&aacute;" "á")
aaa13b7caa88 Move provide to end. Doc fixes.
Dave Love <fx@gnu.org>
parents: 22911
diff changeset
778 ("&acirc;" "â")
aaa13b7caa88 Move provide to end. Doc fixes.
Dave Love <fx@gnu.org>
parents: 22911
diff changeset
779 ("&atilde;" "ã")
aaa13b7caa88 Move provide to end. Doc fixes.
Dave Love <fx@gnu.org>
parents: 22911
diff changeset
780 ("&auml;" "ä")
aaa13b7caa88 Move provide to end. Doc fixes.
Dave Love <fx@gnu.org>
parents: 22911
diff changeset
781 ("&aring;" "å")
aaa13b7caa88 Move provide to end. Doc fixes.
Dave Love <fx@gnu.org>
parents: 22911
diff changeset
782 ("&aelig;" "æ")
aaa13b7caa88 Move provide to end. Doc fixes.
Dave Love <fx@gnu.org>
parents: 22911
diff changeset
783 ("&ccedil;" "ç")
aaa13b7caa88 Move provide to end. Doc fixes.
Dave Love <fx@gnu.org>
parents: 22911
diff changeset
784 ("&egrave;" "è")
aaa13b7caa88 Move provide to end. Doc fixes.
Dave Love <fx@gnu.org>
parents: 22911
diff changeset
785 ("&eacute;" "é")
aaa13b7caa88 Move provide to end. Doc fixes.
Dave Love <fx@gnu.org>
parents: 22911
diff changeset
786 ("&ecirc;" "ê")
aaa13b7caa88 Move provide to end. Doc fixes.
Dave Love <fx@gnu.org>
parents: 22911
diff changeset
787 ("&euml;" "ë")
aaa13b7caa88 Move provide to end. Doc fixes.
Dave Love <fx@gnu.org>
parents: 22911
diff changeset
788 ("&igrave;" "ì")
aaa13b7caa88 Move provide to end. Doc fixes.
Dave Love <fx@gnu.org>
parents: 22911
diff changeset
789 ("&iacute;" "í")
aaa13b7caa88 Move provide to end. Doc fixes.
Dave Love <fx@gnu.org>
parents: 22911
diff changeset
790 ("&icirc;" "î")
aaa13b7caa88 Move provide to end. Doc fixes.
Dave Love <fx@gnu.org>
parents: 22911
diff changeset
791 ("&iuml;" "ï")
aaa13b7caa88 Move provide to end. Doc fixes.
Dave Love <fx@gnu.org>
parents: 22911
diff changeset
792 ("&eth;" "ð")
aaa13b7caa88 Move provide to end. Doc fixes.
Dave Love <fx@gnu.org>
parents: 22911
diff changeset
793 ("&ntilde;" "ñ")
aaa13b7caa88 Move provide to end. Doc fixes.
Dave Love <fx@gnu.org>
parents: 22911
diff changeset
794 ("&ograve;" "ò")
aaa13b7caa88 Move provide to end. Doc fixes.
Dave Love <fx@gnu.org>
parents: 22911
diff changeset
795 ("&oacute;" "ó")
aaa13b7caa88 Move provide to end. Doc fixes.
Dave Love <fx@gnu.org>
parents: 22911
diff changeset
796 ("&ocirc;" "ô")
aaa13b7caa88 Move provide to end. Doc fixes.
Dave Love <fx@gnu.org>
parents: 22911
diff changeset
797 ("&otilde;" "õ")
aaa13b7caa88 Move provide to end. Doc fixes.
Dave Love <fx@gnu.org>
parents: 22911
diff changeset
798 ("&ouml;" "ö")
aaa13b7caa88 Move provide to end. Doc fixes.
Dave Love <fx@gnu.org>
parents: 22911
diff changeset
799 ("&oslash;" "ø")
aaa13b7caa88 Move provide to end. Doc fixes.
Dave Love <fx@gnu.org>
parents: 22911
diff changeset
800 ("&ugrave;" "ù")
aaa13b7caa88 Move provide to end. Doc fixes.
Dave Love <fx@gnu.org>
parents: 22911
diff changeset
801 ("&uacute;" "ú")
aaa13b7caa88 Move provide to end. Doc fixes.
Dave Love <fx@gnu.org>
parents: 22911
diff changeset
802 ("&ucirc;" "û")
aaa13b7caa88 Move provide to end. Doc fixes.
Dave Love <fx@gnu.org>
parents: 22911
diff changeset
803 ("&uuml;" "ü")
aaa13b7caa88 Move provide to end. Doc fixes.
Dave Love <fx@gnu.org>
parents: 22911
diff changeset
804 ("&yacute;" "ý")
aaa13b7caa88 Move provide to end. Doc fixes.
Dave Love <fx@gnu.org>
parents: 22911
diff changeset
805 ("&thorn;" "þ")
aaa13b7caa88 Move provide to end. Doc fixes.
Dave Love <fx@gnu.org>
parents: 22911
diff changeset
806 ("&yuml;" "ÿ")))
aaa13b7caa88 Move provide to end. Doc fixes.
Dave Love <fx@gnu.org>
parents: 22911
diff changeset
807
aaa13b7caa88 Move provide to end. Doc fixes.
Dave Love <fx@gnu.org>
parents: 22911
diff changeset
808 ;;;###autoload
aaa13b7caa88 Move provide to end. Doc fixes.
Dave Love <fx@gnu.org>
parents: 22911
diff changeset
809 (defun iso-iso2sgml (from to &optional buffer)
aaa13b7caa88 Move provide to end. Doc fixes.
Dave Love <fx@gnu.org>
parents: 22911
diff changeset
810 "Translate ISO 8859-1 characters in the region to SGML entities.
aaa13b7caa88 Move provide to end. Doc fixes.
Dave Love <fx@gnu.org>
parents: 22911
diff changeset
811 The entities used are from \"ISO 8879:1986//ENTITIES Added Latin 1//EN\".
aaa13b7caa88 Move provide to end. Doc fixes.
Dave Love <fx@gnu.org>
parents: 22911
diff changeset
812 Optional arg BUFFER is ignored (so that the function can can be used in
aaa13b7caa88 Move provide to end. Doc fixes.
Dave Love <fx@gnu.org>
parents: 22911
diff changeset
813 `format-alist')."
aaa13b7caa88 Move provide to end. Doc fixes.
Dave Love <fx@gnu.org>
parents: 22911
diff changeset
814 (interactive "*r")
aaa13b7caa88 Move provide to end. Doc fixes.
Dave Love <fx@gnu.org>
parents: 22911
diff changeset
815 (iso-translate-conventions from to iso-iso2sgml-trans-tab))
aaa13b7caa88 Move provide to end. Doc fixes.
Dave Love <fx@gnu.org>
parents: 22911
diff changeset
816
aaa13b7caa88 Move provide to end. Doc fixes.
Dave Love <fx@gnu.org>
parents: 22911
diff changeset
817 ;;;###autoload
aaa13b7caa88 Move provide to end. Doc fixes.
Dave Love <fx@gnu.org>
parents: 22911
diff changeset
818 (defun iso-sgml2iso (from to &optional buffer)
aaa13b7caa88 Move provide to end. Doc fixes.
Dave Love <fx@gnu.org>
parents: 22911
diff changeset
819 "Translate SGML entities in the region to ISO 8859-1 characters.
aaa13b7caa88 Move provide to end. Doc fixes.
Dave Love <fx@gnu.org>
parents: 22911
diff changeset
820 The entities used are from \"ISO 8879:1986//ENTITIES Added Latin 1//EN\".
aaa13b7caa88 Move provide to end. Doc fixes.
Dave Love <fx@gnu.org>
parents: 22911
diff changeset
821 Optional arg BUFFER is ignored (so that the function can can be used in
aaa13b7caa88 Move provide to end. Doc fixes.
Dave Love <fx@gnu.org>
parents: 22911
diff changeset
822 `format-alist')."
aaa13b7caa88 Move provide to end. Doc fixes.
Dave Love <fx@gnu.org>
parents: 22911
diff changeset
823 (interactive "*r")
aaa13b7caa88 Move provide to end. Doc fixes.
Dave Love <fx@gnu.org>
parents: 22911
diff changeset
824 (iso-translate-conventions from to iso-sgml2iso-trans-tab))
aaa13b7caa88 Move provide to end. Doc fixes.
Dave Love <fx@gnu.org>
parents: 22911
diff changeset
825
22911
d70738580fb4 (iso-spanish, iso-german, iso-iso2tex,
Dave Love <fx@gnu.org>
parents: 20987
diff changeset
826 ;;;###autoload
18228
81fa1f5547eb Require `format'.
Richard M. Stallman <rms@gnu.org>
parents: 15261
diff changeset
827 (defun iso-cvt-read-only ()
22911
d70738580fb4 (iso-spanish, iso-german, iso-iso2tex,
Dave Love <fx@gnu.org>
parents: 20987
diff changeset
828 "Warn that format is read-only."
18228
81fa1f5547eb Require `format'.
Richard M. Stallman <rms@gnu.org>
parents: 15261
diff changeset
829 (interactive)
81fa1f5547eb Require `format'.
Richard M. Stallman <rms@gnu.org>
parents: 15261
diff changeset
830 (error "This format is read-only; specify another format for writing"))
81fa1f5547eb Require `format'.
Richard M. Stallman <rms@gnu.org>
parents: 15261
diff changeset
831
22911
d70738580fb4 (iso-spanish, iso-german, iso-iso2tex,
Dave Love <fx@gnu.org>
parents: 20987
diff changeset
832 ;;;###autoload
18228
81fa1f5547eb Require `format'.
Richard M. Stallman <rms@gnu.org>
parents: 15261
diff changeset
833 (defun iso-cvt-write-only ()
22911
d70738580fb4 (iso-spanish, iso-german, iso-iso2tex,
Dave Love <fx@gnu.org>
parents: 20987
diff changeset
834 "Warn that format is write-only."
18228
81fa1f5547eb Require `format'.
Richard M. Stallman <rms@gnu.org>
parents: 15261
diff changeset
835 (interactive)
81fa1f5547eb Require `format'.
Richard M. Stallman <rms@gnu.org>
parents: 15261
diff changeset
836 (error "This format is write-only"))
81fa1f5547eb Require `format'.
Richard M. Stallman <rms@gnu.org>
parents: 15261
diff changeset
837
22911
d70738580fb4 (iso-spanish, iso-german, iso-iso2tex,
Dave Love <fx@gnu.org>
parents: 20987
diff changeset
838 ;;;###autoload
18228
81fa1f5547eb Require `format'.
Richard M. Stallman <rms@gnu.org>
parents: 15261
diff changeset
839 (defun iso-cvt-define-menu ()
81fa1f5547eb Require `format'.
Richard M. Stallman <rms@gnu.org>
parents: 15261
diff changeset
840 "Add submenus to the Files menu, to convert to and from various formats."
81fa1f5547eb Require `format'.
Richard M. Stallman <rms@gnu.org>
parents: 15261
diff changeset
841 (interactive)
81fa1f5547eb Require `format'.
Richard M. Stallman <rms@gnu.org>
parents: 15261
diff changeset
842
81fa1f5547eb Require `format'.
Richard M. Stallman <rms@gnu.org>
parents: 15261
diff changeset
843 (define-key menu-bar-files-menu [load-as-separator] '("--"))
81fa1f5547eb Require `format'.
Richard M. Stallman <rms@gnu.org>
parents: 15261
diff changeset
844
81fa1f5547eb Require `format'.
Richard M. Stallman <rms@gnu.org>
parents: 15261
diff changeset
845 (define-key menu-bar-files-menu [load-as] '("Load As..." . load-as))
81fa1f5547eb Require `format'.
Richard M. Stallman <rms@gnu.org>
parents: 15261
diff changeset
846 (defvar load-as-menu-map (make-sparse-keymap "Load As..."))
81fa1f5547eb Require `format'.
Richard M. Stallman <rms@gnu.org>
parents: 15261
diff changeset
847 (fset 'load-as load-as-menu-map)
81fa1f5547eb Require `format'.
Richard M. Stallman <rms@gnu.org>
parents: 15261
diff changeset
848
81fa1f5547eb Require `format'.
Richard M. Stallman <rms@gnu.org>
parents: 15261
diff changeset
849 ;;(define-key menu-bar-files-menu [insert-as] '("Insert As..." . insert-as))
81fa1f5547eb Require `format'.
Richard M. Stallman <rms@gnu.org>
parents: 15261
diff changeset
850 (defvar insert-as-menu-map (make-sparse-keymap "Insert As..."))
81fa1f5547eb Require `format'.
Richard M. Stallman <rms@gnu.org>
parents: 15261
diff changeset
851 (fset 'insert-as insert-as-menu-map)
7260
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
852
18228
81fa1f5547eb Require `format'.
Richard M. Stallman <rms@gnu.org>
parents: 15261
diff changeset
853 (define-key menu-bar-files-menu [write-as] '("Write As..." . write-as))
81fa1f5547eb Require `format'.
Richard M. Stallman <rms@gnu.org>
parents: 15261
diff changeset
854 (defvar write-as-menu-map (make-sparse-keymap "Write As..."))
81fa1f5547eb Require `format'.
Richard M. Stallman <rms@gnu.org>
parents: 15261
diff changeset
855 (fset 'write-as write-as-menu-map)
81fa1f5547eb Require `format'.
Richard M. Stallman <rms@gnu.org>
parents: 15261
diff changeset
856
81fa1f5547eb Require `format'.
Richard M. Stallman <rms@gnu.org>
parents: 15261
diff changeset
857 (define-key menu-bar-files-menu [translate-separator] '("--"))
81fa1f5547eb Require `format'.
Richard M. Stallman <rms@gnu.org>
parents: 15261
diff changeset
858
81fa1f5547eb Require `format'.
Richard M. Stallman <rms@gnu.org>
parents: 15261
diff changeset
859 (define-key menu-bar-files-menu [translate-to] '("Translate to..." . translate-to))
81fa1f5547eb Require `format'.
Richard M. Stallman <rms@gnu.org>
parents: 15261
diff changeset
860 (defvar translate-to-menu-map (make-sparse-keymap "Translate to..."))
81fa1f5547eb Require `format'.
Richard M. Stallman <rms@gnu.org>
parents: 15261
diff changeset
861 (fset 'translate-to translate-to-menu-map)
81fa1f5547eb Require `format'.
Richard M. Stallman <rms@gnu.org>
parents: 15261
diff changeset
862
81fa1f5547eb Require `format'.
Richard M. Stallman <rms@gnu.org>
parents: 15261
diff changeset
863 (define-key menu-bar-files-menu [translate-from] '("Translate from..." . translate-from))
81fa1f5547eb Require `format'.
Richard M. Stallman <rms@gnu.org>
parents: 15261
diff changeset
864 (defvar translate-from-menu-map (make-sparse-keymap "Translate from..."))
81fa1f5547eb Require `format'.
Richard M. Stallman <rms@gnu.org>
parents: 15261
diff changeset
865 (fset 'translate-from translate-from-menu-map)
7260
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
866
18228
81fa1f5547eb Require `format'.
Richard M. Stallman <rms@gnu.org>
parents: 15261
diff changeset
867 (let ((file-types (reverse format-alist))
81fa1f5547eb Require `format'.
Richard M. Stallman <rms@gnu.org>
parents: 15261
diff changeset
868 name
81fa1f5547eb Require `format'.
Richard M. Stallman <rms@gnu.org>
parents: 15261
diff changeset
869 str-name)
22911
d70738580fb4 (iso-spanish, iso-german, iso-iso2tex,
Dave Love <fx@gnu.org>
parents: 20987
diff changeset
870 (while file-types
18228
81fa1f5547eb Require `format'.
Richard M. Stallman <rms@gnu.org>
parents: 15261
diff changeset
871 (setq name (car (car file-types))
81fa1f5547eb Require `format'.
Richard M. Stallman <rms@gnu.org>
parents: 15261
diff changeset
872 str-name (car (cdr (car file-types)))
81fa1f5547eb Require `format'.
Richard M. Stallman <rms@gnu.org>
parents: 15261
diff changeset
873 file-types (cdr file-types))
81fa1f5547eb Require `format'.
Richard M. Stallman <rms@gnu.org>
parents: 15261
diff changeset
874 (if (stringp str-name)
81fa1f5547eb Require `format'.
Richard M. Stallman <rms@gnu.org>
parents: 15261
diff changeset
875 (progn
81fa1f5547eb Require `format'.
Richard M. Stallman <rms@gnu.org>
parents: 15261
diff changeset
876 (define-key load-as-menu-map (vector name)
22911
d70738580fb4 (iso-spanish, iso-german, iso-iso2tex,
Dave Love <fx@gnu.org>
parents: 20987
diff changeset
877 (cons str-name
28393
aaa13b7caa88 Move provide to end. Doc fixes.
Dave Love <fx@gnu.org>
parents: 22911
diff changeset
878 `(lambda (file)
aaa13b7caa88 Move provide to end. Doc fixes.
Dave Love <fx@gnu.org>
parents: 22911
diff changeset
879 (interactive (format "FFind file (as %s): " ,name))
aaa13b7caa88 Move provide to end. Doc fixes.
Dave Love <fx@gnu.org>
parents: 22911
diff changeset
880 (format-find-file file ',name))))
18228
81fa1f5547eb Require `format'.
Richard M. Stallman <rms@gnu.org>
parents: 15261
diff changeset
881 (define-key insert-as-menu-map (vector name)
22911
d70738580fb4 (iso-spanish, iso-german, iso-iso2tex,
Dave Love <fx@gnu.org>
parents: 20987
diff changeset
882 (cons str-name
28393
aaa13b7caa88 Move provide to end. Doc fixes.
Dave Love <fx@gnu.org>
parents: 22911
diff changeset
883 `(lambda (file)
aaa13b7caa88 Move provide to end. Doc fixes.
Dave Love <fx@gnu.org>
parents: 22911
diff changeset
884 (interactive (format "FInsert file (as %s): " ,name))
aaa13b7caa88 Move provide to end. Doc fixes.
Dave Love <fx@gnu.org>
parents: 22911
diff changeset
885 (format-insert-file file ',name))))
18228
81fa1f5547eb Require `format'.
Richard M. Stallman <rms@gnu.org>
parents: 15261
diff changeset
886 (define-key write-as-menu-map (vector name)
22911
d70738580fb4 (iso-spanish, iso-german, iso-iso2tex,
Dave Love <fx@gnu.org>
parents: 20987
diff changeset
887 (cons str-name
28393
aaa13b7caa88 Move provide to end. Doc fixes.
Dave Love <fx@gnu.org>
parents: 22911
diff changeset
888 `(lambda (file)
aaa13b7caa88 Move provide to end. Doc fixes.
Dave Love <fx@gnu.org>
parents: 22911
diff changeset
889 (interactive (format "FWrite file (as %s): " ,name))
aaa13b7caa88 Move provide to end. Doc fixes.
Dave Love <fx@gnu.org>
parents: 22911
diff changeset
890 (format-write-file file ',name))))
18228
81fa1f5547eb Require `format'.
Richard M. Stallman <rms@gnu.org>
parents: 15261
diff changeset
891 (define-key translate-to-menu-map (vector name)
22911
d70738580fb4 (iso-spanish, iso-german, iso-iso2tex,
Dave Love <fx@gnu.org>
parents: 20987
diff changeset
892 (cons str-name
28393
aaa13b7caa88 Move provide to end. Doc fixes.
Dave Love <fx@gnu.org>
parents: 22911
diff changeset
893 `(lambda ()
aaa13b7caa88 Move provide to end. Doc fixes.
Dave Love <fx@gnu.org>
parents: 22911
diff changeset
894 (interactive)
aaa13b7caa88 Move provide to end. Doc fixes.
Dave Love <fx@gnu.org>
parents: 22911
diff changeset
895 (format-encode-buffer ',name))))
18228
81fa1f5547eb Require `format'.
Richard M. Stallman <rms@gnu.org>
parents: 15261
diff changeset
896 (define-key translate-from-menu-map (vector name)
22911
d70738580fb4 (iso-spanish, iso-german, iso-iso2tex,
Dave Love <fx@gnu.org>
parents: 20987
diff changeset
897 (cons str-name
28393
aaa13b7caa88 Move provide to end. Doc fixes.
Dave Love <fx@gnu.org>
parents: 22911
diff changeset
898 `(lambda ()
aaa13b7caa88 Move provide to end. Doc fixes.
Dave Love <fx@gnu.org>
parents: 22911
diff changeset
899 (interactive)
aaa13b7caa88 Move provide to end. Doc fixes.
Dave Love <fx@gnu.org>
parents: 22911
diff changeset
900 (format-decode-buffer ',name)))))))))
aaa13b7caa88 Move provide to end. Doc fixes.
Dave Love <fx@gnu.org>
parents: 22911
diff changeset
901
aaa13b7caa88 Move provide to end. Doc fixes.
Dave Love <fx@gnu.org>
parents: 22911
diff changeset
902 (provide 'iso-cvt)
7260
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
903
b71d8f758a66 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
904 ;;; iso-cvt.el ends here