Size: 816
Comment:
|
Size: 7155
Comment:
|
Deletions are marked like this. | Additions are marked like this. |
Line 1: | Line 1: |
## page was renamed from ImportantNotesForNewbies | |
Line 3: | Line 4: |
In theory, you should see APL characters with any ordinary font: nowadays any system font should contain those characters. It might not look nice, but it should work. | <<TableOfContents>> |
Line 5: | Line 6: |
In theory, there is no difference between theory and practice. In practice, there is. Experience shows that some fonts are buggy: they contain most APL characters but not all. |
In theory, you should see APL characters even with "Arial". Well, almost. Truth is that the version of "Arial" Windows is coming with is not a full Unicode font. There is a font "Arial Unicode MS" available on many machines, but this font comes with some versions of Microsoft Office and some versions of the Microsoft Publisher. This font is '''not''' free anyway. |
Line 8: | Line 8: |
However, for best results we suggest to install the '''APL385 Unicode''' font anyway. Download here: http://www.dyalog.com/download/unicode/apl385.ttf This font does not only have '''all''' APL characters, it also looks nice. |
In theory, there is no difference between theory and practice. In practice, there is. Furthermore, experience shows that most fonts used as the default fonts by Browsers are not showing any APL characters at all: Most chars you look at thinking "ah, great, that's APL!" are not APL but mathematical symbols like {{{|⊂⊃∩∪&=≠⍟}}}. For details see BrowserTest. However, even if you cannot see the APL chars in the Browser, you might still be able to copy the page into the clipboard and insert it into one of the Unicode capable interpreters, although this is only theoretically of interest: if you have such an interpreter you would also have an appropriate Unicode font on your machine anyway! So to be sure that you can see APL characters we suggest to install one of the following fonts. They are listed in a particular sequence. The first one to be found on your system defines the one which is actually used by your browser, unless you've forced your browser to use a particular font - see [[ConfigureYourBrowserForApl | ConfigureYourBrowserForAPL]] for how to do this. === The "APL385 Unicode" Font === If you have installed Dyalog APL version 11 or later, you will have this font installed already. The font can be downloaded from: http://www.dyalog.com/download/unicode/apl385.ttf This font is the first choice: when installed, the APL wiki will use it. Note that this font is supposed to contain all APL symbols available, so it should be fine with any Unicode-capable APL dialect. If you have Dyalog APL 11 or better installed, this font is already installed on your system. === The "APLX Upright" Font === If you have installed a desktop version of APLX (full or evaluation copy), you will have this font installed already. The font can be downloaded from: http://www.microapl.co.uk/download/aplx_unicode.ttf Note that this font does not contain all characters. For example, the Dyalog-specific {{{⍨}}} is not contained in that font. === The "Courier APL2 Unicode" Font === This is a Unicode font that comes with APL2. === The "SImPL" Font === This font has all of the APL characters in use in all of the APL interpreters past and present. Download [[attachment:SImPL_medium_APL.ttf]] A variant of this font (called '''SImPL medium''') is bundled with [[http://www.nars2000.org|NARS2000]]. Moreover, here's a description of the [[http://wiki.nars2000.org/index.php/APL_Font|extra glyphs]] this interpreter would like to see in any APL Unicode font. If you download and unzip any [[http://www.nars2000.org/download|NARS2000 binary]], you'll obtain a copy of this variant. === Other APL fonts won't work === Note that fonts like "Dyalog Std", "Dyalog Alt", "Causeway" and many others are '''not''' Unicode fonts. Therefore, the APL wiki does not even try to use them: they won't work! |
Line 13: | Line 53: |
Line 15: | Line 56: |
If you use Internet Explorer, make sure that it is version 7 or better. Everything else is a nightmare. | If you use Internet Explorer, make sure that it is version 7 or better. Everything else is a nightmare. IE7 works just fine on about 99% of the boxes. On some machines, however, it does not work. So far nobody can explain why. == "It works with the APL wiki, but not elsewhere" == The APL wiki explicitly tells a browser to use one of the true APL Unicode fonts mentioned above. Furthermore, any page in the APL wiki declares itself as truly Unicode-capable. Therefore, it simply works: modern Browsers know what to do. But if you use that very same browser to visit APL discussion groups hosted by either Google (like comp.lang.apl) or Yahoo (like dyalogusers) or to send emails with embedded APL chars via a Browser (for example via !GoogleMail), then you '''must''' configure your Browser accordingly, otherwise it won't work. See ConfigureYourBrowserForUnicode for details For displaying APL chars in emails and News Readers, things are a bit more complex. See ConfiguringMailAndNewsReaders for details. == "But it's ugly, really!" == Large sizes are fine but small one's are ugly? See MakeUglyAplFontNice == What exactly is "APL385 Unicode" offering? == === All characters available === The APL wiki's preferred font, "APL385 Unicode", comes with these characters: {{{ !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnop qrstuvwxyz{|}~¡¢£¤¥¦§¨©ª«¬®¯°±²³´µ¶·¸¹º»¼½¾¿ÀÁÂÃÄÅÆÇÈÉÊËÌÍÎÏÐÑÒÓÔÕÖ×ØÙÚÛÜÝÞßàá âãäåæçèéêëìíîïðñòóôõö÷øùúûüýþÿĀāĂ㥹ĆćĈĉĊċČčĎďĐđĒēĔĕĖėĘęĚěĜĝĞğĠġĢģĤĥĦħĨĩĪīĬĭĮįİı IJijĴĵĶķĸĹĺĻļĽľĿŀŁłŃńŅņŇňʼnŊŋŌōŎŏŐőŒœŔŕŖŗŘřŚśŜŝŞşŠšŢţŤťŦŧŨũŪūŬŭŮůŰűŲųŴŵŶŷŸŹźŻżŽžſƒɛ ɩˆ˜̀́̂̃̄̅̆Ά·ΈΉΊΌΎΏΐΑΒΓΔΕΖΗΘΙΚΛΜΝΞΟΠΡΣΤΥΦΧΨΩΪΫάέήίΰαβγδεζηθικλμνξοπρςστυφχψωϊϋ όύώϏϐϑϒϓϔϕϖϗϘϙϚϛϜϝϞϟϠϡϢϣϤϥϦϧϨЁЂЃЄЅІЇЈЎЏАБВГДЕЖЗИЙКЛМНОПРСТУФХЦЧШЩЪЫЬЭЮЯабвгдежзи йклмнопрстуфхцчшщъыьэюяёѓєѕіїјў–—―‖‗‘’‚‛“”„‟†‡•…‰‹›₧€™←↑→↓↔↕∆∇∉∊∏∑−∕∘∙√∞∣∧∨∩∪∫∵∼ ≈≉≠≡≢≣≤≥⊂⊃⊆⊇⊖⊢⊣⊤⊥⋄⌈⌉⌊⌋⌶⌷⌸⌹⌺⌻⌼⌽⌾⌿⍀⍁⍂⍃⍄⍅⍆⍇⍈⍉⍊⍋⍌⍍⍎⍏⍐⍑⍒⍓⍔⍕⍖⍗⍘⍙⍚⍛⍜⍝⍞⍟⍠⍡⍢⍣⍤⍥⍦⍧⍨⍩⍪⍫⍬⍭⍮⍯ ⍰⍱⍲⍳⍴⍵⍶⍷⍸⍹⍺⎕─│┌┐└┘├┬┴┼═║╔╗╚╝╠╣╦╩╬▀▄█▌▐░▒▓▯◇◊○♀♂ }}} === Contained in the default ⎕AV === In Dyalog's default Atomic Vector, these characters are defined: {{{ 15 16⍴¯240↑17↓⎕av abcdefghijklmno pqrstuvwxyz¯.⍬ 0123456789¤¥$£¢ ∆ABCDEFGHIJKLMNO PQRSTUVWXYZý· ⍙ÁÂÃÇÈÊËÌÍÎÏÐÒÓÔ ÕÙÚÛÝþãìðòõ{€}⊣⌷ ¨ÀÄÅÆ⍨ÉÑÖØÜßàáâä åæçèéêëíîïñ[/⌿\⍀ <≤=≥>≠∨∧-+÷×?∊⍴~ ↑↓⍳○*⌈⌊∇∘(⊂⊃∩∪⊥⊤ |;,⍱⍲⍒⍋⍉⌽⊖⍟⌹!⍕⍎⍫ ⍪≡≢óôöø"# &´┘┐┌└ ┼─├┤┴┬│@ùúû^ü`∣¶ :⍷¿¡⋄←→⍝)] §⎕⍞⍣ }}} In case something is wrong with your APL font, or you don't have one installed, or dynamic font downloading is not working for some reason, here is a picture; that's what you '''should''' see above as well: {{attachment:QAV.jpg}} ---- CategoryUnicode |
APL Characters
Contents
In theory, you should see APL characters even with "Arial". Well, almost. Truth is that the version of "Arial" Windows is coming with is not a full Unicode font. There is a font "Arial Unicode MS" available on many machines, but this font comes with some versions of Microsoft Office and some versions of the Microsoft Publisher. This font is not free anyway.
In theory, there is no difference between theory and practice. In practice, there is. Furthermore, experience shows that most fonts used as the default fonts by Browsers are not showing any APL characters at all: Most chars you look at thinking "ah, great, that's APL!" are not APL but mathematical symbols like |⊂⊃∩∪&=≠⍟. For details see BrowserTest.
However, even if you cannot see the APL chars in the Browser, you might still be able to copy the page into the clipboard and insert it into one of the Unicode capable interpreters, although this is only theoretically of interest: if you have such an interpreter you would also have an appropriate Unicode font on your machine anyway!
So to be sure that you can see APL characters we suggest to install one of the following fonts. They are listed in a particular sequence. The first one to be found on your system defines the one which is actually used by your browser, unless you've forced your browser to use a particular font - see ConfigureYourBrowserForAPL for how to do this.
The "APL385 Unicode" Font
If you have installed Dyalog APL version 11 or later, you will have this font installed already.
The font can be downloaded from:
http://www.dyalog.com/download/unicode/apl385.ttf
This font is the first choice: when installed, the APL wiki will use it. Note that this font is supposed to contain all APL symbols available, so it should be fine with any Unicode-capable APL dialect.
If you have Dyalog APL 11 or better installed, this font is already installed on your system.
The "APLX Upright" Font
If you have installed a desktop version of APLX (full or evaluation copy), you will have this font installed already.
The font can be downloaded from:
http://www.microapl.co.uk/download/aplx_unicode.ttf
Note that this font does not contain all characters. For example, the Dyalog-specific ⍨ is not contained in that font.
The "Courier APL2 Unicode" Font
This is a Unicode font that comes with APL2.
The "SImPL" Font
This font has all of the APL characters in use in all of the APL interpreters past and present.
Download SImPL_medium_APL.ttf
A variant of this font (called SImPL medium) is bundled with NARS2000. Moreover, here's a description of the extra glyphs this interpreter would like to see in any APL Unicode font. If you download and unzip any NARS2000 binary, you'll obtain a copy of this variant.
Other APL fonts won't work
Note that fonts like "Dyalog Std", "Dyalog Alt", "Causeway" and many others are not Unicode fonts. Therefore, the APL wiki does not even try to use them: they won't work!
Browsers
Every modern Browser should be fine. I suggest the latest Firefox for best results.
If you use Internet Explorer, make sure that it is version 7 or better. Everything else is a nightmare. IE7 works just fine on about 99% of the boxes. On some machines, however, it does not work. So far nobody can explain why.
"It works with the APL wiki, but not elsewhere"
The APL wiki explicitly tells a browser to use one of the true APL Unicode fonts mentioned above. Furthermore, any page in the APL wiki declares itself as truly Unicode-capable. Therefore, it simply works: modern Browsers know what to do.
But if you use that very same browser to visit APL discussion groups hosted by either Google (like comp.lang.apl) or Yahoo (like dyalogusers) or to send emails with embedded APL chars via a Browser (for example via GoogleMail), then you must configure your Browser accordingly, otherwise it won't work. See ConfigureYourBrowserForUnicode for details
For displaying APL chars in emails and News Readers, things are a bit more complex. See ConfiguringMailAndNewsReaders for details.
"But it's ugly, really!"
Large sizes are fine but small one's are ugly?
What exactly is "APL385 Unicode" offering?
All characters available
The APL wiki's preferred font, "APL385 Unicode", comes with these characters:
!"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnop qrstuvwxyz{|}~¡¢£¤¥¦§¨©ª«¬®¯°±²³´µ¶·¸¹º»¼½¾¿ÀÁÂÃÄÅÆÇÈÉÊËÌÍÎÏÐÑÒÓÔÕÖ×ØÙÚÛÜÝÞßàá âãäåæçèéêëìíîïðñòóôõö÷øùúûüýþÿĀāĂ㥹ĆćĈĉĊċČčĎďĐđĒēĔĕĖėĘęĚěĜĝĞğĠġĢģĤĥĦħĨĩĪīĬĭĮįİı IJijĴĵĶķĸĹĺĻļĽľĿŀŁłŃńŅņŇňʼnŊŋŌōŎŏŐőŒœŔŕŖŗŘřŚśŜŝŞşŠšŢţŤťŦŧŨũŪūŬŭŮůŰűŲųŴŵŶŷŸŹźŻżŽžſƒɛ ɩˆ˜̀́̂̃̄̅̆Ά·ΈΉΊΌΎΏΐΑΒΓΔΕΖΗΘΙΚΛΜΝΞΟΠΡΣΤΥΦΧΨΩΪΫάέήίΰαβγδεζηθικλμνξοπρςστυφχψωϊϋ όύώϏϐϑϒϓϔϕϖϗϘϙϚϛϜϝϞϟϠϡϢϣϤϥϦϧϨЁЂЃЄЅІЇЈЎЏАБВГДЕЖЗИЙКЛМНОПРСТУФХЦЧШЩЪЫЬЭЮЯабвгдежзи йклмнопрстуфхцчшщъыьэюяёѓєѕіїјў–—―‖‗‘’‚‛“”„‟†‡•…‰‹›₧€™←↑→↓↔↕∆∇∉∊∏∑−∕∘∙√∞∣∧∨∩∪∫∵∼ ≈≉≠≡≢≣≤≥⊂⊃⊆⊇⊖⊢⊣⊤⊥⋄⌈⌉⌊⌋⌶⌷⌸⌹⌺⌻⌼⌽⌾⌿⍀⍁⍂⍃⍄⍅⍆⍇⍈⍉⍊⍋⍌⍍⍎⍏⍐⍑⍒⍓⍔⍕⍖⍗⍘⍙⍚⍛⍜⍝⍞⍟⍠⍡⍢⍣⍤⍥⍦⍧⍨⍩⍪⍫⍬⍭⍮⍯ ⍰⍱⍲⍳⍴⍵⍶⍷⍸⍹⍺⎕─│┌┐└┘├┬┴┼═║╔╗╚╝╠╣╦╩╬▀▄█▌▐░▒▓▯◇◊○♀♂
Contained in the default ⎕AV
In Dyalog's default Atomic Vector, these characters are defined:
15 16⍴¯240↑17↓⎕av abcdefghijklmno pqrstuvwxyz¯.⍬ 0123456789¤¥$£¢ ∆ABCDEFGHIJKLMNO PQRSTUVWXYZý· ⍙ÁÂÃÇÈÊËÌÍÎÏÐÒÓÔ ÕÙÚÛÝþãìðòõ{€}⊣⌷ ¨ÀÄÅÆ⍨ÉÑÖØÜßàáâä åæçèéêëíîïñ[/⌿\⍀ <≤=≥>≠∨∧-+÷×?∊⍴~ ↑↓⍳○*⌈⌊∇∘(⊂⊃∩∪⊥⊤ |;,⍱⍲⍒⍋⍉⌽⊖⍟⌹!⍕⍎⍫ ⍪≡≢óôöø"# &´┘┐┌└ ┼─├┤┴┬│@ùúû^ü`∣¶ :⍷¿¡⋄←→⍝)] §⎕⍞⍣
In case something is wrong with your APL font, or you don't have one installed, or dynamic font downloading is not working for some reason, here is a picture; that's what you should see above as well: