summaryrefslogtreecommitdiff
path: root/doc/context/sources/general/manuals
diff options
context:
space:
mode:
authorContext Git Mirror Bot <phg42.2a@gmail.com>2016-01-12 17:15:07 +0100
committerContext Git Mirror Bot <phg42.2a@gmail.com>2016-01-12 17:15:07 +0100
commit8d8d528d2ad52599f11250cfc567fea4f37f2a8b (patch)
tree94286bc131ef7d994f9432febaf03fe23d10eef8 /doc/context/sources/general/manuals
parentf5aed2e51223c36c84c5f25a6cad238b2af59087 (diff)
downloadcontext-8d8d528d2ad52599f11250cfc567fea4f37f2a8b.tar.gz
2016-01-12 16:26:00
Diffstat (limited to 'doc/context/sources/general/manuals')
-rw-r--r--doc/context/sources/general/manuals/luatex/luatex-libraries.tex33
-rw-r--r--doc/context/sources/general/manuals/luatex/luatex-modifications.tex2
2 files changed, 25 insertions, 10 deletions
diff --git a/doc/context/sources/general/manuals/luatex/luatex-libraries.tex b/doc/context/sources/general/manuals/luatex/luatex-libraries.tex
index d7f4bf63d..ec401c282 100644
--- a/doc/context/sources/general/manuals/luatex/luatex-libraries.tex
+++ b/doc/context/sources/general/manuals/luatex/luatex-libraries.tex
@@ -4387,7 +4387,7 @@ and \type {pdf.retval}}
These status variables are similar to the ones traditionally used at the \TEX\
end.
-\subsection{\type {pdf.setorigin}}
+\subsection{\type {pdf.setorigin}, \type {pdf.getorigin}}
This one is used to set the horizonal and/or vertical offset (a traditional
backend property).
@@ -4398,6 +4398,16 @@ pdf.setorigin(tex.sp("1in")) -- sets both to 1in
pdf.setorigin(tex.sp("1in"),tex.sp("1in"))
\stoptyping
+The counterpart of this function returns two values.
+
+\subsection{\type {pdf.setlinkmargin}, \type {pdf.getlinkmargin} \type
+{pdf.setdestmargin}, \type {pdf.getdestmargin}} \type {pdf.setthreadmargin},
+\type {pdf.getthreadmargin} \type {pdf.setxformmargin}, \type
+{pdf.getxformmargin}}
+
+These function can be used to set and retrieve the margins that are added to the
+natural boundingboxes of the respective objects.
+
\subsection{\type {pdf.h}, \type {pdf.v}}
These are the \type {h} and \type {v} values that define the current location on
@@ -4987,6 +4997,15 @@ tex.year
% tex.pdftracingfonts
% tex.pdfuniqueresname
+% tex.pdfdestmargin
+% tex.pdflinkmargin
+% tex.pdfthreadmargin
+% tex.pdfxformmargin
+% tex.pdfhorigin
+% tex.pdfvorigin
+
+% tex.pdfpxdimen
+
Read|-|only:
\startthreecolumns
@@ -5030,14 +5049,6 @@ tex.pagerightoffset
tex.pagetopoffset
tex.pagewidth
tex.parindent
-tex.pdfdestmargin
-tex.pdfhorigin
-tex.pdflinkmargin
-tex.pdfpageheight
-tex.pdfpagewidth
-tex.pdfpxdimen
-tex.pdfthreadmargin
-tex.pdfvorigin
tex.predisplaysize
tex.scriptspace
tex.splitmaxdepth
@@ -5443,9 +5454,11 @@ called xforms in \PDF). You can (re)use the box with \type {\useboxresource} or
by creating a rule node with subtype~2.
\starttyping
-local index = tex.saveboxresource(n,attributes,resources)
+local index = tex.saveboxresource(n,attributes,resources,immediate)
\stoptyping
+The optional second and third arguments are strings, the fourth is a boolean.
+
You can generate the reference (a rule type) with:
\starttyping
diff --git a/doc/context/sources/general/manuals/luatex/luatex-modifications.tex b/doc/context/sources/general/manuals/luatex/luatex-modifications.tex
index 7818ea5b4..940afc24b 100644
--- a/doc/context/sources/general/manuals/luatex/luatex-modifications.tex
+++ b/doc/context/sources/general/manuals/luatex/luatex-modifications.tex
@@ -553,6 +553,7 @@ The configuration related registers have become:
\edef\pdflinkmargin {\pdfvariable linkmargin}
\edef\pdfdestmargin {\pdfvariable destmargin}
\edef\pdfthreadmargin {\pdfvariable threadmargin}
+\edef\pdfformmargin {\pdfvariable formmargin}
\edef\pdfpagesattr {\pdfvariable pagesattr}
\edef\pdfpageattr {\pdfvariable pageattr}
@@ -606,6 +607,7 @@ the defaults; these are:
\pdflinkmargin 0pt
\pdfdestmargin 0pt
\pdfthreadmargin 0pt
+\pdfxformmargin 0pt
\stoptyping
If you also want some backward compatibility, you can add: