5

While using docstrip to write a documented package, I have difficulties in commenting lines of the doc. Here is my minimal test.dtx

% \iffalse
%<*driver>
\documentclass{l3doc}
\begin{document}
  \DocInput{test.dtx}
\end{document}
%</driver>
% \fi
% ABC % DEF

I would like the final DEF to be commented out.

1 Answer 1

6

Inside \DocInput the comment character is ^^A:

% \iffalse
%<*driver>
\documentclass{l3doc}
\begin{document}
  \DocInput{test.dtx}
\end{document}
%</driver>
% \fi
% ABC ^^A DEF

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.