diff --git a/manual/luatex-backend.tex b/manual/luatex-backend.tex index 8d4c366c35ffa25aea0d812f8f0f02a2cf16b389..49a18ddb40b616608d760ae8e090b89cb3a9d279 100644 --- a/manual/luatex-backend.tex +++ b/manual/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/manual/luatex-tex.tex b/manual/luatex-tex.tex index a5e45808807e8ebe1cae31497034c81e4149c6f8..f8c3d5ac63e588842c7f9a2e9e20a4a1f0913733 100644 --- a/manual/luatex-tex.tex +++ b/manual/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/manual/luatex.pdf b/manual/luatex.pdf index 2df0e1617cd1ebb2499319c3483a86527f4bc834..991ef5f112925e19e93e3e3f446c16399fdc8252 100644 Binary files a/manual/luatex.pdf and b/manual/luatex.pdf differ diff --git a/source/texk/web2c/luatexdir/ChangeLog b/source/texk/web2c/luatexdir/ChangeLog index 268589a75edd67c8599b0558a13b96ec419ab1db..e840d0711449bead7865445d8cb50162767864fc 100644 --- a/source/texk/web2c/luatexdir/ChangeLog +++ b/source/texk/web2c/luatexdir/ChangeLog @@ -1,3 +1,6 @@ +2023-02-05 Luigi Scarso <luigi.scarso@gmail.com> + * Fix typos (thanks to J. Friedrich) + 2023-01-24 Luigi Scarso <luigi.scarso@gmail.com> * fix for r2l multiline link etc rectangles (H.Hagen) diff --git a/source/texk/web2c/luatexdir/luatex.c b/source/texk/web2c/luatexdir/luatex.c index 14426db6a8b7c4f2ba87873da5b1813e228ea75a..c11b0ca6282ae0c61ed6a3f6de28ae62ab50970c 100644 --- a/source/texk/web2c/luatexdir/luatex.c +++ b/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/source/texk/web2c/luatexdir/luatex_svnversion.h b/source/texk/web2c/luatexdir/luatex_svnversion.h index a6eb6c1a29221106f3a999b79c1a698bf039fca3..c2d11e26c208b1232f48f40291c54dd57de2b144 100644 --- a/source/texk/web2c/luatexdir/luatex_svnversion.h +++ b/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