version 1.33, 2006/03/06 08:55:31 |
version 1.35, 2009/02/22 16:40:05 |
|
|
/* $OpenXM: OpenXM/src/kxx/ox_texmacs.c,v 1.32 2006/03/03 10:55:33 takayama Exp $ */ |
/* $OpenXM: OpenXM/src/kxx/ox_texmacs.c,v 1.34 2006/03/22 00:52:55 takayama Exp $ */ |
|
|
#include <stdio.h> |
#include <stdio.h> |
#include <stdlib.h> |
#include <stdlib.h> |
Line 617 static int startEngine(int type,char *msg) { |
|
Line 617 static int startEngine(int type,char *msg) { |
|
/* printf("Loading --asirInitFile %s\n",AsirInitFile); */ |
/* printf("Loading --asirInitFile %s\n",AsirInitFile); */ |
KSexecuteString(ss); |
KSexecuteString(ss); |
} |
} |
KSexecuteString(" oxasir.ccc (if(1) { Xm_server_mode = 1; Xm_helpdir = \"help-eg\"; } else { ; } ;) oxsubmit oxasir.ccc oxpopcmo "); |
KSexecuteString(" oxasir.ccc (if(1) { Xm_server_mode = 1; Xm_helpdir = \"help-en\"; } else { ; } ;) oxsubmit oxasir.ccc oxpopcmo "); |
KSexecuteString(" oxasir.ccc (if(1) { ctrl(\"message\",0); } else { ; } ;) oxsubmit oxasir.ccc oxpopcmo "); |
KSexecuteString(" oxasir.ccc (if(1) { ctrl(\"message\",0); } else { ; } ;) oxsubmit oxasir.ccc oxpopcmo "); |
/* bug; if ctrl is written with Xm_helpdir = ... without oxpopcmo, then it does |
/* bug; if ctrl is written with Xm_helpdir = ... without oxpopcmo, then it does |
not work. */ |
not work. */ |
Line 698 static int pngCheck(void) { |
|
Line 698 static int pngCheck(void) { |
|
if (checked) return ans; |
if (checked) return ans; |
checked = 1; |
checked = 1; |
if (!getCommandPath("latex")) return 0; |
if (!getCommandPath("latex")) return 0; |
if (!getCommandPath("dvips")) return 0; |
if (!getCommandPath("dvipng")) return 0; |
if (!getCommandPath("pstoimg")) return 0; |
|
ans = 1; return 1; |
ans = 1; return 1; |
} |
} |
static void pngNotAvailable(void) { |
static void pngNotAvailable(void) { |