改进 docstrip 产生的不良空行

改进 docstrip 产生的不良空行

在我的.ins文件中,我之前有这样的设置\generate

\input docstrip.tex
\keepsilent
\askforoverwritefalse

\begingroup
\catcode`\^^M=\active%
\obeyspaces%
\gdef\copyright{%
\ds@heading% This is file... generated with the docstrip utility.

Copyright (C) ...
}%
\gdef\lppllicense{%

This work may be distributed and/or modified under the conditions of the
LaTeX Project Public License, either version 1.3c of this license or (at
your option) any later version. The latest version of this license is in

    http://www.latex-project.org/lppl.txt

and version 1.3c or later is part of all distributions of LaTeX version
2005/12/01 or later.
}%
\endgroup

\def\mypreamble{\copyright\lppllicense}
\usepreamble\mypreamble

生成的文件的开头是:

%%
%% This is file `projlib-math.sty',
%% generated with the docstrip utility.

%% Copyright (C) ...
%% 
%% This work may be distributed and/or modified under the conditions of the
%% LaTeX Project Public License, either version 1.3c of this license or (at
%% your option) any later version. The latest version of this license is in
%% 
%%     http://www.latex-project.org/lppl.txt
%% 
%% and version 1.3c or later is part of all distributions of LaTeX version
%% 2005/12/01 or later.
%%

如您所见,第 4 行有一个空行。我怎样才能使它%%像其他行一样开始?

相关内容