[latex3-commits] [latex2e-public] r1420 - _ already verbatim in macro and DescribeMacro argument

noreply at latex-project.org noreply at latex-project.org
Mon Mar 13 08:58:08 CET 2017


Author: carlisle
Date: 2017-03-13 08:58:08 +0100 (Mon, 13 Mar 2017)
New Revision: 1420

Modified:
   trunk/base/ltluatex.dtx
Log:
_ already verbatim in macro and DescribeMacro argument

Modified: trunk/base/ltluatex.dtx
===================================================================
--- trunk/base/ltluatex.dtx	2017-03-13 07:38:12 UTC (rev 1419)
+++ trunk/base/ltluatex.dtx	2017-03-13 07:58:08 UTC (rev 1420)
@@ -170,7 +170,7 @@
 %
 % \subsection{Allocators in Lua}
 %
-% \DescribeMacro{new\_attribute}
+% \DescribeMacro{new_attribute}
 % |luatexbase.new_attribute(|\meta{attribute}|)|\\
 % Returns an allocation number for the \meta{attribute}, indexed from~$1$.
 % The attribute will be initialised with the marker value |-"7FFFFFFF|
@@ -182,18 +182,18 @@
 % consistently for attributes declared in \TeX\ or Lua.
 %
 % \noindent
-% \DescribeMacro{new\_whatsit}
+% \DescribeMacro{new_whatsit}
 % |luatexbase.new_whatsit(|\meta{whatsit}|)|\\
 % Returns an allocation number for the custom \meta{whatsit}, indexed from~$1$.
 %
 % \noindent
-% \DescribeMacro{new\_bytecode}
+% \DescribeMacro{new_bytecode}
 % |luatexbase.new_bytecode(|\meta{bytecode}|)|\\
 % Returns an allocation number for a bytecode register, indexed from~$1$.
 % The optional \meta{name} argument is just used for logging.
 %
 % \noindent
-% \DescribeMacro{new\_chunkname}
+% \DescribeMacro{new_chunkname}
 % |luatexbase.new_chunkname(|\meta{chunkname}|)|\\
 % Returns an allocation number for a Lua chunk name for use with 
 % |\directlua| and |\latelua|, indexed from~$1$.
@@ -287,7 +287,7 @@
 %
 % \subsection{Module utilities}
 %
-% \DescribeMacro{provides\_module}
+% \DescribeMacro{provides_module}
 % |luatexbase.provides_module(|\meta{info}|)|\\
 % This function is used by modules to identify themselves; the |info| should be
 % a table containing information about the module. The required field
@@ -297,9 +297,9 @@
 % information will be recorded in the log. Other fields are ignored.
 %
 % \noindent
-% \DescribeMacro{module\_info}
-% \DescribeMacro{module\_warning}
-% \DescribeMacro{module\_error}
+% \DescribeMacro{module_info}
+% \DescribeMacro{module_warning}
+% \DescribeMacro{module_error}
 % |luatexbase.module_info(|\meta{module}, \meta{text}|)|\\
 % |luatexbase.module_warning(|\meta{module}, \meta{text}|)|\\
 % |luatexbase.module_error(|\meta{module}, \meta{text}|)|\\
@@ -316,7 +316,7 @@
 % \subsection{Callback management}
 %
 % \noindent
-% \DescribeMacro{add\_to\_callback}
+% \DescribeMacro{add_to_callback}
 % |luatexbase.add_to_callback(|^^A
 % \meta{callback}, \meta{function}, \meta{description}|)|
 % Registers the \meta{function} into the \meta{callback} with a textual
@@ -324,20 +324,20 @@
 % in the order loaded.
 %
 % \noindent
-% \DescribeMacro{remove\_from\_callback}
+% \DescribeMacro{remove_from_callback}
 % |luatexbase.remove_from_callback(|\meta{callback}, \meta{description}|)|
 % Removes the callback function with \meta{description} from the \meta{callback}.
 % The removed function and its description 
 % are returned as the results of this function.
 %
 % \noindent
