0
例えば、-V argsのようにpandocを呼び出すと、-V title = "Wartość" ' Pythonスクリプトで、タイトルなしで出力されます。:(Pythonでpandocを呼び出す際の問題。 "-V args"が動作しない
例:それは作品
/usr/bin/pandoc /home/user/program/content.md -V title="Wartość"
-V authors="Jerry" --output=/home/user/program/outputs/book_22.pdf
:) 出力ファイル: 手動で(ターミナル)でpandocaにコマンドを入力した pandoc output when use manually pandoc in the terminal
が、私は同じコを実行するとmmand pythonで(pandocに呼び出す):
subprocess.call(['/usr/bin/pandoc', '/home/user/program/content.md', '-V title="Wartość", -V authors="Jerry" ', '--output=/home/user/program/outputs/book_33.pdf'])
出力ファイル:pandoc output when I call to him from python script
はどのようにそれを修正するには?
助けていただきありがとうございました。私の間違いを修正してください:) – ffg