# \<$chapter\> Not Supported in Page Headers?

**URL:** <https://forum.literatureandlatte.com/t/chapter-not-supported-in-page-headers/39485>\
**Category:** Scrivener for macOS\
**Tags:** support\
**Created:** [January 10, 2018, 10:54pm UTC](https://forum.literatureandlatte.com/t/chapter-not-supported-in-page-headers/39485 "2018-01-10T22:54:04Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![chuckmiller](https://forum.literatureandlatte.com/user_avatar/forum.literatureandlatte.com/chuckmiller/32/21282_2.png) [@chuckmiller](https://forum.literatureandlatte.com/u/chuckmiller)\
**Post date:** [January 10, 2018, 10:54pm UTC](https://forum.literatureandlatte.com/t/chapter-not-supported-in-page-headers/39485/1 "2018-01-10T22:54:04Z")

</div>

From what I can tell, the \<$chapter\> placeholder is not supported in compile page headers. The placeholder list says…

“Not all placeholders are supported in headers and footers. In addition to the special header and footer placeholders specified below (which can only be used in headers and footers), only the placeholders listed under the sections Page Numbers, Current Date and Time, and User and Project Information are supported in headers and footers.”

Is that true? Many books use the chapter name in place of author name in their facing page headers. It seems somewhat egotistical, in my mind, to have your name plastered on every other page. I want to use the chapter titles rather than my name. If anyone can’t remember they’re reading a book by Chuck Miller, they can look on the cover.

---

<div class="post-metadata">

**Author:** ![Bridey](https://forum.literatureandlatte.com/user_avatar/forum.literatureandlatte.com/bridey/32/197_2.png) [@Bridey](https://forum.literatureandlatte.com/u/Bridey)\
**Post date:** [January 11, 2018, 8:22am UTC](https://forum.literatureandlatte.com/t/chapter-not-supported-in-page-headers/39485/2 "2018-01-11T08:22:46Z")

</div>

Might depend on the output you are compiling to, but this works for my projects (compiling to PDF, at least):

> [@"\[b](#):
>
> From the list of placeholder tags[/b]"]
> 
> \<$pageGroupTitle\>
> 
> Gets replaced with the title of the document that first comes after the page break most recently preceding the header or footer in which it occurs. In practice, this is useful for placing chapter titles in headers or footers. For instance, if you have a chapter in a single text document starting on a new page, then that document’s title will replace “\<$pageGroupTitle\>”; if your chapters are broken down into smaller sections placed inside folders, and the folders mark the start of each new chapter, then the folder’s title will replace “\<$pageGroupTitle\>” throughout the chapter headers and footers.
> 
> Note that if the section title cannot be calculated for any reason (for instance, because there is no text in the section associated with any documents), \<$pageGroupTitle\> may fall back on using the abbrevated project title (working the same as “\<$abbr\_projecttitle\>” - see User and Project Information for details on where the abbreviated project title is drawn from).

Hope it does what you need it to.

---

<div class="post-metadata">

**Author:** ![KB](https://forum.literatureandlatte.com/letter_avatar_proxy/v4/letter/k/e47774/32.png) [@KB](https://forum.literatureandlatte.com/u/KB)\
**Post date:** [January 11, 2018, 10:01am UTC](https://forum.literatureandlatte.com/t/chapter-not-supported-in-page-headers/39485/3 "2018-01-11T10:01:50Z")

</div>

There’s no \<$chapter\> placeholder at all, not just in headers and footers… A \<$chapter\> placeholder would make no sense in Scrivener, since Scrivener has concept of a chapter per se. Bridey’s answer provides the solution, though - the \<$pageGroupTitle\> placeholder does exactly what you are after.

---

<div class="post-metadata">

**Author:** ![chuckmiller](https://forum.literatureandlatte.com/user_avatar/forum.literatureandlatte.com/chuckmiller/32/21282_2.png) [@chuckmiller](https://forum.literatureandlatte.com/u/chuckmiller)\
**Post date:** [January 11, 2018, 1:35pm UTC](https://forum.literatureandlatte.com/t/chapter-not-supported-in-page-headers/39485/4 "2018-01-11T13:35:12Z")

</div>

Thanks. The placeholder \<$pageGroupTitle\> works great. I couldn’t find it in the documentation, but placing pageGroupTitle in uppercase makes the chapter name appear in uppercase. I was wanting that, as well.

---

<div class="post-metadata">

**Author:** ![derick](https://forum.literatureandlatte.com/letter_avatar_proxy/v4/letter/d/df788c/32.png) [@derick](https://forum.literatureandlatte.com/u/derick)\
**Post date:** [January 11, 2018, 3:45pm UTC](https://forum.literatureandlatte.com/t/chapter-not-supported-in-page-headers/39485/5 "2018-01-11T15:45:23Z")

</div>

Unfortunately with one of my big projects using \<$pageGroupTitle\> crashes Scrivener. Due to some illegal characters in my title no doubt. Filed a bug report and waiting to hear back…

---

<div class="post-metadata">

**Author:** ![KB](https://forum.literatureandlatte.com/letter_avatar_proxy/v4/letter/k/e47774/32.png) [@KB](https://forum.literatureandlatte.com/u/KB)\
**Post date:** [January 11, 2018, 7:24pm UTC](https://forum.literatureandlatte.com/t/chapter-not-supported-in-page-headers/39485/6 "2018-01-11T19:24:31Z")

</div>

derick - there are no characters not allowed in \<$pageGroupTitle\> in particular. What format are you exporting to? Could you please send us a project that shows the bug?  
Thanks,  
Keith
