+/*
+ TODO
+ it might be interesting to split off the footnotes as well, ie.
+
+ get_footnotes(SCM expr, SCM* footnotes, SCM* cleaned)
+
+ by doing it this way and overwriting the old expr in the caller,
+ you can make sure nobody tries to handle footnotes differently
+ downstream.
+*/