Skip to content

added \graphicspath support to \pgfdeclareimage - #980

Open
sergiud wants to merge 1 commit into
pgf-tikz:masterfrom
sergiud:pgfdeclare-image-graphicspath-support
Open

added \graphicspath support to \pgfdeclareimage#980
sergiud wants to merge 1 commit into
pgf-tikz:masterfrom
sergiud:pgfdeclare-image-graphicspath-support

Conversation

@sergiud

@sergiud sergiud commented Jan 12, 2021

Copy link
Copy Markdown

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:

@hmenke

hmenke commented Jan 12, 2021

Copy link
Copy Markdown
Member

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.

@sergiud

sergiud commented Jan 12, 2021

Copy link
Copy Markdown
Author

OK, great.

@muzimuzhi

Copy link
Copy Markdown
Member

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.

@hmenke

hmenke commented Jun 16, 2026

Copy link
Copy Markdown
Member

On 2026-06-15 a more comprehensive testsuite was introduced for PGF/TikZ. This tests all new contributions against the examples extracted from the manual and checks whether anything has changed to avoid regressions. Since this pull request was opened before that, these tests were not run automatically. I have run l3build check on the result of the merge of this pull request branch into master. The result can be found below.

Tip

Your pull request might have failed some tests. This does not mean that your contribution will be rejected. In fact, depending on the changes you propose, it might even be expected that some tests fail, however, this needs to be evaluated carefully.

Failed tests
  • pdftex
    • config-examples
      • pgfmanual-en-base-images
    • config-examples-pdf
      • pgfmanual-en-base-images
  • latexdvips
    • config-examples
      • pgfmanual-en-base-images
  • latexdvisvgm
    • config-examples
      • pgfmanual-en-base-images
  • luatex
    • config-examples
      • pgfmanual-en-base-images
    • config-examples-pdf
      • pgfmanual-en-base-images
  • xetex
    • config-examples
      • pgfmanual-en-base-images
    • config-examples-pdf
      • pgfmanual-en-base-images

@muzimuzhi

muzimuzhi commented Jun 27, 2026

Copy link
Copy Markdown
Member

Superseded by

Sorry I was wrong.

@muzimuzhi muzimuzhi closed this Jun 27, 2026
@muzimuzhi muzimuzhi reopened this Jun 27, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

Use \graphicspath to search for images

3 participants