https://github.com/alt-f1/restructuredtext-to-pdf-docx-html-using-pandoc-miktex
Generate a pdf, docx and html from a reStructured Text (rst) by using Pandoc, MiKTeX and Windows Batch Scripting
https://github.com/alt-f1/restructuredtext-to-pdf-docx-html-using-pandoc-miktex
convert docx-generator html-generator miktex pandoc pdf-generator restructuredtext rst
Last synced: 7 months ago
JSON representation
Generate a pdf, docx and html from a reStructured Text (rst) by using Pandoc, MiKTeX and Windows Batch Scripting
- Host: GitHub
- URL: https://github.com/alt-f1/restructuredtext-to-pdf-docx-html-using-pandoc-miktex
- Owner: ALT-F1
- License: mit
- Created: 2019-07-08T11:49:19.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2019-07-10T09:47:42.000Z (over 6 years ago)
- Last Synced: 2025-01-21T00:15:03.926Z (9 months ago)
- Topics: convert, docx-generator, html-generator, miktex, pandoc, pdf-generator, restructuredtext, rst
- Language: Batchfile
- Homepage: http://www.alt-f1.be
- Size: 392 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# restructuredfile-to-pdf-docx-html
Generate a pdf, docx and html from a reStructured Text (rst) by using Pandoc, MiKTeX and Windows Batch ScriptingRun `convert_rst_to_docx.bat "" `
Look into the `examples`directory to find the expected generated files
* [X] ~~generate pdf using MiKTeX2.9 using the default template~~
* [X] ~~generate docx using a template available on the `.pandoc` directory~~
* [X] ~~generate an html~~
* [X] ~~copy images in the `img` directory in the `output`directory to display images in the html page~~## Prerequisite
* 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## 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™