From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/28078 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Michael Becker Newsgroups: gmane.text.pandoc Subject: Re: Pandoc HTML to WORD Conversion embeded non-editable images Date: Sat, 3 Apr 2021 19:17:56 -0700 (PDT) Message-ID: References: <98ae6e6d-c3ff-4104-ae3c-41905c505394n@googlegroups.com> <97776a8b-702a-4eda-8b7a-e1bfa349ed2cn@googlegroups.com> Reply-To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_Part_8812_154188840.1617502676017" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="28934"; mail-complaints-to="usenet@ciao.gmane.io" To: pandoc-discuss Original-X-From: pandoc-discuss+bncBCUNV74YYMKBBVODUSBQMGQE24PW3OA-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Sun Apr 04 04:18:00 2021 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane-mx.org Original-Received: from mail-ot1-f60.google.com ([209.85.210.60]) by ciao.gmane.io with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1lSsKt-0007NT-Qt for gtp-pandoc-discuss@m.gmane-mx.org; Sun, 04 Apr 2021 04:17:59 +0200 Original-Received: by mail-ot1-f60.google.com with SMTP id q20sf6234593otn.12 for ; Sat, 03 Apr 2021 19:17:59 -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=ZyrWYKZxr6OwJeMXsJEVEQYCBeTiSvUN+KJdig0RSCE=; b=nlqgwyi+gFHRYOIIDMmSBOsPDz26COqmnd+NAvRyZuri7hLtGJBs63WxdlcWwDUDT1 SchumgXFud14txtplhCy3s8po1bSyDGpA9INYXTHVPUtk3JikoBeP9WgbbA4Ipsp4Ydl rektgmLc9F1Dx2W36mYBoXn95ysf/AHfj2c/aJ102INlIiGKqfx6FzMEuu/HyYeCuW68 5j97T0I+wl5swwvGOrIzlYtW1+TlV76F5Rm7yENvAptOx6KIFQfnWWGR+bHqbUe8Rquh dDjiUPVHO8+prik+tm4we90S5AyKCebg1Z4FrP9089QPX2+oEnAkjnR7Sb5UMqdJn3+J oCOw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=identitypraxis-com.20150623.gappssmtp.com; s=20150623; 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=ZyrWYKZxr6OwJeMXsJEVEQYCBeTiSvUN+KJdig0RSCE=; b=lHMS+vnyocr2DoNERDiA8x2PphaXr6qQwjPZOwvWvDT8am2NsbGt3O2uzjGhhKxPJq L6dkIWECSd5obm5Lma4Dr3s5ZLr9f/nYovheHCOShv8YW2aFkAGLPeJfbuHA7IqJDtl8 A3HM89beGV8ZcxDH+UmODc6FW9F8sfQDlfZA0UBDE8wAR6uXKJio9se8OMTBp2DZClZ1 oJBLCXVeI/rq+9wb9y7XPKBmzdW0wGEVwbTEIpY+DLUujKFphJLEBj3C+7ck1CMXTLkg NjZtT0A47JkhvEYFLCASjpHz4eKJ0THs/UzLuU3CjeUpOiyRXbZCVBPSaiyNmAj6GlWa oFRA== 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=ZyrWYKZxr6OwJeMXsJEVEQYCBeTiSvUN+KJdig0RSCE=; b=Hjg3Jop+VsHgUfLaRxGZEI9Mchx7CkobdP4lhMZbEd26+HWxROpOyVK7LggKcWwYtE Ds6aIhzCDUqxazJzQfJiqNhd3mJlESc/nErMdyDDtxcGuoSVWOLIO1IkaTeCrdGgiMa4 5tuf8DSOCL1lllsvLRnxahOTw46Yp1repzr3l/NJMNntTRLCDyXHuhNaHxKzjokagIQX 6xnheda+vUi6zVhJUCoKC/0goR6Qsb+OnHJjPBagYDF5cpQRwvU+MbMGE06t8XXueXkS 8cyv+E3yfdVq433g0oMlGWDNFbqJflbxXAgkzcF5YSHW3L8y0XcuR88tb5pMySVpaNd2 We/A== Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Gm-Message-State: AOAM531LCXpcHoAJCRIfrjgNC4yLOuWBHewq9K+aejrCIXuLCSbJdCHI /kE/bfz0FO/ECgYF97E2FO0= X-Google-Smtp-Source: ABdhPJxBzCnTrRotCVns6mJfHeNTb1TniSfLc6wPuonrGbHRPSn4OZB0StujVlXziP/FgVVvmtyCYg== X-Received: by 2002:aca:2219:: with SMTP id b25mr13626101oic.112.1617502678767; Sat, 03 Apr 2021 19:17:58 -0700 (PDT) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 2002:a05:6830:2421:: with SMTP id k1ls2915873ots.0.gmail; Sat, 03 Apr 2021 19:17:57 -0700 (PDT) X-Received: by 2002:a05:6830:1d4c:: with SMTP id p12mr16788974oth.96.1617502676770; Sat, 03 Apr 2021 19:17:56 -0700 (PDT) In-Reply-To: X-Original-Sender: michael-QF1XyMwE1Uwv0rdu9s6TydBPR1lH4CV8@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.io gmane.text.pandoc:28078 Archived-At: ------=_Part_8812_154188840.1617502676017 Content-Type: multipart/alternative; boundary="----=_Part_8813_1822429226.1617502676017" ------=_Part_8813_1822429226.1617502676017 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hi there, I figure it out. It turns out if an image hi hyperlinked it=20 can't be resized. Remove the hyperlink and it works as expected. Who knew?= =20 Certainly not me. ;-) Thanks for your help.=20 On Saturday, April 3, 2021 at 3:42:17 PM UTC-7 Bastien Dumont wrote: > >=20 > > I don't think this is the issue; I already tried changing > > this and it didn't seem to make any difference. > >=20 > > Oh, sorry, you're right, all attributes are set to false by default. Here= =20 > only aspect ratio is locked (the other attribute doesn't seem to be=20 > relevant). > > There may be a hint here: https://www.wikihow.com/Anchor-an-Image-in-Word > In LibreOffice, I have to anchor the image to the paragraph to be able to= =20 > move it freely. > > > > Le Saturday 03 April 2021 =C3=A0 01:25:29PM, John MacFarlane a =C3=A9crit= : > > >> The DOCX writer inserts this element in the document's XML source co= de > > >> which locks the picture: > > >> > > >> > > >> > > >> > >=20 > > I don't think this is the issue; I already tried changing > > this and it didn't seem to make any difference. > >=20 > > Side note: when I try to create my own docx with images using > > pandoc, they are editable. So I'm not sure what is going on > > here. > >=20 > > --=20 > > You received this message because you are subscribed to the Google=20 > Groups "pandoc-discuss" group. > > To unsubscribe from this group and stop receiving emails from it, send= =20 > an email to pandoc-discus...-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > > To view this discussion on the web visit=20 > https://groups.google.com/d/msgid/pandoc-discuss/m2v9936rpi.fsf%40MacBook= -Pro.hsd1.ca.comcast.net > . > --=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 view this discussion on the web visit https://groups.google.com/d/msgid/= pandoc-discuss/d7c59025-8792-45cf-afa8-8174c05a2181n%40googlegroups.com. ------=_Part_8813_1822429226.1617502676017 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hi there, I figure it out.  It turns out if an image hi hyperlinked it= can't be resized. Remove the hyperlink and it works as expected. Who knew?= Certainly not me. ;-)  Thanks for your help.

