From 1e373b83542a914303b1cfb9ecbdedb145178a8a Mon Sep 17 00:00:00 2001 From: mbertucci47 <61854785+mbertucci47@users.noreply.github.com> Date: Tue, 1 Jul 2025 17:42:57 -0600 Subject: [PATCH] standardize doc arguments; fix a few typos --- l3pdfannot.dtx | 2 +- l3pdfdict.dtx | 13 ++++++++----- l3pdffield-action.dtx | 4 ++-- l3pdffield-checkbox.dtx | 4 ++-- l3pdffield-choice.dtx | 4 ++-- l3pdffield-pushbutton.dtx | 4 ++-- l3pdffield-radiobutton.dtx | 4 ++-- l3pdffield-textfield.dtx | 4 ++-- l3pdffield.dtx | 26 +++++++++++++------------- l3pdffile.dtx | 18 +++++++++--------- l3pdfmanagement.dtx | 2 +- l3pdfmeta.dtx | 28 +++++++++++++++------------- l3pdftools.dtx | 8 ++++---- l3pdfxform.dtx | 4 ++-- ltdocinit.dtx | 14 +++++++------- lualinksplit.lua | 2 +- 16 files changed, 73 insertions(+), 68 deletions(-) diff --git a/l3pdfannot.dtx b/l3pdfannot.dtx index 1e05b0b1..0b774c86 100644 --- a/l3pdfannot.dtx +++ b/l3pdfannot.dtx @@ -411,7 +411,7 @@ % \begin{function}[added = 2021-03-02] % { \pdfannot_widget_box:nnn } % \begin{syntax} -% \cs{pdfannot_widget_box:nnn} \Arg{width} \Arg{height} \Arg{depth} +% \cs{pdfannot_widget_box:nnn} \Arg{width} \Arg{height} \Arg{depth} % \end{syntax} % This creates an \texttt{/Type/Annot} object with the given dimensions. % The annotation doesn't occupy space. diff --git a/l3pdfdict.dtx b/l3pdfdict.dtx index ed161018..a8a84303 100644 --- a/l3pdfdict.dtx +++ b/l3pdfdict.dtx @@ -93,8 +93,8 @@ % \begin{function}[added = 2020-06-16,updated = 2020-12-03] % {\pdfdict_set_eq:nn,\pdfdict_gset_eq:nn} % \begin{syntax} -% \cs{pdfdict_set_eq:nn} \Arg{local dictionary name_1} \Arg{dictionary name_2}\\ -% \cs{pdfdict_gset_eq:nn} \Arg{global dictionary name_1}\Arg{dictionary name_2} +% \cs{pdfdict_set_eq:nn} \Arg{local dictionary name_1} \Arg{dictionary name_2}\\ +% \cs{pdfdict_gset_eq:nn} \Arg{global dictionary name_1} \Arg{dictionary name_2} % \end{syntax} % This functions copy \meta{dictionary name_2} into % \meta{local/global dictionary name_1} locally or globally. If the @@ -103,7 +103,10 @@ % \end{function} % % \begin{function}[added = 2020-04-06] -% {\pdfdict_put:nnn, \pdfdict_gput:nnn,\pdfdict_gput:nee} +% { +% \pdfdict_put:nnn,\pdfdict_put:nne,\pdfdict_put:nee, +% \pdfdict_gput:nnn,\pdfdict_gput:nne,\pdfdict_gput:nee +% } % \begin{syntax} % \cs{pdfdict_put:nnn} \Arg{local dictionary} \Arg{name} \Arg{value} \\ % \cs{pdfdict_gput:nnn} \Arg{global dictionary} \Arg{name} \Arg{value} @@ -174,13 +177,13 @@ % \begin{function}[added = 2020-07-06] % {\pdfdict_get:nnN } % \begin{syntax} -% \cs{pdfdict_get:nnN} \Arg{dictionary} \Arg{name} \meta{tl var} +% \cs{pdfdict_get:nnN} \Arg{dictionary} \Arg{name} \meta{tl var} % \end{syntax} % Recovers the \meta{value} stored by \cs{pdfdict_put:nnn} or % \cs{pdfdict_gput:nnn} % for \meta{name} and places this in the \meta{token list % variable}. If \meta{name} is not found -% then the \meta{token list variable} is set +% then the \meta{tl var} is set % to the special marker \cs{q_no_value}. \meta{name} is first converted % with \cs{str_convert_pdfname:n}. The \meta{token list % variable} is set within the current \TeX{} group. diff --git a/l3pdffield-action.dtx b/l3pdffield-action.dtx index 213a2013..972775e5 100644 --- a/l3pdffield-action.dtx +++ b/l3pdffield-action.dtx @@ -235,7 +235,7 @@ % \subsection{Commands} % \begin{function}{\pdffield_reset_new:nn} % \begin{syntax} -% \cs{pdffield_reset_new:nn}\Arg{name}\Arg{key val list} +% \cs{pdffield_reset_new:nn} \Arg{name} \Arg{key val list} % \end{syntax} % This defines an new reset action with the name \meta{name}. % The keys are described below. @@ -243,7 +243,7 @@ % % \begin{function}{\pdffield_submit_new:nnn} % \begin{syntax} -% \cs{pdffield_submit_new:nn}\Arg{name}\Arg{key val list}\Arg{URL} +% \cs{pdffield_submit_new:nn} \Arg{name} \Arg{key val list} \Arg{URL} % \end{syntax} % This defines an submit action with the name \meta{name}. % The keys are described below. \meta{URL} should be given verbatim. diff --git a/l3pdffield-checkbox.dtx b/l3pdffield-checkbox.dtx index ae2e7063..439b4386 100644 --- a/l3pdffield-checkbox.dtx +++ b/l3pdffield-checkbox.dtx @@ -95,7 +95,7 @@ % \subsection{Commands} % \begin{function}{\pdffield_checkbox:n} % \begin{syntax} -% \cs{pdffield_checkbox:n}\Arg{key val list} +% \cs{pdffield_checkbox:n} \Arg{key val list} % \end{syntax} % This creates a checkbox to check and uncheck. The list of allowed keys is described below. % The \meta{key val list} should at least set the name, without it the default name @@ -131,7 +131,7 @@ % % \begin{function}{preset-checkbox} % \begin{syntax} -% |preset-checkbox| = \Arg{key-val-list} +% |preset-checkbox| = \Arg{key val list} % \end{syntax} % This allows to set default keys for a checkbox. % \end{function} diff --git a/l3pdffield-choice.dtx b/l3pdffield-choice.dtx index 61d3e973..2ee31391 100644 --- a/l3pdffield-choice.dtx +++ b/l3pdffield-choice.dtx @@ -113,7 +113,7 @@ % \subsection{Commands} % \begin{function}{\pdffield_choice:n} % \begin{syntax} -% \cs{pdffield_choice:n}\Arg{key val list} +% \cs{pdffield_choice:n} \Arg{key val list} % \end{syntax} % This creates a choice field. % The list of allowed keys is described below. @@ -149,7 +149,7 @@ % % \begin{function}{preset-choice} % \begin{syntax} -% |preset-choice| = \Arg{key-val-list} +% |preset-choice| = \Arg{key val list} % \end{syntax} % This allows to set default keys for a choice field. % \end{function} diff --git a/l3pdffield-pushbutton.dtx b/l3pdffield-pushbutton.dtx index a71275f0..7e615f31 100644 --- a/l3pdffield-pushbutton.dtx +++ b/l3pdffield-pushbutton.dtx @@ -104,7 +104,7 @@ % \subsection{Commands} % \begin{function}{\pdffield_pushbutton:n} % \begin{syntax} -% \cs{pdffield_pushbutton:n}\Arg{key val list} +% \cs{pdffield_pushbutton:n} \Arg{key val list} % \end{syntax} % This creates a pushbutton. Unlike radio buttons and checkboxes pushbuttons % don't change their state and they don't store or represent a value. @@ -178,7 +178,7 @@ % % \begin{function}{preset-pushbutton} % \begin{syntax} -% |preset-pushbutton| = \Arg{key-val-list} +% |preset-pushbutton| = \Arg{key val list} % \end{syntax} % This allows to set default keys for a pushbutton. % \end{function} diff --git a/l3pdffield-radiobutton.dtx b/l3pdffield-radiobutton.dtx index 27eb1a10..262da710 100644 --- a/l3pdffield-radiobutton.dtx +++ b/l3pdffield-radiobutton.dtx @@ -293,7 +293,7 @@ % \subsection{Commands} % \begin{function}{\pdffield_radio:n} % \begin{syntax} -% \cs{pdffield_radio:n}\Arg{key val list} +% \cs{pdffield_radio:n} \Arg{key val list} % \end{syntax} % This creates a radio button to check and uncheck. % The list of allowed keys is described below. @@ -335,7 +335,7 @@ % % \begin{function}{preset-radiobutton} % \begin{syntax} -% |preset-radiobutton| = \Arg{key-val-list} +% |preset-radiobutton| = \Arg{key val list} % \end{syntax} % This allows to set default keys for a radio button. % \end{function} diff --git a/l3pdffield-textfield.dtx b/l3pdffield-textfield.dtx index b286b055..1d1f9aa5 100644 --- a/l3pdffield-textfield.dtx +++ b/l3pdffield-textfield.dtx @@ -164,7 +164,7 @@ % \subsection{Commands} % \begin{function}{\pdffield_textfield:n} % \begin{syntax} -% \cs{pdffield_textfield:n}\Arg{key val list} +% \cs{pdffield_textfield:n} \Arg{key val list} % \end{syntax} % This creates a textfield. The list of allowed keys is described below. % The \meta{key val list} should at least set the name, without it the default name @@ -205,7 +205,7 @@ % % \begin{function}{preset-textfield} % \begin{syntax} -% |preset-textfield| = \Arg{key-val-list} +% |preset-textfield| = \Arg{key val list} % \end{syntax} % This allows to set default keys for a textfield. % \end{function} diff --git a/l3pdffield.dtx b/l3pdffield.dtx index fb7ba458..259546ae 100644 --- a/l3pdffield.dtx +++ b/l3pdffield.dtx @@ -261,9 +261,9 @@ % % % \section{Commands} -% \begin{function}{\pdffield_field:nn,\pdffield_field:Vn} +% \begin{function}{\pdffield_field:nn} % \begin{syntax} -% \cs{pdffield_field:nn}\Arg{key val list}\Arg{field ID} +% \cs{pdffield_field:nn} \Arg{key val list} \Arg{field ID} % \end{syntax} % This creates a new field. \meta{field ID} will be used to create and % reference the needed objects but it is not the direct object name, so @@ -294,9 +294,9 @@ % % \end{function} % -% \begin{function}{\pdffield_annot:n,\pdffield_annot:V} +% \begin{function}{\pdffield_annot:n} % \begin{syntax} -% \cs{pdffield_annot:n}\Arg{key val list} +% \cs{pdffield_annot:n} \Arg{key val list} % \end{syntax} % This creates a new field annotation. % It is a widget annotation box created with \cs{pdfannot_widget_box:nnn}, and @@ -317,7 +317,7 @@ % \begin{function}{\pdffield_appearance:nn} % \begin{syntax} -% \cs{pdffield_appearance:nn}\Arg{name}\Arg{content} +% \cs{pdffield_appearance:nn} \Arg{name} \Arg{content} % \end{syntax} % This is a small wrapper around \cs{pdfxform_new:nnn} (which could be used too) % to create an appearance. To avoid name clashes \meta{name} should start with @@ -326,7 +326,7 @@ % % \begin{function}{\pdffield_setup:n} % \begin{syntax} -% \cs{pdffield_setup:n}\Arg{key-val} +% \cs{pdffield_setup:n} \Arg{key val list} % \end{syntax} % This command allows to preset some field settings. % \end{function} @@ -334,10 +334,10 @@ % % \begin{function}{create-style} % \begin{syntax} -% |create-style| = \Arg{name}\Arg{key-val} +% |create-style| = \Arg{name}\Arg{key val list} % \end{syntax} % This defines a style which can then be used with the |style| key. -% \Arg{key-val} can be an arbitrary collection of the keys of the module. +% \Arg{key val list} can be an arbitrary collection of the keys of the module. % \end{function} % % \begin{function}{style} @@ -349,21 +349,21 @@ % % \begin{function}{preset-checkbox} % \begin{syntax} -% |preset-checkbox|=\Arg{key-val} +% |preset-checkbox| = \Arg{key val list} % \end{syntax} % This allows to set default keys for a checkbox. % \end{function} % % \begin{function}{preset-radio} % \begin{syntax} -% |preset-radio|=\Arg{key-val} +% |preset-radio| = \Arg{key val list} % \end{syntax} % This allows to set default keys for a radio button. % \end{function} % % \begin{function}{preset-textfield} % \begin{syntax} -% |preset-textfield|=\Arg{key-val} +% |preset-textfield| = \Arg{key val list} % \end{syntax} % This allows to set default keys for a text field. % \end{function} @@ -372,8 +372,8 @@ % % \begin{function}{value,default} % \begin{syntax} -% |value| =\Arg{value}\\ -% |default|=\Arg{value} +% |value| = \Arg{value}\\ +% |default| = \Arg{value} % \end{syntax} % These two keys pass the value to a handler which can be redefined. % Their exact behaviour depends on field type. Please check their documentation. diff --git a/l3pdffile.dtx b/l3pdffile.dtx index 59b419f5..ec25df6b 100644 --- a/l3pdffile.dtx +++ b/l3pdffile.dtx @@ -264,7 +264,7 @@ % \end{table} % \begin{function}{\pdffile_embed_file:nnn} % \begin{syntax} -% \cs{pdffile_embed_file:nnn} \Arg{source filename} \Arg{target filename} \Arg{object name } +% \cs{pdffile_embed_file:nnn} \Arg{source filename} \Arg{target filename} \Arg{object name} % \end{syntax} % This commands embeds the file \meta{source filename} in the PDF, % and creates a |/Filespec| dictionary object named \meta{object name}. @@ -308,7 +308,7 @@ % \begin{function}{\pdffile_embed_stream:nnn,\pdffile_embed_stream:nnN} % \begin{syntax} % \cs{pdffile_embed_stream:nnn} \Arg{content} \Arg{target filename} \Arg{object name}\\ -% \cs{pdffile_embed_stream:nnN} \Arg{content} \Arg{target filename} \Arg{tl var} +% \cs{pdffile_embed_stream:nnN} \Arg{content} \Arg{target filename} \meta{tl var} % \end{syntax} % This commands embeds the \meta{content} in the PDF in a stream objects and % creates either a |/Filespec| dictionary object named \meta{object name}, or stores @@ -334,7 +334,7 @@ % % \begin{function}{\pdffile_filespec:nnn,\pdffile_filespec:nne} % \begin{syntax} -% \cs{ pdffile_filespec:nnn }\Arg{object name}\Arg{file name}{stream object reference} +% \cs{ pdffile_filespec:nnn }\Arg{object name} \Arg{file name} \Arg{stream object reference} % \end{syntax} % The previous commands are fine if stream and filespec dictionary can be created together. % But there are cases where the |filespec| dictionary should be referenced when the @@ -377,11 +377,11 @@ % as |.pdf| increase the first integer. % % |\pdffile_filespec:nnn| does \emph{not} increase the integers, -% if this command is used it lies in the responsability of the +% if this command is used it lies in the responsibility of the % author to adjust the integers. % -% The integers are public so that user -% can query and adjust the values, e.g. in tests for a standard compliancy. +% The integers are public so that users +% can query and adjust the values, e.g. in tests for standard compliance. % \end{variable} % % \begin{variable}{\l_pdffile_source_name_str} @@ -526,11 +526,11 @@ % as |.pdf| increase the first integer. % % |\pdffile_filespec:nnn| does \emph{not} increase the integers, -% if this command is used it lies in the responsability of the +% if this command is used it lies in the responsibility of the % author to adjust the integers. % -% The integers are public so that user -% can query and adjust the values, e.g. in tests for a standard compliancy. +% The integers are public so that users +% can query and adjust the values, e.g. in tests for standard compliance. % \begin{macrocode} \int_new:N\g_pdffile_embed_pdfa_int \int_new:N\g_pdffile_embed_nonpdfa_int diff --git a/l3pdfmanagement.dtx b/l3pdfmanagement.dtx index 1287324e..672f353d 100644 --- a/l3pdfmanagement.dtx +++ b/l3pdfmanagement.dtx @@ -180,7 +180,7 @@ % \begin{function}[added = 2020-04-08] % {\pdfmanagement_show:n } % \begin{syntax} -% \cs{pdfmanagement_show:n} \Arg{resource path} +% \cs{pdfmanagement_show:n} \Arg{resource path} % \end{syntax} % This shows the content of the dictionary targeted by % \Arg{resource path} in the log and on the terminal if possible. diff --git a/l3pdfmeta.dtx b/l3pdfmeta.dtx index 7ec3239f..95f0a120 100644 --- a/l3pdfmeta.dtx +++ b/l3pdfmeta.dtx @@ -100,9 +100,9 @@ % in this case it is needed to check not only if the requirement is % in the standard but also if the user value is in the allowed list. % -% \begin{function}[EXP,pTF]{\pdfmeta_standard_verify:n} +% \begin{function}[EXP,TF]{\pdfmeta_standard_verify:n} % \begin{syntax} -% \cs{pdfmeta_standard_verify:n}\Arg{requirement} +% \cs{pdfmeta_standard_verify:nTF} \Arg{requirement} \Arg{true code} \Arg{false code} % \end{syntax} % % This checks if \meta{requirement} is listed in the standard. @@ -117,7 +117,7 @@ % % \begin{function}[TF]{\pdfmeta_standard_verify:nn} % \begin{syntax} -% \cs{pdfmeta_standard_verify:nn}\Arg{requirement}\Arg{value} +% \cs{pdfmeta_standard_verify:nnTF} \Arg{requirement} \Arg{value} \Arg{true code} \Arg{false code} % \end{syntax} % % This checks if \meta{requirement} is listed in the standard, @@ -136,7 +136,7 @@ % % \begin{function}[EXP]{\pdfmeta_standard_item:n} % \begin{syntax} -% \cs{pdfmeta_standard_item:n}\Arg{requirement} +% \cs{pdfmeta_standard_item:n} \Arg{requirement} % \end{syntax} % This retrieves the value of \meta{requirement} and leaves it in the input. % If the requirement isn't in the standard the result is empty, @@ -147,13 +147,13 @@ % % \begin{function}{\pdfmeta_standard_get:nN} % \begin{syntax} -% \cs{pdfmeta_standard_get:nN}\Arg{requirement} \meta{tl var} +% \cs{pdfmeta_standard_get:nN} \Arg{requirement} \meta{tl var} % \end{syntax} % This retrieves the value of \meta{requirement} and stores -% it in the \meta{token list variable}. +% it in the \meta{tl var}. % If the \meta{requirement} is not found the special % value |\q_no_value| is used. -% The \meta{token list variable} is assigned locally. +% The \meta{tl var} is assigned locally. % \end{function} % % @@ -593,14 +593,14 @@ % % \begin{function}{\pdfmeta_xmp_add:n} % \begin{syntax} -% \cs{pdfmeta_xmp_add:n}\Arg{XML} +% \cs{pdfmeta_xmp_add:n} \Arg{XML} % \end{syntax} % With this command additional XML code can be added to the Metadata. % The content is added unchanged, and not sanitized. % \end{function} % \begin{function}{\pdfmeta_xmp_xmlns_new:nn} % \begin{syntax} -% \cs{pdfmeta_xmp_xmlns_new:nn}\Arg{prefix}\Arg{uri} +% \cs{pdfmeta_xmp_xmlns_new:nn} \Arg{prefix} \Arg{uri} % \end{syntax} % With this command a xmlns name space can be added. The \meta{uri} % argument is expanded, a hash can be input with |\c_hash_str|. @@ -610,7 +610,7 @@ % (see \url{https://pdfa.org/wp-content/uploads/2019/09/PDF-Declarations.pdf}). % \begin{function}{\pdfmeta_xmp_add_declaration:n,\pdfmeta_xmp_add_declaration:e} % \begin{syntax} -% \cs{pdfmeta_xmp_add_declaration:n}\Arg{uri} +% \cs{pdfmeta_xmp_add_declaration:n} \Arg{uri} % \end{syntax} % This add a PDF declaration with the required |conformsTo| property to the XMP metadata. % \meta{uri} should not be empty and is a URI specifying @@ -623,7 +623,8 @@ % \pdfmeta_xmp_add_declaration:ennnn, % \pdfmeta_xmp_add_declaration:eeenn} % \begin{syntax} -% \cs{pdfmeta_xmp_add_declaration:nnnnn}\Arg{uri}\Arg{By}\Arg{Date}\Arg{Credentials}\Arg{Report} +% \cs{pdfmeta_xmp_add_declaration:nnnnn} \\ +% ~~~~\Arg{uri} \Arg{By} \Arg{Date} \Arg{Credentials} \Arg{Report} % \end{syntax} % This add a PDF declaration to the XMP metadata similar % to \cs{pdfmeta_xmp_add_declaration:n}. @@ -641,7 +642,7 @@ % % \begin{function}{\pdfmeta_xmp_schema_new:nnn} % \begin{syntax} -% \cs{pdfmeta_xmp_schema_new:nnn}\Arg{text}\Arg{prefix}\Arg{uri} +% \cs{pdfmeta_xmp_schema_new:nnn} \Arg{text} \Arg{prefix} \Arg{uri} % \end{syntax} % \meta{text} is some string describing the schema, e.g. |PDF/A~Identification~Schema|, % \meta{prefix} is the unique prefix used by the schema. This prefix @@ -653,7 +654,8 @@ % \begin{function}{\pdfmeta_xmp_property_new:nnnnn} % \begin{syntax} -% \cs{pdfmeta_xmp_property_new:nnnnn}\Arg{schema prefix}\Arg{name}\Arg{type}\Arg{category}\Arg{description} +% \cs{pdfmeta_xmp_property_new:nnnnn} \Arg{schema prefix} \\ +% ~~~~\Arg{name} \Arg{type} \Arg{category} \Arg{description} % \end{syntax} % If the new property already exists in the schema % (as identified by the combination of \meta{schema prefix} diff --git a/l3pdftools.dtx b/l3pdftools.dtx index b2570962..e39f4431 100644 --- a/l3pdftools.dtx +++ b/l3pdftools.dtx @@ -60,9 +60,9 @@ % This module collects a number of candidate commands for the l3pdf module % % \begin{function}[EXP,added=2021-02-14] -% {\pdf_name_from_unicode_e:n} +% {\pdf_name_from_unicode_e:n,\pdf_name_from_unicode_e:V} % \begin{syntax} -% \cs{pdf_name_from_unicode_e:n} \Arg{content} +% \cs{pdf_name_from_unicode_e:n} \Arg{content} % \end{syntax} % This converts \meta{content} to a format suitable for a PDF Name. % The output depends on the backend: For almost all backends @@ -81,9 +81,9 @@ % % \end{function} % \begin{function}[added=2020-07-04] -% {\pdf_string_from_unicode:nnN} +% {\pdf_string_from_unicode:nnN,\pdf_string_from_unicode:nVN} % \begin{syntax} -% \cs{pdf_string_from_unicode:nnN} \Arg{format} \Arg{content} \Arg{tlvar} +% \cs{pdf_string_from_unicode:nnN} \Arg{format} \Arg{content} \meta{tl var} % \end{syntax} % This converts \meta{content} following the rules defined by \meta{format} and stores % the result in \meta{tlvar}. The assignment is done locally. diff --git a/l3pdfxform.dtx b/l3pdfxform.dtx index fa09fa3b..8fcf57cf 100644 --- a/l3pdfxform.dtx +++ b/l3pdfxform.dtx @@ -120,9 +120,9 @@ % } % \begin{syntax} % \cs{pdfxform_if_exist_p:n} \Arg{name} -% \cs{pdfxform_if_exist:nTF} \meta{name} \Arg{true code} \Arg{false code} +% \cs{pdfxform_if_exist:nTF} \Arg{name} \Arg{true code} \Arg{false code} % \end{syntax} -% These command tests if an xform with name \Arg{name} has been already defined. +% These commands tests if an xform with name \Arg{name} has been already defined. % \end{function}% % \end{documentation} % diff --git a/ltdocinit.dtx b/ltdocinit.dtx index 366e278e..56b3b0e0 100644 --- a/ltdocinit.dtx +++ b/ltdocinit.dtx @@ -93,7 +93,7 @@ % \begin{function}[updated=2025-06-21]{\GetDocumentProperty,\pdfmanagement_get_documentproperty:n} % \begin{syntax} % \cs{GetDocumentProperty}\Arg{label/property}\\ -% \cs{pdfmanagement_get_documentproperty:n}\Arg{label/property} +% \cs{pdfmanagement_get_documentproperty:n} \Arg{label/property} % \end{syntax} % Expands to the \meta{value} corresponding to \meta{label/property} % in the container. If \meta{label/property} is missing, @@ -102,25 +102,25 @@ % that the \meta{value} does not expand further % when appearing in an x-type argument expansion. % The older names \cs{GetDocumentProperties} and \cs{pdfmanagement_get_documentproperties:n} -% are still provided for compability. +% are still provided for compatibility. % \end{function} % % \begin{function}[updated=2025-06-21,TF]{\pdfmanagement_get_documentproperty:nN} % \begin{syntax} -% \cs{pdfmanagement_get_documentproperty:nNTF}\Arg{label/property} \meta{token list variable}\\ +% \cs{pdfmanagement_get_documentproperty:nNTF} \Arg{label/property} \meta{tl var}\\ % ~~~~ \Arg{true code} \Arg{false code} % \end{syntax} % If the \meta{label/property} is not present in the document properties % container, leaves the \meta{false code} in the input stream. % The value of the -% \meta{token list variable} is not defined in this case and should +% \meta{tl var} is not defined in this case and should % not be relied upon. If the \meta{label/property} is present in the % container, stores the corresponding \meta{value} in the -% \meta{token list variable} without removing it from the +% \meta{tl var} without removing it from the % container, then leaves the \meta{true code} in the input -% stream. The \meta{token list variable} is assigned locally. +% stream. The \meta{tl var} is assigned locally. % The older name \cs{pdfmanagement_get_documentproperty:nN} -% is still provided for compability. +% is still provided for compatibility. % \end{function} % % \begin{function}{\ShowDocumentProperties,\LogDocumentProperties} diff --git a/lualinksplit.lua b/lualinksplit.lua index 6913ecfb..6d4e206a 100644 --- a/lualinksplit.lua +++ b/lualinksplit.lua @@ -181,7 +181,7 @@ local function pop_link(linkstacks, linkstate, level, head, node) else free(node) end - tex.error(string.format("Link startet on level %i ended on level %i", top.level, level)) + tex.error(string.format("Link started on level %i ended on level %i", top.level, level)) end free(top.node_template) stack[link_count] = nil