fix nim md2tex and koch pdf commands (#20280)
* fix `nim md2tex` and `koch pdf` commands * change rst2tex -> md2tex also
This commit is contained in:
parent
2b56b38235
commit
ee11302c24
2 changed files with 13 additions and 12 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue