From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/33429 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: John MacFarlane Newsgroups: gmane.text.pandoc Subject: Re: What is the format of the filename of images in the Pictures/ folder inside odt? Date: Sat, 2 Dec 2023 13:05:35 -0800 Message-ID: References: <88f8c8dc-b9b6-4e6e-91ce-75e08412e466n@googlegroups.com> Reply-To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3696.120.41.1.4\)) Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="39428"; mail-complaints-to="usenet@ciao.gmane.io" To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-X-From: pandoc-discuss+bncBDW7ZIEHTIIBBJFYV2VQMGQEEKRSV6A-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Sat Dec 02 22:05:43 2023 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane-mx.org Original-Received: from mail-oo1-f60.google.com ([209.85.161.60]) by ciao.gmane.io with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1r9XBH-0009wB-5v for gtp-pandoc-discuss@m.gmane-mx.org; Sat, 02 Dec 2023 22:05:43 +0100 Original-Received: by mail-oo1-f60.google.com with SMTP id 006d021491bc7-58daf9b195csf4380965eaf.0 for ; Sat, 02 Dec 2023 13:05:43 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1701551142; cv=pass; d=google.com; s=arc-20160816; b=kuvAoKES33PQYtVVBVVt8ZEM9y+WC/HrM0rYNURNCZyH5MwJ7r7F50IxUFLF5c3CLo 0m2WLOdbQvQEn/1hj8u3ckrdKkuPg+t1OnqFm/160cVMJL0Rl+w0meYDcIqI2wkNMx5t JP/7Z/PNbjhk8U5wVHuTiGHKTBlwQEiNPldubkJYqLleCbhDEjRXDW1iq5Xu9jtUPul6 vf3Bi1u5B2E21o+DCVhGfE5lhRLo/x1p7mQQq8gJi/wqqfO2Cg9d8wl+FKb0uHCD1TXZ 2n83Tmgs/M+kiBoetytNC9oSzd/PxAEdBrC9F+0FeQ4wkY2SI+/EP66sZRrCnxRiC4rA BHfg== 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:message-id:in-reply-to:to :references:date:subject:mime-version:content-transfer-encoding:from :sender:dkim-signature:dkim-signature; bh=qf0nZ7sZTp22WhIHf2Fqn++Bw9sUQQlGQIvjRyj3esY=; fh=m01AhCNo7xUywHldCVYouaJypLlN7JgtNYbImzBf4N4=; b=SlNKIFDA0v18xhU3+5DFe0zmWa5Gt8QxTosuiOcmAdPN4YfJ/4uB2ruZejtI7nfq7U BxyRKhSXaRl1xBSQ8lQeJ/ParT5neBwfdqOSiROKm8il8EeQ8wxGoxZ0LS/FR0leB958 miOZsTqbWVurHDr7W/vigINbt9lF0+eYH9C8j6grt/gbFOzNxbTLzH89sYF5HN2qEKWB eSuCqUmFeVTDiRL7DOaZaOXAqS7sA6ksxZsDi0i4MyRggFYQdFZB09Bp4v7fJFk9YRsD ZI90DKC/rsrXzsAI9khcUkhB7Jg6R5CpIJtnF5DVZpK2XJ+ghme8ClvSGAO7GGjH8YFV 05JQ== ARC-Authentication-Results: i=2; gmr-mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=TUDpkcb8; spf=pass (google.com: domain of fiddlosopher-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org designates 2607:f8b0:4864:20::42d as permitted sender) smtp.mailfrom=fiddlosopher-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20230601; t=1701551142; x=1702155942; darn=m.gmane-mx.org; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :list-id:mailing-list:precedence:reply-to :x-original-authentication-results:x-original-sender:message-id :in-reply-to:to:references:date:subject:mime-version :content-transfer-encoding:from:sender:from:to:cc:subject:date :message-id:reply-to; bh=qf0nZ7sZTp22WhIHf2Fqn++Bw9sUQQlGQIvjRyj3esY=; b=bIF8Dt0rshLfSo8+wZ8gc3mUH0Zf8ICuyWYigzDFk13ctkUOP1I57uG3pDOyaPViWT HmStPi8BM0xYkYp8NMKnk385J1E73gMsFieYBiN3WXyDMw+MdJO2Kb4hHutqtGjHs+gH 4aEpsiLRkyD/Z1neemsbYyOQDWH4ikrtUqkeqeFBtTMIQbCKJFxg6Sl3csZPKejzywGg nIzQno7g8Q3+KezokHOsIwIsFXjnDKgu4a34ZZmpHIyFyz/08zyzjrnu+UsG5Y5A825z KNEZg9BwsMjg2tvL DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1701551142; x=1702155942; darn=m.gmane-mx.org; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :list-id:mailing-list:precedence:reply-to :x-original-authentication-results:x-original-sender:message-id :in-reply-to:to:references:date:subject:mime-version :content-transfer-encoding:from:from:to:cc:subject:date:message-id :reply-to; bh=qf0nZ7sZTp22WhIHf2Fqn++Bw9sUQQlGQIvjRyj3esY=; b=RHBehIzAC8OJRwVCbeFGBf9FfuwGpZP9aFbqXKVerlsJjoruCVqmTbTJa21HD4Li7Y K4k+jUCvC6fKh4VKJnjvTwpqpnnteXlGpZqmdSMhZF4M3bT/fWX++l9oK9Mst3i0+oXv qDNKbGxMOCT1B3N3W0AmuBa2tPeLpnBJjpZOGx8mNuaxmKmVfFJadrBGjgVipmczhRMb xIWA9IRXsg4yM9+2fxEDxXETDxRG//tnNRblpPlcS3v09MhgL9X4fgHpfsObmSwhTgwa Q6Qu4Pd8bpX57v311dM1Tbkm9ZWW+V X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1701551142; x=1702155942; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :x-spam-checked-in-group:list-id:mailing-list:precedence:reply-to :x-original-authentication-results:x-original-sender:message-id :in-reply-to:to:references:date:subject:mime-version :content-transfer-encoding:from:x-beenthere:x-gm-message-state :sender:from:to:cc:subject:date:message-id:reply-to; bh=qf0nZ7sZTp22WhIHf2Fqn++Bw9sUQQlGQIvjRyj3esY=; b=WmOTI/a/qcEx8GJuf7u0vRiosbJIpbgmLMlQoPNWSoSMuF6xkY1xG6NFIoZnxKZvW5 FzKPCVotdZcf0LN8p7vjBcl2FlLvTEd5mBYv3mQx0JSqdBCVZg3igTUPqD7bNBpG6nUu EtBxwVYgOi9q+fjOdFIfLPU42VIqkMiDIFDxEqHkg2opu9ZDukI/vLg8ML3iMKieRjT2 sgQ9tFgPgKgX6h8i2kW08MUiSzCSI/237D2HmOYqkcTEkgxU/JDyPqbkEa Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Gm-Message-State: AOJu0YzGAxIWBmn1cE1CD5OFBfzPci2HkSVhdCndloVw/NqlEkFuPGG8 1PK0rJBZKbDZ1GVJmsjKKJc= X-Google-Smtp-Source: AGHT+IE2SQRbSf5OS4uuyZBs9jDO1JE/UotYAp9i6F2mkbN+DyhGlbo8md0RlUSDbYiw3DpznGVDWw== X-Received: by 2002:a05:6870:3326:b0:1fa:f6ad:8580 with SMTP id x38-20020a056870332600b001faf6ad8580mr781787oae.9.1701551142006; Sat, 02 Dec 2023 13:05:42 -0800 (PST) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 2002:a05:6871:53cd:b0:1fb:296d:564f with SMTP id hz13-20020a05687153cd00b001fb296d564fls74236oac.0.-pod-prod-00-us; Sat, 02 Dec 2023 13:05:39 -0800 (PST) X-Received: by 2002:a05:6808:ecc:b0:3b8:b063:2c00 with SMTP id q12-20020a0568080ecc00b003b8b0632c00mr713560oiv.38.1701551139445; Sat, 02 Dec 2023 13:05:39 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1701551139; cv=none; d=google.com; s=arc-20160816; b=sSTI90LPKSwGCBn+pX7H/T9AnwYez4QNLF/ik2SLEaG6CGsts7LHKHL+oWdMHrRHeh TVyS7DGZaIJz9boV85IKot+/ft4f7KgmripmCAskUJQtf6vPd/nMs2cZW0aZwphOszqw oCr60fcytVvHFpDAgT01JaQbtNlRI49WPqvn+ts6ECcHexcosjjz7QJLOwZSPa+JAQxI xfV3ZNwz2OwcqASyX6yna4Lu3cfTZvAxdzY/mMJlfxtt6wN/rmxSX1k2iDyYHvTzVxmW SQlxhksJ+IQ/MSPGGSV2P/qKgFEaMrHQ4Haobv51hpmqCe8hDb4exEpePVYFr0ISRFwk 0Hqw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=message-id:in-reply-to:to:references:date:subject:mime-version :content-transfer-encoding:from:dkim-signature; bh=qq+sGQVigC0Skafjro/MeFATR8bXnEsGCouAAP4S6+0=; fh=m01AhCNo7xUywHldCVYouaJypLlN7JgtNYbImzBf4N4=; b=AylsOqE92Xnue2XSy/jxFCYikxpjm35JCbKtl9cdXQcRTkAOc5R2PhMCSeXU92x8Mi j6b0sQxEoZ+ZggDTeMJdurE5Aa/GTAp28IPmhXRwCLNbfaf0VDoVjUGfTV6a4Rer29Q+ HwIhYDe22iLO1agHQb2Dk3xhesxaFfqnTdapjLTB4/4sPRIqvwjxu0XL4TC/G5lKINjq T01azDVUnwmVRUCtFn/+JQ5/q9UoJxzztfTCfkAHpVqQt0Qm3Wfult7dgpfcOwxc2DHE JYflEYVLOeS2y/qmwdYOd/nRthA1F2HvvZLHGsLfl/zQxK2SJEAa2yOWveKM/GLsHDuW yDYQ== ARC-Authentication-Results: i=1; gmr-mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=TUDpkcb8; spf=pass (google.com: domain of fiddlosopher-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org designates 2607:f8b0:4864:20::42d as permitted sender) smtp.mailfrom=fiddlosopher-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Original-Received: from mail-pf1-x42d.google.com (mail-pf1-x42d.google.com. [2607:f8b0:4864:20::42d]) by gmr-mx.google.com with ESMTPS id gt12-20020a0568082e8c00b003aef18f3442si760692oib.0.2023.12.02.13.05.39 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sat, 02 Dec 2023 13:05:39 -0800 (PST) Received-SPF: pass (google.com: domain of fiddlosopher-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org designates 2607:f8b0:4864:20::42d as permitted sender) client-ip=2607:f8b0:4864:20::42d; Original-Received: by mail-pf1-x42d.google.com with SMTP id d2e1a72fcca58-6cb55001124so3326814b3a.0 for ; Sat, 02 Dec 2023 13:05:39 -0800 (PST) X-Received: by 2002:a05:6a00:198d:b0:6ce:2731:47bb with SMTP id d13-20020a056a00198d00b006ce273147bbmr1602568pfl.27.1701551137924; Sat, 02 Dec 2023 13:05:37 -0800 (PST) Original-Received: from smtpclient.apple ([2601:644:4701:23f0:fdf1:5176:d369:3a1e]) by smtp.gmail.com with ESMTPSA id q7-20020a056a0002a700b00688435a9915sm725345pfs.189.2023.12.02.13.05.36 for (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Sat, 02 Dec 2023 13:05:37 -0800 (PST) In-Reply-To: <88f8c8dc-b9b6-4e6e-91ce-75e08412e466n-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org> X-Mailer: Apple Mail (2.3696.120.41.1.4) X-Original-Sender: fiddlosopher-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org X-Original-Authentication-Results: gmr-mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=TUDpkcb8; spf=pass (google.com: domain of fiddlosopher-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org designates 2607:f8b0:4864:20::42d as permitted sender) smtp.mailfrom=fiddlosopher-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com 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:33429 Archived-At: Why is it necessary to do this? Docx can handle svgs, can't it? > On Dec 2, 2023, at 6:16 AM, Adam Ryczkowski wrote: >=20 > Hi! >=20 > I write a script that replaces "svg" images with "emf" in the odt in orde= r to allow lossless convertion to "docx" format using LibreOffice.=20 >=20 > The problem is that mere replacing the files and fixing the `content.xml`= does not suffice. The image file name is some form of hash of its contents= . If the contents does not match, Libreoffice reports the document to be "b= roken" (but allows to repair). Alas, this repair cannot be automated.=20 >=20 > I tried to get that from the Pandoc source code, but Haskell's syntax see= m too alien to me.=20 >=20 > What is the naming convention for the files in the Pictures/ folder? >=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-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > To view this discussion on the web visit https://groups.google.com/d/msgi= d/pandoc-discuss/88f8c8dc-b9b6-4e6e-91ce-75e08412e466n%40googlegroups.com. --=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/CD7D354B-58AD-485A-8B5A-2DD06510C517%40gmail.com.