Am Donnerstag, den 12.07.2018, 09:10 -0600 schrieb Joel Kulesza:
> Colleagues,
> Is there a recommended way to prevent arbitrary packages from being
> automatically loaded by LyX?

Provides <package> 1

in Document > Local Layout.

> Example: I have a document with change tracking that I need to
> manually load 
> \usepackage[table]{xcolor} 
> but showing tracked changes adds 
> \usepackage{xcolor}
> to the preamble.
> This results in package option conflicts (on OS X 10.11.6 with LyX
> 2.2.3 and 2.3.0).

In this particular case, you could also, instead of loading xcolor
manually in the preamble, specify in Local Layout:

PackageOptions xcolor table
Requires xcolor

This will load the package with the desired option right from the


> MWE attached.  Toggle "show changes in output" to see the symptoms.
> I know of Document -> Settings -> Math Options, but only certain
> packages are listed.  Is there somewhere else that I can blacklist
> arbitrary packages to override LyX and perform my own management (at
> my own risk)?
> Thank you,
> Joel

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to