GeneralError: "Unable to open document, file not found"

LaTeX specific issues not fitting into one of the other forums of this category.
Post Reply
Faseeh
Posts: 14
Joined: Mon Jan 04, 2016 10:23 am

Error: "Unable to open document, file not found"

Post by Faseeh »

Dear All,

Kindly pardon my ignorance if this question has already been answered, I have tried searching but was not able to found solution.

Here is my problem:

I am using Miktex with Texmaker to compile my document. Miktex is working alright (I can compile and see the pdf output using miktex along) Texmaker is also working alright (in the sense that I can have all colored syntex and auto completion of commands).

Both of them are installed in my E-Drive. The problem is that i am unable to see the output file when i press F5 and F6 i.e. F5 for View Ps and F6 for PdfLatex. Kindly advice what mistake i am doing. I am using windows xp.

I am attaching a MWE and the screen shot of error and my texmaker configuration and quick build. Kindly help.

Thank you,
Faseeh M
Attachments
MWE File.tex
MWE Tex File
(491 Bytes) Downloaded 311 times
Quick Build Setting
Quick Build Setting
Quickbuild.JPG (74.78 KiB) Viewed 3636 times
Configuration Setting
Configuration Setting
Configuration.JPG (130.22 KiB) Viewed 3636 times
Error Message
Error Message
Error Msg.JPG (81.75 KiB) Viewed 3636 times

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

Johannes_B
Site Moderator
Posts: 4182
Joined: Thu Nov 01, 2012 4:08 pm

Re: Error: "Unable to open document, file not found"

Post by Johannes_B »

Quickuild is set up to generate a PS file, there will be no pdf file at the end, resulting in acrobat reader not being able to find one.
The smart way: Calm down and take a deep breath, read posts and provided links attentively, try to understand and ask if necessary.
Faseeh
Posts: 14
Joined: Mon Jan 04, 2016 10:23 am

Error: "Unable to open document, file not found"

Post by Faseeh »

Thank you sir for replying.

The problem was solved using following steps.

1. I was using portable miktex. Later i "Installed" miktex on PC.
2. Then i Installed Texmaker.
3. In Configuration > Command >
a. In Ps Viewer Put

Code: Select all

%.ps
b. In pdf viewver Put ..

Code: Select all

"C:/Program Files/Adobe/Acrobat 7.0/Reader/AcroRd32.exe" " "?am.pdf
The sutff that worked is the last few characters i.e. ?am.pdf

Thank for helping... :)

Faseeh
Post Reply