General ⇒ TexStudio Cant create valid pdfs.
TexStudio Cant create valid pdfs.
Hi, I have recently started using latex to write my math documents. When I try to save the document, it saves it as a pdf, but when I try to open it I get this message. "does not look like a valid pdf document.. " although texstudio created it, when I try to compile latex i get this weird popup "Could not start Recompile Bibliography:PdfLaTeX:
pdflatex -synctex=1 -interaction=nonstopmode "nierówności".tex." three times. I am on mac, any help would be greatly appreciated!
pdflatex -synctex=1 -interaction=nonstopmode "nierówności".tex." three times. I am on mac, any help would be greatly appreciated!
- Attachments
-
- texput.log
- (779 Bytes) Downloaded 183 times
Last edited by pufik on Tue Jun 06, 2023 2:24 pm, edited 1 time in total.
NEW: TikZ book now 40% off at Amazon.com for a short time.
- Stefan Kottwitz
- Site Admin
- Posts: 10320
- Joined: Mon Mar 10, 2008 9:44 pm
TexStudio Cant create valid pdfs.
Hi,
welcome to the forum!
Can you post the .log file here, as attachment to a post? The "Attachments" link is below the text edit field, when you write a post.
Thanks!
Stefan
welcome to the forum!
Can you post the .log file here, as attachment to a post? The "Attachments" link is below the text edit field, when you write a post.
Thanks!
Stefan
LaTeX.org admin
TexStudio Cant create valid pdfs.
Hi, thank you for the reply. I have attached the file to the post:)
- Stefan Kottwitz
- Site Admin
- Posts: 10320
- Joined: Mon Mar 10, 2008 9:44 pm
TexStudio Cant create valid pdfs.
That's a pretty short log, there's an error (that I don't see) and no PDF is produced, so you cannot open it (or it's an older damaged PDF).
Can you post a reduced copy of your document here? Without your text content, small enough but producing that error. If it's complete enough, we should be able to see the cause.
Stefan
Code: Select all
! Emergency stop.
<*> nierówności.tex
*** (job aborted, file error in nonstop mode)
...
! ==> Fatal error occurred, no output PDF file produced!
Stefan
LaTeX.org admin
TexStudio Cant create valid pdfs.
Um the thing is this happens for all documents, new and old. For example even this.
Code: Select all
\documentclass{article}
\begin{document}
Hi!
\end{document}
Last edited by Stefan Kottwitz on Tue Jun 06, 2023 3:06 pm, edited 1 time in total.
Reason: code marked
Reason: code marked
- Stefan Kottwitz
- Site Admin
- Posts: 10320
- Joined: Mon Mar 10, 2008 9:44 pm
TexStudio Cant create valid pdfs.
There are special characters in the file name, can you test with simple ASCII characters in a file name?
Stefan
Stefan
LaTeX.org admin
TexStudio Cant create valid pdfs.
I tried that, making the name "test" still creates a corrupted pdf.
- Stefan Kottwitz
- Site Admin
- Posts: 10320
- Joined: Mon Mar 10, 2008 9:44 pm
TexStudio Cant create valid pdfs.
What happens if you run it at the command prompt (terminal, cmd)? What is displayed when you run the command "pdflatex test"? Because, from the TeXbook:
StefanTeX makes an "emergency stop" if it needs input from the terminal; this happens when a necessary file cannot be opened, or when no \end command was found in the input document.
LaTeX.org admin
TexStudio Cant create valid pdfs.
Could you please specify what I should run? In my tryings to make latex run, I decided to install vs code, and run it there. I get, I think the same weird error.
- Attachments
-
- Screenshot 2023-06-06 at 15.26.05.png (28.18 KiB) Viewed 3542 times
- Stefan Kottwitz
- Site Admin
- Posts: 10320
- Joined: Mon Mar 10, 2008 9:44 pm
TexStudio Cant create valid pdfs.
Do you have an idea why a file called "com" is requested, from your own documents? That's not a part of LaTeX. Something in your installation is an issue. As it can be caused by packages (modified or old) in the project folder, can you try compiling a document in an otherwise empty, other folder?
Stefan
Stefan
LaTeX.org admin