[latex3-commits] [l3svn] branch master updated: Simplify 'bypass' for SVN Id issues

noreply at latex-project.org noreply at latex-project.org
Fri Oct 2 17:40:18 CEST 2015


This is an automated email from the git hooks/post-receive script.

joseph pushed a commit to branch master
in repository l3svn.

The following commit(s) were added to refs/heads/master by this push:
       new  84f7522   Simplify 'bypass' for SVN Id issues
84f7522 is described below

commit 84f7522164b17976c84527f853f3c312d1f01ec0
Author: Joseph Wright <joseph.wright at morningstar2.co.uk>
Date:   Fri Oct 2 16:39:59 2015 +0100

    Simplify 'bypass' for SVN Id issues
---
 contrib/testfiles/ctex001.lvt |   17 +++++------------
 1 file changed, 5 insertions(+), 12 deletions(-)

diff --git a/contrib/testfiles/ctex001.lvt b/contrib/testfiles/ctex001.lvt
index f337278..c365416 100644
--- a/contrib/testfiles/ctex001.lvt
+++ b/contrib/testfiles/ctex001.lvt
@@ -7,6 +7,8 @@
 \AUTHOR{Qing Lee}
 
 \usepackage{expl3}
+\usepackage{xparse}
+\usepackage{xtemplate}
 
 \START
 
@@ -39,19 +41,10 @@
       }
   }
 
-%% SVN keywrod ID is not expanded by git, so the date of xtemplate is 0000/00/00.
+%% SVN keyword ID is not expanded by git, so the date of xtemplate is 0000/00/00.
 %% We need to change it to the correct value to make xeCJK happy.
-\sys_if_engine_xetex:T
-  {
-    \usepackage { filehook }
-    \AtEndOfPackageFile * { xtemplate }
-      {
-        \use:c { @ifpackagelater } { xtemplate } { 0000/00/01 }
-          { }
-          { \cs_set_eq:cc { ver at xtemplate.sty } { ver at expl3.sty } }
-      }
-  }
-
+\ExplSyntaxOn
+\cs_set_eq:cc { ver at xtemplate.sty } { ver at expl3.sty }
 \ExplSyntaxOff
 
 \usepackage[UTF8, heading, fontset = none]{ctex}

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the latex3-commits mailing list