I would like to include the content of a binary file within filecontents. Is there any way to do so?
My MWE is as follows:
\documentclass{article}
\begin{filecontents}{file.txt}
CPYA 4,3268 195 W64 #
s
÷˙÷˙‰ Y Z*oG8#@ á~ a> ‹- ‚ î9 ˘o É} x
“
@˙ P Ä ÷ !Q
đ? đ?
0 Book1_A ÎM
@
\end{filecontents}
filecontents(without errors) or not. Is there any criterion to test this? – TobiR May 24 '21 at 20:15^^Gnotation. ends of lines are trickier as you can not tell from within tex what line embeding the file had originally so if there happened to have been a byte 13 or byte 10 in the binary stream you will see them as end of line with no way to distinguish them. – David Carlisle May 24 '21 at 20:24filecontentsfrom the auxiliary files used actively within the document to build the output PDF file. I have the list of ALL files within the project, but I would like to exclude the "non-text" files (like figures and other PDFs present in the directory) not needed to creat the output PDF. Do you have any idea how to do this to avoid creating incorrectfilecontents? The .dep file (snapshot) does not help. :( – TobiR May 24 '21 at 20:37