diff options
Diffstat (limited to 'Master/texmf-dist/doc/latex/oberdiek/catchfile-test2.tex')
-rw-r--r-- | Master/texmf-dist/doc/latex/oberdiek/catchfile-test2.tex | 27 |
1 files changed, 14 insertions, 13 deletions
diff --git a/Master/texmf-dist/doc/latex/oberdiek/catchfile-test2.tex b/Master/texmf-dist/doc/latex/oberdiek/catchfile-test2.tex index 3318eda5863..c3d195fb607 100644 --- a/Master/texmf-dist/doc/latex/oberdiek/catchfile-test2.tex +++ b/Master/texmf-dist/doc/latex/oberdiek/catchfile-test2.tex @@ -25,31 +25,32 @@ %% This work consists of the main source file catchfile.dtx %% and the derived files %% catchfile.sty, catchfile.pdf, catchfile.ins, catchfile.drv, -%% catchfile-test1.tex, catchfile-test2.tex. +%% catchfile-test1.tex, catchfile-test2.tex, +%% catchfile-test3.tex. %% -\def\msg#{\immediate\write16} -\newlinechar=10 % -\input catchfile.sty\relax - +\NeedsTeXFormat{LaTeX2e} +\nofiles +\listfiles +\documentclass{minimal} +\usepackage{catchfile}[2007/09/09] +\makeatletter \def\mysetup{% - \def\do##1{% - \catcode`##1=12\relax - }% + \let\do\@makeother \dospecials } +\makeatother +\begin{document} \CatchFileDef\contents{catchfile.sty}\mysetup -\msg{\meaning\contents} +\typeout{\meaning\contents} \CatchFileEdef\contents{catchfile.sty}{% \mysetup \def\par{^^J}% \obeylines } -\msg{\contents} - -\csname @@end\endcsname -\end +\typeout{\contents} +\end{document} \endinput %% %% End of file `catchfile-test2.tex'. |