Just define it before loading the .sty file. When searching the source of an error it is sometimes useful to put \errorcontextlines=9999 just below \documentclass. It will show you the trace, so if the error is encountered somewhere in a .sty file but triggered by something in your file, it is easier to find what happened.
Zdeněk Wagner http://ttsm.icpf.cas.cz/team/wagner.shtml http://icebearsoft.euweb.cz 2016-02-07 6:42 GMT+01:00 Shakthi Kannan <shakthim...@gmail.com>: > Hi, > > --- On Sun, Feb 7, 2016 at 10:09 AM, Shakthi Kannan > <shakthim...@gmail.com> wrote: > \f@ncyerh ->\slshape \booktitle > \-- > > Just for future reference. > > The \booktitle is found in book-contents.tex, which is where the > booktitle is defined. But, the config.sty file loads much prior to it, > and hence doesn't know about \booktitle. > > Is there a way to dynamically pass and set values to .sty files? > > SK > > -- > Shakthi Kannan > http://www.shakthimaan.com > > > -------------------------------------------------- > Subscriptions, Archive, and List information, etc.: > http://tug.org/mailman/listinfo/xetex >
-------------------------------------------------- Subscriptions, Archive, and List information, etc.: http://tug.org/mailman/listinfo/xetex