Special printing of metadata

James Wilde
Posts: 42
Joined: Thu Jun 03, 2010 7:42 pm

Fri Jan 09, 2015 12:10 pm Post

I have a project which I call Village Stories, in which I am writing a series of short stories about the inhabitants of a village for - hopefully - sale to a magazine. I have a common first page header, and then under the Story folder I have each short story as a separate text document.

What I would like to do is to create a metadata object which I can easily change so that the title of the story in question appears a) on the first page header where $PROJECTTITLE appears, and b) also in the subsequent page headers, where the name of the story appears in the middle. Can this be done?

At the moment I have changed the metadata object PROJECTTITLE to the name of my most recent story, and that works fine on the first page header, but the original project title, Village Stories, appears in the header of subsequent pages.

User avatar
Posts: 24632
Joined: Sun Jun 18, 2006 4:30 am
Platform: Mac + Linux
Location: Ourense, Galiza

Fri Jan 09, 2015 10:11 pm Post

Do you mean you're looking for a way to change the page header depending on which story you are currently reading (as is commonly done in books on the left page)? If so, try using the <$sectiontitle> token in the header field (that's the only place that token will work). That will print the name of the last item that generated a page break. So assuming you've got breaks between your stories, that should work.
Ioa Petra'ka
“Whole sight, or all the rest is desolation.” —John Fowles