summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/luatex/base/luatex-tex.tex
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/doc/luatex/base/luatex-tex.tex')
-rw-r--r--Master/texmf-dist/doc/luatex/base/luatex-tex.tex48
1 files changed, 24 insertions, 24 deletions
diff --git a/Master/texmf-dist/doc/luatex/base/luatex-tex.tex b/Master/texmf-dist/doc/luatex/base/luatex-tex.tex
index a5e45808807..f8c3d5ac63e 100644
--- a/Master/texmf-dist/doc/luatex/base/luatex-tex.tex
+++ b/Master/texmf-dist/doc/luatex/base/luatex-tex.tex
@@ -1379,8 +1379,8 @@ tex.print(tex.romannumeral(123))
The first one returns the name only, the second one reports the size too.
\startfunctioncall
-tex.print(tex.fontname(tex.fontname))
-tex.print(tex.fontname(tex.fontidentidier))
+tex.print(tex.fontidentifier(1))
+tex.print(tex.fontname(1))
\stopfunctioncall
\subsubsection{\type {sp}}
@@ -1412,28 +1412,28 @@ following:
\stopitem
\stopitemize
-\subsubsection{\type {tex.getlinenumber} and \type {tex.setlinenumber}}
-
-\libindex{getlinenumber}
-\libindex{setlinenumber}
-
-You can mess with the current line number:
-
-\startfunctioncall
-local n = tex.getlinenumber()
-tex.setlinenumber(n+10)
-\stopfunctioncall
-
-which can be shortcut to:
-
-\startfunctioncall
-tex.setlinenumber(10,true)
-\stopfunctioncall
-
-This might be handy when you have a callback that read numbers from a file and
-combines them in one line (in which case an error message probably has to refer
-to the original line). Interference with \TEX's internal handling of numbers is
-of course possible.
+%\subsubsection{\type {tex.getlinenumber} and \type {tex.setlinenumber}}
+%
+%\libindex{getlinenumber}
+%\libindex{setlinenumber}
+%
+%You can mess with the current line number:
+%
+%\startfunctioncall
+%local n = tex.getlinenumber()
+%tex.setlinenumber(n+10)
+%\stopfunctioncall
+%
+%which can be shortcut to:
+%
+%\startfunctioncall
+%tex.setlinenumber(10,true)
+%\stopfunctioncall
+%
+%This might be handy when you have a callback that read numbers from a file and
+%combines them in one line (in which case an error message probably has to refer
+%to the original line). Interference with \TEX's internal handling of numbers is
+%of course possible.
\subsubsection{\type {error} and \type {show_context}}