Asciidoc convert to microsoft word

classic Classic list List threaded Threaded
6 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Asciidoc convert to microsoft word

zera
Hi

I know asciidoc can convert to pdf, html, but I want to know how about microsoft word, or others ?
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Asciidoc convert to microsoft word

mojavelinux
Administrator
The path to Word is best done by converting to the XML format that Word accepts. An example of this is:


It's geared towards a Packt book, but you should be able to use it as a starting point.

Another solution is to convert to DocBook, then use DocBook to convert to Word using something like pandoc.

-Dan

On Thu, Aug 3, 2017 at 8:09 PM, zera [via Asciidoctor :: Discussion] <[hidden email]> wrote:
Hi

I know asciidoc can convert to pdf, html, but I want to know how about microsoft word, or others ?



If you reply to this email, your message will be added to the discussion below:
http://discuss.asciidoctor.org/Asciidoc-convert-to-microsoft-word-tp5796.html
To start a new topic under Asciidoctor :: Discussion, email [hidden email]
To unsubscribe from Asciidoctor :: Discussion, click here.
NAML



--
Dan Allen | @mojavelinux | https://twitter.com/mojavelinux
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Asciidoc convert to microsoft word

jvdh
In reply to this post by zera
my poor man's solution is to just open the asciidoctor's html output directly with MSWord and switch the display/view from "Web" to "Print" layout there.

for letters, simple reports and the like that suffices. document structure (titles, headings, paragraphs) and style (bold, italics) and super/supscripts are presevered, tables as well. no embedded images, though, no latexmath (of course), possibly other things...

you might just try this and see whether it suffices for your purpose
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Asciidoc convert to microsoft word

ciampix
On Thu, Aug 03, 2017 at 11:37:55PM -0700, jvdh [via Asciidoctor :: Discussion] wrote:
>
>
> my poor man's solution is to just open the asciidoctor's html output directly
> with MSWord and switch the display/view from "Web" to "Print" layout there.

another poor man's solution is about the same but open it with
libreoffice, then save it in doc. Import could be better or worse but it
should be worth giving it a shot...

--


Marco Ciampa

I know a joke about UDP, but you might not get it.

------------------------

 GNU/Linux User #78271
 FSFE fellow #364

------------------------

Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Asciidoc convert to microsoft word

zera
In reply to this post by mojavelinux
OK, Thank you
 I haven't used this pandoc tool yet, study it now.
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Asciidoc convert to microsoft word

zera
In reply to this post by jvdh
I just want the pdf convert to word , thank you
Loading...