josephwright / etoolbox

Tool-box for LaTeX programmers using e-TeX
LaTeX Project Public License v1.3c
41 stars 7 forks source link

Allow scanning where \newlinechar is present #15

Closed josephwright closed 6 years ago

josephwright commented 6 years ago

From an e-mail:

\documentclass{article}
\usepackage{etoolbox}
\begin{document}
\makeatletter
\def\dummy#1{\message{#1^^J}}
\etb@ifscanable\dummy{\message{scanable}}{\message{unscanable}}
\end{document}

fails and could be made to work.