summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/l3build/l3build-typesetting.lua
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2018-01-27 22:10:49 +0000
committerKarl Berry <karl@freefriends.org>2018-01-27 22:10:49 +0000
commit10547251f700736da2801a4ee4e78a64dff741c9 (patch)
tree57abacab85b9bb809a23544d69d51dae4469cef2 /Master/texmf-dist/tex/latex/l3build/l3build-typesetting.lua
parent5f1f1787fdf9327c6ad9456729be2930ff0cc350 (diff)
l3build (27jan18)
git-svn-id: svn://tug.org/texlive/trunk@46466 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/l3build/l3build-typesetting.lua')
-rw-r--r--Master/texmf-dist/tex/latex/l3build/l3build-typesetting.lua6
1 files changed, 4 insertions, 2 deletions
diff --git a/Master/texmf-dist/tex/latex/l3build/l3build-typesetting.lua b/Master/texmf-dist/tex/latex/l3build/l3build-typesetting.lua
index 46feb0375d7..229745dafc6 100644
--- a/Master/texmf-dist/tex/latex/l3build/l3build-typesetting.lua
+++ b/Master/texmf-dist/tex/latex/l3build/l3build-typesetting.lua
@@ -117,12 +117,14 @@ end
function makeindex(name, dir, inext, outext, logext, style)
if fileexists(typesetdir .. "/" .. name .. inext) then
local path, name = splitpath(name)
+ if style == "" then style = nil end
return(
runtool(
path, dir,
"INDEXSTYLE",
- makeindexexe .. " " .. makeindexopts .. " "
- .. " -s " .. style .. " -o " .. name .. outext
+ makeindexexe .. " " .. makeindexopts
+ .. " -o " .. name .. outext
+ .. (style and (" -s " .. style) or "")
.. " -t " .. name .. " " .. name .. inext
)
)