fix nim md2tex and koch pdf commands (#20280)

* fix `nim md2tex` and `koch pdf` commands

* change rst2tex -> md2tex also
This commit is contained in:
Andrey Makarov
2022-08-29 01:04:13 +03:00
committed by GitHub
parent 2b56b38235
commit ee11302c24
2 changed files with 13 additions and 12 deletions

View File

@@ -277,7 +277,8 @@ proc getOutFile2(conf: ConfigRef; filename: RelativeFile,
else:
result = getOutFile(conf, filename, ext)
proc isLatexCmd(conf: ConfigRef): bool = conf.cmd in {cmdRst2tex, cmdDoc2tex}
proc isLatexCmd(conf: ConfigRef): bool =
conf.cmd in {cmdRst2tex, cmdMd2tex, cmdDoc2tex}
proc newDocumentor*(filename: AbsoluteFile; cache: IdentCache; conf: ConfigRef,
outExt: string = HtmlExt, module: PSym = nil,