Indiana University
University Information Technology Services
  
What are archived documents?
Login>>
Login

Login is for authorized groups (e.g., UITS, OVPIT, and TCC) that need access to specialized Knowledge Base documents. Otherwise, simply use the Knowledge Base without logging in.

Close

In Unix at IU, using the X Window System on my workstation, how do I fix the fonts to run Mathematica?

On this page:


Introduction

Mathematica makes heavy use of specialized fonts to display mathematical notation. While you can run Mathematica without these fonts, your display may be unintelligible. Mathematica expects to find these fonts on your local computer, rather than on the remote Unix computer.

Downloading fonts

To avoid known conflicts, UITS recommends that you install the fonts in a place separate from your standard X Window System fonts. You can download a compressed file containing the latest version of the MathFonts from Wolfram, the maker of Mathematica.

For help installing new fonts, see your X Server documentation and Wolfram's Fonts on Unix and Linux.

Configuring fonts at IU

To fix your installed fonts to display properly in Mathematica at Indiana University:

  1. After you have installed the fonts, connect to the Quarry cluster using SSH.

  2. Start your X Server and enter the following at the remote prompt: mathematica &

    Mathematica should launch in your local X Server.

    If errors appear at the remote prompt:

    • You can safely ignore the following error message:

      "Warning: Cannot convert string '....' to type FontStruct".

    • You may see one of the following errors:

      "xset: bad font path element (#1)"

      "assertion `GenericUnicodeFont != 0' at MathEditFont.c:43 failed"

      In either of these cases, before you run Mathematica, issue the following commands at the remote prompt:

      xset +fp path_to_fonts xset fp rehash

      Replace path_to_fonts with the absolute path to the directory containing fonts.dir on your local computer. You can also use this technique if you have a local copy of Mathematica installed.

Getting help

For additional information about Mathematica, see the IU Stat/Math Center's Mathematica page.

For more information about statistical and mathematical software, email the UITS Stat/Math Center, visit the center's web page, or phone 812-855-4724 (IUB) or 317-278-4740 (IUPUI). The center is located in Bloomington at 410 N. Park Avenue, and is open for consultation by appointment Monday-Friday 9am-5pm.

This is document afjk in domain all.
Last modified on May 13, 2009.

Comments/Questions/Corrections

Use this form to offer suggestions, corrections, and additions to the Knowledge Base. We welcome your input!

If you are affiliated with Indiana University and would like assistance with a specific computing problem, please use the Ask a Consultant form, or contact your campus Support Center.

Contact Information

Note: We will reply to your comment at this address. If your message concerns a problem receiving email, please enter an alternate email address.