View Single Post
Old 11-23-2025, 11:34 PM   #3
stenagmois
Junior Member
stenagmois began at the beginning.
 
Posts: 6
Karma: 10
Join Date: Oct 2021
Device: iPhone
Setting variables to use in a PDF header

Quote:
Originally Posted by kovidgoyal View Post
You control what section titles are via the Table of Contents tab in the conversion settings.
My question does not concern the table of contents, but the setting of the variable _SECTION_ which I want to have in the PDF Header on each page.

Is there documentation on how to set the value of the header variable _SECTION_ that you reference on the bottom of the PDF conversion page. Right now the _SECTION_ is being set by my usage of the h3 html tag. Is this the only way to do it? Is there a variable _CHAPTER_? set by the h2 tag?
stenagmois is offline   Reply With Quote