forked from metamath/metamath-website-seed
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathscreen1.html
488 lines (378 loc) · 17.8 KB
/
screen1.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<HTML LANG="EN-US">
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<TITLE>Metamath Screenshots</TITLE>
<LINK REL="shortcut icon" HREF="favicon.ico" TYPE="image/x-icon">
</HEAD>
<BODY BGCOLOR="#FFFFFF" STYLE="padding: 0px 8px">
<TABLE BORDER=0 WIDTH="100%"><TR>
<TD ALIGN=left VALIGN=top WIDTH="25%"><FONT SIZE=-2 FACE=sans-serif> <A
HREF="index.html"><IMG SRC="mm.gif" BORDER=0 ALT="Metamath Home"
HEIGHT=32 WIDTH=32 ALIGN=LEFT>Metamath<BR>Home</A></FONT></TD>
<TD NOWRAP ALIGN=center><FONT SIZE="+3" COLOR="#006633"><B>Metamath
Screenshots</B></FONT> </TD>
<TD ALIGN=right VALIGN=top WIDTH="25%"> </TD>
</TR></TABLE>
<P><TABLE WIDTH="100%" BORDER=0><TR><TD>
If you have created a Metamath syntax highlighting file for another
editor, let <A HREF="../email.html">me</A> know so that I can add it to
this page.
<HR NOSHADE SIZE=1>
<B><FONT COLOR="#006633">Contents of this page</FONT></B>
<UL>
<LI> <A HREF="#vstudio">Visual Studio</A></LI>
<LI> <A HREF="#kate">Kate Editor</A></LI>
<LI> <A HREF="#kedit">KEDIT Editor</A></LI>
<LI> <A HREF="#vim">Vim and gVim Editors</A></LI>
<LI> <A HREF="#jedit">jEdit Editor</A></LI>
<LI> <A HREF="#gedit">gedit Editor</A></LI>
<LI> <A HREF="#grease">Firefox Greasemonkey script for the Metamath web
site</A></LI>
<LI> <A HREF="#palm">Palm PDA</A></LI>
<LI> <A HREF="#mnem">Mnemosyne</A></LI>
</UL>
</TD><TD ALIGN=right VALIGN=TOP>
<!-- witty quote goes here
<FONT COLOR="#006633"><I>
Works in ALL browsers I have tried!
</I><BR>
—Ian G. Clark, Ph.D.
</FONT>
-->
</TD></TR></TABLE>
<P><HR NOSHADE SIZE=1><A NAME="vstudio"></A><B><FONT
COLOR="#006633">Visual Studio</FONT></B>
Xuanji Li published a
<A HREF="https://marketplace.visualstudio.com/items?itemName=xuanji.metamath-syntax-highlighting">
Visual Studio Code extension</A> [retrieved 1-Sep-2019]
to support Metamath syntax highlighting. (Added 1-Sep-2019.)
<P>
<CENTER>
<IMG SRC="_screen_vstudio.jpg"
ALT="Visual Studio screenshot"
TITLE="Visual Studio screenshot (courtesy of Xuanji Li)"
WIDTH=800 HEIGHT=444>
</CENTER>
<P><HR NOSHADE SIZE=1><A NAME="kate"></A><B><FONT
COLOR="#006633">Kate Editor</FONT></B>
The <A HREF="https://kate-editor.org/">Kate editor</A> [retrieved 1-Sep-2019] now has
built-in Metamath
syntax highlighting for *.mm files. Note "Metamath" in
the lower right-hand corner. (Added 1-Sep-2018.)
<P>
<CENTER>
<IMG SRC="_screen_kate.png"
ALT="Kate editor screenshot"
TITLE="Kate editor screenshot (courtesy of Wolf Lammen)"
WIDTH=811 HEIGHT=830>
</CENTER>
<HR NOSHADE SIZE=1><A NAME="kedit"></A><B><FONT
COLOR="#006633">KEDIT Editor</FONT></B>
This is a screenshot of the ASCII database file "set.mm" (contained in the
<A HREF="index.html#mmprog">Metamath program</A> download). For
efficiency, the proofs in set.mm are typically stored in a compressed
format that is hard for humans to read directly. (But if you want to
try, the precise specification of the compressed format is given in
Appendix B, p. 157, of the <A HREF="index.html#book"><I>Metamath</I>
book</A>.) The Metamath program is used to work with the proofs and can
display them in several different ways, such as the web page <A
HREF="mpegif/2eu5.html">2eu5</A>, which was generated with the command
"show statement 2eu5 /html". The markup syntax for symbols, cross
references, and bibliographic references in comments is described under
the Metamath program commands "help language" and "help html".
<!--
~ 2eu4 means a cross reference to theorem 2eu4. The space before and
after '2eu4' make global editor searches and substitutions easier.
` E! x E! y ` means to typeset the symbols between the backquotes.
Again, spaces around the backquotes make editor searches easier.
-->
<P><FONT SIZE="-1"></FONT>
<P>
<CENTER>
<IMG SRC="_screen1.png"
ALT="Screenshot of theorem 2eu5 from set.mm in a text editor"
WIDTH=619 HEIGHT=465>
</CENTER>
<P>
<P><FONT SIZE=-1><FONT COLOR="#006633"><B>Notes</B></FONT> The
monospaced font in the editor screen is 8-point Andale Mono. The KEDIT
editor is a product of the Mansfield Software Group. The syntax
coloring is specified by a file called mm.kld, which is placed in
KEDIT's USER directory.</FONT>
<P><CENTER><TABLE BORDER=0 CELLSPACING=0 CELLPADDING=5
BGCOLOR="#F0F0F0"><TR><TD NOWRAP ALIGN=LEFT>
<FONT SIZE=-1><TT>
* MM.KLD - KEDIT Language Definition for .mm (Metamath) files<BR>
:case<BR>
respect<BR>
:identifier<BR>
[a-zA-Z0-9${}.=] [a-zA-Z0-9${}.=]<BR>
:comment<BR>
paired $( $) nonest<BR>
:keyword<BR>
${ ALTERNATE 9<BR>
$} ALTERNATE 9<BR>
$d ALTERNATE 1<BR>
$p ALTERNATE 1<BR>
$v ALTERNATE 1<BR>
$= ALTERNATE 1<BR>
$. ALTERNATE 1<BR>
$a ALTERNATE 1<BR>
$e ALTERNATE 1<BR>
$f ALTERNATE 1<BR>
$c ALTERNATE 1
</TT></FONT></TD></TR></TABLE></CENTER><P>
<P><HR NOSHADE SIZE=1><A NAME="vim"></A><B><FONT
COLOR="#006633">Vim and gVim Editors</FONT></B>
David A. Wheeler created syntax highlighting files for Metamath
source code in the Vim and gVim editors.
(Added 7-Jul-2016.)
<P>
<CENTER>
<IMG SRC="_screen_vim.png"
ALT="vim editor screenshot"
WIDTH=805 HEIGHT=927>
</CENTER>
<P>
<CENTER>
<IMG SRC="_screen_gvim-elflord.png"
ALT="gvim editor screenshot"
WIDTH=663 HEIGHT=873>
</CENTER>
<P>
<P><I>Instructions:</I>
The README.md at
<A HREF="https://github.com/david-a-wheeler/vim-metamath">
https://github.com/david-a-wheeler/vim-metamath</A> [retrieved 1-Sep-2019]
explains how to install; just copy the files
(for Unix/Linux into "~/.vim"; for Windows into ""%userprofile%\vimfiles").
<P><HR NOSHADE SIZE=1><A NAME="jedit"></A><B><FONT
COLOR="#006633">jEedit Editor</FONT></B>
Mario Carneiro created syntax highlighting files for Metamath
source code and mmj2 worksheets for the jEdit editor.
(Added 3-Jun-2014.)
<P>
<CENTER>
<IMG SRC="_screen_metamath-jedit.png"
ALT="jEdit editor screenshot"
WIDTH=626 HEIGHT=559>
</CENTER>
<P>
<CENTER>
<IMG SRC="_screen_mmj2-jedit.png"
ALT="jEdit editor screenshot"
WIDTH=626 HEIGHT=559>
</CENTER>
<P>
<P><I>Instructions:</I> The XML files
<A HREF="downloads/jedit-metamath.xml">jedit-metamath.xml</A> and
<A HREF="downloads/jedit-mmj2.xml">jedit-mmj2.xml</A>
are the edit modes, and
installation is just like any other jEdit edit mode. The XML files
should be dropped into the C:\Program Files (x86)\jEdit 5.1.0\modes
directory (appropriately modified for your installation directory), then
the catalog file in this directory should be edited to add the lines:
<P><CENTER><TABLE BORDER=0 CELLSPACING=0 CELLPADDING=5
BGCOLOR="#F0F0F0"><TR><TD NOWRAP ALIGN=LEFT>
<TT>
<MODE NAME="metamath" FILE="jedit-metamath.xml"
<BR> FILE_NAME_GLOB="*.mm"/>
<BR>
<BR><MODE NAME="mmj2" FILE="jedit-mmj2.xml"
<BR> FILE_NAME_GLOB="*.mmp"/>
</TT>
</TD></TR></TABLE></CENTER><P>
which enable interpretation of .mm and .mmp files using these two modes
respectively.
<P><HR NOSHADE SIZE=1><A NAME="gedit"></A><B><FONT
COLOR="#006633">gedit Editor</FONT></B>
Steven Baldasty wrote a
<A
HREF="http://www.bitflippin.org/metamath-syntax-highlighting">Metamath
syntax highlighting</A> [link broken 1-Sep-2009]
file for the gedit editor. (Added 3-May-2009.)
<P>
<CENTER>
<IMG SRC="_screengedit.png"
ALT="gedit editor screenshot"
WIDTH=658 HEIGHT=525>
</CENTER>
<P>
<P><I>Instructions:</I> Copy the following code into a file called
"metamath.lang" (or download it from Steven's site). Steven writes:
"With gedit installed, download the metamath.lang attachment and move it
to the folder where gedit stores its language files. On my Ubuntu
laptop for example, I do this:
<PRE>
sudo mv metamath.lang /usr/share/gtksourceview-2.0/language-specs
</PRE>
The next time you open a Metamath database, gedit activates the syntax
highlighting automatically."
<!-- PRE can't be used inside of LI -->
<P><CENTER><TABLE BORDER=0 CELLSPACING=0 CELLPADDING=5
BGCOLOR="#F0F0F0"><TR><TD NOWRAP ALIGN=LEFT>
<FONT SIZE=-1>
<TT>
<?xml version="1.0" encoding="UTF-8"?><BR>
<!--<BR>
<BR>
Copyright (c) 2009, Steven Baldasty <[email protected]><BR>
<BR>
Permission to use, copy, modify, and/or distribute this software for any<BR>
purpose with or without fee is hereby granted, provided that the above<BR>
copyright notice and this permission notice appear in all copies.<BR>
<BR>
Contributors:<BR>
Steven Baldasty <[email protected]><BR>
<BR>
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES<BR>
WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF<BR>
MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR<BR>
ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES<BR>
WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN<BR>
ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF<BR>
OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.<BR>
<BR>
--><BR>
<language id="metamath" _name="Metamath" version="2.0" _section="Others"><BR>
<metadata><BR>
<property name="mimetypes">text/mm</property><BR>
<property name="globs">*.mm</property><BR>
</metadata><BR>
<styles><BR>
<style id="keyword" _name="Keyword" map-to="def:keyword"/><BR>
<style id="comment" _name="Comment" map-to="def:comment"/><BR>
<style id="symbol" _name="Math Symbol" map-to="def:identifier"/><BR>
<style id="label" _name="Label" map-to="def:statement"/><BR>
<style id="include" _name="Path" map-to="def:constant"/><BR>
</styles><BR>
<definitions><BR>
<context id="scope" style-ref="keyword"><BR>
<match>[$]+[}{]</match><BR>
</context><BR>
<context id="label" style-ref="label"><BR>
<match>[A-Za-z0-9\-_.]</match><BR>
</context><BR>
<context id="comment" style-ref="comment"><BR>
<start>[$]+[(]</start><BR>
<end>[$]+[)]</end><BR>
<include><BR>
<context sub-pattern="0" where="start" style-ref="keyword"/><BR>
<context sub-pattern="0" where="end" style-ref="keyword"/><BR>
<context ref="def:line-continue"/><BR>
</include><BR>
</context><BR>
<context id="proof" end-parent="true" style-ref="label"><BR>
<start>[$]+[=]</start><BR>
<end>[$]+[.]</end><BR>
<include><BR>
<context sub-pattern="0" where="start" style-ref="keyword"/><BR>
<context sub-pattern="0" where="end" style-ref="keyword"/><BR>
<context ref="comment"/><BR>
<context ref="def:line-continue"/><BR>
</include><BR>
</context><BR>
<context id="statement" style-ref="symbol"><BR>
<start>[$]+[cvdefap]</start><BR>
<end>[$]+[.]</end><BR>
<include><BR>
<context sub-pattern="0" where="start" style-ref="keyword"/><BR>
<context sub-pattern="0" where="end" style-ref="keyword"/><BR>
<context ref="comment"/><BR>
<context ref="proof"/><BR>
<context ref="def:line-continue"/><BR>
</include><BR>
</context><BR>
<context id="include" style-ref="include"><BR>
<start>[$]+[\[]</start><BR>
<end>[$]+[\]]</end><BR>
<include><BR>
<context sub-pattern="0" where="start" style-ref="keyword"/><BR>
<context sub-pattern="0" where="end" style-ref="keyword"/><BR>
</include><BR>
</context><BR>
<context id="metamath"><BR>
<include><BR>
<context ref="scope"/><BR>
<context ref="comment"/><BR>
<context ref="statement"/><BR>
<context ref="label"/><BR>
<context ref="include"/><BR>
</include><BR>
</context><BR>
</definitions><BR>
</language>
</TT></FONT></TD></TR></TABLE></CENTER><P>
<P><HR NOSHADE SIZE=1><A NAME="grease"></A><B><FONT
COLOR="#006633">Firefox Greasemonkey script for the Metamath web
site</FONT></B>
Charles Greathouse wrote a script to reformat and simplify the
"This theorem was proved from axioms:" list on the Metamath Proof
Explorer web pages. (Added in 2009.)
<P>
<CENTER>
<IMG SRC="_screengreasemonkey.png"
ALT="Greasemonkey script screenshot"
WIDTH=573 HEIGHT=94>
</CENTER>
<P>
<P><I>Instructions:</I> (1) In <A
HREF="http://www.mozilla.org/">Firefox</A> [retrieved 1-Sep-2019], install the <A
HREF="https://addons.mozilla.org/en-US/firefox/addon/748">Greasemonkey</A>
[retrieved 1-Sep-2019] add-on (click "Add to Firefox"). (2) Open the page for the
<A HREF="http://userscripts.org/scripts/show/48859">beta version of the
script</A> [link broken 1-Sep-2019] and click "Install".
<P><HR NOSHADE SIZE=1><A NAME="palm"></A><B><FONT
COLOR="#006633">Palm Tungsten E PDA</FONT></B>
Here is an experimental browser for Metamath on the
Palm Tungsten E PDA. (Added 13-Oct-2006.)
<P>
<CENTER>
<IMG SRC="_screen-palmmm.jpg"
ALT="Screenshot of experimental browser for Palm Tungsten E PDA"
WIDTH=398 HEIGHT=428>
</CENTER>
<P>
<P><HR NOSHADE SIZE=1><A NAME="mnem"></A><B><FONT
COLOR="#006633">Mnemosyne screenshot</FONT></B>
This is screenshot of the <A HREF="http://mnemosyne-proj.org">Mnemosyne</A>
[retrieved 1-Sep-2019] learning program, loaded with the output produced by the
<A HREF="index.html#mmprog">metamath</A> program using
the command "show statement ax-* /mnemosyne" (courtesy
of Stefan Allan).
<P>
<CENTER>
<IMG SRC="_screen-mnemosyne.jpg"
ALT="Screenshot of Mnemosyne"
WIDTH=578 HEIGHT=432>
</CENTER>
<P>
<HR NOSHADE SIZE=1>
<TABLE BORDER=0 WIDTH="100%"><TR>
<TD ALIGN=left VALIGN=TOP WIDTH="25%"><FONT SIZE=-2 FACE=sans-serif>
</FONT></TD>
<TD ALIGN=CENTER><I>This page was last updated on 2-Sep-2018.</I>
<BR><FONT SIZE=-2 FACE=ARIAL>
Copyright terms:
<A HREF="../copyright.html#pd">Public domain</A> except the
"gedit Editor" section, which is Copyright (C) 2009 by Steven Baldasty,
and any screenshot elements copyrighted by the programs that
generated them.
</FONT></TD>
<TD ALIGN=RIGHT VALIGN=BOTTOM WIDTH="25%">
<FONT FACE="ARIAL" SIZE=-2>
<A
HREF="http://validator.w3.org/check?uri=referer">W3C HTML validation</A>
</FONT>
</TD>
</TR></TABLE>
<!-- <SCRIPT SRC="http://www.google-analytics.com/urchin.js" TYPE="text/javascript">
</SCRIPT>
<SCRIPT TYPE="text/javascript">
_uacct = "UA-1862729-1";
urchinTracker();
</SCRIPT>
-->
</BODY></HTML>