Skip to content

Issue with attachfile2: Non-PNG Files Truncated in Output PDF #1260

Answered by vlasakm
Albschu asked this question in Q&A
Discussion options

You must be logged in to vote

Thanks for the description and diagnosis. I have seen this problem before: #935 (comment), but never dug deeper to find the problem.

I think I have now managed to track the problem down and have an idea for a fix: #1261.

@Albschu just for next time, it's often very useful to provide MWE with a bug report. In this case I believe compilation of your MWE would also show something like:

warning: 1024-byte read failed
caused by: failed to fill whole buffer

which points to the underlying problem.

Also please, feel free to start issues directly, no need for discussion if you see what appears to be a problem, and also especially if it works with XeLaTeX and not with Tectonic.

For future referenc…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by Albschu
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants