Generate a pdf, docx and html from a reStructured Text (rst) by using Pandoc, MiKTeX and Windows Batch Scripting
Run convert_rst_to_docx.bat "<filename.rst>"
Look into the examples
directory to find the expected generated files
-
generate pdf using MiKTeX2.9 using the default template -
generate docx using a template available on the.pandoc
directory -
generate an html -
copy images in theimg
directory in theoutput
directory to display images in the html page
- reStructuredText https://docutils.readthedocs.io/en/sphinx-docs/user/rst/quickstart.html
- Pandoc https://pandoc.org
- MiKTeX 2.9 https://miktex.org
- Microsoft Windows OS https://docs.microsoft.com/en-us/windows-server/administration/windows-commands/windows-commands
- Run
run_test.bat
cd output
- On windows
- run
start ALT-F1.BE-description.docx
- run
start ALT-F1.BE-description.html
- run
start ALT-F1.BE-description.pdf
- run
Copyright © 2019 ALT-F1, We believe in the projects we work on™