diff options
Diffstat (limited to 'Master/texmf-dist/source/luatex/luatexbase/luatexbase-mcb.dtx')
-rw-r--r-- | Master/texmf-dist/source/luatex/luatexbase/luatexbase-mcb.dtx | 24 |
1 files changed, 14 insertions, 10 deletions
diff --git a/Master/texmf-dist/source/luatex/luatexbase/luatexbase-mcb.dtx b/Master/texmf-dist/source/luatex/luatexbase/luatexbase-mcb.dtx index 86a4788d2be..09c8c1c53dd 100644 --- a/Master/texmf-dist/source/luatex/luatexbase/luatexbase-mcb.dtx +++ b/Master/texmf-dist/source/luatex/luatexbase/luatexbase-mcb.dtx @@ -122,12 +122,12 @@ See source file '\inFileName' for details. % \maketitle % % \begin{abstract} -% This package manages the callback adding and removing, by adding -% \texttt{callback.add} and \texttt{callback.remove}, and overwriting -% \texttt{callback.register}. It also allows to create and call new callbacks. -% For an introduction on this package (among others), please refer to the -% document \texttt{luatextra-reference.pdf}. -% \par\textbf{Warning.} Currently assumes that \textsf{luatexbase-modutils} +% This package manages the callback adding and removing, by providing new +% functions and overwriting \texttt{callback.register}. It also allows to +% create and call new callbacks.\par +% The user part of this documentation is currently very incomplete, and will +% be expanded later. Sorry for this and thanks for your patience.\par +% \textbf{Warning.} Currently assumes that \textsf{luatexbase-modutils} % has been previously loaded. (This is a temporary limitation.) % \end{abstract} % @@ -147,18 +147,22 @@ See source file '\inFileName' for details. % impossible with them to be compatible with each other. % % This package solves this problem by adding mainly one new function -% \texttt{callback.\\add} that adds a function in a callback. With this -% function it is possible for packages to register their function in a -% callback without overwriting the functions of the other packages. +% \verb+luatexbase.add_to_callback+ that adds a function in a callback. With +% this function it is possible for packages to register their function in a +% callback without overwriting the functions of the other packages. There are +% also functions to remove one or all functions from a callback. +% See comments in the implementation section for details. % % The functions are called in a certain order, and when a package registers a % callback it can assign a priority to its function. Conflicts can still % remain even with the priority mechanism, for example in the case where two % packages want to have the highest priority. In these cases the packages have % to solve the conflicts themselves. +% See comments in the implementation section for details. % % This package also privides a way to create and call new callbacks, in % addition to the default Lua\TeX\ callbacks. +% See comments in the implementation section for details. % % \subsubsection*{Limitations} % @@ -787,7 +791,7 @@ end % \begin{macrocode} callback.register = function () err("function callback.register has been deleted by luamcallbacks, " -.."please use callback.add instead.") +.."please use luatexbase.add_to_callback instead.") end % \end{macrocode} % |