From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/32962 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: "'William Lupton' via pandoc-discuss" Newsgroups: gmane.text.pandoc Subject: Re: Handling binary format of an old word processor Date: Sun, 16 Jul 2023 10:17:47 +0100 Message-ID: References: <6019A3AE-5A17-4857-A428-5B2C5F7AB879@gmail.com> Reply-To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="000000000000725a740600972833" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="32316"; mail-complaints-to="usenet@ciao.gmane.io" To: pandoc-discuss Original-X-From: pandoc-discuss+bncBCS4HJ6WSAHBBSPLZ2SQMGQEG7DV67Q-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Sun Jul 16 11:18:05 2023 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane-mx.org Original-Received: from mail-wr1-f57.google.com ([209.85.221.57]) by ciao.gmane.io with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1qKxtF-0008CL-GF for gtp-pandoc-discuss@m.gmane-mx.org; Sun, 16 Jul 2023 11:18:05 +0200 Original-Received: by mail-wr1-f57.google.com with SMTP id ffacd0b85a97d-315926005c9sf1911608f8f.0 for ; Sun, 16 Jul 2023 02:18:05 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1689499085; cv=pass; d=google.com; s=arc-20160816; b=yh+S7/rS7lzzXHMSGaenMHc8E71uOoFjiUVM0kpY77XrJvDs5DX7Xw1GRoBIuqT+HJ v5q0XY6hfYU2T6aJVFgYEkjHeSHfUA8b6UHtkhWER/r2f6paK8rtDbTxRFh9C2UCRwka lOS12LL04Eph+t8Yh2wcm9mIwdsEmGLN64j7XNIcbkYXZseDBoJ9PgvyiaSUt+d8P7E7 r7z0WhMJ3GQymYu6+CeOXBMlbICx5A6Kwd/vrJQ5Ovmk0LJskGQJOqIQkVQ8nI1ObLjq gH+X0hFXFQOoxaxkRjwuAJqhXYyBgISYsIN0YuNn7m6ekdqRW8Zbgb4zv5hpAXiPEDbE yaFQ== 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:to:subject:message-id:date :from:in-reply-to:references:mime-version:dkim-signature; bh=8bMOacysj7dLU20m7PzUrsjI14okDwwcRx7cetZRPPo=; fh=emcR+utGLP2SmCxNDUAuodpNNvid3cufIiJqH2SvSmE=; b=0QLG192sdgVuWmvgs7BdzaQJuOEFhzccSOeZhuKqDGu3puk/Q/QhJLMp5hP2mESGJk FmpPIGWsv6Z/4PlkeSLrqlxMQ3j44nV1kGUa2yqL4kNgkYCS/oJwGN7jqcxuyjjuSHSI 1/4sa5gNZjJKHVrLi/gof2yROG7qq/SirPtU5rQ4J6uIXVI/u54mZ4bzpUD8JTBtwMOI +9NsVD5mwZd9B8Rs9ZcJvsIdGk6Jk2/tqKEoKVb3mr/LnfcSxzZqobxGdlk3sByxp00t qSnuOV3fLZReiAgupnleiJQlXjy12XrJBYX2+TET6KNCJL/zsnBEr7H8lYdRxA7mFl8f NSZg== ARC-Authentication-Results: i=2; gmr-mx.google.com; dkim=pass header.i=@broadband-forum.org header.s=google header.b=Z0TA4NJW; spf=pass (google.com: domain of wlupton-QSt+ys/nuMyEUIsrzH9SikB+6BGkLq7r@public.gmane.org designates 2a00:1450:4864:20::536 as permitted sender) smtp.mailfrom=wlupton-QSt+ys/nuMyEUIsrzH9SikB+6BGkLq7r@public.gmane.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=broadband-forum.org DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20221208; t=1689499085; x=1692091085; 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:to:subject :message-id:date:from:in-reply-to:references:mime-version:from:to:cc :subject:date:message-id:reply-to; bh=8bMOacysj7dLU20m7PzUrsjI14okDwwcRx7cetZRPPo=; b=jXRXawrA/NvTOp9LBXxhiXZuFl51vXBFKPydH3/VSj4cqeX+7mZD/L6lb9muHU4ocy 52xp+RovG5MgTkw8agfP0YfgCYsKNx6yAFY/715Y1f2IE8sjywH+aV58Mz/rBi97CmzS r8mrRUpENITVWnsNgDhbsQ2K0LFQ1caRLfziubLzpe8nSjJh+BAabm1R4w5honmxvr0I Tw+tIHOk+wDB/WscNpEV5iiRYfpYnpjM9plejNMDtBODbufdQJpZ1VxuHcaOESwT7afk RqrBfLTFWWWAsdfE2ROnEsSUGiwanATjZgCLgW3/5Wv3PH2PRQOoXpWNhVzbxvLUMKvJ ye X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1689499085; x=1692091085; 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:to:subject :message-id:date:from:in-reply-to:references:mime-version :x-beenthere:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=8bMOacysj7dLU20m7PzUrsjI14okDwwcRx7cetZRPPo=; b=LJLnAUcZj9He4k+5yBaOF83RUhvtejHbYtQ1VKNm4OrGnxgHgSY8VbIu5zZCK/NVcx +vLyfKNnsOfzD79OL3XBHyi8ANF66QzDexYwdBiV+HJkvUcbWY2lJdfq1kRtqlIxbT1J +v3UlKQrBPPPmceuayFthT1WNYrgecRme++Rifetgm2KZZ4ea88B8OQDvshZWC6TLcwQ 24e5bzX/K+lmqgB3t3x8eMKpGOjd1kEDr8cf2kFbxaPr+9mkhaCA6KsanW6OSAgjaQ+U 38gt7KBr9ia5g X-Gm-Message-State: ABy/qLa5qpXKcK8gKrb8VBjdUwd0LtqY0ZMK4BORkb/uriJUGrUovfaZ vBgN8HMeCnLlkzvSNPYDZ9s= X-Google-Smtp-Source: APBJJlE9ue9C8zKEOZskAjDgxE/7/9COzGXz4H2XabU5pndRu3vCI794l8dy+Wx4uVb2wxBHGGb1wQ== X-Received: by 2002:adf:d84e:0:b0:313:f6bb:ec2b with SMTP id k14-20020adfd84e000000b00313f6bbec2bmr7050499wrl.47.1689499084748; Sun, 16 Jul 2023 02:18:04 -0700 (PDT) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 2002:a05:600c:3b09:b0:3fb:422d:501b with SMTP id m9-20020a05600c3b0900b003fb422d501bls953970wms.1.-pod-prod-08-eu; Sun, 16 Jul 2023 02:17:59 -0700 (PDT) X-Received: by 2002:a7b:cd8f:0:b0:3fb:dff2:9f14 with SMTP id y15-20020a7bcd8f000000b003fbdff29f14mr7637219wmj.4.1689499079707; Sun, 16 Jul 2023 02:17:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1689499079; cv=none; d=google.com; s=arc-20160816; b=BxrnjmsEhp7a58v7/eYTrG7xgj70YS4arOrjXlaUTj4CF0zpqYkvYbyAytVXUgnRPc LqP+cwAWoUnzZdeaLG+4TUuVON9TqUdgR6hll48T+rECXe5weFUUg2OLaUnWQMEEzCMB 0qd4xQabKLwbJ18TJBKrORgkjeA2a4gyInvmMwJaLrThgqBu0nM5FT4X4pyh+d8AqAmP DsfvbetxBR8wVJBfTw7llvWsLb7oasiz4dmTcQL1fRt038lbIkLVUoL1AhUscrfOQXuA OZlb5pZbM0EtmP3nbxWPy9LRxfdY4ucQmaCJT8c4aGzbfSTKKzgvpZw7VlvBX77blpNR /UmA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=to:subject:message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=nnGxjKGiJBx2v/A3XVVjAMxgvRaId1zBlOV/TX04+oA=; fh=ivnXo9bAAU2KTllGhxvfTVg/49Brd+hBVbQOiKwa8jI=; b=C7M9rLKHTW+pqnyfN3zMvYAuj6P8ewCQUIG8/b4PVfK36r5DKtPPL4IC7YUTTElbG4 5njTdUYpOvj/WpiVoa5di7bHWmP9mDqZZ91k7NahEeK3p1SXYOcDE4bRacpJiWQIAiZV p2fYDd1hQi2LWbtqiEhNe4BFy0BL5X5FazZAGjRwDoRkVKTWahGyG1Z6gmeGwQJlR8Pu fZW+WmYKlSiJ2eETEbVMDRF8WdG1nyl0E2TtFyWQKzhfaY3qh9pOiC3K9kQuw6liIXXS ggBKPsyrC9aXxzxRn91XaptkfBAZr9dAjqgBhb8GM2gHqEc2Hbbz9aAWrJne4vQZOV0v HVYg== ARC-Authentication-Results: i=1; gmr-mx.google.com; dkim=pass header.i=@broadband-forum.org header.s=google header.b=Z0TA4NJW; spf=pass (google.com: domain of wlupton-QSt+ys/nuMyEUIsrzH9SikB+6BGkLq7r@public.gmane.org designates 2a00:1450:4864:20::536 as permitted sender) smtp.mailfrom=wlupton-QSt+ys/nuMyEUIsrzH9SikB+6BGkLq7r@public.gmane.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=broadband-forum.org Original-Received: from mail-ed1-x536.google.com (mail-ed1-x536.google.com. [2a00:1450:4864:20::536]) by gmr-mx.google.com with ESMTPS id z17-20020a05600c0a1100b003f9d3636ac6si430804wmp.0.2023.07.16.02.17.59 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sun, 16 Jul 2023 02:17:59 -0700 (PDT) Received-SPF: pass (google.com: domain of wlupton-QSt+ys/nuMyEUIsrzH9SikB+6BGkLq7r@public.gmane.org designates 2a00:1450:4864:20::536 as permitted sender) client-ip=2a00:1450:4864:20::536; Original-Received: by mail-ed1-x536.google.com with SMTP id 4fb4d7f45d1cf-51e5d9e20ecso4746740a12.1 for ; Sun, 16 Jul 2023 02:17:59 -0700 (PDT) X-Received: by 2002:aa7:d38e:0:b0:51d:9dd1:29d0 with SMTP id x14-20020aa7d38e000000b0051d9dd129d0mr9188748edq.23.1689499078894; Sun, 16 Jul 2023 02:17:58 -0700 (PDT) In-Reply-To: X-Original-Sender: wlupton-QSt+ys/nuMyEUIsrzH9SikB+6BGkLq7r@public.gmane.org X-Original-Authentication-Results: gmr-mx.google.com; dkim=pass header.i=@broadband-forum.org header.s=google header.b=Z0TA4NJW; spf=pass (google.com: domain of wlupton-QSt+ys/nuMyEUIsrzH9SikB+6BGkLq7r@public.gmane.org designates 2a00:1450:4864:20::536 as permitted sender) smtp.mailfrom=wlupton-QSt+ys/nuMyEUIsrzH9SikB+6BGkLq7r@public.gmane.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=broadband-forum.org X-Original-From: William Lupton 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:32962 Archived-At: --000000000000725a740600972833 Content-Type: text/plain; charset="UTF-8" I can't speak from experience here, but it seems that you can probably use lpeg (illustrated in the example in the docs) to process binary data. This is suggested by https://github.com/spc476/LPeg-Parsers. It would be fun to try! On Sat, 15 Jul 2023, 09:38 Trevor Jenkins, wrote: > > > On 13 Jul 2023, at 19:28, 'William Lupton' via pandoc-discuss < > pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org> wrote: > > I think you need to use a custom reader. Here's a link to the appropriate > bit of the appropriate page. > https://pandoc.org/custom-readers.html#bytestring-readers > > > Thanks. I had stumbled across that and caused me to post my original email. > > I wish there were a worked example of how to use that to process arbitrary > binary data. > > Regards, Trevor. > > <>< Re: deemed! > > -- > 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/msgid/pandoc-discuss/D9A14D6A-896B-4B36-BFF3-002AEFC083EB%40gmail.com > > . > -- 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/msgid/pandoc-discuss/CAEe_xxi3WnRVJ0ry0bButBhWsdYov6XwgUJJ5TSmp-%3DFpGXpwA%40mail.gmail.com. --000000000000725a740600972833 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
I can't speak from experience here, but it seems that= you can probably use lpeg (illustrated in the example in the docs) to proc= ess binary data. This is suggested by https://github.com/spc476/LPeg-Parsers. It would be fun t= o try!

On Sat, 15 Jul 2023, 09:38 Trevor Jenkins, <bslwannabe-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:


On 13 Jul 2023, at 19:= 28, 'William Lupton' via pandoc-discuss <pandoc-dis= cuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org> wrote:

I thin= k you need to use a custom reader. Here's a link to the appropriate bit= of the appropriate page. https://pandoc.or= g/custom-readers.html#bytestring-readers
<= br>
Thanks. I had stumbled across that and caused me to post my origin= al email.

I wish there were a worked example of ho= w to use that to process arbitrary binary data.

Regards, Trevor.

<>< Re: deemed!

--
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 pandoc-discuss+unsubscribe-/JYPxA39Uh4Ykp1iOSErHA@public.gmane.org= m.
To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/D9A14D6A-896B-4B36-B= FF3-002AEFC083EB%40gmail.com.

--
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://group= s.google.com/d/msgid/pandoc-discuss/CAEe_xxi3WnRVJ0ry0bButBhWsdYov6XwgUJJ5T= Smp-%3DFpGXpwA%40mail.gmail.com.
--000000000000725a740600972833--