From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/20140 Path: news.gmane.org!.POSTED!not-for-mail From: Paul Newsgroups: gmane.text.pandoc Subject: Re: How do I use media bags? Date: Tue, 1 May 2018 05:16:02 -0700 (PDT) Message-ID: References: <9bd0cbe0-31dd-45bd-be19-6d4fcc49bbec@googlegroups.com> Reply-To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_Part_25364_456858884.1525176962931" X-Trace: blaine.gmane.org 1525176838 22923 195.159.176.226 (1 May 2018 12:13:58 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Tue, 1 May 2018 12:13:58 +0000 (UTC) To: pandoc-discuss Original-X-From: pandoc-discuss+bncBCF4ZCX7XUMRBBFVUHLQKGQEISUB5TI-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Tue May 01 14:13:54 2018 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane.org Original-Received: from mail-ot0-f190.google.com ([74.125.82.190]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fDUAL-0005rQ-VS for gtp-pandoc-discuss@m.gmane.org; Tue, 01 May 2018 14:13:54 +0200 Original-Received: by mail-ot0-f190.google.com with SMTP id 106-v6sf8861786otg.22 for ; Tue, 01 May 2018 05:16:05 -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=E1oiMyXJGgVk4JjGXQ90AevCVNn4mfk/JWUFNG4ge6s=; b=UixDWtaqqZO6VJ2b8ShgidNpy1Yfa/XKbatoLBin8jgjQ98Yhp1h+95DOzwU55DKWU Z600zmljsfAV6xrZ22S3x26D15fyjn1jXeZhOXSZlia0ebM3hE9qCBGEDkZWzUzuznFt vcUyd7r9eg4ZUn+jmep8Qws8vZg8I/W3vh/XJk8MFD5do2+ZpVTtVIUZC/z0JIlHA86E KPPkdfYfNmRnILXgc5KUUD+dTiDCqsUrY/tAirDhoYwVxioQ5+X8l+mkxqC+MRi4SD+M 1qxVbYuxuY1QkL6i3Ap+TOBeOsckcWJSa0KoafADZ9Qp4nXAO6x8NmIiMN6Gy/WgRMW/ A0Qw== 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=E1oiMyXJGgVk4JjGXQ90AevCVNn4mfk/JWUFNG4ge6s=; b=Ppp+AOuVP3/jJ8sPYEl6uXGb4RQXod5qlcHVJRfzVhez+Bymv9qGBCy11Uh1BbC/Tb Xk6QHF7vHE32BvaLOTdpJ8FZd1urWc6YrEkL57FRsAA2Rdmzlb5EVTGtx7sRt9PaVrjN YYNDdojZO96Bgl3ut8p9DnCF0v/l7RMqMT87fVhbMuNY2BZ3c4Gmp16PH8DVOiAagDRI iHrjyxgvKv3y9hvGTAGM0F8la4u/tCvQwxXDmn0DRmWzMc39IZKgCr1f92wE2K6JLY9x Sw2B9NtAb3bLcW8pHB7WUyZMvKsmMaMSbj+MX/2UAyvVoL6MDzheQFeVF0q6nrETVUgB +VRQ== 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=E1oiMyXJGgVk4JjGXQ90AevCVNn4mfk/JWUFNG4ge6s=; b=t/B7728/iaEd/LydMFr/qBrxJakhtxTwDxCfBrTqWMraZG7HamcI2gqWnCJ+SsALw+ rPUC+g3Ua84kx85SLSBxmj4PDC68XHP0oXca+V1z1bAybls/jslNye7Kh3yRPM0on5O0 AlpctEr0Esd+lYdMWtMjYCQ4N0hPkzOftJROiAmSwCMKarWmUNUWiCbYDQ+5R3VWv9rg LqJpIszaivdrJN1g2NkGeV0ZTsv7HDtB+WyUqlWmY9pa4vmUFoCLe8Y2BZGEO3cTx9c/ 2b/mg0NBWOic9YlXquT7xiOMhttqj9C80lgmoeTZamOVm5UXzKQDMdvUqk4xeutDhB1H 4lzw== Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Gm-Message-State: ALQs6tCZufhYE7DQ4OEMCGnXIfb7sP8VvVGpLG7PtjD8I8lPCLnZEus6 gYQDaD7zSubM2eN9TMG4h8Q= X-Google-Smtp-Source: AB8JxZoukucwTH/Jg+ZHr5tPcMfEy3u8Y9P8GVhomSwjjc8yHjNSGKiEP4AcoZEfy0fZfOT8OLfUbQ== X-Received: by 2002:a9d:73c9:: with SMTP id m9-v6mr1234974otk.9.1525176964813; Tue, 01 May 2018 05:16:04 -0700 (PDT) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 2002:a9d:25c7:: with SMTP id q65-v6ls6330079ota.2.gmail; Tue, 01 May 2018 05:16:04 -0700 (PDT) X-Received: by 2002:a9d:620d:: with SMTP id g13-v6mr1229181otj.3.1525176963496; Tue, 01 May 2018 05:16:03 -0700 (PDT) In-Reply-To: X-Original-Sender: freack1208-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-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:20140 Archived-At: ------=_Part_25364_456858884.1525176962931 Content-Type: multipart/alternative; boundary="----=_Part_25365_1377829071.1525176962931" ------=_Part_25365_1377829071.1525176962931 Content-Type: text/plain; charset="UTF-8" No, I'm using pandoc-types 17.3.1 and pandoc 2.0.6. I'm not sure if I can change that though, unless it's possible to enforce newer versions in Nix. Am Dienstag, 1. Mai 2018 03:52:59 UTC+2 schrieb John MacFarlane: > > Paul > writes: > > > Hello! > > > > Just tried to use the Haskell API side of Pandoc but I rand into lots of > > "could not fetch resource" warnings". Is there anything that would help > me > > extract the media from the downloaded .docx files and embed them in my > > epubs? > > The (I believe) relevant parts of my code are here: > > https://gist.github.com/MagnificentPako/22df4be40251a07a4f5d0dc4fafc5d46 > > > > (For some reason I had to re-implement Semigroup for both Pandoc and > Meta > > because my GHC would complain that they are missing it otherwise.) > > Are you using the most recent version of pandoc-types? > -- 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/b1d8abc3-8255-40ff-a1ba-075dceace535%40googlegroups.com. For more options, visit https://groups.google.com/d/optout. ------=_Part_25365_1377829071.1525176962931 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
No, I'm using pandoc-types 17.3.1 and pandoc 2.0.6. I&= #39;m not sure if I can change that though, unless it's possible to enf= orce newer versions in Nix.

Am Dienstag, 1. Mai 2018 03:52:59 UTC+2 = schrieb John MacFarlane:
Paul &= lt;fr= eac...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> writes:

> Hello!
>
> Just tried to use the Haskell API side of Pandoc but I rand into l= ots of=20
> "could not fetch resource" warnings". Is there anyt= hing that would help me=20
> extract the media from the downloaded .docx files and embed them i= n my=20
> epubs?
> The (I believe) relevant parts of my code are here:=20
> https= ://gist.github.com/MagnificentPako/22df4be40251a07a4f5d0dc4fafc5d= 46
>
> (For some reason I had to re-implement Semigroup for both Pandoc a= nd Meta=20
> because my GHC would complain that they are missing it otherwise.)

Are you using the most recent version of pandoc-types?

--
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/b1d8abc3-8255-40ff-a1ba-075dceace535%40googlegroups.co= m.
For more options, visit http= s://groups.google.com/d/optout.
------=_Part_25365_1377829071.1525176962931-- ------=_Part_25364_456858884.1525176962931--