Thanks for the reply.

you suggested to use docx file instead doc.
But we have lot of inline style tags,css classes and complex tables in our actual html file, that is why we switched to doc format.

Can you plz suggest how to solve this inline style tags issue for docx output, so that we can use this approach & drop off .doc approach

Thanks & regards,
Bhaskar

On Thursday, June 7, 2018 at 11:19:40 PM UTC+5:30, John MacFarlane wrote:
Bhaskar Sanjeevamoorthy <mailtob...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
writes:

You say doc, not docx.  Pandoc doesn't directly
support doc.  If you specify an output file with a
.doc extension, it will default to HTML. You can
create a docx and then use Word to convert it to doc.

For docx, the second one will work, but not the first
(because in general styles don't come across).

> Hello,
>
> Anyone came across below issue, Please let me know if there is a solution
> for this:-
>
> *I have html(s) like below it has base64 encoded image. When i convert it
> into doc file it doesnt render the image. Please suggest do i need to
> change anything in the html format.*
>
> <html>
>
> <body>
> <img id="123"
> style="background-image:url(data:image;base64,R0lGODlhEAAQAMQAAORHHOVSKudfOulrSOp3WOyDZu6QdvCchPGolfO0o/XBs/fNwfjZ0frl3/zy7////wAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACH5BAkAABAALAAAAAAQABAAAAVVICSOZGlCQAosJ6mu7fiyZeKqNKToQGDsM8hBADgUXoGAiqhSvp5QAnQKGIgUhwFUYLCVDFCrKUE1lBavAViFIDlTImbKC5Gm2hB0SlBCBMQiB0UjIQA7);width:300px;height:300px;"/>
>
> </body>
> </html>
>
> or
>
> <html>
> <body>
> <img id="123" style="width:300px;height:300px;" src
> ="data:image;base64,R0lGODlhEAAQAMQAAORHHOVSKudfOulrSOp3WOyDZu6QdvCchPGolfO0o/XBs/fNwfjZ0frl3/zy7////wAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACH5BAkAABAALAAAAAAQABAAAAVVICSOZGlCQAosJ6mu7fiyZeKqNKToQGDsM8hBADgUXoGAiqhSvp5QAnQKGIgUhwFUYLCVDFCrKUE1lBavAViFIDlTImbKC5Gm2hB0SlBCBMQiB0UjIQA7"/>
> </body>
> </html>
>
> Thanks,
> Bhaskar
>
> --
> You received this message because you are subscribed to the Google Groups "pandoc-discuss" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to pandoc-discus...@googlegroups.com.
> To post to this group, send email to pandoc-...@googlegroups.com.
> To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/4968239f-7a2b-41f0-bf08-b5bcdcfe7cc1%40googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "pandoc-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
To post to this group, send email to pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/91ef9043-57fa-497f-a2e2-1859efe246d7%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.