From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/18105 Path: news.gmane.org!.POSTED!not-for-mail From: John MacFarlane Newsgroups: gmane.text.pandoc Subject: Re: docx -> markdown: image width and height doesn't respect --dpi? Date: Mon, 28 Aug 2017 23:09:23 -0700 Message-ID: <20170829060923.GF59266@Johns-MacBook-Pro.local> References: <692f87e9-d992-4d10-a29a-77165f5d5771@googlegroups.com> <20170828145732.GI57370@Johns-MacBook-Pro.local> <591842f3-2fcf-4a1b-b031-9b2c4f8dad05@googlegroups.com> <20170829001310.GA75750@protagoras.berkeley.edu> <11b99952-c27d-4a1a-b689-d0e915d886dc@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"; format=flowed X-Trace: blaine.gmane.org 1503986973 30373 195.159.176.226 (29 Aug 2017 06:09:33 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Tue, 29 Aug 2017 06:09:33 +0000 (UTC) User-Agent: Mutt/1.6.2 (2016-07-01) To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-X-From: pandoc-discuss+bncBCJZJHG45QDBBGUKSTGQKGQE5TYDS7Q-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Tue Aug 29 08:09:28 2017 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane.org Original-Received: from mail-io0-f188.google.com ([209.85.223.188]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dmZiG-0007Tu-2v for gtp-pandoc-discuss@m.gmane.org; Tue, 29 Aug 2017 08:09:24 +0200 Original-Received: by mail-io0-f188.google.com with SMTP id m40sf1568038ioi.0 for ; Mon, 28 Aug 2017 23:09:31 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1503986971; cv=pass; d=google.com; s=arc-20160816; b=OdjGU5sF2XuJ0Vgj94wS6a9+216czsuNTXusA6nKF532+/7gybe3DrNTSyO/6dCTzF KErHtvfC1TlmqzaIg8oEMC8sKfLGWyWdQUytmdPlixUvl+0Z78uGNijjBtsXWXTszLfZ D4hd6z/oTiAmlynqNDlHjg6/ehzoTQ41XBJSe1Qu3SynbRcq9PKy+u4SO3DjEY91C3Q7 BZiBEkdcXYQSXd73jSEhZz3wiM1a22zITp/NN9dKzgp2z7TpJDx6/SMR5nu93KQ3PxH1 JRz88JO+d/CfSBM/J8szsZB07sNAG0f0GgjJKcj9tqGXCauxrETZKOHZkM1RzgNcuGlI UhgA== 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:reply-to:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:to :date:from:arc-authentication-results:arc-message-signature:sender :dkim-signature:arc-authentication-results; bh=EA0Oqwovy7hEE/AKh6FhQCK6xSMJz4GuWYzlymDJLSA=; b=ls/5QD3ANGzh4j7jMGGligytsbxclymwb8lHaCckR5EyoTqUtO/GzPovdeiMF5jLvq b3AWDtzRxTkzf690X7v4AAm//gBSbmtZs47tWNmniuUrAj/q4MGfnVsVa3cJjboT+vo/ efPUDVHsmdu7v2HjTl0MWVd1XANvHLBK+fDUXLvKyl78n3G9nutrHPeiEd85J7VAWekZ 9g17iRqgBbUb2hfa6p/UI2S3vAUrRTSM8j7I46K274udSp/Il+Bpkf8Qb42jx5ixkh25 Z1NyGjs1pcUjdSq/2HT+YiIuSxgsRPnQnsh2C3X6rcVA8V1s5MuzPTsixSEU8YAH8ja3 ARC-Authentication-Results: i=2; gmr-mx.google.com; dkim=pass header.i=@berkeley-edu.20150623.gappssmtp.com header.s=20150623 header.b=RQ+cr6Ea; spf=pass (google.com: domain of jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org designates 2607:f8b0:400e:c00::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:date:to:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent:x-original-sender :x-original-authentication-results:reply-to:precedence:mailing-list :list-id:list-post:list-help:list-archive:list-subscribe :list-unsubscribe; bh=EA0Oqwovy7hEE/AKh6FhQCK6xSMJz4GuWYzlymDJLSA=; b=s0NQLitUuD8gSY7bbC4P4MIZmy4cbZYfL1V5jme1pFV3GdkuVBih23qRRYEEifXL5f OI1tqAgyCPe56Mczyb1qdQg0Aa+oX7C0Ia2PnO9GcogeovYWUtGYPGoTUFntUGKnWriv 7gEna8N8nckPBNItAQg+HqjRM3NsyAVfjo/JxjIuQ54EKbPtcOG+UL4YYS+w4L5PUQax hRbCkNQEiOC5DOhcjAPFjTg4Rd/vpWv04Zx+qVrDIfHKIBWmnATBg8ccx99UnBpt6Dj2 z7Jp9Urokpfp/HSjwP2dq4RI3lcyYgZ0O2necQaSA3HLH5YN/VW+4xikUNdg2P3THtUc 369A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=sender:x-gm-message-state:from:date:to:subject:message-id :references:mime-version:content-disposition:in-reply-to:user-agent :x-original-sender:x-original-authentication-results:reply-to :precedence:mailing-list:list-id:x-spam-checked-in-group:list-post :list-help:list-archive:list-subscribe:list-unsubscribe; bh=EA0Oqwovy7hEE/AKh6FhQCK6xSMJz4GuWYzlymDJLSA=; b=cU3xaMqL6IujhFskAeR5+3JEh2np+xN8D0EbO6ToxUqUBIa58U55T5EAn6dzHmGl9w UU0OE1llEQoqYxahnPm977ZGfySI4biW7P0pue2eg0X57j6n5G5YLpL0IzODNmQa4XyH 90tBhkJ6F6ALv2av9otk79FLyukqnptUtnvEh6fKeopIGlKSg6UQblzLpUzU/mTCKD0n NnbNnlPc77MkB3m9VttlcKD228M/c7LeiU0+YHT6E+M0pTWtQ4FRKSgwCViJmQT81yLs WYFKxD64nkFGsVWFXkhT/KoHZRDmd+wkcruzpmODgzCwNeK+Cl3HzYu7uSSlJDWGFVlm Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Gm-Message-State: AHYfb5gWXUfBW2/ShiAMcQJ7o6j5IsG6EBU4DCo/kpYk0sTjHLi24DeC y+KFKrbnnaUoiw== X-Received: by 10.36.93.82 with SMTP id w79mr46773ita.14.1503986970990; Mon, 28 Aug 2017 23:09:30 -0700 (PDT) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 10.107.150.80 with SMTP id y77ls1650528iod.38.gmail; Mon, 28 Aug 2017 23:09:30 -0700 (PDT) X-Received: by 10.36.1.208 with SMTP id 199mr757604itk.16.1503986970345; Mon, 28 Aug 2017 23:09:30 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1503986970; cv=none; d=google.com; s=arc-20160816; b=SGWflUrh2ccF7u3zj3wZIixi/TwwQLAQXnX1pHxaj48DGPoe/a1cz+RmBcUYK4z16y tv+Ig9y1BXPaWwS9Sc+ohhY/PLlkJFxenbFqf+yoJsgplhDTTDuyJ7TEb/4NC7BdSU0K 06IjXo2WK/7mWQcvymES0f6g21SRWbp01fpr4rOVKAWZfPZYfLxPusLmRdgfRi0Io90R YZALGzHzOHWrEOpe5ZNWqUFgvuQ1MeqRUaqm8NTIrp1SrjWEbzzhTXcTyOArWxAV1PMM oNKwd3ToGi6H3VQf8i3fJbGj6eg6/XVQP+urovljSAvf88D0behA0Oyi1pmROVY81wAW WSPg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=user-agent:in-reply-to:content-disposition:mime-version:references :message-id:subject:to:date:from:dkim-signature :arc-authentication-results; bh=P8gye0mcMaKwIE3D9Geh+jwh3PuTBVdc2+KIrIwAT88=; b=mzesGhfJr7VmJpJp2DGShHmqrZnXxw1mgtClISRKRysM4PUC06Z+//K1BlcFU6/MNU vFPPLCJt5TE5nIVCykVVkGciW5P4oR+4Vlc3DjYuwyzLYWD6rK6evJ1SB4l/h+ZkKTO0 4Q0CnuwbA89fK063RmUZ5WGJfGsNrRdvXuqyYYjylPe+ok430x+sG4C4hW/ffuV5RbhW KS7PRevFrTFS+ozM11mHLtmtr0TpVsr1T7ecDb702hBR94/NcKzZoy/U8yNptezQzmj8 pihqu7p3dWyHFYGRcWMPiNgo5Wt1YFAOx0YdERbgxvuVONKQjRGVIYtIuZSvmZ5HZxqI 2e/g== ARC-Authentication-Results: i=1; gmr-mx.google.com; dkim=pass header.i=@berkeley-edu.20150623.gappssmtp.com header.s=20150623 header.b=RQ+cr6Ea; spf=pass (google.com: domain of jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org designates 2607:f8b0:400e:c00::22c as permitted sender) smtp.mailfrom=jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org Original-Received: from mail-pf0-x22c.google.com (mail-pf0-x22c.google.com. [2607:f8b0:400e:c00::22c]) by gmr-mx.google.com with ESMTPS id 2si403000pft.8.2017.08.28.23.09.30 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 28 Aug 2017 23:09:30 -0700 (PDT) Received-SPF: pass (google.com: domain of jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org designates 2607:f8b0:400e:c00::22c as permitted sender) client-ip=2607:f8b0:400e:c00::22c; Original-Received: by mail-pf0-x22c.google.com with SMTP id r62so7678929pfj.0 for ; Mon, 28 Aug 2017 23:09:30 -0700 (PDT) X-Received: by 10.84.215.199 with SMTP id g7mr3650468plj.27.1503986969727; Mon, 28 Aug 2017 23:09:29 -0700 (PDT) Original-Received: from johnmacfarlane.net (li55-134.members.linode.com. [74.82.3.134]) by smtp.gmail.com with ESMTPSA id s189sm1300320pgc.66.2017.08.28.23.09.28 for (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 28 Aug 2017 23:09:28 -0700 (PDT) Original-Received: by johnmacfarlane.net (Postfix, from userid 1000) id D780CA1C5; Tue, 29 Aug 2017 02:09:17 -0400 (EDT) Content-Disposition: inline In-Reply-To: <11b99952-c27d-4a1a-b689-d0e915d886dc-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org> X-PGP-Key: http://johnmacfarlane.net/jgm.asc 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=RQ+cr6Ea; spf=pass (google.com: domain of jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org designates 2607:f8b0:400e:c00::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-Google-Group-Id: 1007024079513 List-Post: , List-Help: , List-Archive: , List-Unsubscribe: , Xref: news.gmane.org gmane.text.pandoc:18105 Archived-At: With -t markdown_strict, the dev version gives > MacSSD:Users:kajohnson:Dropbox:Kinetics Book:Chapter 2:Table 2-1.png So it looks as if this issue has been fixed in the dev version. (Sort of...I need to investigate the duplicated style attributes in the HTML fallback.) +++ Thomas Blom [Aug 28 17 18:40 ]: > In my example command illustrating the issue, I am using "-t > markdown_strict". > I assume you are using "-t markdown" ? > I am not using the dev version of pandoc, but am using the latest > release as installed by Homebrew on OSX (1.19.2.1). > Thanks! > On Monday, August 28, 2017 at 7:13:17 PM UTC-5, John MacFarlane wrote: > > With the dev version of pandoc, when I convert this to > Markdown I get: > > ![MacSSD:Users:kajohnson:Dropbox:Kinetics Book:Chapter 2:Table > > 2-1.png](foo/media/image1.png){width="4.616858048993876in" > > height="2.5in"} > So the Markdown writer doesn't convert the size to pixels; > if it's doing that for you, the behavior has been changed. > > -- > 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 [1]pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > To post to this group, send email to > [2]pandoc-discuss-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > To view this discussion on the web visit > [3]https://groups.google.com/d/msgid/pandoc-discuss/11b99952-c27d-4a1a- > b689-d0e915d886dc%40googlegroups.com. > For more options, visit [4]https://groups.google.com/d/optout. > >References > > 1. mailto:pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org > 2. mailto:pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org > 3. https://groups.google.com/d/msgid/pandoc-discuss/11b99952-c27d-4a1a-b689-d0e915d886dc-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org?utm_medium=email&utm_source=footer > 4. https://groups.google.com/d/optout