From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/18076 Path: news.gmane.org!.POSTED!not-for-mail From: =?UTF-8?Q?Pablo_Rodr=c3=adguez?= Newsgroups: gmane.text.pandoc Subject: Re: filter for ePub footnotes Date: Thu, 24 Aug 2017 00:04:52 +0200 Message-ID: References: <2665838a-f621-7d7d-8646-de7f780f4121@web.de> <20170823141730.GC22331@Johns-MacBook-Pro.local> <8adc9ebe-b391-209e-29c6-a831438b8468@web.de> <6b2c8ffe-418c-d7b2-7ea2-dbe8d93deb04@mailbox.org> 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" Content-Transfer-Encoding: quoted-printable X-Trace: blaine.gmane.org 1503525941 9552 195.159.176.226 (23 Aug 2017 22:05:41 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Wed, 23 Aug 2017 22:05:41 +0000 (UTC) User-Agent: Mozilla/5.0 (X11; Linux i686; rv:52.0) Gecko/20100101 Thunderbird/52.2.1 To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-X-From: pandoc-discuss+bncBCD6NVO5UINBBCXY67GAKGQEUNAEOZA-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Thu Aug 24 00:05:33 2017 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane.org Original-Received: from mail-lf0-f58.google.com ([209.85.215.58]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dkdld-0001Cc-2S for gtp-pandoc-discuss@m.gmane.org; Thu, 24 Aug 2017 00:04:53 +0200 Original-Received: by mail-lf0-f58.google.com with SMTP id k186sf245570lfe.3 for ; Wed, 23 Aug 2017 15:05:00 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1503525900; cv=pass; d=google.com; s=arc-20160816; b=PBMXWN0z5zmFCAOnPkthfXOf8RdfeWMsU1KzyN8QDvgXyUVYD4URmEOE5wwUVst5Us URfVn+a2lchozo93YOGajK6qTj0Ys/BVbJK+DooFT78GAfDPADP13Iv9Wob2MCnKoY2o /ao5vMIA+qXnxdpIvmbIXVYa/id80hT6BbUHt8UrtS4Npip0u9XWs9p6t7cbHu1YsMw0 C+hfLJuTH1QPAC9Vl8z8sJN/lzByd44TcqGidlHyGskR8XQPuSpHXGEOjLHOgeeUgBr7 BB7zl80zAK3LM0Or7NMEnyimw2+7Nvf3/H54Mk/HjwLx9qNMoVa8dpiWpvuvjuUHeC02 8F4g== 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:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:to:subject:arc-authentication-results :arc-message-signature:sender:dkim-signature :arc-authentication-results; bh=bTT4cF3KOvPpcePPSpi0b48NHFpiD9J/oaiYXStvW1I=; b=aeXbL02kSB9mevy9LIRB5xJpig01TwVZylMLJTyaPGYtot9sNDdH6WAXqxYDkRmEMd 7FD8cFu7nZvmTHgsKqKRxilatNKTwTVPU8KPxFyBPBAY02ordasfzTGobGPP90yrD93i AH46+kwGtOmL9C5SPTDgGYZz/SrvmOhi+Q6XQi5tOwC+QG/IH1tPzbLFbExrTA/L/gPt IPkZONhygp6DotBRMVZMoxSgqcOJ9Si6tkFl1lx2te0mVrW7iN31jAPaTALEZud18TSY 7fcjT7XfWkf9DX6+7OIDMf5GaT5NrYhaNqvzStM2qJJzT ARC-Authentication-Results: i=2; gmr-mx.google.com; spf=pass (google.com: domain of oinos-S0/GAf8tV78@public.gmane.org designates 212.227.15.14 as permitted sender) smtp.mailfrom=oinos-S0/GAf8tV78@public.gmane.org DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20161025; h=sender:subject:to:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding :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=bTT4cF3KOvPpcePPSpi0b48NHFpiD9J/oaiYXStvW1I=; b=FCEO3q0gtlIl0WuY1Uqzqy2CSH11Dau0iJsxqBeJ+t6IFKbMcNA61aav/RoUbuwR8s OlnVjHgZ9tbK3jPGxUJ1+BVEsa13Dd2AY+c3xNcGK35S+ol6//u9bbSqmD4J1E7tXE8p G7bCO9v+3GM5/kHByyxPPrlIMKoFDZ0xfZ7/CRTDQwhtz8vfKra4Mbrd14KfxPXdbTqV c3M/6jZjmYb4qbYwAq3PFeUBvSSk4MBwVYya+5z0sa7YmKv2R8kOSBZrUTYxGLMO2k7z 12gJhZ4QwunJmen1LsX3ejLrtqv+IPXyxTnh6uJ3cNL0KY9N0R3qwf7BFCrug1MjAl8L BF4g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=sender:x-gm-message-state:subject:to:references:from:message-id :date:user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding: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=bTT4cF3KOvPpcePPSpi0b48NHFpiD9J/oaiYXStvW1I=; b=atbdpAcBtzgSduxjhjZ6ItGqcKxwG4t0i0igePBk4Mc5Yj8y5DH/lXlNQu9xJfwtAl kVdUpzvjPK2wLy49ks2btKe7HQDN17u4D3JizAt+v3IbuCvbzKgXjG05QdzMXmnTxE28 8yZOzlWgIOHDaXYDhNFPuNTjVmTFwur2LkqPNJ0wWdTOWBzp1xzfXC+3ZaqP0l9ADGak 34HixGFFE0rvQ0bH6PdhFFhGqwvz0V8qwrg+ldUBxk30dtjbRV3jMpaFCCfMvZM7abjn HXSnwxFQzDAbS2qTqraaBem1dnawefQqcFdv Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Gm-Message-State: AHYfb5gL+FBaN7TWi/HQ0/4r62CNEpi2F7Chn5dq1XMCnaCJepkwo2qj m+Fus4UQRMqF8Q== X-Received: by 10.46.82.18 with SMTP id g18mr9519ljb.6.1503525900111; Wed, 23 Aug 2017 15:05:00 -0700 (PDT) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 10.46.84.84 with SMTP id y20ls579605ljd.30.gmail; Wed, 23 Aug 2017 15:04:58 -0700 (PDT) X-Received: by 10.25.44.6 with SMTP id s6mr432268lfs.20.1503525898642; Wed, 23 Aug 2017 15:04:58 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1503525898; cv=none; d=google.com; s=arc-20160816; b=KiSgPDPZMd6cmusBdlNdiwK+shjpeEPJAo2QNavE+z2314z6JjkMo6I5Kv9aL8aZIq +PIY8I5n6Ravib9vwQr0lKLAOwgSWTCpADKzui5Unf9aqdefEQeplyl3qRR3MIPAHDCm YFbSg3RindLRStQ2ApJMgPcFSUHtCfVvzufKRCxA/jW97ZrdxSXcLegQ3zrEBlyMmYpS YU8S7x6qNDQNfA8SihsGEe5A9OWRe4Qe/ji+CktKjRngmlmYndmXIsjHSA6QSKz0hNW5 gknw3/dBlBUkkJKbfwGhPUU5WHhhNag89X1oYTH0FWO9tEKs0opvp4hf/olvLhaXAwuT dNaA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:content-language:in-reply-to:mime-version :user-agent:date:message-id:from:references:to:subject :arc-authentication-results; bh=6jB8K8pyxON5tISzO8a71ePuskC2VRSJ9KisoDXQyeY=; b=V7W3/UmyTjl48Ji25SBcBbbdS7B6Llw1c/Bwyz6CoGBJMQYdUZrZKbsM9YeNKrsYXR Yn6NDW6KgKJz281tEjg2FsxEiI/a6wQnIB9Rpl1vv7VoWPB5pR8AqP30vXA1jhH6+b/I DZYXVVqihwh3Bqd+cD6IeGrOpkdlYNjiBVnabHgMm5ac3/T3Zr+NzFsJow43wFHwvJgq fPiBOxOpfY4iN4T6b9w8ju8U/7x1sCUTJmW7xKfzZnS6GsQvvnK7F4XiueM8DGGXWqQ+ kJDEU7qjtT2sm1FpqpKq/k4c9TboDP+mJLBlzNkKMWCZWAvqTmpkr+ee5fn4kp5ZMjso etJw== ARC-Authentication-Results: i=1; gmr-mx.google.com; spf=pass (google.com: domain of oinos-S0/GAf8tV78@public.gmane.org designates 212.227.15.14 as permitted sender) smtp.mailfrom=oinos-S0/GAf8tV78@public.gmane.org Original-Received: from mout.web.de (mout.web.de. [212.227.15.14]) by gmr-mx.google.com with ESMTPS id g21si324298wmd.0.2017.08.23.15.04.58 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 23 Aug 2017 15:04:58 -0700 (PDT) Received-SPF: pass (google.com: domain of oinos-S0/GAf8tV78@public.gmane.org designates 212.227.15.14 as permitted sender) client-ip=212.227.15.14; Original-Received: from localhost.localdomain ([151.182.109.70]) by smtp.web.de (mrweb004 [213.165.67.108]) with ESMTPSA (Nemesis) id 0M0O2H-1dPFX23hXx-00uXQH for ; Thu, 24 Aug 2017 00:04:58 +0200 In-Reply-To: <6b2c8ffe-418c-d7b2-7ea2-dbe8d93deb04-cl+VPiYnx/1AfugRpC6u6w@public.gmane.org> Content-Language: en-US X-Provags-ID: V03:K0:vt4U5if/aXMTwKdmwpX5gqbEmAcaEwkocqKdxZNatfu6gpsV1ik hONdYV99GyGbgeNkstMzmX0R1lweqQuMhozy3j1QF+nITjTycGeF4FdWslkdOsfyVXf90sH h7YkuAmp6xAHMmF3j+fkI4KhsjbW5rOhHGcXE+FL4HSIK4Kezo5STQHh8Prf6hGf/lSl4vQ PQMbzSGFVIAHQ20Hq/qsw== X-UI-Out-Filterresults: notjunk:1;V01:K0:e4M3PA6/AHI=:xRfy2FykoM8zZsHnWzqa3P nenaA/p1r7dbREJiVuGsGbmGr/1rGiiQlMCyesfCuJWzzf1fYvfPr3BaDJTWFiUOIR4lif8eO SaiV6P3XzIWWuXlmBIJAqllPYD9ypQu4t5bH1DHiFvk2zI7a4Irmmec4/EYUyyXveORQgWrzD zYIw15HbYuFm84l9HaE9IdQdnvh+KhgmsBRmQqKZzIPwtRNGgR2E05GvgsafChURsg81nty5p P28vS2IkU9Wi2h3+aP07yjKDaizc0cRUrQmNEgG1mg5mQtoSyyGB0b5i0QUDZPlHaBCwRJdy9 5Z7ieKTCsQ/0ORSgvM1nwWFohdXfh39m23Vsmr/TVg07pSLr9uKyJdFppWkHluwm2/1Oy5LNd NdFodwr+PhDj7xy6lCpZPWqkKfZVEmNw2fz/9J68YLIAzJlOrc+3BAXEU70gF1fjy+I8y73od XZgGaxboTtdEDfi6fgl6/Bkc3yvQRQx9peALIprkIdXtqkDZPORf1h5s89AiS/ul5pkeX4/Iz IMvRgP+tVD8Y/BopDTpWEdY5Q5dTgynIGJ7/5FrcCM0UCs5EwGkS6qEylhyIH2wv1Y5DXTybp 7SRZAP6bQx/0nzkzEGGPQt5JZq4dFYxAUBiP87rr3zbhnPuFe7WSAoLu3ZoYvXdAhOxQnrfwZ f41dsbMC7fkYcMKSEkn3E4e2k/41fUwcx9jW0Y9ZjLW3cMNjnsvT/tuMMT128zkw6ZJgpCq2j cgv9oV/vXIM+7TvPpXu7wCgyIsk6dOXfA0B/mceB++NH6p5WaNNH2ym/16oHFSvOjble+IQ/ X-Original-Sender: oinos-S0/GAf8tV78@public.gmane.org X-Original-Authentication-Results: gmr-mx.google.com; spf=pass (google.com: domain of oinos-S0/GAf8tV78@public.gmane.org designates 212.227.15.14 as permitted sender) smtp.mailfrom=oinos-S0/GAf8tV78@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:18076 Archived-At: On 08/23/2017 06:01 PM, Jan Ulrich Hasecke wrote: > Am 23.08.2017 um 16:35 schrieb Pablo Rodr=C3=ADguez: >> n 08/23/2017 04:17 PM, John MacFarlane wrote: >>> 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. >> >> Many thanks for your reply, John. >> >> How could I achieve that? I don=E2=80=99t even know where to start searc= hing. >=20 > On linux you could use sed for substitution. Personally, I would do it > with a python script, but any script language will do the trick. And > finally you can knit it together with a Makefile. Many thanks for your reply, Jan-Ulrich. sed is fine, but I wonder how to replace characters only inside . Many thanks for your help, 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 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/c3705553-8d47-e9d2-f41c-955d72031afe%40web.de. For more options, visit https://groups.google.com/d/optout.