Bo Peng wrote: > Dear list, > > I have been annoyed by two problems recently, both related to > lyx-added latex code conflicting with customized document classes. > For example, I am using manual.cls from python to produce a manual. > However, manual.cls defines \url so it will conflict with the > \newcommand\url command added by lyx.
Set ProvidesUrl 1 in the layout file. > Another case is when a > customized latex class (for a journal) loads natbib first but with > different parameter to what lyx-loaded natbib uses. If I do not > select natbib in lyx, I can not use natbib citations although the > document class supports it. (I know I can use ERT, but...) Set ProvidesNatbib 1 in the layout file. Georg