Document %{} and % special forms
Improve doc test error messages