| 1 |
% arara: xelatex: {shell: on} |
| 2 |
\documentclass{article} |
| 3 |
|
| 4 |
\usepackage{texosquery} |
| 5 |
% Disable texosquery: |
| 6 |
%\TeXOSQueryDryRuntrue |
| 7 |
\usepackage{datetime2} |
| 8 |
|
| 9 |
% If you get an error that looks like: |
| 10 |
% ! I can't find file `"|texosquery -n"'. |
| 11 |
% Then the shell escape has been restricted and texosquery |
| 12 |
% wasn't allowed to run. |
| 13 |
|
| 14 |
\begin{document} |
| 15 |
\DTMnow. |
| 16 |
|
| 17 |
\DTMsavefilemoddate{moddate}{\jobname.tex} |
| 18 |
File \texttt{\jobname.tex} last modified: \DTMuse{moddate}. |
| 19 |
|
| 20 |
\end{document} |