author | wenzelm |
Fri, 15 Aug 2008 17:03:56 +0200 | |
changeset 27896 | 220e7a18a8ea |
parent 27861 | 911bf8e58c4c |
child 28840 | 049f0a8faa35 |
permissions | -rw-r--r-- |
24584 | 1 |
(* Title: Pure/Thy/html.ML |
6324 | 2 |
ID: $Id$ |
9415 | 3 |
Author: Markus Wenzel and Stefan Berghofer, TU Muenchen |
6324 | 4 |
|
9415 | 5 |
HTML presentation elements. |
6324 | 6 |
*) |
7 |
||
8 |
signature HTML = |
|
9 |
sig |
|
23724 | 10 |
val html_mode: ('a -> 'b) -> 'a -> 'b |
23622 | 11 |
type text = string |
6324 | 12 |
val plain: string -> text |
13 |
val name: string -> text |
|
14 |
val keyword: string -> text |
|
23622 | 15 |
val command: string -> text |
6324 | 16 |
val file_name: string -> text |
6649 | 17 |
val file_path: Url.T -> text |
6324 | 18 |
val href_name: string -> text -> text |
6649 | 19 |
val href_path: Url.T -> text -> text |
20 |
val href_opt_path: Url.T option -> text -> text |
|
6376 | 21 |
val para: text -> text |
6324 | 22 |
val preform: text -> text |
23 |
val verbatim: string -> text |
|
17470
6e9d910c3837
added with_charset: string -> ('a -> 'b) -> 'a -> 'b;
wenzelm
parents:
17412
diff
changeset
|
24 |
val with_charset: string -> ('a -> 'b) -> 'a -> 'b |
23724 | 25 |
val begin_document: string -> text |
26 |
val end_document: text |
|
17080 | 27 |
val begin_index: Url.T * string -> Url.T * string -> (Url.T * string) list -> Url.T -> text |
9415 | 28 |
val applet_pages: string -> Url.T * string -> (string * string) list |
6649 | 29 |
val theory_entry: Url.T * string -> text |
30 |
val session_entries: (Url.T * string) list -> text |
|
27861
911bf8e58c4c
removed obsolete verbatim_source, results, chapter, section etc.;
wenzelm
parents:
27832
diff
changeset
|
31 |
val theory_source: text -> text |
6649 | 32 |
val begin_theory: Url.T * string -> string -> (Url.T option * string) list -> |
27490 | 33 |
(Url.T * Url.T * bool) list -> text -> text |
6649 | 34 |
val ml_file: Url.T -> string -> text |
6324 | 35 |
end; |
36 |
||
37 |
structure HTML: HTML = |
|
38 |
struct |
|
39 |
||
40 |
||
41 |
(** HTML print modes **) |
|
42 |
||
43 |
(* mode *) |
|
44 |
||
45 |
val htmlN = "HTML"; |
|
23935 | 46 |
fun html_mode f x = PrintMode.with_modes [htmlN] f x; |
6324 | 47 |
|
48 |
||
49 |
(* symbol output *) |
|
50 |
||
6338 | 51 |
local |
16196 | 52 |
val html_syms = Symtab.make |
23622 | 53 |
[("\\<spacespace>", (2, " ")), |
54 |
("\\<exclamdown>", (1, "¡")), |
|
55 |
("\\<cent>", (1, "¢")), |
|
56 |
("\\<pounds>", (1, "£")), |
|
57 |
("\\<currency>", (1, "¤")), |
|
58 |
("\\<yen>", (1, "¥")), |
|
59 |
("\\<bar>", (1, "¦")), |
|
60 |
("\\<section>", (1, "§")), |
|
61 |
("\\<dieresis>", (1, "¨")), |
|
62 |
("\\<copyright>", (1, "©")), |
|
63 |
("\\<ordfeminine>", (1, "ª")), |
|
64 |
("\\<guillemotleft>", (1, "«")), |
|
65 |
("\\<not>", (1, "¬")), |
|
66 |
("\\<hyphen>", (1, "­")), |
|
67 |
("\\<registered>", (1, "®")), |
|
68 |
("\\<inverse>", (1, "¯")), |
|
69 |
("\\<degree>", (1, "°")), |
|
70 |
("\\<plusminus>", (1, "±")), |
|
71 |
("\\<twosuperior>", (1, "²")), |
|
72 |
("\\<threesuperior>", (1, "³")), |
|
73 |
("\\<acute>", (1, "´")), |
|
74 |
("\\<paragraph>", (1, "¶")), |
|
75 |
("\\<cdot>", (1, "·")), |
|
76 |
("\\<cedilla>", (1, "¸")), |
|
77 |
("\\<onesuperior>", (1, "¹")), |
|
78 |
("\\<ordmasculine>", (1, "º")), |
|
79 |
("\\<guillemotright>", (1, "»")), |
|
80 |
("\\<onequarter>", (1, "¼")), |
|
81 |
("\\<onehalf>", (1, "½")), |
|
82 |
("\\<threequarters>", (1, "¾")), |
|
83 |
("\\<questiondown>", (1, "¿")), |
|
84 |
("\\<times>", (1, "×")), |
|
85 |
("\\<div>", (1, "÷")), |
|
86 |
("\\<circ>", (1, "o")), |
|
87 |
("\\<Alpha>", (1, "Α")), |
|
88 |
("\\<Beta>", (1, "Β")), |
|
89 |
("\\<Gamma>", (1, "Γ")), |
|
90 |
("\\<Delta>", (1, "Δ")), |
|
91 |
("\\<Epsilon>", (1, "Ε")), |
|
92 |
("\\<Zeta>", (1, "Ζ")), |
|
93 |
("\\<Eta>", (1, "Η")), |
|
94 |
("\\<Theta>", (1, "Θ")), |
|
95 |
("\\<Iota>", (1, "Ι")), |
|
96 |
("\\<Kappa>", (1, "Κ")), |
|
97 |
("\\<Lambda>", (1, "Λ")), |
|
98 |
("\\<Mu>", (1, "Μ")), |
|
99 |
("\\<Nu>", (1, "Ν")), |
|
100 |
("\\<Xi>", (1, "Ξ")), |
|
101 |
("\\<Omicron>", (1, "Ο")), |
|
102 |
("\\<Pi>", (1, "Π")), |
|
103 |
("\\<Rho>", (1, "Ρ")), |
|
104 |
("\\<Sigma>", (1, "Σ")), |
|
105 |
("\\<Tau>", (1, "Τ")), |
|
106 |
("\\<Upsilon>", (1, "Υ")), |
|
107 |
("\\<Phi>", (1, "Φ")), |
|
108 |
("\\<Chi>", (1, "Χ")), |
|
109 |
("\\<Psi>", (1, "Ψ")), |
|
110 |
("\\<Omega>", (1, "Ω")), |
|
111 |
("\\<alpha>", (1, "α")), |
|
112 |
("\\<beta>", (1, "β")), |
|
113 |
("\\<gamma>", (1, "γ")), |
|
114 |
("\\<delta>", (1, "δ")), |
|
115 |
("\\<epsilon>", (1, "ε")), |
|
116 |
("\\<zeta>", (1, "ζ")), |
|
117 |
("\\<eta>", (1, "η")), |
|
118 |
("\\<theta>", (1, "ϑ")), |
|
119 |
("\\<iota>", (1, "ι")), |
|
120 |
("\\<kappa>", (1, "κ")), |
|
121 |
("\\<lambda>", (1, "λ")), |
|
122 |
("\\<mu>", (1, "μ")), |
|
123 |
("\\<nu>", (1, "ν")), |
|
124 |
("\\<xi>", (1, "ξ")), |
|
125 |
("\\<omicron>", (1, "ο")), |
|
126 |
("\\<pi>", (1, "π")), |
|
127 |
("\\<rho>", (1, "ρ")), |
|
128 |
("\\<sigma>", (1, "σ")), |
|
129 |
("\\<tau>", (1, "τ")), |
|
130 |
("\\<upsilon>", (1, "υ")), |
|
131 |
("\\<phi>", (1, "φ")), |
|
132 |
("\\<chi>", (1, "χ")), |
|
133 |
("\\<psi>", (1, "ψ")), |
|
134 |
("\\<omega>", (1, "ω")), |
|
135 |
("\\<bullet>", (1, "•")), |
|
136 |
("\\<dots>", (1, "…")), |
|
137 |
("\\<Re>", (1, "ℜ")), |
|
138 |
("\\<Im>", (1, "ℑ")), |
|
139 |
("\\<wp>", (1, "℘")), |
|
140 |
("\\<forall>", (1, "∀")), |
|
141 |
("\\<partial>", (1, "∂")), |
|
142 |
("\\<exists>", (1, "∃")), |
|
143 |
("\\<emptyset>", (1, "∅")), |
|
144 |
("\\<nabla>", (1, "∇")), |
|
145 |
("\\<in>", (1, "∈")), |
|
146 |
("\\<notin>", (1, "∉")), |
|
147 |
("\\<Prod>", (1, "∏")), |
|
148 |
("\\<Sum>", (1, "∑")), |
|
149 |
("\\<star>", (1, "∗")), |
|
150 |
("\\<propto>", (1, "∝")), |
|
151 |
("\\<infinity>", (1, "∞")), |
|
152 |
("\\<angle>", (1, "∠")), |
|
153 |
("\\<and>", (1, "∧")), |
|
154 |
("\\<or>", (1, "∨")), |
|
155 |
("\\<inter>", (1, "∩")), |
|
156 |
("\\<union>", (1, "∪")), |
|
157 |
("\\<sim>", (1, "∼")), |
|
158 |
("\\<cong>", (1, "≅")), |
|
159 |
("\\<approx>", (1, "≈")), |
|
160 |
("\\<noteq>", (1, "≠")), |
|
161 |
("\\<equiv>", (1, "≡")), |
|
162 |
("\\<le>", (1, "≤")), |
|
163 |
("\\<ge>", (1, "≥")), |
|
164 |
("\\<subset>", (1, "⊂")), |
|
165 |
("\\<supset>", (1, "⊃")), |
|
166 |
("\\<subseteq>", (1, "⊆")), |
|
167 |
("\\<supseteq>", (1, "⊇")), |
|
168 |
("\\<oplus>", (1, "⊕")), |
|
169 |
("\\<otimes>", (1, "⊗")), |
|
170 |
("\\<bottom>", (1, "⊥")), |
|
171 |
("\\<lceil>", (1, "⌈")), |
|
172 |
("\\<rceil>", (1, "⌉")), |
|
173 |
("\\<lfloor>", (1, "⌊")), |
|
174 |
("\\<rfloor>", (1, "⌋")), |
|
175 |
("\\<langle>", (1, "⟨")), |
|
176 |
("\\<rangle>", (1, "⟩")), |
|
177 |
("\\<lozenge>", (1, "◊")), |
|
178 |
("\\<spadesuit>", (1, "♠")), |
|
179 |
("\\<clubsuit>", (1, "♣")), |
|
180 |
("\\<heartsuit>", (1, "♥")), |
|
181 |
("\\<diamondsuit>", (1, "♦")), |
|
182 |
("\\<lbrakk>", (2, "[|")), |
|
183 |
("\\<rbrakk>", (2, "|]")), |
|
184 |
("\\<Longrightarrow>", (3, "==>")), |
|
185 |
("\\<Rightarrow>", (2, "=>")), |
|
186 |
("\\<And>", (2, "!!")), |
|
187 |
("\\<Colon>", (2, "::")), |
|
188 |
("\\<lparr>", (2, "(|")), |
|
189 |
("\\<rparr>", (2, "|)),")), |
|
190 |
("\\<longleftrightarrow>", (3, "<->")), |
|
191 |
("\\<longrightarrow>", (3, "-->")), |
|
192 |
("\\<rightarrow>", (2, "->")), |
|
193 |
("\\<^bsub>", (0, "<sub>")), |
|
194 |
("\\<^esub>", (0, "</sub>")), |
|
195 |
("\\<^bsup>", (0, "<sup>")), |
|
196 |
("\\<^esup>", (0, "</sup>"))]; |
|
17178 | 197 |
|
16196 | 198 |
fun output_sym s = |
23622 | 199 |
if Symbol.is_raw s then (1, Symbol.decode_raw s) |
20742 | 200 |
else |
201 |
(case Symtab.lookup html_syms s of SOME x => x |
|
26709 | 202 |
| NONE => (size s, XML.text s)); |
6324 | 203 |
|
17178 | 204 |
fun output_sub s = apsnd (enclose "<sub>" "</sub>") (output_sym s); |
205 |
fun output_sup s = apsnd (enclose "<sup>" "</sup>") (output_sym s); |
|
206 |
fun output_loc s = apsnd (enclose "<span class=\"loc\">" "</span>") (output_sym s); |
|
14534 | 207 |
|
17178 | 208 |
fun output_syms ("\\<^sub>" :: s :: ss) = output_sub s :: output_syms ss |
209 |
| output_syms ("\\<^isub>" :: s :: ss) = output_sub s :: output_syms ss |
|
210 |
| output_syms ("\\<^sup>" :: s :: ss) = output_sup s :: output_syms ss |
|
211 |
| output_syms ("\\<^isup>" :: s :: ss) = output_sup s :: output_syms ss |
|
212 |
| output_syms ("\\<^loc>" :: s :: ss) = output_loc s :: output_syms ss |
|
213 |
| output_syms (s :: ss) = output_sym s :: output_syms ss |
|
214 |
| output_syms [] = []; |
|
6338 | 215 |
in |
6324 | 216 |
|
6338 | 217 |
fun output_width str = |
19305 | 218 |
if not (exists_string (fn s => s = "\\" orelse s = "<" orelse s = ">" orelse s = "&") str) |
23622 | 219 |
then Output.default_output str |
6338 | 220 |
else |
17178 | 221 |
let val (syms, width) = fold_map (fn (w, s) => fn width => (s, w + width)) |
23622 | 222 |
(output_syms (Symbol.explode str)) 0 |
17178 | 223 |
in (implode syms, width) end; |
6338 | 224 |
|
225 |
val output = #1 o output_width; |
|
17178 | 226 |
val output_symbols = map #2 o output_syms; |
6338 | 227 |
|
26709 | 228 |
val _ = Output.add_mode htmlN output_width Symbol.encode_raw; |
229 |
||
6338 | 230 |
end; |
231 |
||
6324 | 232 |
|
26709 | 233 |
(* common markup *) |
23622 | 234 |
|
26709 | 235 |
fun span s = ("<span class=" ^ Library.quote (XML.text s) ^ ">", "</span>"); |
6324 | 236 |
|
27829 | 237 |
val _ = Markup.add_mode htmlN (fn (name, _) => span name); |
15801 | 238 |
|
6324 | 239 |
|
240 |
||
241 |
(** HTML markup **) |
|
242 |
||
243 |
type text = string; |
|
244 |
||
245 |
||
246 |
(* atoms *) |
|
247 |
||
248 |
val plain = output; |
|
19265 | 249 |
val name = enclose "<span class=\"name\">" "</span>" o output; |
250 |
val keyword = enclose "<span class=\"keyword\">" "</span>" o output; |
|
23622 | 251 |
val command = enclose "<span class=\"command\">" "</span>" o output; |
19265 | 252 |
val file_name = enclose "<span class=\"filename\">" "</span>" o output; |
21858
05f57309170c
avoid conflict with Alice keywords: renamed pack -> implode, unpack -> explode, any -> many, avoided assert;
wenzelm
parents:
20742
diff
changeset
|
253 |
val file_path = file_name o Url.implode; |
6324 | 254 |
|
255 |
||
256 |
(* misc *) |
|
257 |
||
14598
7009f59711e3
Replaced quote by Library.quote, since quote now refers to Symbol.quote
berghofe
parents:
14571
diff
changeset
|
258 |
fun href_name s txt = "<a href=" ^ Library.quote s ^ ">" ^ txt ^ "</a>"; |
21858
05f57309170c
avoid conflict with Alice keywords: renamed pack -> implode, unpack -> explode, any -> many, avoided assert;
wenzelm
parents:
20742
diff
changeset
|
259 |
fun href_path path txt = href_name (Url.implode path) txt; |
6376 | 260 |
|
15531 | 261 |
fun href_opt_path NONE txt = txt |
262 |
| href_opt_path (SOME p) txt = href_path p txt; |
|
6376 | 263 |
|
12413 | 264 |
fun para txt = "\n<p>" ^ txt ^ "</p>\n"; |
27830 | 265 |
fun preform txt = "<pre>" ^ txt ^ "</pre>"; |
6324 | 266 |
val verbatim = preform o output; |
267 |
||
268 |
||
269 |
(* document *) |
|
270 |
||
27829 | 271 |
val charset = ref "ISO-8859-1"; |
24101 | 272 |
fun with_charset s = setmp_noncritical charset s; |
17470
6e9d910c3837
added with_charset: string -> ('a -> 'b) -> 'a -> 'b;
wenzelm
parents:
17412
diff
changeset
|
273 |
|
6324 | 274 |
fun begin_document title = |
27829 | 275 |
let val cs = ! charset in |
276 |
"<?xml version=\"1.0\" encoding=\"" ^ cs ^ "\" ?>\n\ |
|
27896 | 277 |
\<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Transitional//EN\" \ |
27829 | 278 |
\\"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd\">\n\ |
279 |
\<html xmlns=\"http://www.w3.org/1999/xhtml\">\n\ |
|
280 |
\<head>\n\ |
|
281 |
\<meta http-equiv=\"Content-Type\" content=\"text/html; charset=" ^ cs ^ "\"/>\n\ |
|
282 |
\<title>" ^ plain (title ^ " (" ^ Distribution.version ^ ")") ^ "</title>\n\ |
|
283 |
\<link media=\"all\" rel=\"stylesheet\" type=\"text/css\" href=\"isabelle.css\"/>\n\ |
|
284 |
\</head>\n\ |
|
285 |
\\n\ |
|
286 |
\<body>\n\ |
|
287 |
\<div class=\"head\">\ |
|
288 |
\<h1>" ^ plain title ^ "</h1>\n" |
|
289 |
end; |
|
6324 | 290 |
|
14541 | 291 |
val end_document = "\n</div>\n</body>\n</html>\n"; |
6324 | 292 |
|
6754 | 293 |
fun gen_link how (path, name) = para (href_path path how ^ " to index of " ^ plain name); |
294 |
val up_link = gen_link "Up"; |
|
295 |
val back_link = gen_link "Back"; |
|
6338 | 296 |
|
297 |
||
298 |
(* session index *) |
|
299 |
||
17080 | 300 |
fun begin_index up (index_path, session) docs graph = |
6754 | 301 |
begin_document ("Index of " ^ session) ^ up_link up ^ |
302 |
para ("View " ^ href_path graph "theory dependencies" ^ |
|
27829 | 303 |
implode (map (fn (p, name) => "<br/>\nView " ^ href_path p name) docs)) ^ |
304 |
"\n</div>\n<hr/>\n<div class=\"theories\">\n<h2>Theories</h2>\n<ul>\n"; |
|
6338 | 305 |
|
6649 | 306 |
fun choice chs s = space_implode " " (map (fn (s', lnk) => |
307 |
enclose "[" "]" (if s = s' then keyword s' else href_name lnk s')) chs); |
|
308 |
||
9415 | 309 |
fun applet_pages session back = |
6649 | 310 |
let |
9415 | 311 |
val sizes = |
312 |
[("small", "small.html", ("500", "400")), |
|
313 |
("medium", "medium.html", ("650", "520")), |
|
314 |
("large", "large.html", ("800", "640"))]; |
|
6649 | 315 |
|
9415 | 316 |
fun applet_page (size, name, (width, height)) = |
6754 | 317 |
let |
318 |
val browser_size = "Set browser size: " ^ |
|
9415 | 319 |
choice (map (fn (y, z, _) => (y, z)) sizes) size; |
6754 | 320 |
in |
321 |
(name, begin_document ("Theory dependencies of " ^ session) ^ |
|
322 |
back_link back ^ |
|
9415 | 323 |
para browser_size ^ |
27829 | 324 |
"\n</div>\n<hr/>\n<div class=\"graphbrowser\">\n\ |
17080 | 325 |
\<applet code=\"GraphBrowser/GraphBrowser.class\" \ |
14541 | 326 |
\archive=\"GraphBrowser.jar\" \ |
27832
992c6d984925
<applet>: more XHTML 1.0 Transitional conformance;
wenzelm
parents:
27830
diff
changeset
|
327 |
\width=" ^ quote width ^ " height=" ^ quote height ^ ">\n\ |
992c6d984925
<applet>: more XHTML 1.0 Transitional conformance;
wenzelm
parents:
27830
diff
changeset
|
328 |
\<param name=\"graphfile\" value=\"" ^ "session.graph" ^ "\"/>\n\ |
27829 | 329 |
\</applet>\n<hr/>" ^ end_document) |
6649 | 330 |
end; |
9415 | 331 |
in map applet_page sizes end; |
6649 | 332 |
|
333 |
||
27829 | 334 |
fun entry (p, s) = "<li>" ^ href_path p (plain s) ^ "</li>\n"; |
6405 | 335 |
|
6338 | 336 |
val theory_entry = entry; |
337 |
||
6405 | 338 |
fun session_entries [] = "</ul>" |
339 |
| session_entries es = |
|
27829 | 340 |
"</ul>\n</div>\n<hr/>\n<div class=\"sessions\">\n\ |
17080 | 341 |
\<h2>Sessions</h2>\n<ul>\n" ^ implode (map entry es) ^ "</ul>"; |
6324 | 342 |
|
343 |
||
344 |
(* theory *) |
|
345 |
||
27861
911bf8e58c4c
removed obsolete verbatim_source, results, chapter, section etc.;
wenzelm
parents:
27832
diff
changeset
|
346 |
val theory_source = enclose |
911bf8e58c4c
removed obsolete verbatim_source, results, chapter, section etc.;
wenzelm
parents:
27832
diff
changeset
|
347 |
"\n</div>\n<hr/>\n<div class=\"source\">\n<pre>" |
911bf8e58c4c
removed obsolete verbatim_source, results, chapter, section etc.;
wenzelm
parents:
27832
diff
changeset
|
348 |
"</pre>\n<hr/>\n"; |
6324 | 349 |
|
350 |
||
351 |
local |
|
27490 | 352 |
fun file (href, path, loadit) = |
353 |
href_path href (if loadit then file_path path else enclose "(" ")" (file_path path)); |
|
6361 | 354 |
|
6376 | 355 |
fun theory up A = |
356 |
begin_document ("Theory " ^ A) ^ "\n" ^ up_link up ^ |
|
23622 | 357 |
command "theory" ^ " " ^ name A; |
16267
0773b17922d8
present new-style theory header, with 'imports' and 'uses';
wenzelm
parents:
16196
diff
changeset
|
358 |
|
0773b17922d8
present new-style theory header, with 'imports' and 'uses';
wenzelm
parents:
16196
diff
changeset
|
359 |
fun imports Bs = |
0773b17922d8
present new-style theory header, with 'imports' and 'uses';
wenzelm
parents:
16196
diff
changeset
|
360 |
keyword "imports" ^ " " ^ space_implode " " (map (uncurry href_opt_path o apsnd name) Bs); |
0773b17922d8
present new-style theory header, with 'imports' and 'uses';
wenzelm
parents:
16196
diff
changeset
|
361 |
|
27829 | 362 |
fun uses Ps = keyword "uses" ^ " " ^ space_implode " " (map file Ps) ^ "<br/>\n"; |
6324 | 363 |
in |
364 |
||
16267
0773b17922d8
present new-style theory header, with 'imports' and 'uses';
wenzelm
parents:
16196
diff
changeset
|
365 |
fun begin_theory up A Bs Ps body = |
27829 | 366 |
theory up A ^ "<br/>\n" ^ |
367 |
imports Bs ^ "<br/>\n" ^ |
|
16267
0773b17922d8
present new-style theory header, with 'imports' and 'uses';
wenzelm
parents:
16196
diff
changeset
|
368 |
(if null Ps then "" else uses Ps) ^ |
0773b17922d8
present new-style theory header, with 'imports' and 'uses';
wenzelm
parents:
16196
diff
changeset
|
369 |
body; |
0773b17922d8
present new-style theory header, with 'imports' and 'uses';
wenzelm
parents:
16196
diff
changeset
|
370 |
|
6324 | 371 |
end; |
372 |
||
373 |
||
374 |
(* ML file *) |
|
375 |
||
376 |
fun ml_file path str = |
|
21858
05f57309170c
avoid conflict with Alice keywords: renamed pack -> implode, unpack -> explode, any -> many, avoided assert;
wenzelm
parents:
20742
diff
changeset
|
377 |
begin_document ("File " ^ Url.implode path) ^ |
27829 | 378 |
"\n</div>\n<hr/><div class=\"mlsource\">\n" ^ |
14571 | 379 |
verbatim str ^ |
27861
911bf8e58c4c
removed obsolete verbatim_source, results, chapter, section etc.;
wenzelm
parents:
27832
diff
changeset
|
380 |
"\n</div>\n<hr/>\n<div class=\"mlfooter\">" ^ |
14541 | 381 |
end_document; |
6324 | 382 |
|
7572 | 383 |
end; |