From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/32945 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Trevor Jenkins Newsgroups: gmane.text.pandoc Subject: Handling binary format of an old word processor Date: Thu, 13 Jul 2023 14:10:54 +0100 Message-ID: <6019A3AE-5A17-4857-A428-5B2C5F7AB879@gmail.com> Reply-To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3696.120.41.1.1\)) 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="2088"; mail-complaints-to="usenet@ciao.gmane.io" To: pandoc-discuss Original-X-From: pandoc-discuss+bncBC2JJUM6RYOBBYPPX6SQMGQE4F333RQ-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Thu Jul 13 15:11:03 2023 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane-mx.org Original-Received: from mail-lj1-f183.google.com ([209.85.208.183]) by ciao.gmane.io with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1qJw62-0000OZ-2V for gtp-pandoc-discuss@m.gmane-mx.org; Thu, 13 Jul 2023 15:11:02 +0200 Original-Received: by mail-lj1-f183.google.com with SMTP id 38308e7fff4ca-2b701e0bb10sf6745901fa.3 for ; Thu, 13 Jul 2023 06:11:02 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1689253861; cv=pass; d=google.com; s=arc-20160816; b=HH5Po0v7Y1cACg0wg07OQ0Sd64giiSMwaM15hN0Y9U6pZ2PrFAUSEdLYElYAv3eciS BVlzGhMJMcoBbU3u38WF2hK/wqmDFrkgfPhagNIEVsjwC5uQHLqV3KS7sPcoOoHYL2s7 xoXFKJDDgsg1x39luzIDml26OOmFewsqZso98L62fsn8kQzlOzOZlVpy5LoTgEO/OF3m GjhK06EFKQywBTsj/blXQbpFQpBwljyvl6mBD/8afe+aCWwpLBrwBr+5X5gfVn3mWF4U HzkpbyhIiDGQHx7fg51stRYiAgklbQMOfH8lj4zQiy+T6cTZH+oUr7AC88Mf2kcVqnAg s1sA== 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:date:message-id:subject :mime-version:content-transfer-encoding:from:sender:dkim-signature :dkim-signature; bh=zz+bLE8qxCKyupmiP/qGLUGwK1kJqyJQ8NGj5KPTS1A=; fh=lzqP4IhMGNzi4nuCdnqgL4NMq/Ababu9CV414hHfWTU=; b=keNBLjV8fDI9VNnqY4VZ8if4dmzTHZrNm1z+OPZ0wHV98+EgJjv7Gw5DUprDX+BQ3D k4QHCs8oEVC6GY1lnhDeelq+cIt24SzFuBtbZT8aVC/EoR+c9XXr6wT7IQgjInZS0u6d Uv9fT7pGhA55pZmSP7Xv1L2voGIYiqNtsf4gy2fQ4WTJ322KeX4lt7yLdW6H4fexQccC eN86B2UCVjy9XzPhV983+IfR4yMsnW8opbE3M3XLDfgeewK0gM+us4Vj3RH+nZBe4L0J ctSFsMtwKf3Ww+MRkCFpQnnm4N0/xlUqQpGwYJccL/IoVavP54gro/24LAKq0ndh91zj Qbrw== ARC-Authentication-Results: i=2; gmr-mx.google.com; dkim=pass header.i=@gmail.com header.s=20221208 header.b=p4BYnT1f; spf=pass (google.com: domain of bslwannabe-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org designates 2a00:1450:4864:20::335 as permitted sender) smtp.mailfrom=bslwannabe-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=20221208; t=1689253861; x=1691845861; 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:date :message-id:subject:mime-version:content-transfer-encoding:from :sender:from:to:cc:subject:date:message-id:reply-to; bh=zz+bLE8qxCKyupmiP/qGLUGwK1kJqyJQ8NGj5KPTS1A=; b=PeoOvo4PyQ3Yw0+SKLU4wu37XIzLXpQxny5HU4rDj1sOzrIKQbRmQQLNGhGKzVBNaj keWJW3GZTm1d+2ETKRXioJs79mxIQVaae2GdFEIsv0K+adW4ajYNnclnMFk9Y759eqjn Fi+NBpPYkAhOSjFGno+oD9DckAUnGquJFOoofuE1RcIgzdneou2F5SNlO13FsMub85KF /AEEzrwrylv2jmvgFm5ed0TiELMhY7yv9OPOMlrIVy3r3PkxJSU8CtPc4dcyongi6b5T IwCU5F2QWqLtugNWQeR7zAJr9fTD8TmTFS/48edD8k/THZph4dvnEH/sP34wSdtywNwc DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1689253861; x=1691845861; 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:date :message-id:subject:mime-version:content-transfer-encoding:from:from :to:cc:subject:date:message-id:reply-to; bh=zz+bLE8qxCKyupmiP/qGLUGwK1kJqyJQ8NGj5KPTS1A=; b=sTcASBFBHAmZYZH14WLl3MmLxPL07UWPFLxSfJVXSpd+oE4IbphAbKx4cPVm16wG3A thaQAJHBXh65WHu+XGLJzjXsPF7jobw6s4lJUKV5I/VrGAnKQLqoRW4BZWIZkAhwwUmm aIxuJfonhmQL+Qn9yC9Tmk4Anta44pREgolTvIGa2jusD+PP+IvgYW4nm45eDvaZ0XZ5 jiRhi3g4qSaPuGbQt9iKmSv3lgndMWFUi0L88DOQLMXaSYaq18eMBl45KEKK22gn9qd2 C5oUN5zT429IYfk3JHt/CSlHLQegkN9Sa/2VgqtK4LB55C7tCrVnTkupcMIrvDpw23kG 0eiA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1689253861; x=1691845861; 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:date :message-id:subject:mime-version:content-transfer-encoding:from :x-beenthere:x-gm-message-state:sender:from:to:cc:subject:date :message-id:reply-to; bh=zz+bLE8qxCKyupmiP/qGLUGwK1kJqyJQ8NGj5KPTS1A=; b=HBqF0djiWExFsVrfkcAaixPDEae5H5x0s7KxxQ1U/WxJvCZPGLK5QKJj6JiBodwdaQ hqFpO9dvoj7qqGS6j64k8suWEP2HplcqVb7DLBzrpZ+4ut3z0wFmp9bCVHz164Vrq8n7 hLlX7ORAZCXFeT7yoha1ZhjhClM0WO3JpTDH9pVBKY0urrBqiRHlvel16MXibuUWdvZw 8PjwNOyBydy00qZXEx6aNYDN3OVYKWMLEBMzmrQ3imt00qg1wWzqPXHey5XlhR3Ttk++ dmt Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Gm-Message-State: ABy/qLaAKxxJpE6pJYzlbJ9Fa5KfPN3tBPVwJbo66xcdcuWi53JZ51T1 ICRFPvYy7pqvf5jMCW4hAko= X-Google-Smtp-Source: APBJJlFEwD0VW5EpNu/vrY0t3oplKQwNKOKpLWz1chLLE/BwkMYo1EJCBLf1CW0Kt2YI9Dd12/NhDA== X-Received: by 2002:a05:6512:3995:b0:4fc:3755:37d9 with SMTP id j21-20020a056512399500b004fc375537d9mr1414257lfu.68.1689253861112; Thu, 13 Jul 2023 06:11:01 -0700 (PDT) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 2002:a19:4f41:0:b0:4f3:b4d4:13d6 with SMTP id a1-20020a194f41000000b004f3b4d413d6ls175073lfk.1.-pod-prod-01-eu; Thu, 13 Jul 2023 06:10:55 -0700 (PDT) X-Received: by 2002:ac2:548c:0:b0:4fb:74d6:6154 with SMTP id t12-20020ac2548c000000b004fb74d66154mr1101737lfk.37.1689253855664; Thu, 13 Jul 2023 06:10:55 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1689253855; cv=none; d=google.com; s=arc-20160816; b=06sxu26frr7bAP0WFeimSqlkPkuqdPtUsUMJlB0g628BnjPVlmZs+iH1bSQwvluKuP olZIefxBFnS2z4lKqqSBZLH6w9rDjgU3NVN1APaFO0Y2E30RlXr5B3iU0vyxcA39ZJBR NvEpBAaDWeocGSzKOxS+0UehafwHuMMcfTJyV9VDD+ZSxGScOxwmMcNvDruyAspK5zXm I2DhgbnUapB1TQhldF/z2VgyfRD3cXbfB1fe25Uod4BzR8Y3a77CnZeR3jgEkLy44vyx ZyTc9qHcYB1uHCJRwm8QBjNUm3z10TTWvZkJfrSRHHyDDI+4WlQJgve2U8+ULhDGxbrk F8SA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=to:date:message-id:subject:mime-version:content-transfer-encoding :from:dkim-signature; bh=Lv6bhvuQ03V5OPvJtX30/13drBsQEUREBQnTPFGwIlc=; fh=lzqP4IhMGNzi4nuCdnqgL4NMq/Ababu9CV414hHfWTU=; b=DMO1d2ekgK8ZYVwA/eqhZ/S6nVrcnKtJ7DChaniDRioCNmRG3Cc+KQ+kbOhp2tovBV +TawzwofRH/19v/KA8mlWZFdyPq8zJPftBTX7UNWey1nOuh8s1ntqqSSSJMLCiKdNvwt tTzqbNPUezBrbNk5U+zgcy0zbv4X2thARGiigV9P1XaV4AybRsBOMTgudfbm0/I/XdR8 gtEz1wbf/V6m90GC09yK0qEho4lJeZ4JDDbOMYTI6Vu0X9HzSdhoDBVHdJER/6EhLVg3 2f3PY6UXjUra2GLmchKmkx37OM+Jt756Iy1ZAGq/shrDNiWKMwqPb6lZVWUpdLv6BQ0g hd4A== ARC-Authentication-Results: i=1; gmr-mx.google.com; dkim=pass header.i=@gmail.com header.s=20221208 header.b=p4BYnT1f; spf=pass (google.com: domain of bslwannabe-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org designates 2a00:1450:4864:20::335 as permitted sender) smtp.mailfrom=bslwannabe-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Original-Received: from mail-wm1-x335.google.com (mail-wm1-x335.google.com. [2a00:1450:4864:20::335]) by gmr-mx.google.com with ESMTPS id f19-20020a0565123b1300b004f8621b17fasi557704lfv.3.2023.07.13.06.10.55 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 13 Jul 2023 06:10:55 -0700 (PDT) Received-SPF: pass (google.com: domain of bslwannabe-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org designates 2a00:1450:4864:20::335 as permitted sender) client-ip=2a00:1450:4864:20::335; Original-Received: by mail-wm1-x335.google.com with SMTP id 5b1f17b1804b1-3fc02a92dcfso6267735e9.0 for ; Thu, 13 Jul 2023 06:10:55 -0700 (PDT) X-Received: by 2002:a5d:5944:0:b0:313:fce9:c568 with SMTP id e4-20020a5d5944000000b00313fce9c568mr1358681wri.31.1689253854849; Thu, 13 Jul 2023 06:10:54 -0700 (PDT) Original-Received: from smtpclient.apple (host-212-159-187-5.static.as13285.net. [212.159.187.5]) by smtp.gmail.com with ESMTPSA id r12-20020a0560001b8c00b003141b9ddab3sm7895930wru.114.2023.07.13.06.10.54 for (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Thu, 13 Jul 2023 06:10:54 -0700 (PDT) X-Mailer: Apple Mail (2.3696.120.41.1.1) X-Original-Sender: BSLwannabe-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org X-Original-Authentication-Results: gmr-mx.google.com; dkim=pass header.i=@gmail.com header.s=20221208 header.b=p4BYnT1f; spf=pass (google.com: domain of bslwannabe-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org designates 2a00:1450:4864:20::335 as permitted sender) smtp.mailfrom=bslwannabe-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:32945 Archived-At: I have a group of files created long ago with a word processor for the BBC = Micro. The word processor(WordWide/WordWisePlus), which originated in the l= ate 1980s, saved documents in a sort of binary format in that some 7-bit pr= intable characters have the eighth bit set to indicate that the character w= as preceded on screen by a carriage return. Other old ASCII control codes s= uch as SI and SO were used for italics (I think). There are also encapsulat= ed Epson dot-matrix setup sequences at the start of the files. Had a few re= ad throughs of the Pandoc/Lua filter documentation but simply cannot get my= head around how these documents could be processed using a Lua filter for = pandoc to convert what is essentially a stream of 8-bit bytes into a form t= hat can be used to convert to a modern format. Would appreciate some pointers to how to handle this task using pandoc and = Lua? Otherwise I will have write some one-off throw away C code that does n= ot help me in using Lua for future tasks. Regards, Trevor. <>< Re: deemed! --=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/6019A3AE-5A17-4857-A428-5B2C5F7AB879%40gmail.com.