Since I found manually changing the documents tiresome, I wrote a script that extracts, overwrites and copies the header section between lyx files and uploaded it to
https://gist.github.com/kbauer/2282492968f061b94f82 2014-11-07 19:50 GMT+01:00 Richard Heck <rgh...@lyx.org>: > On 11/07/2014 10:25 AM, Klaus-Dieter Bauer wrote: > >> Hello! >> >> Is there a method to share document settings (document class, font size, >> ...) across all subdocuments of a project? >> >> My intention is to be able to compile each file separately (for faster >> debugging), with changes to document settings being automatically shared >> across all files and explicitly WITHOUT manually changing settings like >> \includeonly or commenting-out include statements. >> > > Note that Document> Settings> Child Documents provides a different way to > do this. But I understand the desire to compile the documents separately. > And that can sort of be done. > > If you can get the settings right at the start, then you can put them into > a sort of template file and use that to start all your documents. But if > you need to change something, you'll have to change it manually in each of > the sub-documents. The exception is anything you put in the LaTeX > preamable. That can be synchronized by putting it all into some common file > and then incuding that. > > Richard > > >