From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/18069 Path: news.gmane.org!.POSTED!not-for-mail From: John MacFarlane Newsgroups: gmane.text.pandoc Subject: Re: filter for ePub footnotes Date: Wed, 23 Aug 2017 07:17:30 -0700 Message-ID: <20170823141730.GC22331@Johns-MacBook-Pro.local> References: <2665838a-f621-7d7d-8646-de7f780f4121@web.de> Reply-To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8"; format=flowed Content-Transfer-Encoding: quoted-printable X-Trace: blaine.gmane.org 1503497873 6500 195.159.176.226 (23 Aug 2017 14:17:53 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Wed, 23 Aug 2017 14:17:53 +0000 (UTC) User-Agent: Mutt/1.6.2 (2016-07-01) To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-X-From: pandoc-discuss+bncBCJZJHG45QDBBB4563GAKGQEKOUOI6Y-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Wed Aug 23 16:17:44 2017 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane.org Original-Received: from mail-qt0-f192.google.com ([209.85.216.192]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dkWTR-0000rq-56 for gtp-pandoc-discuss@m.gmane.org; Wed, 23 Aug 2017 16:17:37 +0200 Original-Received: by mail-qt0-f192.google.com with SMTP id c15sf127557qta.2 for ; Wed, 23 Aug 2017 07:17:44 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1503497863; cv=pass; d=google.com; s=arc-20160816; b=BfclYMQzBc8RAEDjy/Y8wbwTprZZXS88Xv2M2sWyrM6P4sxwRqMcKlrH5gciJ0W1T2 RJ4y715xM4f/EcWS9hizKDjTTaCN7E76KBdhYLLwoFdOg0uGJDKVN18pr9rmHX4z1z2/ JwOMHKbaK5jFUsp1HcmVZRKFPPhDY5Qgqdoknmcty7nqI7HF15pm/Jp75N0fNZE2NPNq 0mXS8M0oq1xLEu5NMcc5x0E0w3sT7PC/JtC/DTbnEaI/0BlQEmkiE3K8ecMv58L26I4b ij7Ov9wiuit2EYiYm8Pv5chg3tRGvkraRLV8SLCiYZXL+v18HzaUaO5Ljy/DcqxltjRm 1hFQ== 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:user-agent:in-reply-to :content-transfer-encoding:content-disposition:mime-version :references:message-id:subject:to:date:from :arc-authentication-results:arc-message-signature:sender :dkim-signature:arc-authentication-results; bh=QA9X+HMwhSkIATiIYrp0zJAsfgP0PmpaK0KfGmMLqug=; b=xRCU8+WXumOeNhVMFM8itEACqHntbZ31EszPXCIyDJbjOwd0kvOnD4SA47pfVf407a b7E8yXuhqnTE92AxBS4Iu2UJ1cNRQcD678jxVwYGD2LVHuR1TZZsaHfHanrvCeWiMYM7 wXNWKyZKEhgQzBB4/HLS6L8ibDpTVVw2mcF+o7v/hbXrvvFBta6GUVXshZzcKK4iaTgz G9xzA7TWqkzEzXIMQVftqNvXz2vXohJtZHuYVyta8k6k8ZHplzsfaXxGS6YWy86JMFsb tlKxe7GLCbjfILei0rjVroxkT8qywsyjqgJ5qAjdze ARC-Authentication-Results: i=2; gmr-mx.google.com; dkim=pass header.i=@berkeley-edu.20150623.gappssmtp.com header.s=20150623 header.b=ycdpIZ2D; spf=pass (google.com: domain of jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org designates 2607:f8b0:400e:c05::22c as permitted sender) smtp.mailfrom=jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20161025; h=sender:from:date:to:subject:message-id:references:mime-version :content-disposition:content-transfer-encoding:in-reply-to :user-agent:x-original-sender:x-original-authentication-results :reply-to:precedence:mailing-list:list-id:list-post:list-help :list-archive:list-subscribe:list-unsubscribe; bh=QA9X+HMwhSkIATiIYrp0zJAsfgP0PmpaK0KfGmMLqug=; b=NNtjqFYYCtko9u2xp3oMRb5i+LGIRaCB/GpNaQSkEZiPt+Be3oI0etBsxzhzP2RApL fzrHohAKkQHIZwU7IgzWA96XCAbclff5bdinVGgbD+1QXUwyIUBU1j9C/+4kCXJuaTg6 ZslaKb5YFL4XA00AY4SKC1WARgV2vpNFEFK25d9hAR1hYI1Uw8G1XVTbCFLkSonzRtyN QmZ/T0H+3bVj6ds21Eg8LAuwmOyhf2Ip4OupdzBpR8rCjxxOt9tHARZ1baaUrbJb+rxT sMWMHHWbMRj+7SOREtOrLUkaCD8eJyhvgxWLIJSY6yLXoj4fqfTV7wk7pu0CXkQn2pkD QabA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=sender:x-gm-message-state:from:date:to:subject:message-id :references:mime-version:content-disposition :content-transfer-encoding:in-reply-to:user-agent:x-original-sender :x-original-authentication-results:reply-to:precedence:mailing-list :list-id:x-spam-checked-in-group:list-post:list-help:list-archive :list-subscribe:list-unsubscribe; bh=QA9X+HMwhSkIATiIYrp0zJAsfgP0PmpaK0KfGmMLqug=; b=h6gd9CYUgHupNXm/izwXbt7lxpzhph8hRLus6X98Z9y2zFCHeZMBEXQ5CBPEZkdndV HTPci2tuOBVcGPOsQVnByBDzt1wevLVi+b1cW1h0hLi3mKw2/mC8so539Hv1P1ljDyWe unrRVXmRnRgamo7oAoE/+e8oVwfdtDMWulmgxb0GjCVHTzjTjDzy03ay6gncRyzRYwlH Kh4hxL4KY20u7veLqom55cgwz4fuCzInt0p/dH3WYSm9OGfhAXMLvxemnSJcygHERQ8Y WXJxHnhPYtTOr1LVk1iC1goctbHxKAsot Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Gm-Message-State: AHYfb5jA7K8xNjfV7OFm/O195Q9xdVMi1ImhgYIp7zJ/2FJsz3EHYoxd 1JEB+a3mRnEc1g== X-Received: by 10.36.69.72 with SMTP id y69mr166385ita.8.1503497863605; Wed, 23 Aug 2017 07:17:43 -0700 (PDT) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 10.107.19.77 with SMTP id b74ls1582509ioj.1.gmail; Wed, 23 Aug 2017 07:17:43 -0700 (PDT) X-Received: by 10.200.52.13 with SMTP id u13mr1982902qtb.108.1503497863043; Wed, 23 Aug 2017 07:17:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1503497862; cv=none; d=google.com; s=arc-20160816; b=WgAZJWlW+m09P9QPLLW954gxJ4yJQo0GeMcwTHvagYNortwkZ0408PRx3pk/RAMmsg mA2g6AjX7JMr9U6pVjRtHB3s5ufqFeIWnxn5YXftHmaO/l6esvuwD8IeDFvf86XW6szw lQycwfWT68OBmajmoWWHq9GGdybXOn1xa2ovPOYaDhMYntNKcg3GK+UXxVyaTM6OKYxD pScUXI0iLbAB//+kTtSecPoA24+9NS8Qke1FlVLlvkNhO2tN0oL1/oceXCtA0MgqFc0A vjnDNJ9Gmt1PxJpLaWs/iKV9bei/DtKZxkqS7067yXzX7X3PSgA8DEdW7d92xspxqrKQ 7K2g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=user-agent:in-reply-to:content-transfer-encoding :content-disposition:mime-version:references:message-id:subject:to :date:from:dkim-signature:arc-authentication-results; bh=i03nS93ADuvobuEF74yl+NyL9JWzSG/XcJghjybqA/c=; b=cTr3N3eh6+0R+c44MluOnMv0akk+AeZcmCHlrtDr+75izHWMnvpRK1huavVyAGewpu S3HOHA9krbUmyZ16VZ+ViS1K5ZAdZQm5LRejTm+MwMTqJu6xOhLJhVNa2SISPSQvFLoR QicLqu+626826g6ZkTznKL9262vUvwI4RXtj8F0M/OxwhHP5Heq25YP1RXesKuqrl8nD qT4vSdhQ7IhFj8wgKAmicuRyDU8PRprdKGMpogM+JWHuDbEgh49kCwhwDh1WwKzGhVEh zRtOiMj/vAR9+uoyB4rsXEtD+yWzNVXfefcl9tI9lxKtIuXxbJ/1HE6uz0s0Hy4xRcQ7 imrg== ARC-Authentication-Results: i=1; gmr-mx.google.com; dkim=pass header.i=@berkeley-edu.20150623.gappssmtp.com header.s=20150623 header.b=ycdpIZ2D; spf=pass (google.com: domain of jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org designates 2607:f8b0:400e:c05::22c as permitted sender) smtp.mailfrom=jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org Original-Received: from mail-pg0-x22c.google.com (mail-pg0-x22c.google.com. [2607:f8b0:400e:c05::22c]) by gmr-mx.google.com with ESMTPS id e80si354548pfj.3.2017.08.23.07.17.42 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 23 Aug 2017 07:17:42 -0700 (PDT) Received-SPF: pass (google.com: domain of jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org designates 2607:f8b0:400e:c05::22c as permitted sender) client-ip=2607:f8b0:400e:c05::22c; Original-Received: by mail-pg0-x22c.google.com with SMTP id u191so916697pgc.2 for ; Wed, 23 Aug 2017 07:17:42 -0700 (PDT) X-Received: by 10.84.232.67 with SMTP id f3mr3172339pln.252.1503497862181; Wed, 23 Aug 2017 07:17:42 -0700 (PDT) Original-Received: from johnmacfarlane.net (li55-134.members.linode.com. [74.82.3.134]) by smtp.gmail.com with ESMTPSA id 188sm4106864pfe.171.2017.08.23.07.17.41 for (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Wed, 23 Aug 2017 07:17:41 -0700 (PDT) Original-Received: by johnmacfarlane.net (Postfix, from userid 1000) id D6F5BA1C5; Wed, 23 Aug 2017 10:17:30 -0400 (EDT) Content-Disposition: inline In-Reply-To: <2665838a-f621-7d7d-8646-de7f780f4121-S0/GAf8tV78@public.gmane.org> X-PGP-Key: http://johnmacfarlane.net/jgm.asc X-Original-Sender: jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org X-Original-Authentication-Results: gmr-mx.google.com; dkim=pass header.i=@berkeley-edu.20150623.gappssmtp.com header.s=20150623 header.b=ycdpIZ2D; spf=pass (google.com: domain of jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org designates 2607:f8b0:400e:c05::22c as permitted sender) smtp.mailfrom=jgm-TVLZxgkOlNX2fBVCVOL8/A@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-Google-Group-Id: 1007024079513 List-Post: , List-Help: , List-Archive: , List-Unsubscribe: , Xref: news.gmane.org gmane.text.pandoc:18069 Archived-At: What you want isn't a filter, since the footnote marker is only created by the writer. Your best bet is a shell script that opens the epub zip container, does a regex substitution on the contents of , and zips it back together again. +++ Pablo Rodr=C3=ADguez [Aug 23 17 16:08 ]: >Dear list, > >I would be extremely interested in generating ePub files which contain >real superscript glyphs (from the font embedded in the file). > >I can do that with all superscript, but I need a file for the footnote >references. > >Would anyone be so kind to create a filter that replaces each digit from >0123456789 with the correspondent digit from =E2=81=B0=C2=B9=C2=B2=C2=B3= =E2=81=B4=E2=81=B5=E2=81=B6=E2=81=B7=E2=81=B8=E2=81=B9 inside the >element ? > >I would love to do it myself, but I=E2=80=99m afraid I cannot code. > >Many thanks in advance, > >Pablo >--=20 >http://www.ousia.tk > >--=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 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/2665838a-f621-7d7d-8646-de7f780f4121%40web.de. >For more options, visit https://groups.google.com/d/optout. --=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 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/20170823141730.GC22331%40Johns-MacBook-Pro.local. For more options, visit https://groups.google.com/d/optout.