From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/18106 Path: news.gmane.org!.POSTED!not-for-mail From: Thomas Blom Newsgroups: gmane.text.pandoc Subject: Re: docx -> markdown: image width and height doesn't respect --dpi? Date: Tue, 29 Aug 2017 08:01:05 -0700 (PDT) Message-ID: <16de6b70-107f-41ab-9b2c-73c330a0fca2@googlegroups.com> 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> <20170829060923.GF59266@Johns-MacBook-Pro.local> Reply-To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_Part_7832_927266880.1504018865725" X-Trace: blaine.gmane.org 1504018906 26569 195.159.176.226 (29 Aug 2017 15:01:46 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Tue, 29 Aug 2017 15:01:46 +0000 (UTC) To: pandoc-discuss Original-X-From: pandoc-discuss+bncBCMLVPERXYMRBMUDS3GQKGQEM6POJ2Y-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Tue Aug 29 17:01:37 2017 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane.org Original-Received: from mail-io0-f184.google.com ([209.85.223.184]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dmi0i-0005EQ-KS for gtp-pandoc-discuss@m.gmane.org; Tue, 29 Aug 2017 17:01:00 +0200 Original-Received: by mail-io0-f184.google.com with SMTP id c18sf2533373ioj.6 for ; Tue, 29 Aug 2017 08:01:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20161025; h=sender:date:from:to:message-id:in-reply-to:references:subject :mime-version:x-original-sender:reply-to:precedence:mailing-list :list-id:list-post:list-help:list-archive:list-subscribe :list-unsubscribe; bh=JvCGrRq01Sg2IaDSPB8E8TVoet7uuxEkEi8cT9DLsSU=; b=esK53JNXyPstuYioKDXfHvJuClQStj7lGWGIyA02nyFRPnm/vYUj79/V4tUphCqaUU r9ctl030UbS5edu8MBIIH/6/P9H5sjVEU21/7Hh4URokGyBpP67MX101KRFrL1hiT64Z zQO8j0K3Ue/pZIVB9q8YvUo4YPpEmlNL+cUY429WF3XfVy4xgpJFfIIdgy8Ik8Me68Op gt+3X8Jy2q4HqLa2AKlO6S4dHn4fqJ2Ur7CjmPBfqlyO5pIK4W6s8FrauJVrIidqaFl2 e86Dbe2AZ+Nl3JlyEdt1U0YOw40+HhSwUKv96Pzn9HQDf229cpdsH0lbvMIQbLJt2Iaf Dc5w== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:message-id:in-reply-to:references:subject:mime-version :x-original-sender:reply-to:precedence:mailing-list:list-id :list-post:list-help:list-archive:list-subscribe:list-unsubscribe; bh=JvCGrRq01Sg2IaDSPB8E8TVoet7uuxEkEi8cT9DLsSU=; b=bDRVc/HaxJ/qFqIVT4IZMJfUwdIAueY37iCfaMeotb28kZYJBZwiDD3S8VzLckw5zc FTM5ZC2JljjRMhvplUdEGfsVangJPixL0NNOyeAOkq/4Q3vdqN6kt01uFl1SJ1skRA3D +BPkvTUMQzIfRlSnhpsLQD00O4hptgeu3muNVUWPlBdwar6aWqP5Fw3rD7m1O8hl0jJy s+zLhp5ktLgImDMMDO9vBGdoZwlb0Ehih9ztcQCbRrQN8q3CWvUkNCTr9dKRzl9wAtP2 /3erR0twROw9V5FyE5Vhy8CtWsT+vzbu1MaJUXfLTn+j6BChZfM1W+aOjaBlghWzGtlJ NZBA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=sender:x-gm-message-state:date:from:to:message-id:in-reply-to :references:subject:mime-version:x-original-sender:reply-to :precedence:mailing-list:list-id:x-spam-checked-in-group:list-post :list-help:list-archive:list-subscribe:list-unsubscribe; bh=JvCGrRq01Sg2IaDSPB8E8TVoet7uuxEkEi8cT9DLsSU=; b=tRBIIFOs8Gej/Tv28BU7Zf/LhHSnDJpWHVApbOrzVTCS3VBVgnMoH3ZNKqK6mWKDtl ZOhttTZKtgA6xnfG1wJGZKKF6vGf551n7ISMo6ZwwoIkGAfCI4nntRAKDF7hytR0L6se uXXIL8ha/nF33ti5cCi7Wix5D9Eb6lfphfvojllkCPSUb/p5yxdfKkJEyVHUQCrV7df8 9ipeLQd/WL0lqpsN7eeRXCIC+rVr491O3uBM4gz4BCqBoJexJbf8wo4ei9gkIrAR/C7r wZRBLQNqF4u6A5Vm5ZbGcEF4tm4hnj2kzFpWqQk4dqSuM2Hc/sJNxxo8Crry7qd2kihu eJ4Q== Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Gm-Message-State: AHYfb5h/LBXFMyp3m9g3kO9OskAdiL6f4pO5UKUOa6UmTlb4vlEgmTiv m8c1GK34VfKRlg== X-Received: by 10.36.137.84 with SMTP id s81mr172946itd.4.1504018867550; Tue, 29 Aug 2017 08:01:07 -0700 (PDT) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 10.36.64.14 with SMTP id n14ls1293107ita.0.canary-gmail; Tue, 29 Aug 2017 08:01:06 -0700 (PDT) X-Received: by 10.36.46.150 with SMTP id i144mr177572ita.0.1504018866375; Tue, 29 Aug 2017 08:01:06 -0700 (PDT) In-Reply-To: <20170829060923.GF59266-9Rnp8PDaXcadBw3G0RLmbRFnWt+6NQIA@public.gmane.org> X-Original-Sender: blomcode-Re5JQEeQqe8AvxtiuMwx3w@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:18106 Archived-At: ------=_Part_7832_927266880.1504018865725 Content-Type: multipart/alternative; boundary="----=_Part_7833_1548540276.1504018865725" ------=_Part_7833_1548540276.1504018865725 Content-Type: text/plain; charset="UTF-8" Ok, thanks for looking into this! -Thomas On Tuesday, August 29, 2017 at 1:09:32 AM UTC-5, John MacFarlane wrote: > > 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-discus...-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org . > > To post to this group, send email to > > [2]pandoc-...-/JYPxA39Uh5TLH3MbocFFw@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-...-/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 > > -- 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/msgid/pandoc-discuss/16de6b70-107f-41ab-9b2c-73c330a0fca2%40googlegroups.com. For more options, visit https://groups.google.com/d/optout. ------=_Part_7833_1548540276.1504018865725 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Ok, thanks for looking into this!

