From: John MacFarlane <jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org>
To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
Subject: Re: filter for ePub footnotes
Date: Wed, 23 Aug 2017 07:17:30 -0700 [thread overview]
Message-ID: <20170823141730.GC22331@Johns-MacBook-Pro.local> (raw)
In-Reply-To: <2665838a-f621-7d7d-8646-de7f780f4121-S0/GAf8tV78@public.gmane.org>
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 <a class="footnoteRef">,
and zips it back together again.
+++ Pablo Rodríguez [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 ⁰¹²³⁴⁵⁶⁷⁸⁹ inside the
>element <a class="footnoteRef">?
>
>I would love to do it myself, but I’m afraid I cannot code.
>
>Many thanks in advance,
>
>Pablo
>--
>http://www.ousia.tk
>
>--
>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.
--
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/20170823141730.GC22331%40Johns-MacBook-Pro.local.
For more options, visit https://groups.google.com/d/optout.
next prev parent reply other threads:[~2017-08-23 14:17 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-08-23 14:08 Pablo Rodríguez
[not found] ` <2665838a-f621-7d7d-8646-de7f780f4121-S0/GAf8tV78@public.gmane.org>
2017-08-23 14:17 ` John MacFarlane [this message]
[not found] ` <20170823141730.GC22331-9Rnp8PDaXcadBw3G0RLmbRFnWt+6NQIA@public.gmane.org>
2017-08-23 14:35 ` Pablo Rodríguez
[not found] ` <8adc9ebe-b391-209e-29c6-a831438b8468-S0/GAf8tV78@public.gmane.org>
2017-08-23 16:01 ` Jan Ulrich Hasecke
[not found] ` <6b2c8ffe-418c-d7b2-7ea2-dbe8d93deb04-cl+VPiYnx/1AfugRpC6u6w@public.gmane.org>
2017-08-23 22:04 ` Pablo Rodríguez
2017-08-25 17:06 ` BP Jonsson
[not found] ` <7d399a63-4157-0898-c88d-23a9d85c45de-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2017-08-25 17:40 ` Pablo Rodríguez
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20170823141730.GC22331@Johns-MacBook-Pro.local \
--to=jgm-tvlzxgkolnx2fbvcvol8/a@public.gmane.org \
--cc=pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).