Generalhyperref error: I cant write on file *.out

LaTeX specific issues not fitting into one of the other forums of this category.
Post Reply
KarolisK
Posts: 13
Joined: Sat Jun 18, 2011 3:36 pm

hyperref error: I cant write on file *.out

Post by KarolisK »

Recently I came across an error with hyperref package. Whenever I try to compile a document (for example empty.tex) with package hyperref included, I get an error:
...
! I can't write on file `empty.out'.
<to be read again>
\relax
l.4 \begin{document}

Please type another output file name
...
and the file is not even created. I do realise this might be non-latex related. Any thoughts? Thank you in advance.

Note: If hyperref is used with draft option set to true, the file is compiled.
Note2: As far as I have tried no other package produces the error.

Additional note: Currently running on MikTex 2.9 x64, TxC 2.02(stable) x64 using SumatraPDF. OS: Windows XP x64.

The things I have tried so far:
  • Deleting all previous *aux or *pdf files and recompiling
    Changing the PDF viewer (tried Acrobat Reader 9,11)
    Full reinstall of MikTex and TxC(both were x86 previously)
    Restarting windows :lol:

Recommended reading 2024:

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

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

josephwright
Site Moderator
Posts: 814
Joined: Tue Jul 01, 2008 2:19 pm

Re: hyperref error: I cant write on file *.out

Post by josephwright »

Have you deleted the other temporary files in the folder your document is in?
Joseph Wright
KarolisK
Posts: 13
Joined: Sat Jun 18, 2011 3:36 pm

Re: hyperref error: I cant write on file *.out

Post by KarolisK »

Yep, tried deleting everything except *.tex file. It is strange that other auxiliary files like *.aux, *.tps are created, so I am assuming it is not something with windows permissions?
Post Reply