Forgot password?
 Create new account
View 102|Reply 1

打印.log文件

[Copy link]

3147

Threads

8493

Posts

610K

Credits

Credits
66163
QQ

Show all posts

hbghlyj Posted at 2024-6-25 19:55:11 |Read mode
.log文件是編譯時顯示的。用下面的方法可以打印.log文件。
  1. \documentclass{article}
  2. \usepackage{amsmath}
  3. \begin{document}
  4. Here we print each line of .log
  5. \tt
  6. \newread\zz
  7. \openin\zz=\jobname.log
  8. \loop
  9. \ifeof\zz
  10. \else
  11. \read\zz to \zztmp
  12. \detokenize\expandafter{\zztmp}\\
  13. \repeat
  14. \end{document}
Copy the Code

$type document_9D14_5663.pdf (37.8 KB, Downloads: 33)
这个方法好像可以打印任意文件?
例如 .aux .ind .toc 等等

3147

Threads

8493

Posts

610K

Credits

Credits
66163
QQ

Show all posts

 Author| hbghlyj Posted at 2024-6-25 20:04:43

用来打印 i.upmath.me 的 .log文件

手机版Mobile version|Leisure Math Forum

2025-4-20 22:20 GMT+8

Powered by Discuz!

× Quick Reply To Top Return to the list