-% \DescribeMacro{in\_callback}
+% \DescribeMacro{in_callback}
 % |luatexbase.in_callback(|\meta{callback}, \meta{description}|)|
 % Checks if the \meta{description} matches one of the functions added
 % to the list for the \meta{callback}, returning a boolean value.
 %
 % \noindent
-% \DescribeMacro{disable\_callback}
+% \DescribeMacro{disable_callback}
 % |luatexbase.disable_callback(|\meta{callback}|)|
 % Sets the \meta{callback} to \texttt{false} as described in the Lua\TeX{}
 % manual for the underlying \texttt{callback.register} built-in. Callbacks
@@ -345,18 +345,18 @@
 % no functions registered using the callback.
 %
 % \noindent
-% \DescribeMacro{callback\_descriptions}
+% \DescribeMacro{callback_descriptions}
 % A list of the descriptions of functions registered to the specified
 % callback is returned. |{}| is returned if there are no functions registered.
 %
 % \noindent
-% \DescribeMacro{create\_callback}
+% \DescribeMacro{create_callback}
 % |luatexbase.create_callback(|\meta{name},meta{type},\meta{default}|)|
 % Defines a user defined callback. The last argument is a default
 % function or |false|.
 %
 % \noindent
-% \DescribeMacro{call\_callback}
+% \DescribeMacro{call_callback}
 % |luatexbase.call_callback(|\meta{name},\ldots|)|
 % Calls a user defined callback with the supplied arguments.
 %
@@ -433,10 +433,12 @@
 % update to |etex.src| which already has some Lua\TeX-specific
 % code, but does not define the correct range for Lua\TeX.
 %
+% 2015-07-13 higher range in luatex.
 %    \begin{macrocode}
-% 2015-07-13 higher range in luatex
 \edef \et at xmaxregs {\ifx\directlua\@undefined 32768\else 65536\fi}
-% luatex/xetex also allow more math fam
+%    \end{macrocode}
+% luatex/xetex also allow more math fam.
+%    \begin{macrocode}
 \edef \et at xmaxfam {\ifx\Umathchar\@undefined\sixt@@n\else\@cclvi\fi}
 %    \end{macrocode}
 %
@@ -513,9 +515,7 @@
 \long\def\@firstofone#1{#1}
 %    \end{macrocode}
 %
-%    \begin{macrocode}
 % Fix up allocations not to clash with |etex.src|.
-%    \end{macrocode}
 %
 %    \begin{macrocode}
 \expandafter\csname newcount\endcsname\e at alloc@attribute at count
@@ -901,7 +901,7 @@
 %    \end{macrocode}
 % \end{macro}
 %
-% \begin{macro}{provides\_module}
+% \begin{macro}{provides_module}
 % \changes{v1.0a}{2015/09/24}{Function added}
 % \changes{v1.0f}{2015/10/03}{use luatexbase\_log}
 % Local function to write to the log.
@@ -974,11 +974,11 @@
 end
 %    \end{macrocode}
 %
-% \begin{macro}{module\_info}
+% \begin{macro}{module_info}
 % \changes{v1.0a}{2015/09/24}{Function added}
-% \begin{macro}{module\_warning}
+% \begin{macro}{module_warning}
 % \changes{v1.0a}{2015/09/24}{Function added}
-% \begin{macro}{module\_error}
+% \begin{macro}{module_error}
 % \changes{v1.0a}{2015/09/24}{Function added}
 %   Write messages.
 %    \begin{macrocode}
@@ -1080,7 +1080,7 @@
 %
 % \subsection{Attribute allocation}
 %
-% \begin{macro}{new\_attribute}
+% \begin{macro}{new_attribute}
 % \changes{v1.0a}{2015/09/24}{Function added}
 % \changes{v1.1c}{2017/02/18}{Parameterise count used in tracking}
 %   As attributes are used for Lua manipulations its useful to be able
@@ -1116,7 +1116,7 @@
 %
 % \subsection{Custom whatsit allocation}
 %
