Is there any way for me to easily and reversibly remove in-text citations from LaTeX output? I need to provide an accurate character count for my senior thesis that excludes citations (and figures and figure captions, but there are few enough of those that I'm willing to remove them by hand).
Right now I'm just exporting to plain text and running the result through
sed, but this is not as nice as just being able to set a flag in the preamble or somesuch.
If it makes it any simpler (or harder!), I'm using LyX.