copy <source layout id> . set properties here that are not modied based on the given source layout. - in your layout.
file: layout_foo:
layout u_foo
code metapost
definition of u:foo
endcode
endlayout
thconfig file:
input layout_foo
layout my_layout
#copy u_foo #this is the line which could be commented
endlayout
export foo_off
it was not tested prior post!
m.
Well, I gathered my layout definitions in a single file to avoid repeating and duplicating everything in my 50 thconfig files. This allows me to modify only one layout file to modify consistently all the layouts of all caves. I think heritage + redefinition is a more structured