diff options
author | Karl Berry <karl@freefriends.org> | 2020-06-15 20:43:56 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2020-06-15 20:43:56 +0000 |
commit | 56cd0df67df77a677bd72b01d10d2cd5d4581a54 (patch) | |
tree | f6fa19e934db7c0539e137131413a62547cd740b /Master/texmf-dist/tex/luatex/optex/base/graphics.opm | |
parent | 2c3a20ef9f039b8b2d912828fbdb45f5392b0d5d (diff) |
optex (15jun20)
git-svn-id: svn://tug.org/texlive/trunk@55562 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/luatex/optex/base/graphics.opm')
-rw-r--r-- | Master/texmf-dist/tex/luatex/optex/base/graphics.opm | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/Master/texmf-dist/tex/luatex/optex/base/graphics.opm b/Master/texmf-dist/tex/luatex/optex/base/graphics.opm index bc88a16de0b..be2cfdab7ec 100644 --- a/Master/texmf-dist/tex/luatex/optex/base/graphics.opm +++ b/Master/texmf-dist/tex/luatex/optex/base/graphics.opm @@ -421,5 +421,24 @@ \_endcode % ------------------------------------- +The \^`\inspic` is defined by `\pdfximage` and `\pdfrefximage` primitives. +If you want to use one picture more than once in your document, then the +following code is recommended: +\begtt \catcode`\<=13 +\newbox\mypic +\setbox\mypic = \hbox{\picw=3cm \inspic{<picture>}} + +My picture: \copy\mypic, again my picture: \copy\mypic, etc. +\endtt +This code downloads the picture data to the PFD oputput only once (when +`\setbox` is processed). Each usage of `\copy\mypic` puts only a pointer to +the picture data in the PDF. + +If you want to copy the same picture in different sizes, then choose +a \"basic size" used in `\setbox` and all different sizes can be realized by +the \^`\transformbox{<transformation>}{\copy\mypic}`. + +\_endinput + 2020-04-12: \_public \clipinoval \clipincircle ; added, bug fixed |