public inbox archive for pandoc-discuss@googlegroups.com
 help / color / mirror / Atom feed
* customize to handle image not exists
@ 2023-03-30  4:12 jiewuza
  2023-03-30 16:03 ` John MacFarlane
  0 siblings, 1 reply; 5+ messages in thread
From: jiewuza @ 2023-03-30  4:12 UTC (permalink / raw)
  To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw

[-- Attachment #1: Type: text/plain, Size: 490 bytes --]

I use pandoc to convert html to pdf with my personal latex documentclass, in which images not exists would be replaced with boxes.

For
```
<img src="not-exists.jpg">
```
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?

-- 


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2023-04-01  6:47 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-03-30  4:12 customize to handle image not exists jiewuza
2023-03-30 16:03 ` John MacFarlane
2023-03-31  2:51   ` jiewuza
2023-03-31  5:37     ` John MacFarlane
2023-04-01  6:47       ` jiewuza

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).