annotate lisp/hm--html-menus/hm--html-not-standard.el @ 165:5a88923fcbfe r20-3b9

Import from CVS: tag r20-3b9
author cvs
date Mon, 13 Aug 2007 09:44:42 +0200
parents 9f59509498e1
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
116
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
1 ;;; hm--html-not-standard.el
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
2 ;;; v1.00; 22-Feb-1997
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
3 ;;; Copyright (C) 1997 Heiko Muenkel
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
4 ;;; email: muenkel@tnt.uni-hannover.de
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
5 ;;;
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
6 ;;; This program is free software; you can redistribute it and/or modify
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
7 ;;; it under the terms of the GNU General Public License as published by
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
8 ;;; the Free Software Foundation; either version 2, or (at your option)
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
9 ;;; any later version.
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
10 ;;;
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
11 ;;; This program is distributed in the hope that it will be useful,
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
12 ;;; but WITHOUT ANY WARRANTY; without even the implied warranty of
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
13 ;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
14 ;;; GNU General Public License for more details.
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
15 ;;;
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
16 ;;; You should have received a copy of the GNU General Public License
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
17 ;;; along with this program; if not, write to the Free Software
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
18 ;;; Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
19 ;;;
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
20 ;;;
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
21 ;;; Description:
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
22 ;;;
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
23 ;;; This file contains lisp code for the insertation of non standard
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
24 ;;; HTML 3.2 elements. I don't think, that's a good idea to use this
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
25 ;;; elements in any HTML documents :-)
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
26 ;;;
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
27 ;;; Installation:
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
28 ;;;
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
29 ;;; Put this file in one of your load path directories.
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
30 ;;;
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
31 ;;; Put a (require 'hm--html-not-standard) in your .emacs
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
32 ;;;
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
33 ;;; Look at the files hm--html-mode.el and hm--html-configuration
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
34 ;;; for further installation points.
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
35 ;;;
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
36
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
37 ;(require 'hm--html-mode)
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
38
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
39 (defun hm--html-add-server-side-include-command-with-parameter (command
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
40 parameter)
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
41 "This function adds a server side include command directive in the buffer.
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
42 The directive is only supported by the NCSA http daemon."
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
43 (interactive (list
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
44 (completing-read
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
45 "Include Command: "
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
46 hm--html-server-side-include-command-with-parameter-alist)
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
47 (read-string "Parameterlist sepearted by '?': ")))
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
48 (if (string= command "")
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
49 (error "ERROR: No command specified !")
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
50 (if (string= parameter "")
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
51 (error "ERROR: No parameter specified !")
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
52 (if (= ?| (string-to-char command))
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
53 (if (= ?? (string-to-char parameter))
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
54 (insert "<INC SRVURL \"" command parameter "\">")
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
55 (insert "<INC SRVURL \"" command "?" parameter "\">"))
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
56 (if (= ?? (string-to-char parameter))
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
57 (insert "<INC SRVURL \"|" command parameter "\">")
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
58 (insert "<INC SRVURL \"|" command "?" parameter "\">"))))))
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
59
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
60
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
61 (defun hm--html-add-server-side-include-command-with-isindex-parameter
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
62 (command)
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
63 "This function adds a server side include command directive in the buffer.
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
64 The include command uses the \"isindex\"- parameter for the specified command."
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
65 (interactive (list
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
66 (completing-read "Include Command: "
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
67 hm--html-server-side-include-command-alist)))
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
68 (hm--html-add-server-side-include-command command t))
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
69
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
70
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
71 (defun hm--html-add-server-side-include-command (command &optional srvurl)
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
72 "This function adds a server side include command directive in the buffer.
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
73 The directive is only supported by the NCSA http daemon.
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
74 If SRVURL is t, then the attribute srvurl instead of srv is used for the
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
75 include command. With srvurl, the include command uses the \"isindex\"-
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
76 parameter for the specified command."
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
77 (interactive (list
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
78 (completing-read "Include Command: "
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
79 hm--html-server-side-include-command-alist)))
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
80 (let ((attribute (if srvurl "SRVURL" "SRV")))
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
81 (if (string= command "")
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
82 (error "ERROR: No command specified !")
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
83 (if (= ?| (string-to-char command))
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
84 (insert "<INC " attribute" \"" command "\">")
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
85 (insert "<INC " attribute " \"|" command "\">")))))
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
86
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
87
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
88 (defun hm--html-add-server-side-include-file (file)
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
89 "This function adds a server side include file directive in the buffer.
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
90 The directive is only supported by the NCSA http daemon."
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
91 (interactive "FInclude File: ")
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
92 (if (string= file "")
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
93 (error "ERROR: No filename specified !")
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
94 (insert "<INC SRV \"" file "\">")))
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
95
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
96
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
97 (defun hm--html-add-plaintext ()
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
98 "Adds the HTML tags for plaintext."
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
99 (interactive)
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
100 (hm--html-add-tags 'hm--html-insert-start-tag-with-newline
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
101 "<XMP>"
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
102 'hm--html-insert-end-tag-with-newline
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
103 "</XMP>"))
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
104
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
105
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
106 (defun hm--html-add-plaintext-to-region ()
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
107 "Adds the HTML tags for plaintext to the region."
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
108 (interactive)
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
109 (hm--html-add-tags-to-region 'hm--html-insert-start-tag-with-newline
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
110 "<XMP>"
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
111 'hm--html-insert-end-tag-with-newline
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
112 "</XMP>"))
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
113
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
114
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
115 (defun hm--html-add-abstract ()
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
116 "Adds the HTML tags for abstract text at the point in the current buffer."
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
117 (interactive)
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
118 (hm--html-add-tags 'hm--html-insert-start-tag-with-newline
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
119 "<ABSTRACT>"
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
120 'hm--html-insert-end-tag-with-newline
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
121 "</ABSTRACT>"))
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
122
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
123
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
124 (defun hm--html-add-abstract-to-region ()
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
125 "Adds the HTML tags for abstract text to the region."
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
126 (interactive)
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
127 (hm--html-add-tags-to-region 'hm--html-insert-start-tag-with-newline
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
128 "<ABSTRACT>"
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
129 'hm--html-insert-end-tag-with-newline
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
130 "</ABSTRACT>"))
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
131
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
132
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
133 (defun hm--html-add-quote ()
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
134 "Adds the HTML tags for Quote at the point in the current buffer."
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
135 (interactive)
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
136 (hm--html-add-tags 'hm--html-insert-start-tag
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
137 "<Q>"
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
138 'hm--html-insert-end-tag
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
139 "</Q>"))
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
140
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
141
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
142 (defun hm--html-add-quote-to-region ()
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
143 "Adds the HTML tags for Quote to the region."
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
144 (interactive)
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
145 (hm--html-add-tags-to-region 'hm--html-insert-start-tag
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
146 "<Q>"
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
147 'hm--html-insert-end-tag
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
148 "</Q>"))
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
149
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
150
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
151 (defun hm--html-add-person ()
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
152 "Adds the HTML tags for Person at the point in the current buffer."
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
153 (interactive)
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
154 (hm--html-add-tags 'hm--html-insert-start-tag
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
155 "<PERSON>"
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
156 'hm--html-insert-end-tag
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
157 "</PERSON>"))
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
158
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
159
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
160 (defun hm--html-add-person-to-region ()
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
161 "Adds the HTML tags for Person to the region."
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
162 (interactive)
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
163 (hm--html-add-tags-to-region 'hm--html-insert-start-tag
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
164 "<PERSON>"
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
165 'hm--html-insert-end-tag
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
166 "</PERSON>"))
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
167
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
168
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
169 (defun hm--html-add-instance ()
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
170 "Adds the HTML tags for Instance at the point in the current buffer."
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
171 (interactive)
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
172 (hm--html-add-tags 'hm--html-insert-start-tag
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
173 "<INS>"
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
174 'hm--html-insert-end-tag
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
175 "</INS>"))
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
176
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
177
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
178 (defun hm--html-add-instance-to-region ()
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
179 "Adds the HTML tags for Instance to the region."
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
180 (interactive)
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
181 (hm--html-add-tags-to-region 'hm--html-insert-start-tag
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
182 "<INS>"
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
183 'hm--html-insert-end-tag
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
184 "</INS>"))
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
185
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
186
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
187 (defun hm--html-add-publication ()
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
188 "Adds the HTML tags for Publication at the point in the current buffer."
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
189 (interactive)
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
190 (hm--html-add-tags 'hm--html-insert-start-tag
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
191 "<PUB>"
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
192 'hm--html-insert-end-tag
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
193 "</PUB>"))
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
194
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
195
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
196 (defun hm--html-add-publication-to-region ()
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
197 "Adds the HTML tags for Publication to the region."
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
198 (interactive)
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
199 (hm--html-add-tags-to-region 'hm--html-insert-start-tag
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
200 "<PUB>"
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
201 'hm--html-insert-end-tag
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
202 "</PUB>"))
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
203
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
204
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
205 (defun hm--html-add-author ()
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
206 "Adds the HTML tags for Author at the point in the current buffer."
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
207 (interactive)
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
208 (hm--html-add-tags 'hm--html-insert-start-tag
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
209 "<AUTHOR>"
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
210 'hm--html-insert-end-tag
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
211 "</AUTHOR>"))
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
212
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
213
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
214 (defun hm--html-add-author-to-region ()
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
215 "Adds the HTML tags for Author to the region."
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
216 (interactive)
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
217 (hm--html-add-tags-to-region 'hm--html-insert-start-tag
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
218 "<AUTHOR>"
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
219 'hm--html-insert-end-tag
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
220 "</AUTHOR>"))
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
221
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
222
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
223 (defun hm--html-add-editor ()
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
224 "Adds the HTML tags for Editor at the point in the current buffer."
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
225 (interactive)
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
226 (hm--html-add-tags 'hm--html-insert-start-tag
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
227 "<EDITOR>"
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
228 'hm--html-insert-end-tag
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
229 "</EDITOR>"))
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
230
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
231
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
232 (defun hm--html-add-editor-to-region ()
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
233 "Adds the HTML tags for Editor to the region."
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
234 (interactive)
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
235 (hm--html-add-tags-to-region 'hm--html-insert-start-tag
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
236 "<EDITOR>"
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
237 'hm--html-insert-end-tag
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
238 "</EDITOR>"))
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
239
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
240
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
241 (defun hm--html-add-credits ()
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
242 "Adds the HTML tags for Credits at the point in the current buffer."
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
243 (interactive)
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
244 (hm--html-add-tags 'hm--html-insert-start-tag
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
245 "<CREDITS>"
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
246 'hm--html-insert-end-tag
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
247 "</CREDITS>"))
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
248
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
249
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
250 (defun hm--html-add-credits-to-region ()
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
251 "Adds the HTML tags for Credits to the region."
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
252 (interactive)
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
253 (hm--html-add-tags-to-region 'hm--html-insert-start-tag
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
254 "<CREDITS>"
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
255 'hm--html-insert-end-tag
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
256 "</CREDITS>"))
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
257
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
258
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
259 (defun hm--html-add-copyright ()
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
260 "Adds the HTML tags for Copyright at the point in the current buffer."
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
261 (interactive)
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
262 (hm--html-add-tags 'hm--html-insert-start-tag
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
263 "<COPYRIGHT>"
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
264 'hm--html-insert-end-tag
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
265 "</COPYRIGHT>"))
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
266
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
267
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
268 (defun hm--html-add-copyright-to-region ()
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
269 "Adds the HTML tags for Copyright to the region."
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
270 (interactive)
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
271 (hm--html-add-tags-to-region 'hm--html-insert-start-tag
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
272 "<COPYRIGHT>"
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
273 'hm--html-insert-end-tag
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
274 "</COPYRIGHT>"))
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
275
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
276
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
277 (defun hm--html-add-isbn ()
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
278 "Adds the HTML tags for ISBN at the point in the current buffer."
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
279 (interactive)
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
280 (hm--html-add-tags 'hm--html-insert-start-tag
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
281 "<ISBN>"
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
282 'hm--html-insert-end-tag
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
283 "</ISBN>"))
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
284
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
285
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
286 (defun hm--html-add-isbn-to-region ()
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
287 "Adds the HTML tags for ISBN to the region."
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
288 (interactive)
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
289 (hm--html-add-tags-to-region 'hm--html-insert-start-tag
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
290 "<ISBN>"
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
291 'hm--html-insert-end-tag
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
292 "</ISBN>"))
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
293
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
294
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
295 (defun hm--html-add-acronym ()
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
296 "Adds the HTML tags for Acronym at the point in the current buffer."
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
297 (interactive)
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
298 (hm--html-add-tags 'hm--html-insert-start-tag
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
299 "<ACRONYM>"
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
300 'hm--html-insert-end-tag
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
301 "</ACRONYM>"))
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
302
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
303
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
304 (defun hm--html-add-acronym-to-region ()
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
305 "Adds the HTML tags for Acronym to the region."
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
306 (interactive)
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
307 (hm--html-add-tags-to-region 'hm--html-insert-start-tag
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
308 "<ACRONYM>"
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
309 'hm--html-insert-end-tag
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
310 "</ACRONYM>"))
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
311
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
312
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
313 (defun hm--html-add-abbrevation ()
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
314 "Adds the HTML tags for Abbrevation at the point in the current buffer."
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
315 (interactive)
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
316 (hm--html-add-tags 'hm--html-insert-start-tag
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
317 "<ABBREV>"
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
318 'hm--html-insert-end-tag
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
319 "</ABBREV>"))
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
320
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
321
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
322 (defun hm--html-add-abbrev-to-region ()
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
323 "Adds the HTML tags for Abbrev to the region."
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
324 (interactive)
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
325 (hm--html-add-tags-to-region 'hm--html-insert-start-tag
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
326 "<ABBREV>"
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
327 'hm--html-insert-end-tag
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
328 "</ABBREV>"))
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
329
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
330
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
331 (defun hm--html-add-command ()
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
332 "Adds the HTML tags for Command at the point in the current buffer."
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
333 (interactive)
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
334 (hm--html-add-tags 'hm--html-insert-start-tag
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
335 "<CMD>"
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
336 'hm--html-insert-end-tag
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
337 "</CMD>"))
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
338
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
339
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
340 (defun hm--html-add-command-to-region ()
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
341 "Adds the HTML tags for Command to the region."
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
342 (interactive)
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
343 (hm--html-add-tags-to-region 'hm--html-insert-start-tag
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
344 "<CMD>"
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
345 'hm--html-insert-end-tag
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
346 "</CMD>"))
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
347
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
348
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
349 (defun hm--html-add-argument ()
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
350 "Adds the HTML tags for Argument at the point in the current buffer."
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
351 (interactive)
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
352 (hm--html-add-tags 'hm--html-insert-start-tag
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
353 "<ARG>"
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
354 'hm--html-insert-end-tag
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
355 "</ARG>"))
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
356
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
357
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
358 (defun hm--html-add-argument-to-region ()
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
359 "Adds the HTML tags for Argument to the region."
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
360 (interactive)
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
361 (hm--html-add-tags-to-region 'hm--html-insert-start-tag
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
362 "<ARG>"
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
363 'hm--html-insert-end-tag
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
364 "</ARG>"))
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
365
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
366
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
367 (defun hm--html-add-literature ()
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
368 "Adds the HTML tags for Literature at the point in the current buffer."
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
369 (interactive)
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
370 (hm--html-add-tags 'hm--html-insert-start-tag
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
371 "<LIT>"
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
372 'hm--html-insert-end-tag
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
373 "</LIT>"))
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
374
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
375
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
376 (defun hm--html-add-literature-to-region ()
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
377 "Adds the HTML tags for Literature to the region."
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
378 (interactive)
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
379 (hm--html-add-tags-to-region 'hm--html-insert-start-tag
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
380 "<LIT>"
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
381 'hm--html-insert-end-tag
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
382 "</LIT>"))
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
383
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
384
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
385 (defun hm--html-add-footnote ()
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
386 "Adds the HTML tags for Footnote at the point in the current buffer."
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
387 (interactive)
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
388 (hm--html-add-tags 'hm--html-insert-start-tag
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
389 "<FOOTNOTE>"
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
390 'hm--html-insert-end-tag
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
391 "</FOOTNOTE>"))
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
392
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
393
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
394 (defun hm--html-add-footnote-to-region ()
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
395 "Adds the HTML tags for Footnote to the region."
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
396 (interactive)
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
397 (hm--html-add-tags-to-region 'hm--html-insert-start-tag
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
398 "<FOOTNOTE>"
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
399 'hm--html-insert-end-tag
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
400 "</FOOTNOTE>"))
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
401
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
402
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
403 (defun hm--html-add-margin ()
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
404 "Adds the HTML tags for Margin at the point in the current buffer."
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
405 (interactive)
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
406 (hm--html-add-tags 'hm--html-insert-start-tag
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
407 "<MARGIN>"
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
408 'hm--html-insert-end-tag
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
409 "</MARGIN>"))
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
410
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
411
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
412 (defun hm--html-add-margin-to-region ()
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
413 "Adds the HTML tags for Margin to the region."
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
414 (interactive)
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
415 (hm--html-add-tags-to-region 'hm--html-insert-start-tag
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
416 "<MARGIN>"
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
417 'hm--html-insert-end-tag
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
418 "</MARGIN>"))
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
419
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
420
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
421 (defun hm--html-add-listing ()
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
422 "Adds the HTML tags for listing."
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
423 (interactive)
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
424 (hm--html-add-tags 'hm--html-insert-start-tag-with-newline
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
425 "<LISTING>"
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
426 'hm--html-insert-end-tag-with-newline
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
427 "</LISTING>"))
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
428
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
429
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
430 (defun hm--html-add-listing-to-region ()
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
431 "Adds the HTML tags for listing to the region."
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
432 (interactive)
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
433 (hm--html-add-tags-to-region 'hm--html-insert-start-tag-with-newline
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
434 "<LISTING>"
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
435 'hm--html-insert-end-tag-with-newline
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
436 "</LISTING>"))
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
437
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
438
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents:
diff changeset
439 (provide 'hm--html-not-standard)