TeX driver: Conditionally emit "\input graphics" control sequence.
authorJohn Darrington <john@darrington.wattle.id.au>
Mon, 26 Oct 2020 18:11:28 +0000 (19:11 +0100)
committerJohn Darrington <john@darrington.wattle.id.au>
Mon, 26 Oct 2020 18:11:28 +0000 (19:11 +0100)
commitbfd66cc4c83d6afc45b6da0b8c86840fa102dba3
tree4e31310878466da3b1424af348ebe143fcf16ed2
parent0457476921a01ec04d90fbb4290b3ac388babf6d
TeX driver: Conditionally emit "\input graphics" control sequence.

Only emit the \input graphicx control sequence if it is actually needed.
This way, systems which do not have the graphicx package installed will
not fail on examples which need no graphics component.
src/output/tex.c