On Saturday, April 3, 202= 1 at 3:42:17 PM UTC-7 Bastien Dumont wrote:
>=20
> I don't think this is the issue; I already tried changing
> this and it didn't seem to make any difference.
>=20

Oh, sorry, you're right, all attributes are set to false by default= . Here only aspect ratio is locked (the other attribute doesn't seem to= be relevant).

There may be a hint here: https://www.wikihow.com/Anchor-an-Image-in-= Word
In LibreOffice, I have to anchor the image to the paragraph to be able = to move it freely.



Le Saturday 03 April 2021 =C3=A0 01:25:29PM, John MacFarlane a =C3=A9cr= it :
> >> The DOCX writer inserts this element in the document'= s XML source code
> >> which locks the picture:
> >>
> >> <pic:cNvPicPr>
> >> <a:picLocks noChangeArrowheads=3D"1" noChang= eAspect=3D"1"/>
> >> </pic:cNvPicPr>
>=20
> I don't think this is the issue; I already tried changing
> this and it didn't seem to make any difference.
>=20
> Side note: when I try to create my own docx with images using
> pandoc, they are editable. So I'm not sure what is going on
> here.
>=20
> --=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-discus..= .@googlegroups.com.
> To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/m2v9936rpi.fsf%40MacBo= ok-Pro.hsd1.ca.comcast.net.

--
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 view this discussion on the web visit https://groups.google.com/d= /msgid/pandoc-discuss/d7c59025-8792-45cf-afa8-8174c05a2181n%40googlegroups.= com.
------=_Part_8813_1822429226.1617502676017-- ------=_Part_8812_154188840.1617502676017--