How to ignore missing images? #624
-
Hi, is there a way to ignore missing images for the HTML output? Maybe some switch? Regards |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
Hi Martin, unfortunately, I don't know if there is an option for this either. I am also not entirely sure what your use case for this is -- is it for builds of a specific chapter only? Or would you really like to see the little broken-image symbols in your output? In any case, as a workaround: You can check for missing images ( Obviously, that will change your repo and I am not sure you want that to happen. |
Beta Was this translation helpful? Give feedback.
-
Well, that's enough for the moment. Thank you |
Beta Was this translation helpful? Give feedback.
Hi Martin, unfortunately, I don't know if there is an option for this either. I am also not entirely sure what your use case for this is -- is it for builds of a specific chapter only? Or would you really like to see the little broken-image symbols in your output?
In any case, as a workaround: You can check for missing images (
daps -d [DC-file] list-images-missing
) and simply run touch for the missing ones:for f in $(daps -d [DC-file] list-images-missing); do touch "images/src/png/$f.png"; done
.Obviously, that will change your repo and I am not sure you want that to happen.