What is the best way to keep the configurations and same content in different parts of the main document reusable from single location (e.g. from child document)?
First idea was to have this structure layout:
main_doc.lyx <- partial_doc.lyx <- general_preamble_doc.lyx
where general_preamble_doc.lyx
has only something like \makenomenclature
or \usepackage
Would these scheme imply that the main_doc.lyx
will also inherit the general_preamble_doc.lyx
or should I include/input it in the main_doc.lyx
as well? Should I \input
or \include
it?
Update 1:
DRY = Don't Repeat Yourself // sorry guys for confusion, I thought this acronym is already a common sense and unambiguous