Closed stone-zeng closed 5 years ago
测试文件 test.tex:
test.tex
\documentclass{minimal} \ifdefined\XeTeXversion \let\pdfelapsedtime \elapsedtime \let\pdfresettimer \resettimer \let\pdfsetrandomseed \setrandomseed \let\pdfrandomseed \randomseed \let\pdfnormaldeviate \normaldeviate \let\pdfuniformdeviate \uniformdeviate \fi \begin{document} \begin{tabular}{l@{\quad}l} \verb|\the\pdfelapsedtime| & \the\pdfelapsedtime \\ \verb|\pdfresettimer| & \pdfresettimer \\ \verb|\the\pdfelapsedtime| & \the\pdfelapsedtime \\ \verb|\pdfsetrandomseed 0| & \pdfsetrandomseed 0 \\ \verb|\the\pdfrandomseed| & \the\pdfrandomseed \\ \verb|\pdfnormaldeviate| & \pdfnormaldeviate \\ \verb|\pdfuniformdeviate 1000| & \pdfuniformdeviate 1000 \\ \end{tabular} \end{document}
使用下述命令编译:
pdflatex test xelatex test uplatex test && dvipdfmx test.dvi platex-ng test
pdfTeX 运行结果:
XeTeX 运行结果:
upTeX 运行结果:
pTeX-ng 运行结果:
已修复,见3916136。
测试文件
test.tex
:使用下述命令编译:
pdfTeX 运行结果:
XeTeX 运行结果:
upTeX 运行结果:
pTeX-ng 运行结果: