This is a follow-up to this answer and comment. Does anyone have an idea how to automate the \nogloss
macro so that I don't have to label every punctuation mark (or at least ! ? " , .) with it?
EDIT: Thanks to @Alan Munn, I now realize that I'm looking for a XeTeX-compatible solution.
MWE:
\documentclass{book}
\usepackage{expex}
\lingset{glwordalign=center}
\begin{document}
\exdisplay
\begingl
\gla \nogloss{``} @ aaaaa aaaaaaa @ \nogloss{!''} aaaa aaaa aaaa @ \nogloss{\ldots} //
\glb bbbbb bbbbbbb bbbb bbbb bbbb //
\glc ccccc ccccccc cccc cccc cccc //
\endgl
\xe
\end{document}
EDIT: To clarify, I want my input to be like the MWE below but for the automation to yield the MWE above, or at least the output of what the above code would yield.
\documentclass{book}
\usepackage{expex}
\lingset{glwordalign=center}
\begin{document}
\exdisplay
\begingl
\gla "aaaaa aaaaaaa!" aaaa aaaa aaaa... //
\glb bbbbb bbbbbbb bbbb bbbb bbbb //
\glc ccccc ccccccc cccc cccc cccc //
\endgl
\xe
\end{document}