Skip to content

Commit

Permalink
address lualatex#97
Browse files Browse the repository at this point in the history
  • Loading branch information
dohyunkim committed Nov 23, 2021
1 parent d55cd40 commit 2306d32
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion luamplib.dtx
Original file line number Diff line number Diff line change
Expand Up @@ -669,8 +669,16 @@ end
% As the finder function for MPLib, use the |kpse| library and
% make it behave like as if MetaPost was used. And replace it with
% cache files if needed.
% See also \#74, \#97.
% \begin{macrocode}
local mpkpse = kpse.new(arg[0], "mpost")
local mpkpse
do
local exe = 0
while arg[exe-1] do
exe = exe-1
end
mpkpse = kpse.new(arg[exe], "mpost")
end

local special_ftype = {
pfb = "type1 fonts",
Expand Down

0 comments on commit 2306d32

Please sign in to comment.