From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id cGiWBDcv1GHdPQEAgWs5BA (envelope-from ) for ; Tue, 04 Jan 2022 12:27:51 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id SCgbATcv1GE8gwAAauVa8A (envelope-from ) for ; Tue, 04 Jan 2022 12:27:51 +0100 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id AF62C33F95 for ; Tue, 4 Jan 2022 12:27:50 +0100 (CET) Received: from localhost ([::1]:45106 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1n4hyn-00066m-Gb for larch@yhetil.org; Tue, 04 Jan 2022 06:27:49 -0500 Received: from eggs.gnu.org ([209.51.188.92]:35038) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n4hyD-000669-5r for emacs-orgmode@gnu.org; Tue, 04 Jan 2022 06:27:13 -0500 Received: from [2607:f8b0:4864:20::530] (port=44758 helo=mail-pg1-x530.google.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1n4hyB-0001t9-IG for emacs-orgmode@gnu.org; Tue, 04 Jan 2022 06:27:12 -0500 Received: by mail-pg1-x530.google.com with SMTP id y9so3954152pgr.11 for ; Tue, 04 Jan 2022 03:27:10 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:date:references:user-agent:in-reply-to :message-id:mime-version; bh=PrtI1fL6ZH5+BmPGC/VQc5NLGi8vvI4urMnyd6q5y/c=; b=g1LuueLBw70SfNawFTThn1L9TnCa1W8rQEq2cwWFPtH5laNA46eIgebAaYGhcTlXzM naYjB7Iqmp8kh0VFYnxVL5BBZB6XQkgQgMgL0lGMSeQsdRur1YXC/HYa1CkNUKKATR// TqxXq5E3KAN9MEzQlDGzJjZoa391hZ1YsbJXGPbnm+pBg64AVaeWYxDaMWG+PzacUQM9 3w+i48CnXfvnS/r9tcmoQXMAoE6FG5RTuNXsw0iuPHIt5I3JIOCbvpQAzC9QXBKrLq73 wNpUvIfI5PHKJoEnXOmZIaJ70eOHlexmPBM+0uUh8mQXjQ9uni2m6APjoNCnXzThH/Sl V8dw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:references:user-agent :in-reply-to:message-id:mime-version; bh=PrtI1fL6ZH5+BmPGC/VQc5NLGi8vvI4urMnyd6q5y/c=; b=TNJMqq343X3psJxFPGzwmkUtEeq6zizP4NxvVjtigcFcnh9dACuyS43qOFA2vwyV74 wTPftAYr9t9MlBWKJskjn46oyNrqS5/k8cGfsu1p37nd9ie89I5GQbHKbpD2v8EjgLOG xfEPk9Ck9qcNT+OYeFmfEft671ULLVUr6KKNgGO7YeuYel3owHaOkxSuJPBFD7UeJbDY /8u8ewKvt4Jx1vwsh5CCfq2f46FtN8oIdgNQ8QuO7tR/os/R+VJmrvs2bDqWvM+JRXEj u48jfJqPxSzPmX3KS9lq5PhfcNxcUvd5OR3motx700dEOwZbeYdu9iUKL4nR0nzCgw+y TKBA== X-Gm-Message-State: AOAM530UYsTbO1uSA4XNu1OmgUT5fdwy3VsRiVgRqy/HuVx48JA2pEIv tiGjxN9aa72ZBM+WOXdxekY= X-Google-Smtp-Source: ABdhPJyQa9E8rftmJ1Z4YvgYHyxblHETnxIGropGC5hTeEYzy7RZRSh75lwkBqh0WAfZt/cIv73VYw== X-Received: by 2002:aa7:973d:0:b0:4ba:70f9:14a0 with SMTP id k29-20020aa7973d000000b004ba70f914a0mr50269547pfg.37.1641295629087; Tue, 04 Jan 2022 03:27:09 -0800 (PST) Received: from localhost (61-245-128-160.3df580.per.nbn.aussiebb.net. [61.245.128.160]) by smtp.gmail.com with ESMTPSA id n20sm36941649pjt.40.2022.01.04.03.27.07 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 04 Jan 2022 03:27:08 -0800 (PST) From: Timothy To: Juan Manuel =?utf-8?Q?Mac=C3=ADas?= Subject: Re: A simple Lua filter for Pandoc Date: Tue, 04 Jan 2022 19:26:12 +0800 References: <875yqzu7rx.fsf@posteo.net> User-agent: mu4e 1.6.10; emacs 28.0.90 In-reply-to: <875yqzu7rx.fsf@posteo.net> Message-ID: <87r19nu4fq.fsf@gmail.com> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-Host-Lookup-Failed: Reverse DNS lookup failed for 2607:f8b0:4864:20::530 (failed) Received-SPF: pass client-ip=2607:f8b0:4864:20::530; envelope-from=tecosaur@gmail.com; helo=mail-pg1-x530.google.com X-Spam_score_int: 6 X-Spam_score: 0.6 X-Spam_bar: / X-Spam_report: (0.6 / 5.0 requ) DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RDNS_NONE=0.793, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-orgmode@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: emacs-orgmode@gnu.org Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1641295670; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=PrtI1fL6ZH5+BmPGC/VQc5NLGi8vvI4urMnyd6q5y/c=; b=Cx0vgmGhOe6DoJKX3GGwrtpQKECKjq4rm24QXU0wKvqmjU94TymIbgyO8ckOfRxgZkR/UP dUpZiF/VU7QQGpx+dHZDVKI85l18j9ddIn2bRqvDzwF7ZvEq7OCh1epklpR0iI7rheXNqW t6y7KCQxR7dyMZLOwbV5ZQtlChvRYVt5GGuQ6YHkHNM7QyCvu40lm1mHL1s6HFzykwJPjn XB6f0v+qyHq13F0bPv+0EbpbAya0cUBpdiOys9LQXfQO8rot5PevbXSTmrTG+cW4Jq1f11 ZuKwDKsx0HqYQoDG9UjvihlzPpGZj30i6I22urFFXTOlj1R2I+Cnt9uTGZhIGw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1641295670; a=rsa-sha256; cv=none; b=XFhaJKgs017bICoHasPP7f2TfEI8n75NAfjiP385WaXnAPeDycQ4cmiDiqXippdk/w9bs8 j6AeqyPab7H0EOnDa3eP3x8CF3hsr8F1bfN2qOrFx/fGJHeVYVGE79EbxWBeOx6tQKXE9g FRAUCES8BOG/BDtsa4XFjgntSVxD3/4EKDBKtqWiTuFH5XKFdKAy1bOkECg1djvXMKGxUQ qEhypzxpOEzb7X1sqw6zLEwJYlscBApR7hF0BJwma9ki8BL3/ce4m8m1+PxoiHNLt2OeuX CZEu81F+KssSfaf5ee0SSgE8c4hBX13aO0AAw8QLFft9pacIAoHJUioIbwKGDA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=g1LuueLB; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -4.59 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=g1LuueLB; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: AF62C33F95 X-Spam-Score: -4.59 X-Migadu-Scanner: scn0.migadu.com X-TUID: DrkRNK+U4y/K --=-=-= Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi Juan, > Very often I need to convert docx documents to Org. There are a series > of characters that I prefer to be passed to Org as Org entities and not > literally, so I have written this little filter in Lua for Pandoc. I > share it here in case it could be useful to someone. Of course, the > associative table can be expanded with more replacement cases: I=E2=80=99m quite interested in this, thanks for sharing. In fact, I=E2=80= =99ll probably add this to . All the best, Timothy --=-=-=--