=================================================================== RCS file: /home/cvs/OpenXM/src/cfep/MyDocument.m,v retrieving revision 1.6 retrieving revision 1.9 diff -u -p -r1.6 -r1.9 --- OpenXM/src/cfep/MyDocument.m 2006/03/12 07:09:51 1.6 +++ OpenXM/src/cfep/MyDocument.m 2011/07/15 22:57:34 1.9 @@ -74,6 +74,10 @@ static NSMenuItem *menuItemPrettyPrint = nil; // pret [self addMenuExec]; // adding the execution menu. [textViewIn setAllowsUndo:YES]; if ([textViewIn isContinuousSpellCheckingEnabled]) [textViewIn toggleContinuousSpellChecking: self]; // Turn off the spell checking. + if ([MyEnvironment isX11Installed] != 1) + [self messageDialog: NSLocalizedString(@"X11 is not installed. To install it, insert MacOS DVD1 and open Optional install->Applications->X11",nil) with: 0]; +// if ([MyEnvironment isGccInstalled] != 1) +// [self messageDialog: NSLocalizedString(@"gcc is not installed. To install it, insert MacOS DVD1 and open Xcode Tools->XcodeTools.mpkg",nil) with: 0]; [self sayTheMessageAboutX]; [self initAux]; } @@ -1123,7 +1127,7 @@ int debugInbound = 0; // NSLog(@"%@",a); if ([[a objectAtIndex: 0] hasPrefix: @"notAvailable"]) { [self messageDialog: - NSLocalizedString(@"Typeset the output by TeX is not available. latex, dvips, and pstoimg must be installed.",nil) with: 0]; + NSLocalizedString(@"Typeset the output by TeX is not available. latex and dvipng must be installed.",nil) with: 0]; prettyPrint = 1; [self setPrettyPrint: nil]; return; } else if ([[a objectAtIndex: 0] compare: @"showFile"] == NSOrderedSame) {