Am 11.04.2011 09:28, schrieb Jack Tanner:
> I've a master document with a few child documents. I find myself having to
> change the settings of each child for every module, citation style, etc. This 
> is
> very error prone. Is there any way to make the child documents, which have the
> master document explicitly specified, inherit settings from the master/parent?
> 
> Here are the settings I'd like to propagate:
> the document class
> the citation style
> \usepackage{apacite}
> \AtBeginDocument{\renewcommand{\ref}[1]{\mbox{\autoref{#1}}}}
> the paper format
> the two-sided document setting
Hi Jack,
I had this problem for a while ,-(

Then I took a brute force approach:
I wrote a bash script which replaces the childs preamble by the masters
preamble (thanks to lyx' file format this is not a big deal ;-)
(I had the intention to port that bash-script to python but didn't have
the time ATM.)
For me that works very well.

The bash script is a dirty hack. If you are intereseted ask me personally.


Happy LyXing

Hellmut

-- 
Dr. Hellmut Weber         m...@hellmutweber.de
Degenfeldstraße 2         tel   +49-89-3081172
D-80803 München-Schwabing mobil +49-172-8450321
please: No DOCs, no PPTs. why: tinyurl.com/cbgq

Reply via email to