Although my file compiles fine, I get the following message:
Error: PDF file is damaged - attempting to reconstruct xref table... Error: Couldn't find trailer dictionary Error: Couldn't read xref table
I have seen some other posts - like this one - but so far as I know, I am not externalising Tikz figures (although I do have them; added tag just in case).
Why do I get this error? I cannot pin down which section of my (huge) document or packages produces this. Hence, showing a MWE seems not possible. :(