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?
NEW: TikZ book now 40% off at Amazon.com for a short time.
And: Currently, Packt sells ebooks for $4.99 each if you buy 5 of their over 1000 ebooks. If you choose only a single one, $9.99. How about combining 3 LaTeX books with Python, gnuplot, mathplotlib, Matlab, ChatGPT or other AI books? Epub and PDF. Bundle (3 books, add more for higher discount): https://packt.link/MDH5p
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