Texmaker and TeXstudio ⇒ file indentification
file indentification
I have been using Texnicenter and MikTex till date. Now I have started using TexMaker editor. All the files that I had created in Texnicenter are opened in TexMaker. But these .tex files are shown as some kind of unknown files. I can not open them with double click. Every time I have give "Open With" option of TexMaker. I assume this is the problem if linking between TexMaker and MikTex. If this is the case, may I know how to resolve this? Otherwise can someone take a look at it?
Thank you,
Omkar
Learn LaTeX easily with newest books:
The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis
The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more
LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis
Re: file indentification
Cheers,
Tomek
Re: file indentification
I tried that option also, and do that every time. But still issue is there. If there is missing association for .tex files, how do I create it and attach all files with .tex with Texmaker? Can you let me know some guidelines?
Thanks
Omkar
Re: file indentification
If that doesn't work, you can poke a little bit in Windows registry (you might need admin rights for that). Fire up DOS box, type regedit and hit enter. This will launch registry editor. Navigate to key HKCU\.tex (HKCU is HKEY_CLASSES_ROOT) and see what value it has. It should be something like "texfile" or similar description (on my system it's "tex_auto_file"). Now navigate to key HKCU\texfile\shell\open\command (replace texfile with what you have under HKCU\.tex) and you will see the command that it's used to open .tex file. On my system this is
"D:\Software\LocalApps\TeXnicCenter\TEXCNTR.EXE" "%1"
Edit this value and enter the right path to TeXmaker.exe.
If you don't have those keys in the registry, you can simply add them. Alternatively, at the command prompt in DOS box type:
assoc .tex=texfile
ftype texfile= "C:\path\to\where\you\have\TeXmaker.exe" "%1"
That should have an equivalent effect to registry editing. For more info on those commands type assoc /? (ftype /?) or just google.
Hope this helps.
Cheers,
Tomek
Edit 17.04.2008
Using assoc and ftype commands does not have the same effect as editing the registry values, so it won't work.
Re: file indentification
Assuming you are using XP, of course--I still haven't figured out an easy way to do it in Vista.