-% \begin{macro}{new\_whatsit}
+% \begin{macro}{new_whatsit}
 % \changes{v1.1c}{2017/02/18}{Parameterise count used in tracking}
 % Much the same as for attribute allocation in Lua.
 %    \begin{macrocode}
@@ -1137,7 +1137,7 @@
 %
 % \subsection{Bytecode register allocation}
 %
-% \begin{macro}{new\_bytecode}
+% \begin{macro}{new_bytecode}
 % \changes{v1.1c}{2017/02/18}{Parameterise count used in tracking}
 % Much the same as for attribute allocation in Lua.
 % The optional \meta{name} argument is used in the log if given.
@@ -1160,7 +1160,7 @@
 %
 % \subsection{Lua chunk name allocation}
 %
-% \begin{macro}{new\_chunkname}
+% \begin{macro}{new_chunkname}
 % \changes{v1.1c}{2017/02/18}{Parameterise count used in tracking}
 % As for bytecode registers but also store the name in the
 % |lua.name| table.
@@ -1461,7 +1461,7 @@
 local user_callbacks_defaults = { }
 %    \end{macrocode}
 %
-% \begin{macro}{create\_callback}
+% \begin{macro}{create_callback}
 % \changes{v1.0a}{2015/09/24}{Function added}
 % \changes{v1.0i}{2015/11/29}{Check name is not nil in error message (PHG)}
 % \changes{v1.0k}{2015/12/02}{Give more specific error messages (PHG)}
@@ -1489,7 +1489,7 @@
 %    \end{macrocode}
 % \end{macro}
 %
-% \begin{macro}{call\_callback}
+% \begin{macro}{call_callback}
 % \changes{v1.0a}{2015/09/24}{Function added}
 % \changes{v1.0i}{2015/11/29}{Check name is not nil in error message (PHG)}
 % \changes{v1.0k}{2015/12/02}{Give more specific error messages (PHG)}
@@ -1520,7 +1520,7 @@
 %    \end{macrocode}
 % \end{macro}
 %
-% \begin{macro}{add\_to\_callback}
+% \begin{macro}{add_to_callback}
 % \changes{v1.0a}{2015/09/24}{Function added}
 %   Add a function to a callback. First check arguments.
 % \changes{v1.0k}{2015/12/02}{Give more specific error messages (PHG)}
@@ -1584,7 +1584,7 @@
 %    \end{macrocode}
 % \end{macro}
 %
-% \begin{macro}{remove\_from\_callback}
+% \begin{macro}{remove_from_callback}
 % \changes{v1.0a}{2015/09/24}{Function added}
 % \changes{v1.0k}{2015/12/02}{adjust initialisation of cb local (PHG)}
 % \changes{v1.0k}{2015/12/02}{Give more specific error messages (PHG)}
@@ -1641,7 +1641,7 @@
 %    \end{macrocode}
 % \end{macro}
 %
-% \begin{macro}{in\_callback}
+% \begin{macro}{in_callback}
 % \changes{v1.0a}{2015/09/24}{Function added}
 % \changes{v1.0h}{2015/11/27}{Guard against undefined list latex/4445}
 %   Look for a function description in a callback.
@@ -1665,7 +1665,7 @@
 %    \end{macrocode}
 % \end{macro}
 %
-% \begin{macro}{disable\_callback}
+% \begin{macro}{disable_callback}
 % \changes{v1.0a}{2015/09/24}{Function added}
 %   As we subvert the engine interface we need to provide a way to access
 %   this functionality.
@@ -1681,7 +1681,7 @@
 %    \end{macrocode}
 % \end{macro}
 %
-% \begin{macro}{callback\_descriptions}
+% \begin{macro}{callback_descriptions}
 % \changes{v1.0a}{2015/09/24}{Function added}
 % \changes{v1.0h}{2015/11/27}{Match test in in-callback latex/4445}
 %   List the descriptions of functions registered for the given callback.



More information about the latex3-commits mailing list