Incompatibility import.sty and standalone.sty
Brought to you by:
mscharrer
Consider the following situation: File main.tex
loads a file fi le.tex
( the space in the filename is relevant) using \import
from the import
package. This works.
But when the standalone
package is loaded as well, the output contains additional characters, which are fragements of the filename.
% main.tex \documentclass{article} \usepackage{import} \usepackage{standalone} \begin{document} Before import statement \import{./}{"fi le"} After import statement \end{document} % fi le.tex File `fi le.tex'
Something went wrong with the attachment in the original post, and I didn't find a way to edit it, so once more the attachment.
Hi,
this is actually an issue with
currfile
package, also written by me, used bystandalone
.The following example file generates the same issue. The problem seems to be the space in the filename. As work-around I would suggest to rename your input files.
Duplicate of https://sourceforge.net/p/currfile/tickets/2/.
Fixed in
currfile
(used internally bystandalone
) in v0.8 2022-10-10.