summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/lualatex
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2020-09-11 20:51:24 +0000
committerKarl Berry <karl@freefriends.org>2020-09-11 20:51:24 +0000
commite6792c8d6739cfa4f7018b4fb9bf4ef940e6235d (patch)
tree78b9b5abeb139051e6ef66bdc7a9b06d3ef0cf3c /Master/texmf-dist/tex/lualatex
parentce11e0af0f19ea4db2f42abb1f770158f1bc2b7c (diff)
stricttex (10sep20)
git-svn-id: svn://tug.org/texlive/trunk@56320 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/lualatex')
-rw-r--r--Master/texmf-dist/tex/lualatex/stricttex/stricttex.lua12
-rw-r--r--Master/texmf-dist/tex/lualatex/stricttex/stricttex.sty2
2 files changed, 7 insertions, 7 deletions
diff --git a/Master/texmf-dist/tex/lualatex/stricttex/stricttex.lua b/Master/texmf-dist/tex/lualatex/stricttex/stricttex.lua
index d8dd9621410..0533a4683a2 100644
--- a/Master/texmf-dist/tex/lualatex/stricttex/stricttex.lua
+++ b/Master/texmf-dist/tex/lualatex/stricttex/stricttex.lua
@@ -95,20 +95,20 @@ stricttexFormatNumbers = function(str)
end
stricttexReplacePrimes = function(str)
- str = str:gsub("'",'symbolPRIME')
+ str = str:gsub('\'','symbolPRIME')
return str
end
+
stricttexFormatNumbersAndPrimes = function(str)
- local p, q = str:find("\\%a+[%d']")
+ local p, q = str:find('\\%a+[%d\']')
if p then
while true do
- local r,s = str:sub(q,-1):find("[%w']+") -- ^ in the beginning did not work
- local newstring = stricttexReplaceNumbersByLetters( str:sub(q,q+s-1) )
- mewstring = stricttexReplacePrimes( newstring )
+ local r,s = str:sub(q,-1):find('[%w\']+') -- ^ in the beginning did not work
+ local newstring = stricttexReplaceNumbersByLetters( stricttexReplacePrimes( str:sub(q,q+s-1) ) )
local l = string.len(newstring)
str = str:sub(1, q-1) .. newstring .. str:sub(q+s,-1)
- local t = str:sub(q+l,-1):find("\\%a+[%d']")
+ local t = str:sub(q+l,-1):find('\\%a+[%d\']')
if t then
q = q + l + t - 1
else
diff --git a/Master/texmf-dist/tex/lualatex/stricttex/stricttex.sty b/Master/texmf-dist/tex/lualatex/stricttex/stricttex.sty
index 8a3e9874dd1..e1c0b4599c5 100644
--- a/Master/texmf-dist/tex/lualatex/stricttex/stricttex.sty
+++ b/Master/texmf-dist/tex/lualatex/stricttex/stricttex.sty
@@ -1,4 +1,4 @@
-\ProvidesExplPackage{stricttex}{2020/07/28}{0.1beta}{}
+\ProvidesExplPackage{stricttex}{2020/09/08}{0.2beta}{}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% %