In one recent usage, I embedded a \gdef command within the \Copy command. The \gdef command includes the n argument "#1."
Source Document Code:
Code: Select all
\Copy{Preamble-permissible-operations-how-to-be-assured-of-having-latest-data}{
\gdef\PreamblePermissibleOperationsHowToBeAssuredOfHavingLatestData#1{
\section*{PERMISSIBLE OPERATIONS}
The {#1} takes a positive approach. Lorem ipsum.
\section*{HOW TO BE ASSURED OF HAVING LATEST DATA}
Refer to the {#1} Flyleaf. Also, check the {#1} title page, and, all status pages contained in the {#1}. Lorem ipsum
}
}
\PreamblePermissibleOperationsHowToBeAssuredOfHavingLatestData{\fltmanLUC}
Code: Select all
\Paste{Preamble-permissible-operations-how-to-be-assured-of-having-latest-data}
\PreamblePermissibleOperationsHowToBeAssuredOfHavingLatestData{\wpnsmanLUC}
The same five error messages are:
./DocumentName.tex:9106: Illegal parameter number in definition of
\clipboard@Preamble-permissible-operations-how-to-be-assured-of-having-latest-data.
<to be read again>
1
l.9106 }
When I compile the destination document, LaTeX generates no error messages. The destination PDF displays my desired content, correctly.
How can I include the characters "#1" within the \Copy command, such that Clipboard will acknowledge them properly, rather than consider them to be illegal parameters?
Thank you for any and all assistance.