|
.log文件是編譯時顯示的。用下面的方法可以打印.log文件。- \documentclass{article}
- \usepackage{amsmath}
- \begin{document}
- Here we print each line of .log
- \tt
- \newread\zz
- \openin\zz=\jobname.log
- \loop
- \ifeof\zz
- \else
- \read\zz to \zztmp
- \detokenize\expandafter{\zztmp}\\
- \repeat
- \end{document}
复制代码
document_9D14_5663.pdf
(37.8 KB, 下载次数: 2)
这个方法好像可以打印任意文件?
例如 .aux .ind .toc 等等 |
|