Map AsciiDoc to a docx template

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

Map AsciiDoc to a docx template

MAguilera
I've been trying to figure out a way to import an AsciiDoc report to a docx template. The closest IDEA that I have is to convert AsciiDoc to XML and then XML map the report... I am hoping there is an easier way of doing this so any help is much appreciated!
Reply | Threaded
Open this post in threaded view
|

Re: Map AsciiDoc to a docx template

habamax
I usually prepare docx with

1. asciidoctor -> docbook
2. and then with pandoc docbook -> docx


or just open PDF in word fix issues with formatting and save it as docx
Reply | Threaded
Open this post in threaded view
|

Re: Map AsciiDoc to a docx template

MAguilera
Is there anyway in using a docx template and importing the data into that?
Reply | Threaded
Open this post in threaded view
|

Re: Map AsciiDoc to a docx template

habamax
> Is there anyway in using a docx template and importing the data into that?

In general? Yes, using VBA you can bend your docx to do what you want.

As a ready to use solution to your problem -- probably not.