are replaced by the contents of the file header. Normally, .so requests are resolved by nroff or troff. Use soelim whenever you are preprocessing the input (e.g., passing it through tbl or sed) and the complete text is needed prior to formatting.
Run a sed script on (all) input before formatting:
soelim file | sed -e 's/--/\\(em/' | nroff | lp