From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/32421 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: jiewuza Newsgroups: gmane.text.pandoc Subject: customize to handle image not exists Date: Thu, 30 Mar 2023 12:12:50 +0800 (GMT+08:00) Organization: news.gmane.io Message-ID: Reply-To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_Part_2_155578385.1680149570866" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="1368"; mail-complaints-to="usenet@ciao.gmane.io" To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-X-From: pandoc-discuss+bncBCKYBFEGRAJRBYUYSSQQMGQEPL6GGGQ-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Thu Mar 30 06:13:26 2023 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane-mx.org Original-Received: from mail-wm1-f56.google.com ([209.85.128.56]) by ciao.gmane.io with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1phjfC-00007b-Bj for gtp-pandoc-discuss@m.gmane-mx.org; Thu, 30 Mar 2023 06:13:26 +0200 Original-Received: by mail-wm1-f56.google.com with SMTP id bg33-20020a05600c3ca100b003ef6d684105sf5454528wmb.1 for ; Wed, 29 Mar 2023 21:13:26 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1680149606; cv=pass; d=google.com; s=arc-20160816; b=zUZY+5YCn75g4smffJFPlySvIRA4NhMPfKIMe3Ky9kvDz/xf4qnhwyo8H//nGLtDsZ QKwOK7f4OcuyNiWOzuqKpIB68tMzYBBrFYRPKM49WbLSSJua69BjyGwOT/a92ArTFiIA pHVUAHmuIR3DnYGGKcLjSybcSWEiCVSFdXa/u5JHB0WC/MfQdyOpCrOcrLi0ODIvRb/x oh5kkXdlUPICWgF9y8OE1tcD0a5BI0DZ8tMZQFpWDlj7Hs+p/8B3qrBndBsUAz6QuHsO bYVeD1nPTx23h3BPSXt8RfKcVqnE7aVSz3ZCX/UnJI7RKWNXI4vaCQgN2Hz8g394+8bS bejA== 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:message-id :organization:date:subject:from:to:sender:dkim-signature; bh=rsFZ5WVs/ot5IBid9LfzL/v3tGUTgtB1Mst86JB+//E=; b=PUJIOe93GJpISCMej5Umi8UqsgIRcvT5w7v1gYicjMe4KwBQHg+4t+cb3nqS3XLlYq Y6og0+G+8er/qPHXuPdeDcQNiXPj2Iw6hasGNMzvvk+5itlz989zJhbM37vEBDqySGqB O7NSTxeqUVmRIOZ4XHww7s/4gN9wTEZl3ZXg0NnvLDUr6P/Swsj77Vwio9J6UltQgVLp VmQd3A91XhLr3V7Pd14aqsv7WjbvR8482vRPQ3q47w34xQI9+RLhCVciSy+s3AUWz+cc pagZ50VobXoODlz262rjovFtc489xDSVCc1yFxgxyDP+eVTNb2i+gwiu08Zp6gstRezB sNaw== 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=1680149606; 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 :message-id:organization:date:subject:from:to:sender:from:to:cc :subject:date:message-id:reply-to; bh=rsFZ5WVs/ot5IBid9LfzL/v3tGUTgtB1Mst86JB+//E=; b=OkBW9x/mtN2rOML+RSWJS4XZY8iDWu2UNqPkAtQC6ICnO1hn/ytx2umjzv3RapOjMz G5UGR/QkiCouVjz2fx0fZa5EYJLnbPoa1XtMO8qGeuCNqzBvc9GCco6qmADizEKq8e+A VQA/6kWcYcEs9L/7JcVG8EPg8XpRBvPXu1LkV9H+irdueceUfuUSe9TEQhnniEZCjGl0 3uZKtOBa0Hb6dkrJAdRnxPZMPLb/Oi7LiSb3YJ/K7ibmsnt7H1CICf0KyNj0cKutpzwt yVgye1N4tTwY7LO5js2gRAM52NkCKwbzkzai1jWo3kRAHVw1n8Pp50sWJDfOwIUCp8U6 dErQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1680149606; 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 :message-id:organization:date:subject:from:to:x-gm-message-state :sender:from:to:cc:subject:date:message-id:reply-to; bh=rsFZ5WVs/ot5IBid9LfzL/v3tGUTgtB1Mst86JB+//E=; b=zP7KAxtyKvWe8X/qM9u2Fm6fZtivbriwIbV+jRVhjDMyu2v5Ow2hr24Xws2iN9Wu13 /ldDDU5JbtfWioUXnS98zzhIs6TYOwXNxv+Epc6FP3tq9F6uEHWrbHP05zDm+Wv7pOPK fe0ZAZhbc/MlHCZ4PIV6HHUB9eoK+ExqqybqcSz/kuVqrpleu9XVcb5d1kDdvhmDMm36 aplH9NVrTjjviOV/DLyavoQFlO5zBo5rMF+BacwizJ636/HSgWR4CCwIt1v7QDQVUBSL YPzecL653v8xd5TCSCxRCCvKBCXFJZZbXYYcBmQQeU46MHI1T+Oa Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Gm-Message-State: AO0yUKVZxlP5HJw/2d5zsQHmZgdbmeMNV7fuYg4c9nsTcBWLvfQXE7g8 rJMjNiQpv72/G4ziEpNmjmdK/Q== X-Google-Smtp-Source: AK7set+FVA5fknSaoHb1EKEsMqsNeNPt03MAnQDzYsNE75UlKMuNL+tcjDWsn3KEUo5KdgK37AJ9uQ== X-Received: by 2002:a05:600c:2312:b0:3ee:904a:d526 with SMTP id 18-20020a05600c231200b003ee904ad526mr4897535wmo.0.1680149605856; Wed, 29 Mar 2023 21:13:25 -0700 (PDT) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 2002:a05:600c:4591:b0:3ef:2ea3:191b with SMTP id r17-20020a05600c459100b003ef2ea3191bls1884758wmo.0.-pod-canary-gmail; Wed, 29 Mar 2023 21:13:21 -0700 (PDT) X-Received: by 2002:a05:600c:2205:b0:3ee:289a:4382 with SMTP id z5-20020a05600c220500b003ee289a4382mr16963701wml.8.1680149601338; Wed, 29 Mar 2023 21:13:21 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1680149601; cv=none; d=google.com; s=arc-20160816; b=pQv1xqwnU4GP/3M/MYk8DnG9xnTTxnEXI59rHLYzoNBPVMmjhQ7l0WSquHEXpefc08 uBZtmTe5uG0kih2kZw2/FvsbVgVJSKkTLBV47w/1wAuugJrt1P6q1MxaIAdOmzhYxIYd mCdmtOVCDVn3ZuxnR2izymSwWnnL6AWzPI8m3Cl2obnzZbHTNLmuJpdYm5vHLGCAoj+t LNWEVZjEuCYq4e+xd44XgWRr9stV+hIu4MlHVrcQuTlD3w9iyS2aNBm7EXdMpgOp8Gcg PFdUqkHFBLw79u7QYXpG4Q5d807DQTEn+E71d9tyy9vQd1tjjZ/78+Z2wzyVfII8I7vN oYlQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=mime-version:message-id:organization:date:subject:from:to; bh=AYrxt4tSsMqIwfJBa7l9vIRvKM6u4UnZUO4xP60UEBc=; b=eYauF+yuep8SHIMVyzX0du5gkRyXBGEH3rnffkIEXqVRxWJwkeGIH8foXstlF/Ti1L UQE+yH47g2juIMLgRgECYmyy1GCVkbQMNWRoTL/1UqB+8/oYWuWI7Ao4sxBIJNEHC790 5RfRngonTnU7EOfmoMQJUHR1OjQqImWRipR4M/8VwWJzOetRbs1oI+FMLiOEHx2ePZmo n86bKfg2SVcI4V/YCpy8hDAJH6MFdZVKl/HW+9raNpINHPyhbDrDXp6qHuBrgps0ezDk nCki+ozaxJ5V7fFuDwzppWnFMzGpJEUEJlrDtceHWWEgd6fvA+BDN7oW3q0M9iBTHPOt soXw== 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 fm27-20020a05600c0c1b00b003ee501fc79csi175392wmb.1.2023.03.29.21.13.21 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 29 Mar 2023 21:13:21 -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 1phjf6-000Aa0-I5 for pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org; Thu, 30 Mar 2023 06:13:20 +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:32421 Archived-At: ------=_Part_2_155578385.1680149570866 Content-Type: text/plain; charset="UTF-8" I use pandoc to convert html to pdf with my personal latex documentclass, in which images not exists would be replaced with boxes. For ``` ``` if I convert it to latex first, and then to pdf, everything works as expected. But if I convert it to pdf directly, pandoc reports a warning: could not fetch resource, replacing image with description. I hope it does what the "html->latex->pdf" process did, without checking the resource. Is this customizable? --