Skip to main content
Legend
December 5, 2014
Question

continuing H/F from previous file

  • December 5, 2014
  • 2 replies
  • 236 views

I've had to break up a chapter into four smaller files, because otherwise my FM10 installation chokes on the referenced graphics and dies on its feet while attempting to generate a .pdf.

With a deadline looming – of course! – the owner has decided he wants more informative headers.<$paratext[h1,:h1_n]> pulls in the required information … but seems to be cut off at the file boundary. The :h1 in the first of the files is Registration, which is picked up as expected, but not in the three files that follow; and which don't have a :h1 paragraph.

The quick'n'dirty solution, I think, will be to hard-code the headers for subfiles 2, 3 and 4. I was just wondering whether there might be a more elegant solution – so, not one that involves redefining :h1 to be somehow invisible, white on white and taking up no space :-}

Thanks in advance!

This topic has been closed for replies.

2 replies

Arnis Gubins
Inspiring
December 6, 2014

Niels,

Have you considered using markers, i.e. <$marker1>, <$marker2>, etc. with the Runing H/F variables?

Bob_Niland
Community Expert
Community Expert
December 5, 2014

The heading text could come in as a Text Inset from an external file. Each chapter sub-file would import it on each Master Page.

The heading text could also be a Variable, defined in whatever main component file (typically cover) that you use as the repository for common Variables. They can be block imported into multiple other files as once from the Book menu, or with unique names, imported to all, but ignored in the files that don't use them.

The heading text could be defined in the first of a set of sub-chapter files, and Cross-Referenced in the remainder. This does cause the xrefs to become hypertext to nowhere.

Latter versions of FM can do book-of-books, and there might yet another hack lurking there.