From 72f705473655dffaefe68319301192856cf62b1b Mon Sep 17 00:00:00 2001 From: Luigi Scarso Date: Sat, 23 Mar 2019 06:22:21 +0000 Subject: fix to lpdfelib; slightly better --recorder; updated manual git-svn-id: svn://tug.org/texlive/trunk@50545 c570f23f-e606-0410-a88d-b1316a301751 --- .../texmf-dist/doc/luatex/base/luatex-backend.tex | 16 ++++++++-------- Master/texmf-dist/doc/luatex/base/luatex-tex.tex | 17 +++++++++++++++++ Master/texmf-dist/doc/luatex/base/luatex.pdf | Bin 1559350 -> 1560213 bytes 3 files changed, 25 insertions(+), 8 deletions(-) (limited to 'Master') diff --git a/Master/texmf-dist/doc/luatex/base/luatex-backend.tex b/Master/texmf-dist/doc/luatex/base/luatex-backend.tex index 0ec9be9b0f7..21cdd728c11 100644 --- a/Master/texmf-dist/doc/luatex/base/luatex-backend.tex +++ b/Master/texmf-dist/doc/luatex/base/luatex-backend.tex @@ -578,12 +578,12 @@ detailed information. \stopsubsection -\startsubsection[title={\type {open}, \type {new}, \type {status}, \type {close}, \type {unencrypt}}] +\startsubsection[title={\type {open}, \type {new}, \type {getstatus}, \type {close}, \type {unencrypt}}] \libindex {open} \libindex {new} \libindex {new} -\libindex {status} +\libindex {getstatus} \libindex {close} \libindex {unencrypt} @@ -603,7 +603,7 @@ pdfe.close() You can check if a document opened well by: \starttyping -pdfe.status() +pdfe.getstatus() \stoptyping The returned codes are: @@ -627,18 +627,18 @@ pdfe.unencrypt(,userpassword,ownerpassword) \stopsubsection -\startsubsection[title={\type {size}, \type {version}, \type {getnofobjects}, \type {getnofpages}}] +\startsubsection[title={\type {getsize}, \type {getversion}, \type {getnofobjects}, \type {getnofpages}}] -\libindex {size} -\libindex {version} +\libindex {getsize} +\libindex {getversion} \libindex {getnofobjects} \libindex {getnofpages} A successfully opened document can provide some information: \starttyping -bytes = size() -major, minor = version() +bytes = getsize() +major, minor = getversion() n = getnofobjects() n = getnofpages() bytes, waste = getnofpages() diff --git a/Master/texmf-dist/doc/luatex/base/luatex-tex.tex b/Master/texmf-dist/doc/luatex/base/luatex-tex.tex index 894227661ba..48bdeef119c 100644 --- a/Master/texmf-dist/doc/luatex/base/luatex-tex.tex +++ b/Master/texmf-dist/doc/luatex/base/luatex-tex.tex @@ -2504,6 +2504,23 @@ return values. \stopsubsection +\startsubsection[title={\type {record_input_file} and \type {record_output_file}}] + +\topicindex {files+recording} + +\libindex{record_input_file} +\libindex{record_output_file} + +These two function can be used to register used files. Because callbacks can load +files themselves you might need these helpers (if you use recording at all). + +\startfunctioncall +kpse.record_input_file( name) +kpse.record_output_file( name) +\stopfunctioncall + +\stopsubsection + \startsubsection[title={\type {find_file}}] \topicindex {files+finding} diff --git a/Master/texmf-dist/doc/luatex/base/luatex.pdf b/Master/texmf-dist/doc/luatex/base/luatex.pdf index 9ea3b0bdb5d..572b75d842d 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