Changed such that f-components are printed out (or not) based on whether they
have appropriate f-elements based on the section and the mode.