pgf icon indicating copy to clipboard operation
pgf copied to clipboard

added \graphicspath support to \pgfdeclareimage

Open sergiud opened this issue 4 years ago • 3 comments

Motivation for this change

This PR implements support for \graphicspath in \pgfdeclareimage.

Fixes #565.

Checklist

Please check the boxes to explicitly state your agreement to these terms:

  • [x] Code changes are licensed under GPLv2 + LPPLv1.3c
  • [x] Documentation changes are licensed under FDLv1.2

sergiud avatar Jan 12 '21 17:01 sergiud

Thank you for your contribution and your interest in PGF/TikZ! Unfortunately, I cannot merge the PR as is, because it is not compatible with Plain TeX and ConTeXt. But we will pick up your suggestion and implement it in a portable manner.

hmenke avatar Jan 12 '21 17:01 hmenke

OK, great.

sergiud avatar Jan 12 '21 18:01 sergiud

A more general question: In LaTeX format, should pgf's \pgfutil@IfFileExists respect \input@path as its LaTeX relative \IfFileExists does? This would affect the loading of library/module, .table files, and of course images.

muzimuzhi avatar Jan 15 '21 19:01 muzimuzhi