From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/20324 Path: news.gmane.org!.POSTED!not-for-mail From: John MacFarlane Newsgroups: gmane.text.pandoc Subject: Re: Pandoc html to doc(Not Docx) conversion issue Date: Thu, 07 Jun 2018 10:49:24 -0700 Message-ID: References: <4968239f-7a2b-41f0-bf08-b5bcdcfe7cc1@googlegroups.com> Reply-To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Trace: blaine.gmane.org 1528393653 32298 195.159.176.226 (7 Jun 2018 17:47:33 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Thu, 7 Jun 2018 17:47:33 +0000 (UTC) To: Bhaskar Sanjeevamoorthy , pandoc-discuss Original-X-From: pandoc-discuss+bncBCJZJHG45QDBBMXA4XMAKGQEVF2CASI-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Thu Jun 07 19:47:29 2018 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane.org Original-Received: from mail-it0-f60.google.com ([209.85.214.60]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fQz0R-0008Fx-Oh for gtp-pandoc-discuss@m.gmane.org; Thu, 07 Jun 2018 19:47:27 +0200 Original-Received: by mail-it0-f60.google.com with SMTP id g125-v6sf1147515ita.0 for ; Thu, 07 Jun 2018 10:49:39 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1528393778; cv=pass; d=google.com; s=arc-20160816; b=YZoz0TMTzo+nBqYd/ZHueWwHRz55wZEZc/8YfiXLF1y5v7s1yMxA9ih7sdu0TT98pa OXHLGD3eoJwvjrL6NzG/0Ep9GE+EE8wx2s3zReO3OVyI2/Jx32KJmQil+d31UqeL60Rh vjeNDmlMSlTiQfgj4RkZ1nNO1g3Jlze5c2nYAItnTwF+jfct2WHtnaEZcvmO/mD0LM2S WaRoiqawHZOJWk21SKR7UKYcgwBw1G8BKYh8YsAlLKkLoF6mqPx42NzsK/zoPjYITDSc 3pm52iq/tM6Og0XYgJJhwaUYRn79f7QuSQU213fnALSIM/XJoTkW4RcBsdZlfEs20JST mRmw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :list-id:mailing-list:precedence:content-transfer-encoding:reply-to :mime-version:message-id:date:references:in-reply-to:subject:to:from :arc-authentication-results:arc-message-signature:sender :dkim-signature:arc-authentication-results; bh=f8+yhQuoFNNFKIXD0vM2WpdZhHx/v7qbT8VwsqaWV1w=; b=xkj79G86mfd1XTIpKsXK0VcSc7wmjhCqg5QfCBRW93g+G3R2ELIjtL2fxTuAGod0SO abckoLFfCShISix7iJ/xIKk0jHOzKsKJBvSJF+EhqSjHzB5SuT+s7CnykaHW1lQYfKns PNv45G2MYYscfGr4zwvmplfZx8lg4W4L1NR3fzrSq7OoAIk9BqGsMG5+Hp/p22XJFVdD WvLYs0KHh2gcBpLWKCmn90Co+NExchjCIu9UxVhxbX81Gax7OM7N+lPHzidcOs3I32/i +1GtXPhLgKDqMe9S+VrqkMGtqeKPSX11abU5OOOSNynlEGifLCmcTYDr/E2lT/0kmUex VH4g= ARC-Authentication-Results: i=2; gmr-mx.google.com; dkim=pass header.i=@berkeley-edu.20150623.gappssmtp.com header.s=20150623 header.b=eo/0707S; spf=pass (google.com: domain of jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org designates 2607:f8b0:400e:c01::22c as permitted sender) smtp.mailfrom=jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20161025; h=sender:from:to:subject:in-reply-to:references:date:message-id :mime-version:x-original-sender:x-original-authentication-results :reply-to:content-transfer-encoding:precedence:mailing-list:list-id :list-post:list-help:list-archive:list-subscribe:list-unsubscribe; bh=f8+yhQuoFNNFKIXD0vM2WpdZhHx/v7qbT8VwsqaWV1w=; b=Xvh3aRCsp2Ut39KPaDAJL3+XDsDd1NR7eUjfqGhSoeqM/gcFE0EpXwszD+KFft/b+p i/N+Y9qSD8EIANJqHabdQCa+dRbDJGBwC/ovVj+ACpMAdvjoNpNFnjan+p846/ihunbD Bt55ezRaXn875E8BK+JbXAAC4xX6vTl49jO2Jff461zRBquQIZcfVa+fHGNikLEcSHrB KI90+I0+226d5ZlQFpfvqUIaWXvjktYHE4q5f5Fx1Rg9Qu140OwGqMfoQrTMraNkBTls 5GWYoNQPNIOwyVrEDHX7WDqu80UfoO0PzfGoGLK5DIcwQ/6lXDN3vd3ZJMGTmy1oBDj+ pDHg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=sender:x-gm-message-state:from:to:subject:in-reply-to:references :date:message-id:mime-version:x-original-sender :x-original-authentication-results:reply-to :content-transfer-encoding:precedence:mailing-list:list-id :x-spam-checked-in-group:list-post:list-help:list-archive :list-subscribe:list-unsubscribe; bh=f8+yhQuoFNNFKIXD0vM2WpdZhHx/v7qbT8VwsqaWV1w=; b=lc1V9iT8ATC0OW1fUUjyBWSs7VbFThZXzJ3cutM+Pt35ey24AYLsPhESO0ApNwNZ5G UBfufc2/4hNEPpSDyrD7ZSO1VEm4M9ebgd7wTWJ0Jp9XbO3h7zkajehhI33NYhqsYoqf u/+Y/ImnS/orKIJA1+7kwr9BDNwN0lzbgdy9l53881A685WufHxpzeTDTr8SC05Hp7qP r5KzRGaIa5nB+JiEFLcgN71OG45Plfxv/pehJl3khvHoNTMAJz9ULNjQtRdsIEGNThoe L4c84zKyL07ibkb0vZilgrWrSnXAa7NVnzZIDNiiAMrCSEE3aW/YaiolmfTLA+kC Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Gm-Message-State: APt69E3T3kO8AVC36rQx4GGJPpeHHdxRX4PlcTMHBxd6Fr+0zL3/DEK1 nRpr0IyyY+GI3q4ALvGcib0= X-Google-Smtp-Source: ADUXVKJi/c50pmRx9K2FL6JAxvmxQmRUn7SLfNn2ptofWv8scakl2cxvo5WXw+8DnhN6LtwXsLaEvg== X-Received: by 2002:a6b:d20c:: with SMTP id q12-v6mr8207iob.11.1528393778742; Thu, 07 Jun 2018 10:49:38 -0700 (PDT) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 2002:a24:af44:: with SMTP id l4-v6ls503945iti.4.gmail; Thu, 07 Jun 2018 10:49:37 -0700 (PDT) X-Received: by 2002:a24:1609:: with SMTP id a9-v6mr1544856ita.0.1528393777889; Thu, 07 Jun 2018 10:49:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1528393777; cv=none; d=google.com; s=arc-20160816; b=AblRPcYgoIxH0dOyZzGBq64QbCIIApl9stFhvKDg5TbcbizhKuTXIW1AxsTHbUgSvG wo7KI0UsZCx8zh7+DpV50NJX1+V8c8xSPcVlVRM+eKk7ciMouZRuIh/BpSKkkKErKiR7 nGRfh5Nqy3Q4wB+r/QcYpjeyDt9xAyDLejkMny1mzG4V1LuSqh0YYChHWYvldjLZOehJ xm3hvLMiS4frTbJ3Bs5MIiYSgQUj1VQETxcyt9jaZunAZju6xduGLWvzdjJUaxXtTbb3 BjJzbw+FfyibKDtjW3HMnqa09pZRdaG91/raGbZcQjFsjQ2J3tAPKTWJa3LaRQYheV7V KqsA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=mime-version:message-id:date:references:in-reply-to:subject:to:from :dkim-signature:arc-authentication-results; bh=zuJL4FfwncnqL/AD8V7JBRwHQYq8/3Coi9omCzZQXUI=; b=AciddUVxO1NBe54NcRNhKTuQsmtSo6Ebk96f3Bz9NnGF7io3iIOx3wOKV/c3EMTa+b 6veRzTnlpokytXfg4LtEb0zEZIB5q43VFqGBKdkC86qa9R0zejqM4aJnC5sVrwEFLLa3 S3F2Cct9ChpXBrr2DBa2U3lkSUiLOFapwfgexcrqGtRvLavmoJxJSQY6PqSriS9IHoWd 6kdeiNFPnQQ3rPCnth8WRwPeLp/X+WU/HhsPiflxu4psJP2jaaqfDEJGc3v4bFSvpRMW +cMvV6q6BO5BRA9vxEjqMIm8i1/hf7pBHPP2ALnCCugX8HH7m5RbITxF/8SZKbtGlPgb JcRA== ARC-Authentication-Results: i=1; gmr-mx.google.com; dkim=pass header.i=@berkeley-edu.20150623.gappssmtp.com header.s=20150623 header.b=eo/0707S; spf=pass (google.com: domain of jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org designates 2607:f8b0:400e:c01::22c as permitted sender) smtp.mailfrom=jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org Original-Received: from mail-pl0-x22c.google.com (mail-pl0-x22c.google.com. [2607:f8b0:400e:c01::22c]) by gmr-mx.google.com with ESMTPS id w4-v6si363565ioa.4.2018.06.07.10.49.37 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 07 Jun 2018 10:49:37 -0700 (PDT) Received-SPF: pass (google.com: domain of jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org designates 2607:f8b0:400e:c01::22c as permitted sender) client-ip=2607:f8b0:400e:c01::22c; Original-Received: by mail-pl0-x22c.google.com with SMTP id az12-v6so6584977plb.8 for ; Thu, 07 Jun 2018 10:49:37 -0700 (PDT) X-Received: by 2002:a17:902:1703:: with SMTP id i3-v6mr3027209pli.263.1528393777344; Thu, 07 Jun 2018 10:49:37 -0700 (PDT) Original-Received: from johnmacfarlane.net (li55-134.members.linode.com. [74.82.3.134]) by smtp.gmail.com with ESMTPSA id r74-v6sm20826445pfi.174.2018.06.07.10.49.35 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 07 Jun 2018 10:49:35 -0700 (PDT) Original-Received: by johnmacfarlane.net (Postfix, from userid 1000) id 17A03A17C; Thu, 7 Jun 2018 13:49:25 -0400 (EDT) In-Reply-To: <4968239f-7a2b-41f0-bf08-b5bcdcfe7cc1-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org> X-Original-Sender: jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org X-Original-Authentication-Results: gmr-mx.google.com; dkim=pass header.i=@berkeley-edu.20150623.gappssmtp.com header.s=20150623 header.b=eo/0707S; spf=pass (google.com: domain of jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org designates 2607:f8b0:400e:c01::22c as permitted sender) smtp.mailfrom=jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org Precedence: list Mailing-list: list pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org; contact pandoc-discuss+owners-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org List-ID: X-Spam-Checked-In-Group: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Google-Group-Id: 1007024079513 List-Post: , List-Help: , List-Archive: , List-Unsubscribe: , Xref: news.gmane.org gmane.text.pandoc:20324 Archived-At: Bhaskar Sanjeevamoorthy 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,=20 > > Anyone came across below issue, Please let me know if there is a solution= =20 > for this:- > > *I have html(s) like below it has base64 encoded image. When i convert it= =20 > into doc file it doesnt render the image. Please suggest do i need to=20 > change anything in the html format.* > > > > > style=3D"background-image:url(data:image;base64,R0lGODlhEAAQAMQAAORHHOVSK= udfOulrSOp3WOyDZu6QdvCchPGolfO0o/XBs/fNwfjZ0frl3/zy7////wAAAAAAAAAAAAAAAAAA= AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACH5BAkAABAALAAAAAAQABAAAAVVICS= OZGlCQAosJ6mu7fiyZeKqNKToQGDsM8hBADgUXoGAiqhSvp5QAnQKGIgUhwFUYLCVDFCrKUE1lB= avAViFIDlTImbKC5Gm2hB0SlBCBMQiB0UjIQA7);width:300px;height:300px;"/> > > > > > or > > > > =3D"data:image;base64,R0lGODlhEAAQAMQAAORHHOVSKudfOulrSOp3WOyDZu6QdvCchPG= olfO0o/XBs/fNwfjZ0frl3/zy7////wAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA= AAAAAAAAAAAAAAAAAAACH5BAkAABAALAAAAAAQABAAAAVVICSOZGlCQAosJ6mu7fiyZeKqNKToQ= GDsM8hBADgUXoGAiqhSvp5QAnQKGIgUhwFUYLCVDFCrKUE1lBavAViFIDlTImbKC5Gm2hB0SlBC= BMQiB0UjIQA7"/> > > > > Thanks, > Bhaskar > > --=20 > 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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > To post to this group, send email to pandoc-discuss-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > To view this discussion on the web visit https://groups.google.com/d/msgi= d/pandoc-discuss/4968239f-7a2b-41f0-bf08-b5bcdcfe7cc1%40googlegroups.com. > For more options, visit https://groups.google.com/d/optout. --=20 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 e= mail to pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To post to this group, send email to pandoc-discuss-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To view this discussion on the web visit https://groups.google.com/d/msgid/= pandoc-discuss/yh480kvaautrkr.fsf%40johnmacfarlane.net. For more options, visit https://groups.google.com/d/optout.