diff options
author | Andrey Makarov <ph.makarov@gmail.com> | 2022-08-29 01:04:13 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-08-28 18:04:13 -0400 |
commit | ee11302c2493795c630b080fe3dd7ea7721a9fdc (patch) | |
tree | 91e3e2812dacb09a1020344314a4d066e91ec522 /compiler | |
parent | 2b56b38235c7cdb60a952ee4ec684a053eeee47c (diff) | |
download | Nim-ee11302c2493795c630b080fe3dd7ea7721a9fdc.tar.gz |
fix `nim md2tex` and `koch pdf` commands (#20280)
* fix `nim md2tex` and `koch pdf` commands * change rst2tex -> md2tex also
Diffstat (limited to 'compiler')
-rw-r--r-- | compiler/docgen.nim | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/compiler/docgen.nim b/compiler/docgen.nim index 4a914b0e7..a93dc01cf 100644 --- a/compiler/docgen.nim +++ b/compiler/docgen.nim @@ -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, |