Re: Mathematica Keyboard Input
- To: mathgroup at smc.vnet.net
- Subject: [mg41628] Re: Mathematica Keyboard Input
- From: Peter Breitfeld <phbrf at t-online.de>
- Date: Thu, 29 May 2003 08:13:54 -0400 (EDT)
- References: <bb1uvl$9g9$1@smc.vnet.net>
- Sender: owner-wri-mathgroup at wolfram.com
Eustachius Hamamelis schrieb: > Hi, > > I am running Mathematica on a Linux (SuSe 8.2) machine. Several special > keys (e.g. backspace and delete) do not work normal but cause a glyph > resembling a small rectangle to be shown instead. Upon startup > mathematica complains about fonts not having been properly installed. I > have not experienced problems of that kind with any other programme. > > Can anyone provide some helpful hints? > > Thanks! > Eustachius > To change the behavior of the keys you may edit the File .../FrontEnd/TextResources/KeyEventTranslations.tr Backspace works for me (running SuSE Linux 8.1 and Mathematica 4.02), but I had to change Item[KeyEvent["Delete"], "DeleteNext"], Try that for other keys if needed. The missing fonts used to be Helvetica on my System. According to a hint on Wolfram's site (or in this newsgroup(?)) I created a file named ...SystemFiles/Fonts/Type1/fonts.alias in the mathematica directory, which consists of these lines: ----------------8<----------------8<---------------- -adobe-helvetica-medium-r-normal--0-0-0-0-p-0-iso8859-1 "-bitstream-swiss 721-medium-r-normal--0-0-0-0-p-0-iso8859-1" -adobe-helvetica-medium-o-normal--0-0-0-0-p-0-iso8859-1 "-bitstream-swiss 721-medium-i-normal--0-0-0-0-p-0-iso8859-1" -adobe-helvetica-bold-r-normal--0-0-0-0-p-0-iso8859-1 "-bitstream-swiss 721-bold-r-normal--0-0-0-0-p-0-iso8859-1" -adobe-helvetica-bold-o-normal--0-0-0-0-p-0-iso8859-1 "-bitstream-swiss 721-bold-i-normal--0-0-0-0-p-0-iso8859-1" -adobe-times-regular-r-normal--0-0-0-0-p-0-iso8859-1 -adobe-utopia-regular-r-normal--0-0-0-0-p-0-iso8859-1 -adobe-times-medium-i-normal--0-0-0-0-p-0-iso8859-1 -adobe-utopia-medium-i-normal--0-0-0-0-p-0-iso8859-1 -adobe-times-bold-r-normal--0-0-0-0-p-0-iso8859-1 -adobe-utopia-bold-r-normal--0-0-0-0-p-0-iso8859-1 -adobe-times-bold-i-normal--0-0-0-0-p-0-iso8859-1 -adobe-utopia-bold-i-normal--0-0-0-0-p-0-iso8859-1 ----------------8<----------------8<---------------- might be hard to read these long lines in the newsreader, but these are 8 lines, 4 of them starting with -adobe-helvetica, the next 4 with -adobe-times. No more warnings after this. I suppose you have in your FontPath (in /etc/X11/XF86Config) lines similar to FontPath "/opt/mathematica/X.x/SystemFiles/Fonts/Type1" FontPath "/opt/mathematica/X.x/SystemFiles/Fonts/X" Gruß Peter -- =--=--=--=--=--=--=--=--=--=--=--=--=--= http://home.t-online.de/home/phbrf Peter Breitfeld, Bad Saulgau, Germany Meinen GnuPG/PGP-5x Key gibts dort