summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/luatex/base/luatex-graphics.tex
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/doc/luatex/base/luatex-graphics.tex')
-rw-r--r--Master/texmf-dist/doc/luatex/base/luatex-graphics.tex20
1 files changed, 10 insertions, 10 deletions
diff --git a/Master/texmf-dist/doc/luatex/base/luatex-graphics.tex b/Master/texmf-dist/doc/luatex/base/luatex-graphics.tex
index 205f1703394..91feaaff8ec 100644
--- a/Master/texmf-dist/doc/luatex/base/luatex-graphics.tex
+++ b/Master/texmf-dist/doc/luatex/base/luatex-graphics.tex
@@ -14,7 +14,7 @@ The \type {img} library can be used as an alternative to \type {\pdfximage} and
{\pdfximagebbox}. Image objects can also be used within virtual fonts via the
\type {image} command listed in~\in {section} [virtualfonts].
-\subsection{\type {img.new}}
+\subsection{\type {new}}
\startfunctioncall
<image> var = img.new()
@@ -74,7 +74,7 @@ invalid images and we cannot guarantee side effects. A zero dimension image is
still included when requested. No special flags are set. A proper workflow will
not rely in such a catch but make sure that images are valid.
-\subsection{\type {img.keys}}
+\subsection{\type {keys}}
\startfunctioncall
<table> keys = img.keys()
@@ -163,7 +163,7 @@ then use it by \LUATEX. If a \PDF\ file to be embedded already contains a \type
{/Rotate} specification, the rotation result is the combination of the \type
{/Rotate} rotation followed by the \type {transform} operation.
-\subsection{\type {img.scan}}
+\subsection{\type {scan}}
\startfunctioncall
<image> var = img.scan(<image> var)
@@ -192,7 +192,7 @@ the available info like image width and height, and then throw away \type {a}
again by saying \type {a=nil}. In that case no image object will be reserved in
the PDF, and the used memory will be cleaned up automatically.
-\subsection{\type {img.copy}}
+\subsection{\type {copy}}
\startfunctioncall
<image> var = img.copy(<image> var)
@@ -207,7 +207,7 @@ Afterwards, \type {a} and \type {b} still reference the same actual image
dictionary, but the dimensions for \type {b} can now be changed from their
initial values that were just copies from \type {a}.
-\subsection{\type {img.write}}
+\subsection{\type {write}}
\startfunctioncall
<image> var = img.write(<image> var)
@@ -229,7 +229,7 @@ img.write { filename = "foo.png" }
The \type {<image>} variable is returned in case you want it for later
processing.
-\subsection{\type {img.immediatewrite}}
+\subsection{\type {immediatewrite}}
\startfunctioncall
<image> var = img.immediatewrite(<image> var)
@@ -253,7 +253,7 @@ a = img.immediatewrite { filename = "foo.png" }
The \type {<image>} variable is returned and you will most likely need it.
-\subsection{\type {img.node}}
+\subsection{\type {node}}
\startfunctioncall
<node> n = img.node(<image> var)
@@ -275,7 +275,7 @@ This example outputs an image:
node.write(img.node{filename="foo.png"})
\stoptyping
-\subsection{\type {img.types}}
+\subsection{\type {types}}
\startfunctioncall
<table> types = img.types()
@@ -285,7 +285,7 @@ This function returns a list with the supported image file type names, currently
these are \type {pdf}, \type {png}, \type {jpg}, \type {jp2} (JPEG~2000), and
\type {jbig2}.
-\subsection{\type {img.boxes}}
+\subsection{\type {boxes}}
\startfunctioncall
<table> boxes = img.boxes()
@@ -300,7 +300,7 @@ these are \type {media}, \type {crop}, \type {bleed}, \type {trim}, and \type
The \MP\ library interface registers itself in the table \type {mplib}. It is
based on \MPLIB\ version \ctxlua {context(mplib.version())}.
-\subsection{\type {mplib.new}}
+\subsection{\type {new}}
To create a new \METAPOST\ instance, call