[latex3-commits] [l3svn] 02/02: Allow siunitx contrib test to check file loading
noreply at latex-project.org
noreply at latex-project.org
Thu Sep 24 22:11:09 CEST 2015
This is an automated email from the git hooks/post-receive script.
joseph pushed a commit to branch master
in repository l3svn.
commit c922a387e55f0972bd12d6aa2fea5c6723f87fe2
Author: Joseph Wright <joseph.wright at morningstar2.co.uk>
Date: Thu Sep 24 21:10:23 2015 +0100
Allow siunitx contrib test to check file loading
A bit of care is needed to avoid picking up any internal
changes and just to look for e.g. undefined control sequences.
---
contrib/testfiles/siunitx001.lvt | 23 ++++++++++++++++++++++-
contrib/testfiles/siunitx001.tlg | 3 ++-
2 files changed, 24 insertions(+), 2 deletions(-)
diff --git a/contrib/testfiles/siunitx001.lvt b/contrib/testfiles/siunitx001.lvt
index ab7d800..1958702 100644
--- a/contrib/testfiles/siunitx001.lvt
+++ b/contrib/testfiles/siunitx001.lvt
@@ -7,8 +7,29 @@
\START
\AUTHOR{Joseph Wright}
+% Load all of the dependencies of siunitx without logging
\OMIT
+\usepackage{expl3}
+\usepackage[log-declarations = false]{xparse}
+\usepackage{l3keys2e}
+\usepackage{array}
+\usepackage{amstext}
+\IfFileExists{translator.sty}
+ {\usepackage{translator}}
+ {}
+\TIMO
+
+% Disable appearance of registers in the log
+\OMIT
+\let\realwlog\wlog
+\def\wlog#1{}
+\TIMO
+
\usepackage{siunitx}
+
+% Restore \wlog
+\OMIT
+\let\wlog\realwlog
\TIMO
% Avoid the start-of-document stuff which is engine-dependent
@@ -34,4 +55,4 @@ $\SI{10}{J.mol^{-1}.k^{-1}}$
5.67 & 5.67 \\
\end{tabular}
-\end{document}
\ No newline at end of file
+\end{document}
diff --git a/contrib/testfiles/siunitx001.tlg b/contrib/testfiles/siunitx001.tlg
index 1b9fd09..cd1ea8b 100644
--- a/contrib/testfiles/siunitx001.tlg
+++ b/contrib/testfiles/siunitx001.tlg
@@ -17,7 +17,8 @@ Don't change this file in any respect.
%% Right brace \} Tilde \~}
%%
Author: Joseph Wright
-LaTeX Font Info: Try loading font information for TS1+cmr on input line 30.
+(../siunitx.sty
+LaTeX Font Info: Try loading font information for TS1+cmr on input line 51.
Completed box being shipped out [1]
\vbox(633.0+0.0)x407.0
.\glue 16.0
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the latex3-commits
mailing list