Use topic title instead of topic h1 for PDF
Illustration - take the following topic, which has Title test topic (1) and an h1 Heading 1 text (2):

Generating a Frameless output results in the Title (1) being displayed in the TOC:

Generating a PDF output, however, results in the H1 (2) being displayed in the TOC:

Is there a way to display (1) Title instead for PDF, as is the case with Frameless?
Current RH version: 2022.3.93
