On 06/21/2016 10:51 AM, Richard Heck wrote:
On 06/21/2016 06:58 AM, PhilipPirrip wrote:
I was wondering if there's a special reason why
provides fontenc 1
provides inputenc 1
provides amsmath 1

prevent the corresponding packages from loading, but

provides fontspec 1
provides listings 1
provides polyglossia 1

-for example- don't?

Yes, that's a bug. This should work for all LyX-loaded packages.


Thanks Richard. I reported it at http://www.lyx.org/trac/ticket/10257.

A little of background: there are packages (.sty) that load some of these *with options* themselves. It's unclear which options will actually be used. In this situation, for example,

\usepackage{pkg}
\usepackage[opt1,opt2]{pkg}

opt1 and opt2 will not be used, and LaTeX might even stop compiling.

Reply via email to