I have a document that is to be compiled in PDF (using pdflatex
) and XHTML (using tex4ht
). For the XHTML version, I wish to have the images linking to their source in a new window (target="_blank"
).
Now, this is perfectly possible by some fiddling with \HCode
, but I prefer not having to write this every time when I include a graphic in my TeX source.
Is there a \Configure
command I can use in my tex4ht
config file, so that an a-tag is wrapped around the resulting img-tag automatically?
Note: I noticed \Configure{IMG}
, but I assume that's for generated images, + there is not clear "image source" variable I can use.
`
to mark your inline code.