mirror of
https://github.com/nim-lang/Nim.git
synced 2026-05-03 12:34:44 +00:00
fix nim md2tex and koch pdf commands (#20280)
* fix `nim md2tex` and `koch pdf` commands * change rst2tex -> md2tex also
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user