Skip to content

Commit

Permalink
Ensure Lua can find the .dat file
Browse files Browse the repository at this point in the history
  • Loading branch information
josephwright committed Dec 14, 2015
1 parent 43aa1a3 commit 34fffa4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion luatexconfig.tex
Expand Up @@ -6,7 +6,7 @@
\catcode`\%=12\relax
\directlua{
local line
for line in io.lines("pdftexconfig.dat") do
for line in io.lines(kpse.lookup("pdftexconfig.dat")) do
if not string.match(line, "^%%") then
local key, value = string.match(line, "^(%w+)%s*%=%s*(.*)$")
if key then
Expand Down

0 comments on commit 34fffa4

Please sign in to comment.