parser.add_argument("-c","--img-cache-dir",help="Directory to cache processed images and intermediate products. The program will overwrite files, whose dependencies are newer.",default="cache")
parser.add_argument("-c","--img-cache-dir",help="Directory to cache processed images and intermediate products. The program will overwrite files, whose dependencies are newer.",default="cache")
parser.add_argument("-i","--img-web-path",help="Path where the processed images are available on the website.",default="/")
parser.add_argument("-i","--img-web-path",help="Path where the processed images are available on the website.",default="/")
parser.add_argument("-w","--output-html",help="The HTML file (for Web) to write into.")
parser.add_argument("-w","--output-html",help="The HTML file (for Web) to write into.")
parser.add_argument("-s","--output-standalone-html",help="The Standalone HTML file to write into. A full page is generated instead of just a fragment.")
parser.add_argument("-t","--output-tex",help="The TEX file to write into.")
parser.add_argument("-t","--output-tex",help="The TEX file to write into.")
parser.add_argument("-m","--output-md",help="The Markdown file to write into. (Uses pandoc to generate markdown)")
parser.add_argument("-m","--output-md",help="The Markdown file to write into. (Uses pandoc to generate markdown)")
parser.add_argument("-j","--output-json",help="The JSON file to dump the pandoc-compatible AST into.")
parser.add_argument("-j","--output-json",help="The JSON file to dump the pandoc-compatible AST into.")
@ -35,6 +35,7 @@ def main():
parser.add_argument("-k","--katex-socket",help="The KaTeX server socket filename obtained by running with `--katex-server`.")
parser.add_argument("-k","--katex-socket",help="The KaTeX server socket filename obtained by running with `--katex-server`.")
parser.add_argument("input_filename",help="The markdown file to process.",nargs="?"if"--katex-server"insys.argvelseNone)
parser.add_argument("input_filename",help="The markdown file to process.",nargs="?"if"--katex-server"insys.argvelseNone)
parser.add_argument("--traceback-limit",help="Traceback limit for when errors happen, defaults to 0, as it is only useful for internal debugging.",default=0)