Re: SV: Prevent Lyx to add with pkg subfig line \@ifundefined{showcaptionsetup}{}{%

2011-02-21 Thread mat
Thanks Ingar! The \AtBeginDocument seems indeed to be what I am looking for! But what is its expected behavior? I still see in both the Lyx-latex sources and exported .tex the command \AtBeginDocument before the babel/subfig lines... \AtBeginDocument{ \usepackage{custom} } \@ifundefined{sh

How to use local package outside a texmf path?

2010-12-30 Thread mat
Hi I wish to use local latex class in my lyx document. Were it pure latex code, I could have written: \usepackage{./newclass} when the .sty is at the same level than the .tex. Now, I have some problems doing so with lyx, I tried adding this in the preamble, either with a relative path or an