From: John MacFarlane <jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org>
To: Chris Jones <cjns1989-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>,
pandoc-discuss
<pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
Subject: Re: image that resizes automatically to screen size in epub
Date: Mon, 26 Oct 2020 14:17:23 -0700 [thread overview]
Message-ID: <m27drcoffg.fsf@MacBook-Pro.hsd1.ca.comcast.net> (raw)
In-Reply-To: <220286f4-8dab-4a80-9ad6-4794e15f1961o-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
Chris Jones <cjns1989-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> writes:
> What I see is the following processing of raw HTML when creating an EPUB:
>
> 1. Tags of the form:
>
> <p><img src=menus/jpg/01.jpg style="height:100.0%" /></p>
>
> are processed to some extent insofar as the description of the file is
> added to the resulting content.opf manifest and the image is copied to the
> EPUB/media/ directory
>
> 2. <svg></svg> tabs are also partially processed: their presence in a file
> (book chapter) automatically causes pandoc to add "properties=svg"
> qualifier to the file's description in the manifest. On the other hand what
> lives inside the svg wrapper is ignored.
I believe this was just fixed a couple days ago:
commit 4bf171e11dd324f5c65e15da17717b701e961b17
Author: John MacFarlane <jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org>
Date: Fri Oct 23 21:56:12 2020 -0700
HTML reader: parse inline svg as image...
...unless `raw_html` is set in the reader (in which case
the svg is passed through as raw HTML).
Closes #6770.
You can try with a nightly.
next prev parent reply other threads:[~2020-10-26 21:17 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-06-14 22:15 Chris Jones
[not found] ` <b49a95c6-772c-43ac-9bc5-0011ed206c38o-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2020-10-06 19:50 ` Chris Jones
2020-10-06 22:15 ` Charles Richer Saint-Faure
[not found] ` <a0514cc8-560e-40b2-802e-aed2b58930a8o-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2020-10-07 4:45 ` John MacFarlane
2020-10-26 19:06 ` Chris Jones
[not found] ` <220286f4-8dab-4a80-9ad6-4794e15f1961o-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2020-10-26 21:17 ` John MacFarlane [this message]
[not found] ` <m27drcoffg.fsf-jF64zX8BO08an7k8zZ43ob9bIa4KchGshsV+eolpW18@public.gmane.org>
2020-10-28 18:31 ` cjns...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org
[not found] ` <04e6652d-6db6-4090-b2f1-db7acc33edd2n-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2020-10-29 0:09 ` John MacFarlane
[not found] ` <m25z6tuc4a.fsf-jF64zX8BO08an7k8zZ43ob9bIa4KchGshsV+eolpW18@public.gmane.org>
2020-10-29 0:21 ` John MacFarlane
[not found] ` <m2zh45swys.fsf-jF64zX8BO08an7k8zZ43ob9bIa4KchGshsV+eolpW18@public.gmane.org>
2020-10-31 20:34 ` cjns...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org
[not found] ` <20201031203402.gutswizwu477rh3y-611mE6nXTcHDOqzlkpFKJg@public.gmane.org>
2020-10-31 22:59 ` John MacFarlane
-- strict thread matches above, loose matches on Subject: below --
2020-06-12 20:00 Chris Jones
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=m27drcoffg.fsf@MacBook-Pro.hsd1.ca.comcast.net \
--to=jgm-tvlzxgkolnx2fbvcvol8/a@public.gmane.org \
--cc=cjns1989-Re5JQEeQqe8AvxtiuMwx3w@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).