###実現したいこと
reStructuredTextで書かれた仕様書(sample.rst)をword(sample.docx)へ変換出力。
基本コマンド:pandoc index.rst -o index.docx
その際、wordの罫線や文字色を指定したい。
試したこと
①スタイル参照用ファイルを手に入れる。
pandoc --print-default-data-file reference.docx > reference.docx
②スタイル参照用ファイルreference.docxを編集
③私の環境では以下にPandocが入っている
C:\Users\XXXXXX\AppData\Local\Pandoc
reference.docxを↑ここへ置く
pathも通す
④ reference.docxを読みこみ、反映させて出力 ←しかし反映されない
試したコマンド1
C:\work\sample_doc> pandoc sample.rst --from=rst --to=docx --standalone --reference-doc=C:\work\sample_doc\reference.docx --output=sample.docx
試したコマンド2
pandoc -c --reference-docx=reference.docx sample.rst -o sample.docx
発生している問題・エラーメッセージ
reference.docxで指定したスタイルになりません。
どなたかご教授お願いします。
補足情報(FW/ツールのバージョンなど)
Windows10
Pandoc2.5
Office 2015

回答1件
あなたの回答
tips
プレビュー
バッドをするには、ログインかつ
こちらの条件を満たす必要があります。