![在输出中打印 \include{} 的文件名](https://linux22.com/image/435414/%E5%9C%A8%E8%BE%93%E5%87%BA%E4%B8%AD%E6%89%93%E5%8D%B0%20%5Cinclude%7B%7D%20%E7%9A%84%E6%96%87%E4%BB%B6%E5%90%8D.png)
如何在\include{ABC-2100011}
PDF 输出中打印包含单词的文件名?
打印文件名:\filename
---> 输出应为打印文件名:ABC-2100011
请查找以下 MWE 文件:
主文件名:Main.tex
子文件名:ABC-2100011.tex
\documentclass{article}
\includeonly{ABC-2100011}
\begin{document}
Print File name: \filename
\include{ABC-2100011}
\end{document}