TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Is it me or is it actually not possible to open Latex files in separate Windows with Texmaker? Does anyone know of a way?

share|improve this question

TeXmaker doesn't seem to allow multiple instances, but TeXstudio (a fork of TeXmaker) can be started multiple times using --start-always option.

share|improve this answer
I think I might just try that. The thing about TeXmaker is that there are some very good things about it, but there are other things that are extremely irritating. A better TeXmaker cannot be a bad thing. Thanks for the suggestion. – Waldo Nov 19 '11 at 1:20

I created the following batch script to be able to run multiple instances of Texmaker. Once you opened a window, run this script and you will be able to open another instance. For this script you need the Sysinternals Handle utility to be in some folder of your %path% variable or in the same directory as the script.

@echo off
rem Determine Process ID
for /F "tokens=1,2" %%x in ('tasklist /FI "imagename EQ texmaker.exe" ^| find "texmaker.exe"') do (
    rem Find Lock handle and kill it. Then delete the lockfile
    for /F "delims=: tokens=1,2,3*" %%i in ('handle -a -p texmaker.exe ^| find "lockfile"') do (
        echo Killing handle %%i of processid %%y
        echo y | handle -c %%i -p %%y>nul
        del "%%k">nul 2>&1
share|improve this answer
Welcome to TeX.sx! – lockstep Nov 23 '12 at 13:30

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.