usepackage 'optional' options

Alan Litchfield alan at
Sun Mar 22 21:28:16 CET 2020

MiKTeX is typically a windows distro. That is why it may not be working on your Mac, which probably has MacTeX or TeXLive installed, as the case may be for you.

I guess you could uninstall your Mac distro (whatever it may be) and install MikTeX on it.

Never used it myself, so...

Dr Alan Litchfield
PO Box 1941
Auckland, New Zealand 1140

> On 23/03/2020, at 08:18, Ovi Chitayat <ovi1242 at> wrote:
> Hi,
> I have a package that requires an option under windows 10. However, when job is processed under MacOS Catalina, the package would not perform unless that option is removed.
> Is there a way to make the option conditional upon the computing platform currently running?
> The specific package is gnuplottex, under windows 10, gnuplot will not be called unless \usepackage[miktex]{gnuplottex}. This will not work under Catalina that likes the generic \usepackage{gnuplottex}.
> I tried to contact the maintainer (Lars Kotthoff) on record but this proved tricky.
> Ovi

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the texhax mailing list.