\ProvidesFile{testINT.tex}[2011/06/25 test ifnextok.sty] \RequirePackage{ifnextok} \makeatletter \providecommand\StripEsc{\expandafter\@gobble\string} \makeatother \catcode`\"\active \edef"{q} \MakeNotSkipping{"}{\StripEsc\"} \documentclass{article} \begin{document} \tableofcontents \section{"a" b} \thispagestyle{headings} \markboth{}{"a" b} "a" b \typeout{"a" b} \end{document}