Pion production and nuclear surface