From 84f711075130623c04abe7acf23f980cd636e4ab Mon Sep 17 00:00:00 2001 From: Luigi Scarso Date: Mon, 6 Feb 2023 07:54:36 +0000 Subject: Fix typos (thanks to J. Friedrich). git-svn-id: svn://tug.org/texlive/trunk@65743 c570f23f-e606-0410-a88d-b1316a301751 --- Build/source/texk/web2c/luatexdir/ChangeLog | 3 ++ Build/source/texk/web2c/luatexdir/luatex.c | 2 +- .../texk/web2c/luatexdir/luatex_svnversion.h | 2 +- .../texmf-dist/doc/luatex/base/luatex-backend.tex | 4 +- Master/texmf-dist/doc/luatex/base/luatex-tex.tex | 48 ++++++++++----------- Master/texmf-dist/doc/luatex/base/luatex.pdf | Bin 1788188 -> 1788043 bytes 6 files changed, 31 insertions(+), 28 deletions(-) diff --git a/Build/source/texk/web2c/luatexdir/ChangeLog b/Build/source/texk/web2c/luatexdir/ChangeLog index 268589a75ed..e840d071144 100644 --- a/Build/source/texk/web2c/luatexdir/ChangeLog +++ b/Build/source/texk/web2c/luatexdir/ChangeLog @@ -1,3 +1,6 @@ +2023-02-05 Luigi Scarso + * Fix typos (thanks to J. Friedrich) + 2023-01-24 Luigi Scarso * fix for r2l multiline link etc rectangles (H.Hagen) diff --git a/Build/source/texk/web2c/luatexdir/luatex.c b/Build/source/texk/web2c/luatexdir/luatex.c index 14426db6a8b..c11b0ca6282 100644 --- a/Build/source/texk/web2c/luatexdir/luatex.c +++ b/Build/source/texk/web2c/luatexdir/luatex.c @@ -329,7 +329,7 @@ int shell_cmd_is_allowed(const char *cmd, char **safecmd, char **cmdname) free(buf); /* - Is *cmdname listed in a texmf.cnf vriable as shell_escape_commands = + Is *cmdname listed in a texmf.cnf variable as shell_escape_commands = foo,bar,... ? */ p = cmdlist; diff --git a/Build/source/texk/web2c/luatexdir/luatex_svnversion.h b/Build/source/texk/web2c/luatexdir/luatex_svnversion.h index a6eb6c1a292..c2d11e26c20 100644 --- a/Build/source/texk/web2c/luatexdir/luatex_svnversion.h +++ b/Build/source/texk/web2c/luatexdir/luatex_svnversion.h @@ -1,4 +1,4 @@ #ifndef luatex_svn_revision_h #define luatex_svn_revision_h -#define luatex_svn_revision 7557 +#define luatex_svn_revision 7558 #endif diff --git a/Master/texmf-dist/doc/luatex/base/luatex-backend.tex b/Master/texmf-dist/doc/luatex/base/luatex-backend.tex index 8d4c366c35f..49a18ddb40b 100644 --- a/Master/texmf-dist/doc/luatex/base/luatex-backend.tex +++ b/Master/texmf-dist/doc/luatex/base/luatex-backend.tex @@ -739,7 +739,7 @@ string is hex encoded. The second call returns the unencoded string. \stopsubsection -\startsubsection[title={\type {get[from][dictionary|array|stream]}}] +\startsubsection[title={\type {get[dictionary|array|stream]}}] \libindex {getdictionary} \libindex {getfromdictionary} \libindex {getarray} \libindex {getfromarray} @@ -775,7 +775,7 @@ print(pdfe.open("foo.pdf").Pages[1]) \stopsubsection -\startsubsection[title={\type {[open|close|readfrom|whole|]stream}}] +\startsubsection[title={\type {[open|close|readfrom|readfromwhole]stream}}] \libindex {openstream} \libindex {closestream} 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}} diff --git a/Master/texmf-dist/doc/luatex/base/luatex.pdf b/Master/texmf-dist/doc/luatex/base/luatex.pdf index 2df0e1617cd..991ef5f1129 100644 Binary files a/Master/texmf-dist/doc/luatex/base/luatex.pdf and b/Master/texmf-dist/doc/luatex/base/luatex.pdf differ -- cgit v1.2.3