texlive[47616] trunk: make4ht (4may18)

commits+karl at tug.org commits+karl at tug.org
Sat May 5 00:11:47 CEST 2018


Revision: 47616
          http://tug.org/svn/texlive?view=revision&revision=47616
Author:   karl
Date:     2018-05-05 00:11:47 +0200 (Sat, 05 May 2018)
Log Message:
-----------
make4ht (4may18)

Modified Paths:
--------------
    trunk/Build/source/texk/texlive/linked_scripts/make4ht/make4ht
    trunk/Master/texmf-dist/doc/support/make4ht/changelog.tex
    trunk/Master/texmf-dist/doc/support/make4ht/make4ht-doc.pdf
    trunk/Master/texmf-dist/scripts/make4ht/make4ht
    trunk/Master/texmf-dist/scripts/make4ht/mkutils.lua

Modified: trunk/Build/source/texk/texlive/linked_scripts/make4ht/make4ht
===================================================================
--- trunk/Build/source/texk/texlive/linked_scripts/make4ht/make4ht	2018-05-04 22:11:12 UTC (rev 47615)
+++ trunk/Build/source/texk/texlive/linked_scripts/make4ht/make4ht	2018-05-04 22:11:47 UTC (rev 47616)
@@ -27,7 +27,7 @@
 
 -- set version number. the template should be replaced by the
 -- actual version number by the build script
-local version = "0.2a"
+local version = "v0.2b"
 mkparams.version_number = version
 
 local args = mkparams.get_args()

Modified: trunk/Master/texmf-dist/doc/support/make4ht/changelog.tex
===================================================================
--- trunk/Master/texmf-dist/doc/support/make4ht/changelog.tex	2018-05-04 22:11:12 UTC (rev 47615)
+++ trunk/Master/texmf-dist/doc/support/make4ht/changelog.tex	2018-05-04 22:11:47 UTC (rev 47616)
@@ -8,6 +8,19 @@
   \begin{itemize}
   \tightlist
   \item
+    released version \texttt{0.2b}
+  \item
+    bug fix: use only \texttt{load} function in \texttt{Make:run}, in
+    order to support a local environment.
+  \end{itemize}
+\item
+  2018/05/03
+
+  \begin{itemize}
+  \tightlist
+  \item
+    released version \texttt{0.2a}
+  \item
     renamed \texttt{latexmk} extension to \texttt{latexmk\_build}, due
     to clash in TL
   \end{itemize}

Modified: trunk/Master/texmf-dist/doc/support/make4ht/make4ht-doc.pdf
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/scripts/make4ht/make4ht
===================================================================
--- trunk/Master/texmf-dist/scripts/make4ht/make4ht	2018-05-04 22:11:12 UTC (rev 47615)
+++ trunk/Master/texmf-dist/scripts/make4ht/make4ht	2018-05-04 22:11:47 UTC (rev 47616)
@@ -27,7 +27,7 @@
 
 -- set version number. the template should be replaced by the
 -- actual version number by the build script
-local version = "0.2a"
+local version = "v0.2b"
 mkparams.version_number = version
 
 local args = mkparams.get_args()

Modified: trunk/Master/texmf-dist/scripts/make4ht/mkutils.lua
===================================================================
--- trunk/Master/texmf-dist/scripts/make4ht/mkutils.lua	2018-05-04 22:11:12 UTC (rev 47615)
+++ trunk/Master/texmf-dist/scripts/make4ht/mkutils.lua	2018-05-04 22:11:47 UTC (rev 47616)
@@ -213,11 +213,7 @@
 local function run(untrusted_code, env)
 	if untrusted_code:byte(1) == 27 then return nil, "binary bytecode prohibited" end
 	local untrusted_function = nil
-	if not loadstring then  
-		untrusted_function, message = load(untrusted_code, nil, "t",env)
-	else
-		untrusted_function, message = loadstring(untrusted_code)
-	end
+  untrusted_function, message = load(untrusted_code, nil, "t",env)
 	if not untrusted_function then return nil, message end
 	if not setfenv then setfenv = function(a,b) return true end end
 	setfenv(untrusted_function, env)



More information about the tex-live-commits mailing list