From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/26387 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Chris Jones Newsgroups: gmane.text.pandoc Subject: Re: image that resizes automatically to screen size in epub Date: Tue, 6 Oct 2020 15:50:11 -0400 Message-ID: <20201006195011.GA20694@turki.local> References: Reply-To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="29742"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mutt/1.10.1 (2018-07-13) To: pandoc-discuss Original-X-From: pandoc-discuss+bncBD4675FCS4BBBJFEQL6AKGQEI47IOBA-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Fri Oct 09 18:39:04 2020 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane-mx.org Original-Received: from mail-qv1-f62.google.com ([209.85.219.62]) by ciao.gmane.io with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1kQvQ8-0007ci-D9 for gtp-pandoc-discuss@m.gmane-mx.org; Fri, 09 Oct 2020 18:39:04 +0200 Original-Received: by mail-qv1-f62.google.com with SMTP id u4sf5712297qvk.3 for ; Fri, 09 Oct 2020 09:39:04 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1602261543; cv=pass; d=google.com; s=arc-20160816; b=MsYo/5dn/xHrmkY/2ziKONQH3GJ1ep8SwLB6GFR3Je/4bho+3m70fY924VVKsPJ8NQ +H0f+Of+gOpQx2pD3mlfvDQy3yA+Ot3S6kuztERfJ3S5NR1Wd5dbLqPNd3wHuFmodtLE 3+zKkx0KE4Xq59iYxmPakTIhRAbNm9DRzTg6BXW0mYbhHezNxAVVNC1inz6W6U/ALcoa tNaeDj64X63xCGzym3SjS42SnfMBqOUBCOQg/eXBjrUGjKyjDEjM72Nkm//MMN1S0xWZ MWotSWBL2zJFkLJeb8hBMLfRyMZqN2qyxbvpO1TDO3OA7arMax6ElYM4TBn0f1JMWu/0 PC+g== 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:mail-followup-to:message-id:subject:to:from:date:sender :dkim-signature; bh=WgNP/QsT2F9bTaVM/AEky5J+Jrxl46XTk2os11Wzhb0=; b=mJJhWj566rsaKR0M7N353xUBpMlXY2fGli/WF6NJ28/cJ+pMK9e65aFSgr4bW6jCq4 8y/oXOM+4yLh1e46y+P35eXmj+BTxAy47+K8TUJf8qhDuFNJg7dvVrutZe6S6tp2crtp TgcRTN6O+3UUKJNhHeL/qg6hR5tD7k1K2l5G+3sPY5iHzgXsPrggOwv6BhGPpHUi/CuI HSY6xqMPqbbn37GEgm7U/CBWZs6Etd9fVrqL2A/fDJFBeGq+d2te0nO3bSrHHu+FatSN BRdNAIuzsXBLx9/8Ge/VcygE73sZebXHWtB+pCyNQqFCQM587jl7z3grlblWvI5mCtgr w7fw== ARC-Authentication-Results: i=2; gmr-mx.google.com; spf=softfail (google.com: domain of transitioning cjns1989-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org does not designate 167.206.4.200 as permitted sender) smtp.mailfrom=cjns1989-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org; dmarc=fail (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20161025; h=sender:date:from:to:subject:message-id:mail-followup-to: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=WgNP/QsT2F9bTaVM/AEky5J+Jrxl46XTk2os11Wzhb0=; b=T5lz54Pup/lIYiek3jbtQrXG1WcrCbhRlkGyRM1Y1zKqdrAoX6EyZ9wS0pkV6phd6B R4KnHriRqa5NDG4qgsNRRT6F7hdAa2+U9ocXo7IkaIcyD7FEm4q3kjo72sQvzItw5UKH pdykSqCjfk6bWhd2yZj0KA08h5lhDL2unQGPo2QC8g/k+DbsrbOJWCBR4KnuFOQEqlpD xQ50kH6MIiqa1N705+QRHpC96Uy70PN3gyAoT/xs4Uj35LeSHk2FmUAj6XUxyDdN2PCN oMhKa5iga0WccvQVoyWsw5acDpA5RwqFbe6pqPNTBLkU38twe9UiYjsHjY5Bb X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=sender:x-gm-message-state:date:from:to:subject:message-id :mail-followup-to: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=WgNP/QsT2F9bTaVM/AEky5J+Jrxl46XTk2os11Wzhb0=; b=BkKCPua6NXcgMmHujJ5+U8EsynKNpYlFzAqqXxbW3wcvkx6RkMS2kjwqvGU78dtpOV uHgBE8varY7YXlmblL+RbwpItKEnMitO28Au+C+VPMi+HdipHwNJNrsxnBEUXtEDHCqA xYujLIxfVFGYjUFn1sZ9m8yV8S5HLhtNeURNhsXURTTuDQ4InVFTYZT0DhyucTM7lFxP 5fe6LxqpMyPxiENDECrShV+vV5cssU64TafFqzw6tmfmblvb8Um1KrOBlGVFLy31rh4E xK68vbsUB/cf4uKlqW+OU14N4jSqzjXeN0OPqnih Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Gm-Message-State: AOAM531VlSWolClD9nOUaviojGb4aSdnE2ZsHwA6Db90yKmPN7GKzYkq Y53/onCqldhSzYDTAFz7fko= X-Google-Smtp-Source: ABdhPJzXFi9jRrTrDW8wQ0YJnqN8W/Lk1P1MZWriGM/Q7HEebbt7iTWzeZLpkvIltMye8Jzj+wd03g== X-Received: by 2002:ae9:e711:: with SMTP id m17mr14009844qka.255.1602261543513; Fri, 09 Oct 2020 09:39:03 -0700 (PDT) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 2002:a05:620a:7f1:: with SMTP id k17ls4944960qkk.10.gmail; Fri, 09 Oct 2020 09:39:00 -0700 (PDT) X-Received: by 2002:a05:620a:13ab:: with SMTP id m11mr1418868qki.56.1602261540507; Fri, 09 Oct 2020 09:39:00 -0700 (PDT) Original-Received: by 2002:ae9:e88a:0:b029:114:cd49:d583 with SMTP id a132-20020ae9e88a0000b0290114cd49d583msqkg; Tue, 6 Oct 2020 12:50:13 -0700 (PDT) X-Received: by 2002:a1f:b441:: with SMTP id d62mr4493973vkf.8.1602013813345; Tue, 06 Oct 2020 12:50:13 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1602013813; cv=none; d=google.com; s=arc-20160816; b=op295nqctRWZfsxZIxbvZ8/PrsLoQWHy+Mpnzi5MPJc4Rzc2mZhiAO35F2tQ460VFx 9NzVp37ZJgeJ8fwydjdr8ZGaWU8/tSvSC62SWMCi56u5qMa40QZUqbgMYfVESIqKVgNQ xoP8Xx+TYLqOOs60X8sjeRiY9OQGdV7udlYPQbhpzU6lci/vq6YBQiXKXMyANtknlplU xNOG0DOznKmkSYnMZz1uGHdg4FbJIemQws9CPUPwuEt+bxGZGNppaKuIusqTAfxhcLIT TjWESMi7OTkp1idYis/AKmSBOrCsTgsgt3GnCwQznT4wlDHT6ecFmxUoCsq9bmiDHKGY ot9Q== 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:mail-followup-to :message-id:subject:to:from:date; bh=MvJwxMDDQ0X7+HTV27R4lK9wXK+qq6/kfU5GUtwRlx4=; b=AQCQp4SShp1CBIMlXrtW722skhUTrO9eUZw9eyCpXzeEy674KqLw8DycWrJ0MSTl6e //e6V9yPaCkqKQRb/GWI4l70YZb7teKP/8RZdclCSG9tsFF6l+PzVFw51tWOEJHoiih/ p+raJ3l/Alq+CuXu0Tt0e26e5jef0MX6Jgcr21P5uKYgV4pMOH9Uh6aGKJPBuTXFFc3P UQNF1nAWLmDxLhKn4QoZLjzytPLWsxpXkd28C7HFRpKZ0yfndIY2OCoDm52oOiw57j8Z i1ydqPHdGExvDeTOI+6sI2gytGHFnSTfwZKkRdx0Se+x2eeeJqYSRd+M92H2LZrUmbKe Mlzg== ARC-Authentication-Results: i=1; gmr-mx.google.com; spf=softfail (google.com: domain of transitioning cjns1989-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org does not designate 167.206.4.200 as permitted sender) smtp.mailfrom=cjns1989-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org; dmarc=fail (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Original-Received: from mta5.srv.hcvlny.cv.net (mta5.srv.hcvlny.cv.net. [167.206.4.200]) by gmr-mx.google.com with ESMTPS id p129si250964vkg.3.2020.10.06.12.50.13 for (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Tue, 06 Oct 2020 12:50:13 -0700 (PDT) Received-SPF: softfail (google.com: domain of transitioning cjns1989-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org does not designate 167.206.4.200 as permitted sender) client-ip=167.206.4.200; X-Content-Analysis: v=2.3 cv=OIq8IRSB c=1 sm=1 tr=0 a=3EMHnQ48fQ0TTj4NMYavXQ==:117 a=3EMHnQ48fQ0TTj4NMYavXQ==:17 a=8nJEP1OIZ-IA:10 a=x7bEGLp0ZPQA:10 a=LZd5ujC0vyMA:10 a=afefHYAZSVUA:10 a=4RBUngkUAAAA:8 a=SSmOFEACAAAA:8 a=asdZIUERf9M5URJbOIMA:9 a=wPNLvfGTeEIA:10 a=_sbA2Q-Kp09kWB8D3iXc:22 Original-Received: from [68.194.25.56] ([68.194.25.56:53616] helo=pavo) by mta1.srv.hcvlny.cv.net (envelope-from ) (ecelerity 3.6.9.48312 r(Core:3.6.9.0)) with ESMTPS (cipher=AES256-GCM-SHA384) id C7/BD-23873-47ACC7F5; Tue, 06 Oct 2020 15:50:13 -0400 Original-Received: from gavron by pavo with local (Exim 4.92) (envelope-from ) id 1kPsyR-00055y-8n for pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org; Tue, 06 Oct 2020 15:50:11 -0400 Mail-Followup-To: pandoc-discuss Content-Disposition: inline In-Reply-To: X-Original-Sender: cjns1989-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org X-Original-Authentication-Results: gmr-mx.google.com; spf=softfail (google.com: domain of transitioning cjns1989-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org does not designate 167.206.4.200 as permitted sender) smtp.mailfrom=cjns1989-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org; dmarc=fail (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com 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.io gmane.text.pandoc:26387 Archived-At: On Sun, Jun 14, 2020 at 06:15:47PM EDT, Chris Jones wrote: > I have an image meant to be fit exactly one page (or should I say=20 > screenful) that I would like the e-reading application to resize=20 > automatically to the size of the e-reader's screen while preserving aspec= t=20 > ration as is already done with the cover image. >=20 > The image can be a png, jpeg, or svg (the png and jpeg are generated from= =20 > the svg, itself created initially under latex as a pdf and converted to s= vg=20 > via inkscape). >=20 > The svg file displays correctly under firefox and can be resized with no= =20 > visible loss of crispness & resolution. >=20 > Is there any way to do this currently in pandoc? >=20 > Thanks, >=20 > CJ >=20 > N.B. I tried to open this via the traditional mailing list=20 > pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org from my mailer and it apparently never go= t=20 > through. I thought I'd experiment a little and use some "raw latex": | # Planche 7 |
| | | |
This html snippet works as expected when I manaually create the epub: the pl7.jpg image is automatically sized to the full size of a 4:3 screen (by most ereader software). But when I run a "pandoc md/snippet.md -o snippet.epub" command or such the ensuing epubcheck complains about not finding pl7.jpg in the epub. A quick look inside the epub reveals that the jpeg image is not referenced in the EPUB/content.opf (the "manifest", I believe they call it...) and that pandoc did not copy the image file to the EPUB/media/ directory. In effect it looks as if pandoc silently ignores the contents of the tag. Is this the expected behaviour? If so what would be the recommended workaround=C4=85? Thanks, CJ --=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 view this discussion on the web visit https://groups.google.com/d/msgid/= pandoc-discuss/20201006195011.GA20694%40turki.local.