Content deleted Content added
No edit summary |
No edit summary |
||
Line 601:
}
--[[--------------------------< L I S T _ C O M B I N E >------------------------------------------------------
makes one table from a list of tables. <lists_t> is a sequence of tables to be combined
]]
local function list_combine (lists_t)
local out_t = {};
for _, list_t in ipairs (lists_t) do -- for each list in <lists_t>
local lists_t = {limited_basic_arguments_t, limited_numbered_arguments_t, document_arguments_t, document_numbered_arguments_t};▼
out_t[k] = v; -- add to <out_t>
end
end
return out_t; -- and done
end
Line 633 ⟶ 639:
return {
preprint_arguments_t = preprint_arguments_t,
Line 643 ⟶ 649:
unique_param_template_list_t = template_list_get (unique_arguments_t), -- make a template list from unique_arguments{} table
▲
common_parameters_t = list_combine ({basic_arguments_t, numbered_arguments_t});
limited_parameters_t = list_combine ({limited_basic_arguments_t, limited_numbered_arguments_t});
};
|