Hello there,

I am currently using groff and friends to write a book. I am mostly using
my own set of custom macros on top of the ms macros.

One thing I need to do is pull in parts of source files into the book text.
I would rather avoid tedious shell hackery and .sy and .so etc.
Instead I am toying with an addition to soelim to allow line ranges to be
specified, along the lines of

.so[2-11] /my/source/file.c

which would only include lines 2-11 of the file.  If no range is specified
then the entire file is pulled in as before (and recursively as
appropriate).

Is this something that might interest the project? It could then be added
to the main groff as well if so desired (and to maintain a semblance of
consistency).

Thanks,
Neil

Reply via email to