Texmaker and TeXstudio ⇒ Generates .pdf but does not open automatically
Generates .pdf but does not open automatically
I have searched the forum and have not found any answers that help me. I am using windows. I have configured the pdf viewer:
"C:/Program Files/Adobe/Reader 9.0/Reader/AcroRd32.exe" %.pdf
When I try to run view pdf it gives me "Error: could not start the command"
Everything seems to be working fine (no errors in log) and the pdf is generated it just doesn't open automatically when I run it. Does anyone know how to fix this?
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: Generates .pdf but does not open automatically
"C:\Program Files\Adobe\Reader 9.0\Reader\AcroRd32.exe" %.pdf
manually (with Win+R).
If the Acrobat Reader doesn't start, you have a wrong path for it and you should search the correct executable.
Or you can try it with TexMakerX and "?am.pdf" instead of %.pdf (there were some problems with relative paths and acrobat, but Texmaker doesn't support absolute paths) .
Re: Generates .pdf but does not open automatically
@start "" "C:/Program Files (x86)/Foxit Software/Foxit Reader/Foxit Reader.exe" "%~f1"
But with your pdf reader in it instead of mine, and then linking to it in TXM as if it was the pdfreader.
It worked for me

Note: If you've never made a .bat file before, you need to make a text document, put in the data and then edit the type of file from .txt to .bat