Changeset View
Changeset View
Standalone View
Standalone View
doc/texinfo.tex
Context not available. | |||||
\def\argremovecomment#1\comment#2\ArgTerm{\argremovec #1\c\ArgTerm} | \def\argremovecomment#1\comment#2\ArgTerm{\argremovec #1\c\ArgTerm} | ||||
\def\argremovec#1\c#2\ArgTerm{\argcheckspaces#1\^^M\ArgTerm} | \def\argremovec#1\c#2\ArgTerm{\argcheckspaces#1\^^M\ArgTerm} | ||||
% Each occurence of `\^^M' or `<space>\^^M' is replaced by a single space. | % Each occurrence of `\^^M' or `<space>\^^M' is replaced by a single space. | ||||
% | % | ||||
% \argremovec might leave us with trailing space, e.g., | % \argremovec might leave us with trailing space, e.g., | ||||
% @end itemize @c foo | % @end itemize @c foo | ||||
Context not available. | |||||
% to get _exactly_ the rest of the line, we had to prevent such situation. | % to get _exactly_ the rest of the line, we had to prevent such situation. | ||||
% We prepended an \empty token at the very beginning and we expand it now, | % We prepended an \empty token at the very beginning and we expand it now, | ||||
% just before passing the control to \argtorun. | % just before passing the control to \argtorun. | ||||
% (Similarily, we have to think about #3 of \argcheckspacesY above: it is | % (Similarly, we have to think about #3 of \argcheckspacesY above: it is | ||||
% either the null string, or it ends with \^^M---thus there is no danger | % either the null string, or it ends with \^^M---thus there is no danger | ||||
% that a pair of braces would be stripped. | % that a pair of braces would be stripped. | ||||
% | % | ||||
Context not available. | |||||
% used to check whether the current environment is the one expected. | % used to check whether the current environment is the one expected. | ||||
% | % | ||||
% Non-false conditionals (@iftex, @ifset) don't fit into this, so they | % Non-false conditionals (@iftex, @ifset) don't fit into this, so they | ||||
% are not treated as enviroments; they don't open a group. (The | % are not treated as environments; they don't open a group. (The | ||||
% implementation of @end takes care not to call \endgroup in this | % implementation of @end takes care not to call \endgroup in this | ||||
% special case.) | % special case.) | ||||
Context not available. | |||||
\fi | \fi | ||||
} | } | ||||
% Evironment mismatch, #1 expected: | % Environment mismatch, #1 expected: | ||||
\def\badenverr{% | \def\badenverr{% | ||||
\errhelp = \EMsimple | \errhelp = \EMsimple | ||||
\errmessage{This command can appear only \inenvironment\temp, | \errmessage{This command can appear only \inenvironment\temp, | ||||
Context not available. | |||||
% In case a @footnote appears in a vbox, save the footnote text and create | % In case a @footnote appears in a vbox, save the footnote text and create | ||||
% the real \insert just after the vbox finished. Otherwise, the insertion | % the real \insert just after the vbox finished. Otherwise, the insertion | ||||
% would be lost. | % would be lost. | ||||
% Similarily, if a @footnote appears inside an alignment, save the footnote | % Similarly, if a @footnote appears inside an alignment, save the footnote | ||||
% text to a box and make the \insert when a row of the table is finished. | % text to a box and make the \insert when a row of the table is finished. | ||||
% And the same can be done for other insert classes. --kasal, 16nov03. | % And the same can be done for other insert classes. --kasal, 16nov03. | ||||
Context not available. |