Move remaining parts of dimen.[ch] into paper.c