Hi all. I am looking for a way to generate complex documents (docx or pdf) from a lightweight markup language.
The lightweight languages I know are Markdown and ReStructuredText, but I could adapt to any other.
I know that this task can be done from the LaTeX language, but I think that LaTeX is too complex for what I'm looking for.
So far I have used pandoc (
https://pandoc.org/) to try to do the task, but I can't define the .docx template to change the fonts, margins, etc.
I have also used Sphinx (
https://www.sphinx-doc.org/) on occasion to generate PDF files. It's a bit complex, generate a single file, not several and won't let me change the font formatting, etc. Although the result is usually very good. Another problem it has is that it does not allow to generate .docx.
Is there any good alternative or solution for what I'm looking for?