Parent-child book questions

Richard Kimberly Heck rikiheck at
Thu Mar 25 21:38:00 UTC 2021

On 3/25/21 3:35 PM, Rich Shepard wrote:
> Reading in the Embedded Objects help manual (Sec 7.2) that, "To be 
> able to
> work on child documents without the need to open their master, specify in
> the child document the master in the menu
> Document->Settings->Document->Class. This master document will then be 
> used
> in the background by LyX when you edit the child document.", I tried 
> to do
> this. But, I cannot locate the parent document in the combo box and don't
> know how to have LyX find the file in the "Local Layout" widget.


> The source directory had the parent and child *.lyx files. There's 
> also an
> images/ subdirectory in which images for the child documents will be 
> placed.
> When I open the "Local Layout" widget I see only the images subdirectory.

That button is for finding a *layout file* other than the ones that ship 
with LyX. You need to click the button "Select default master document" 
and then hit "Browse".

> On another issue, I want to add the book's title and copyright in the 
> footer
> of each chapter's title page so they can be separately distributed. Can I
> remove the footnote indicator on the chapter title and the number in the
> footer for this?

The best way to do this would be to define a new page style and then use 
it. This is not something for which LyX has full native support. Have a 
look at the documentation for the fancyhdr package. (There is some stuff 
on that in LyX's own documentation.) Probably you will want to define a 
'fancy' page style to be used most of the time. (E.g., with running 
headers of chapter names on the left pages, and section names on the 
right pages, with page numbers left or right depending, etc.) In 
Document> Settings> Page Layout, you then choose "fancy" as the page style.

Then you can redefine the 'plain' style (as described in the fancyhdr 
docs) to do something simpler, with the copyright info at the bottom. 
(If you want that to change chapter to chapter, you can reissue the 
commands to do that.) Then at the start of each chapter, you do:


in ERT. In some classes, that actually happens automatically: The 
\chapter command issues that command itself. I'm not sure if your class 

As always with LaTeX, think: how can I automate this?


More information about the lyx-users mailing list