From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/31035 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Richard Huntsinger Newsgroups: gmane.text.pandoc Subject: How to size images? Date: Tue, 19 Jul 2022 14:52:22 -0700 (PDT) Message-ID: <7aa4ae72-1fae-49a3-bb91-035b78b92dean@googlegroups.com> Reply-To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_Part_328_476930328.1658267542334" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="22636"; mail-complaints-to="usenet@ciao.gmane.io" To: pandoc-discuss Original-X-From: pandoc-discuss+bncBCFYNC6M64FBBF6P3SLAMGQECSZPV3Y-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Tue Jul 19 23:52:27 2022 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane-mx.org Original-Received: from mail-yb1-f187.google.com ([209.85.219.187]) by ciao.gmane.io with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1oDv8k-0005iG-NQ for gtp-pandoc-discuss@m.gmane-mx.org; Tue, 19 Jul 2022 23:52:27 +0200 Original-Received: by mail-yb1-f187.google.com with SMTP id l6-20020a25bf86000000b00668c915a3f2sf11786690ybk.4 for ; Tue, 19 Jul 2022 14:52:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20210112; h=sender:date:from:to:message-id:subject:mime-version :x-original-sender:reply-to:precedence:mailing-list:list-id :list-post:list-help:list-archive:list-subscribe:list-unsubscribe; bh=CcHAUNmP4gBUMhhanwE32/tJKh8nyFiWbfgpE4NwkfE=; b=XiiwM0/fYC8EZX2hkhXZExRK1Cuk+Tn/IHoXFTuyXiiiXHGWmKi6OaBd1okNJ3YPlO GmyxLkeqVUZ0ps54a1Op2cUEHFlCjoxBw1qBsiBuzphAe82cuGKbUzOYY9BFkpjhR3QI EECLkDdBLNNui9VW3fodo0MYvkrZlTVWCeY8C+73slczNLdQ7d7KDfoVS7mm8/1wIgcJ nwHcXPOKWkDtqVfVZKMbNmDzbCal524RPGkW7wvuWp4zbZzult5kXw1Z7ZCaBvzRtzM4 ll5R//j/EckAPfJSc2KUzjbWFou5yDqxlewaSeKxdkSZE/mgsAFxqf686K309Ucimuvt 3ihg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=berkeley.edu; s=google; h=date:from:to:message-id:subject:mime-version:x-original-sender :reply-to:precedence:mailing-list:list-id:list-post:list-help :list-archive:list-subscribe:list-unsubscribe; bh=CcHAUNmP4gBUMhhanwE32/tJKh8nyFiWbfgpE4NwkfE=; b=MJVOaHc2No1ilkYL5u4EsikW01DF2XSQ0PN5LpgvuqstO8w4r+nBLCgSYruuJreth5 IDqVflQt3VFJmuN24B2fhebckQ9Fri8pfgCgywE1iZrEXBJ6B5YdvBcfm6f5XdCsMixX /qVf0eLmsSVPwt6iZZ2ZgFwbkmQUgd0TUfaYlrhxVNvLumjqhwq+t1amQCgkWkg0aWuf q+qmCza7UfHDVBq7ZN0r57LBM1HdQCOY2ZM+gQsNvxhC/iTQkKb0ZvDO4uWrjX/a8hHz ah408jKid8HbNwqwTeKEky4W+siMjMCzPjVeR6jPvV9pJYaZzoQz6xlj0zlLWsxA6Sq+ Nj/g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=sender:x-gm-message-state:date:from:to:message-id:subject :mime-version:x-original-sender:reply-to:precedence:mailing-list :list-id:x-spam-checked-in-group:list-post:list-help:list-archive :list-subscribe:list-unsubscribe; bh=CcHAUNmP4gBUMhhanwE32/tJKh8nyFiWbfgpE4NwkfE=; b=4Zcsg5bL7/+KHDwqN12HcRFDHT/CfiBvWdGOlTH+XiUFxRD2pxnSKCY9WYSj+3AmEO /rdBC3O9OKniSoOYEq+1vzx0Pi6e2Bz7GgyCwICwYPGuQbQC0GV7hzVw+za5QeyNBM5s 142QIfl2swK3et7FrgJQMFhRtAJFtGiJc75ZfbEn8BxhPVS3X7xS7o3clBDf2XxQWZXJ LYFHVisIVnZiGfxTHm3MRKDgjPqWfLKb6wxIxR7xHGFOlTrhReiwNXxbafYqgFfEPLH5 ocJqRgzNbnvdXJmQO0XOJ9bRU2PPpr0/HpZTrOsqRkjOsfcXsBH61ijm5SHGEStFtxBG DX7Q== Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Gm-Message-State: AJIora+1+AFxFu/2dG34ukIg5DaIg+kSFwgy3hE4pIBK0W/3g/BWyCtm dyIFaqwPqISwpacyzRKqk/Q= X-Google-Smtp-Source: AGRyM1u1cS/86eC+vYAW2kVam2Effr9gP5guo/iSVOr4ihLOJt9tlrp78RzTiMbpqtzgcUf5xJ4oAg== X-Received: by 2002:a25:3383:0:b0:66b:6205:1583 with SMTP id z125-20020a253383000000b0066b62051583mr31946995ybz.387.1658267545674; Tue, 19 Jul 2022 14:52:25 -0700 (PDT) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 2002:a25:2885:0:b0:670:831e:5c4b with SMTP id o127-20020a252885000000b00670831e5c4bls4655ybo.11.-pod-prod-gmail; Tue, 19 Jul 2022 14:52:23 -0700 (PDT) X-Received: by 2002:a05:6902:110a:b0:66e:e669:5d8f with SMTP id o10-20020a056902110a00b0066ee6695d8fmr35550577ybu.439.1658267542880; Tue, 19 Jul 2022 14:52:22 -0700 (PDT) X-Original-Sender: rhuntsinger-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.io gmane.text.pandoc:31035 Archived-At: ------=_Part_328_476930328.1658267542334 Content-Type: multipart/alternative; boundary="----=_Part_329_567026236.1658267542334" ------=_Part_329_567026236.1658267542334 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Within Jupyter markdown cells, jpeg images can be referenced like=20 ![](image.jpg) or like .= Then convert from=20 Jupyter to LaTex. The former approach does not allow for image sizing. =20 The latter approach results in ignored HTML. Is there a way, perhaps with a lua filter, to capture the with the sizing information = and transform it to=20 \includegraphics[width=3D=E2=80=A6=E2=80=A6,height=3D=E2=80=A6=E2=80=A6]{im= ages/image.jpg} ? Or is there some=20 other preferred way to size images?=20 --=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/7aa4ae72-1fae-49a3-bb91-035b78b92dean%40googlegroups.com. ------=_Part_329_567026236.1658267542334 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable

Within Jupyter markdown cells, jpeg images can be referenced like ![](image.jpg) or like <img src=3D=E2=80=9Dimage.jpg=E2=80=9D width= =3D600>.  Then convert from Jupyter to LaTex.  The former appr= oach does not allow for image sizing.  The latter approach results in = ignored HTML.

 Is there a way, perhaps with a lua filter, to capture the <img src=3D=E2=80=9Dimage.jpg=E2=80=9D width=3D600> with the sizing informati= on and transform it to \includegraphics[width=3D=E2=80=A6=E2=80=A6,height= =3D=E2=80=A6=E2=80=A6]{images/image.jpg} ?  Or is there some other preferred way to size images? 

--
You received this message because you are subscribed to the Google Groups &= quot;pandoc-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an e= mail to pand= oc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
To view this discussion on the web visit https://groups.google.com/d= /msgid/pandoc-discuss/7aa4ae72-1fae-49a3-bb91-035b78b92dean%40googlegroups.= com.
------=_Part_329_567026236.1658267542334-- ------=_Part_328_476930328.1658267542334--