Hi,

I'm trying to write a multipart document and want to use some macros for 
math formulae, picture placements and so on. If I define them in the 
preamble of the master document, lyx can't find them if I try to use 
them in an included document. Of course, I'd like to have them in one 
single place.
I've searched in the mailing list archive, and found something I thought 
  it might help in this thread 
http://marc.theaimsgroup.com/?l=lyx-users&m=102747712134799&w=2 but it 
didn't actually. I tried to write my macros in such a separate file and 
include that one with the "\select{}" command mentioned in that thread, 
but I'm obviously doing something wrong. I'm not sure I used that hint 
in a correct way, how exactly should such include code look like. Should 
the macros be in the preamble or in some ERT section of the file 
mentioned in that thread? Or is there another (better) solution? 
Colleagues of mine who wrote their thesis in plain LaTeX just wrote 
their macros in the preamble of the main latex document and could use 
them in the included ones. I'm new to LyX AND to LaTeX, but I've read 
the docs and I think I didn't find such a tweaky thing. Can someone 
knowledgeable help me out, please?

Thanks in advance,
Lucian

Reply via email to