Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 1 addition & 8 deletions content/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -147,6 +147,7 @@ var tblatex = {
var init_process = function(path) {
var process = Components.classes["@mozilla.org/process/util;1"].createInstance(Components.interfaces.nsIProcess);
process.init(path);
process.startHidden = true;
return process;
}
var sanitize_arg = function(arg) {
Expand Down Expand Up @@ -369,14 +370,6 @@ var tblatex = {
log += ("*** Path is "+png_file.path+"\n");
}

// We must leave some time for the window manager to actually get rid of the
// old terminal windows that pop up on Windows when launching latex.
if (isWindows) {
setTimeout(function () {
window.focus();
}, 500);
}

// Read the depth (distance between base of image and baseline) from the depth file
if (!depth_file.exists()) {
log += "dvipng did not output a depth file. Continuing without alignment.\n";
Expand Down