Writer4LaTeX help content
git-svn-id: svn://svn.code.sf.net/p/writer2latex/code/trunk@86 f0f2a975-2e09-46c8-9428-3b39399b9f3c
This commit is contained in:
parent
22c38c3ff4
commit
559293a169
16 changed files with 878 additions and 120 deletions
|
@ -88,7 +88,7 @@ public class ExternalApps {
|
|||
|
||||
/** Get the definition for an external application
|
||||
* @param sAppName the name of the application to get
|
||||
* @return a String array containg the system dependent path to the
|
||||
* @return a String array containing the system dependent path to the
|
||||
* executable file as entry 0, and the parameters as entry 1
|
||||
* returns null if the application is unknown
|
||||
*/
|
||||
|
@ -134,9 +134,6 @@ public class ExternalApps {
|
|||
pb.directory(workDir);
|
||||
if (env!=null) {
|
||||
pb.environment().putAll(env);
|
||||
if (env.containsKey("BIBINPUTS")) {
|
||||
System.out.println("Running "+sApp[0]+" with BIBINPUTS="+env.get("BIBINPUTS"));
|
||||
}
|
||||
}
|
||||
Process proc = pb.start();
|
||||
|
||||
|
@ -144,7 +141,7 @@ public class ExternalApps {
|
|||
StreamGobbler errorGobbler = new
|
||||
StreamGobbler(proc.getErrorStream(), "ERROR");
|
||||
|
||||
// Gooble the output stream of the application
|
||||
// Gobble the output stream of the application
|
||||
StreamGobbler outputGobbler = new
|
||||
StreamGobbler(proc.getInputStream(), "OUTPUT");
|
||||
|
||||
|
@ -174,7 +171,6 @@ public class ExternalApps {
|
|||
}
|
||||
catch (com.sun.star.uno.Exception e) {
|
||||
// Give up...
|
||||
//setApplication(LATEX,"Error!",e.getMessage());
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue