Skip to content

Generate a pdf, docx and html from a reStructured Text (rst) by using Pandoc, MiKTeX and Windows Batch Scripting

License

Notifications You must be signed in to change notification settings

ALT-F1/restructuredtext-to-pdf-docx-html-using-pandoc-miktex

Repository files navigation

restructuredfile-to-pdf-docx-html

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 examplesdirectory 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 the img directory in the outputdirectory to display images in the html page

Prerequisite

Test with an example

  1. Run run_test.bat
  2. cd output
  3. On windows
    1. run start ALT-F1.BE-description.docx
    2. run start ALT-F1.BE-description.html
    3. run start ALT-F1.BE-description.pdf

Copyright © 2019 ALT-F1, We believe in the projects we work on™

About

Generate a pdf, docx and html from a reStructured Text (rst) by using Pandoc, MiKTeX and Windows Batch Scripting

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published