[latex3-commits] [l3svn] 03/04: l3build: Correct a code example [ci skip]

noreply at latex-project.org noreply at latex-project.org
Sat May 27 17:09:09 CEST 2017


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

joseph pushed a commit to branch master
in repository l3svn.

commit ba455ffa20f331fd0ccbd7e08d2ff19132fcd399
Author: Joseph Wright <joseph.wright at morningstar2.co.uk>
Date:   Sat May 27 16:08:01 2017 +0100

    l3build: Correct a code example [ci skip]
    
    Still need to document all of the support functions ...
---
 l3build/l3build.dtx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/l3build/l3build.dtx b/l3build/l3build.dtx
index 50277c1..f769d6e 100644
--- a/l3build/l3build.dtx
+++ b/l3build/l3build.dtx
@@ -1083,7 +1083,7 @@
 %     module = "mymodule"
 %
 %     function typeset (file)
-%       local name = string.match (file, "^(.*)%.") or name
+%       local name = stripext(basename(file))
 %       local errorlevel = tex (file)
 %       if errorlevel == 0 then
 %         -- Return a non-zero errorlevel if anything goes wrong

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


More information about the latex3-commits mailing list