From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/32430 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: jiewuza Newsgroups: gmane.text.pandoc Subject: Re: customize to handle image not exists Date: Fri, 31 Mar 2023 10:51:51 +0800 (GMT+08:00) Organization: news.gmane.io Message-ID: References: <17DDA913-35EA-4F94-99EB-378C0572C454@gmail.com> Reply-To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_Part_0_65778205.1680231111482" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="25717"; mail-complaints-to="usenet@ciao.gmane.io" To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-X-From: pandoc-discuss+bncBCKYBFEGRAJRBUMVTGQQMGQE2RR5MGQ-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Fri Mar 31 04:52:06 2023 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane-mx.org Original-Received: from mail-lf1-f64.google.com ([209.85.167.64]) by ciao.gmane.io with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1pi4s2-0006ZY-PH for gtp-pandoc-discuss@m.gmane-mx.org; Fri, 31 Mar 2023 04:52:06 +0200 Original-Received: by mail-lf1-f64.google.com with SMTP id b11-20020a19670b000000b004e9b307b224sf8073235lfc.7 for ; Thu, 30 Mar 2023 19:52:06 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1680231126; cv=pass; d=google.com; s=arc-20160816; b=FSJyvCRSt5hlAn7jpAjeAxQyF6pqymTxWdCKXu761/WcpY5FG3hCW489atZ1hLdg8x 6z4xAvcby2WjmiJGnxwmHTGE2UkXjSD6W5k2ck3UNnCrGkXUHnjSUQahR8E7hBc7r90T b21EgHBbZYaMdtJp/z4n7dSnn8fuGD+w8fM+Oih0jGYUIYkcUQABF0J0h9jdry2GnvS7 QEFRBq4v749u2GRHnSyhtrdvKDsOBHO8CL7RzD234O67suLxKDCMMba9m1G9ZXmLaj71 Wl5htE755HZYp+lxCSzWBPWYyz0gmamriiowgcWAXsaTeogV7nz7hV2yU1Ar/tdC+dm6 lgFw== 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:mime-version:references :message-id:organization:date:subject:from:to:sender:dkim-signature; bh=LQ0moy1RPoM7anXg4K+VnnJqqhHO6xUD24YNVfRry7k=; b=oZSoEqfiaAdWDRK1NnQIPZvmlDeL7lZwR2SFFBRC8basq/vOGgfrd3olZx/wocFjDm ftEGUso+tHgEL3BGYusglKdScq9OR+vYmVZxmAVwXbyaJ4cZYmYQJYrUbU5l3NyDL+V6 5RlRpIyFx2ZEmxj/6DunT2hhyaav1XAGI5ZpOKR6pO6xZQp0sNouVaDWImdrDxQ6+qj3 PZK4wI3rSQ4Ohxu698SpWRn7G8i054EG5nPAmgiGC+AK/qyxvPgrLtWNTF1VewL8GEQa xvFSPZtxacld5j9sn5DtpuE9Utw4DjkNIzk3PBP/1ibycdRu6Xcxrj1HR+VNJkbw+V/8 sK9A== ARC-Authentication-Results: i=2; gmr-mx.google.com; spf=pass (google.com: domain of gtp-pandoc-discuss@m.gmane-mx.org designates 116.202.254.214 as permitted sender) smtp.mailfrom=gtp-pandoc-discuss@m.gmane-mx.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=163.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20210112; t=1680231126; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :list-id:mailing-list:precedence:reply-to :x-original-authentication-results:x-original-sender:mime-version :references:message-id:organization:date:subject:from:to:sender:from :to:cc:subject:date:message-id:reply-to; bh=LQ0moy1RPoM7anXg4K+VnnJqqhHO6xUD24YNVfRry7k=; b=ZNv0hVTcVE8iCUS3t5Bt3yT8Fq8+28EDI5CizgxsoDljNlbeDmzc03E0QxSPfGpAYB ZgANBztAedhaHYpABeYFbAAEZIpsKQ20UGw+WkTzdWaYONswVluiCw7g17pIJH8S6mni w/ZtFjNUi8BIw/FXUmKO1LZxmy6ZiqRbwb7xpdKRiZ6F6LVzonq5zhzKD+QwoiLBzUrA DJKK/zeFC0XrEJNyKVToKcrmVF+43seH6YO/ck7Opa/L02I83+Tt/brVYQRCgjKmoKVl 6QMQQFAqFTyQ3vUHpdTdfZ+pKPGjgSpNMl8/7TqONNt7b77Y5Jliusb62tlqkuk0FsHF dm0A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1680231126; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :x-spam-checked-in-group:list-id:mailing-list:precedence:reply-to :x-original-authentication-results:x-original-sender:mime-version :references:message-id:organization:date:subject:from:to :x-gm-message-state:sender:from:to:cc:subject:date:message-id :reply-to; bh=LQ0moy1RPoM7anXg4K+VnnJqqhHO6xUD24YNVfRry7k=; b=opJbnfQjJ+K9JtMkpUf+bnzuJvtFC2C05shI7Ci2+pc43jgkI5+yh/lOgsVvIYS9WU 39ulm03SJycn1A/u/7YD5igVe6165RBnYj+W61ZDQeL6/wu50NM5MrNPSv5gyxXnnxeS 9yu4h5QocSLn1P8qzbQ9O8W867tPA7mHl7nFnSElapVEE6fu4sx9Hm0zXi1/SWwDKfPc p6WlJwmJkRsOPAzbJpffwqHEJIHDRjjeo7VvgreNIu7YCZIbJEFJbsJ5k3ih8umF05lN Wslo2xqAq2xsu4uNqW9YE9CU7ndS0/Q Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Gm-Message-State: AAQBX9fx7xNe2M5sbmqRXAI3TFnRtGxe5w59Vsn2w0e/QvdmQmUB3BJt 2raDyt6rQzKNJcw6vl0ABPw= X-Google-Smtp-Source: AKy350YdJHEOsCDKHNDDPI4zmtQCaQH/8AGSJBtlu2C7lvdZ7HZkqKTsB1pM2YD9ndA8zJX98EQSqw== X-Received: by 2002:a19:ee1a:0:b0:4d5:ca32:689b with SMTP id g26-20020a19ee1a000000b004d5ca32689bmr7661517lfb.0.1680231126290; Thu, 30 Mar 2023 19:52:06 -0700 (PDT) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 2002:a05:651c:4d0:b0:2a6:2413:1fe8 with SMTP id e16-20020a05651c04d000b002a624131fe8ls10138lji.10.-pod-prod-gmail; Thu, 30 Mar 2023 19:52:00 -0700 (PDT) X-Received: by 2002:a2e:908f:0:b0:2a6:1681:81e0 with SMTP id l15-20020a2e908f000000b002a6168181e0mr1390489ljg.2.1680231120517; Thu, 30 Mar 2023 19:52:00 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1680231120; cv=none; d=google.com; s=arc-20160816; b=x/98VZzF1WxGOdWp1wETd2Uoma//T6DnweCDnrb5uuGgG1t2RgvryuRcZ0pHwB4Qg/ yKTu082fu4nFJPI7qmGbrssknW73mUy2inyGYJ3bUfiCyoiP4R4oflZ/SCR7KZtjunH2 bfLjNwFr36reOUJ16r7CWCMO/Jy/JyQXrXkRMXHlXcCJEHs7KQBdZIeOIgeFJTgL2C+O JRLvURLV6hSlfMo9SFeIGR5v9c7ig06hd+6qMedpmgcrcZHjT1vddpHBO1DoamVqXEPY akxj1xu+kN2AQGDBb1IGClEFEZCNp419qBsOEKetuoJLpxvSowLEc0NUy7/ntPyMbJGX 3nJg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=mime-version:references:message-id:organization:date:subject:from :to; bh=2KOxx5RcV5qqjstXR3dct50T7d2yLdnutuzv7dHuepY=; b=BkieDu+654q9t30IsM8171CyVpQyJkHe+2pOKwxoh+YHA5YnwJCPoQGHGGFuidvg78 6adT1mdjPbCA3TJ9eJid1fHPJ3oJ2wDwXUvyUsxI88DRy80wtuqMAjOIXYZ58bdciA4J Q8YgBfJF3NUwosr88MPEAJEl0jolQbU5w2xZJdkN8LeZ65ntxkK431jok5X/4ea3XImM YE1asziRN8wuLUt+cVXfziMEQnUB5w1mOXYABZJh5pgESiKN3tkYb7zC0n0VIp1B+196 DZ7IpNKjyKKn0FEMuAO42j8ERqqk3aNzB2l1FtsS5PTPjn6r5qVucLy0p+YVK/lLPkTx 1Baw== ARC-Authentication-Results: i=1; gmr-mx.google.com; spf=pass (google.com: domain of gtp-pandoc-discuss@m.gmane-mx.org designates 116.202.254.214 as permitted sender) smtp.mailfrom=gtp-pandoc-discuss@m.gmane-mx.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=163.com Original-Received: from ciao.gmane.io (ciao.gmane.io. [116.202.254.214]) by gmr-mx.google.com with ESMTPS id h3-20020a2ebc83000000b00295a255ee26si49930ljf.6.2023.03.30.19.52.00 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 30 Mar 2023 19:52:00 -0700 (PDT) Received-SPF: pass (google.com: domain of gtp-pandoc-discuss@m.gmane-mx.org designates 116.202.254.214 as permitted sender) client-ip=116.202.254.214; Original-Received: from list by ciao.gmane.io with local (Exim 4.92) (envelope-from ) id 1pi4rv-0006Pb-O3 for pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org; Fri, 31 Mar 2023 04:51:59 +0200 X-Injected-Via-Gmane: http://gmane.org/ X-Newsreader: PiaoHong NewsGroups Reader 1.27 X-Original-Sender: gtp-pandoc-discuss@m.gmane-mx.org X-Original-Authentication-Results: gmr-mx.google.com; spf=pass (google.com: domain of gtp-pandoc-discuss@m.gmane-mx.org designates 116.202.254.214 as permitted sender) smtp.mailfrom=gtp-pandoc-discuss@m.gmane-mx.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=163.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:32430 Archived-At: ------=_Part_0_65778205.1680231111482 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Well, I am still confused about the difference between the two processes.= =20 In the process "html->latex->pdf", I use pandoc to convert html to latex f= irst, and call latex engine to produce pdf manually. While in the process "= html->pdf", pandoc does everything by itself.=20 I passed the same cli parameters to pandoc during the two processes. The fi= nal pdfs are all the same except for the non-existing images. So I guess in= "html->pdf" it also generates latex temporary file first before producing = pdf, right? If the answer is yes, it seems an inconsistent behavior of pandoc treating = resources, which could surprise users. IMHO, a warning is enough, but do not modify the content by replacing image= with description. BTW, I did not see the description in the pdf for the non-existing image. I= s it a bug? --=20 John MacFarlane =E5=86=99=E5=85=A5=E6=B6=88=E6=81= =AF=E6=96=B0=E9=97=BB: > No, it isn't customizable. >=20 >> On Mar 29, 2023, at 9:12 PM, jiewuza wrote: ----Android NewsGroup Reader---- http://www.piaohong.tk/newsgroup --=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/u05hs8%24n7c%241%40ciao.gmane.io. ------=_Part_0_65778205.1680231111482--