-Thom= as

On Tuesday, August 29, 2017 at 1:09:32 AM UTC-5, John MacFarlane = wrote:
With -t markdown_strict,= the dev version gives

> <img src=3D"media/image1.png" alt=3D"MacSSD:User= s:kajohnson:Dropbox:Kinetics Book:Chapter 2:Table 2-1.png" style= =3D"width:4.61686in" style=3D"height:2.5in" />

So it looks as if this issue has been fixed in the dev
version. =C2=A0(Sort of...I need to investigate the duplicated
style attributes in the HTML fallback.)

+++ Thomas Blom [Aug 28 17 18:40 ]:
> =C2=A0 In my example command illustrating the issue, I am using &q= uot;-t
> =C2=A0 markdown_strict".
> =C2=A0 I assume you are using "-t markdown" ?
> =C2=A0 I am not using the dev version of pandoc, but am using the = latest
> =C2=A0 release as installed by Homebrew on OSX (1.19.2.1).
> =C2=A0 Thanks!
> =C2=A0 On Monday, August 28, 2017 at 7:13:17 PM UTC-5, John MacFar= lane wrote:
>
> =C2=A0 =C2=A0 With the dev version of pandoc, when I convert this = to
> =C2=A0 =C2=A0 Markdown I get:
> =C2=A0 =C2=A0 > ![MacSSD:Users:kajohnson:Dropbox:Kinetics = Book:Chapter 2:Table
> =C2=A0 =C2=A0 > 2-1.png](foo/media/image1.png){width=3D&qu= ot;4.616858048993876in"
> =C2=A0 =C2=A0 > height=3D"2.5in"}
> =C2=A0 =C2=A0 So the Markdown writer doesn't convert the size = to pixels;
> =C2=A0 =C2=A0 if it's doing that for you, the behavior has bee= n changed.
>
> =C2=A0 --
> =C2=A0 You received this message because you are subscribed to the= Google
> =C2=A0 Groups "pandoc-discuss" group.
> =C2=A0 To unsubscribe from this group and stop receiving emails fr= om it, send
> =C2=A0 an email to [1]pandoc-discus...@googlegroups.com.
> =C2=A0 To post to this group, send email to
> =C2=A0 [2]pandoc-...@googlegroups.com.
> =C2=A0 To view this discussion on the web visit
> =C2=A0 [3]http= s://groups.google.com/d/msgid/pandoc-discuss/11b99952-c27d-4a1a-<= /a>
> =C2=A0 b689-d0e915d886dc%
40googlegroups.com.
> =C2=A0 For more options, visit [4]https:= //groups.google.com/d/optout.
>
>References
>
> =C2=A0 1. mailto:pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
> =C2=A0 2. mailto:pandoc-...@googlegroups.com
> =C2=A0 3. https://groups.google.com/d/msgid/pandoc-discuss/11b99952-c= 27d-4a1a-b689-d0e915d886dc@googlegroups.com?utm_medium=3Demail&am= p;utm_source=3Dfooter
> =C2=A0 4. https://groups.google.com/d/optout

--
You received this message because you are subscribed to the Google Groups &= quot;pandoc-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an e= mail to pand= oc-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/16de6b70-107f-41ab-9b2c-73c330a0fca2%40googlegroups.co= m.
For more options, visit http= s://groups.google.com/d/optout.
------=_Part_7833_1548540276.1504018865725-- ------=_Part_7832_927266880.1504018865725--