Skip to content

Commit 81c9dae

Browse files
committed
Do not assume \markdownInput input comes from \markdownOptionOutputDir
Closes #57
1 parent 22cc1ed commit 81c9dae

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

markdown.dtx

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16031,7 +16031,10 @@ local convert = md.new(\markdownLuaOptions)
1603116031
|markdownInfo{The ending token sequence was found}@
1603216032
|immediate|closeout|markdownOutputFileStream@
1603316033
|endgroup@
16034-
|markdownInput|markdownOptionInputTempFileName@
16034+
|markdownInput{@
16035+
|markdownOptionOutputDir@
16036+
/|markdownOptionInputTempFileName@
16037+
}@
1603516038
#2}@
1603616039
|fi@
1603716040
% \end{macrocode}
@@ -16300,9 +16303,7 @@ local convert = md.new(\markdownLuaOptions)
1630016303
|closein|markdownInputFileStream
1630116304
|markdownLuaExecute{%
1630216305
|markdownPrepare
16303-
local input = assert(io.open("%
16304-
|markdownOptionOutputDir
16305-
/#1", "r"):read("*a"))
16306+
local input = assert(io.open("#1", "r"):read("*a"))
1630616307
% \end{macrocode}
1630716308
% \begin{markdown}
1630816309
% Since the Lua converter expects \acro{unix} line endings, normalize the

0 commit comments

Comments
 (0)