CTAN Comprehensive TeX Archive Network

ifplatform – Conditionals to test which platform is being used

This package uses the extension -shell-escape to establish whether the document is being processed on a Windows or on a Unix-like system (Mac OS X, Linux, etc.), or on Cygwin (Unix environment over a windows system).

Booleans provided are:

  • \ifwindows,
  • \iflinux,
  • \ifmacosx and
  • \ifcygwin.

The package also preserves the output of uname on a Unix-like system, which may be used to distinguish between various classes of Unix systems.

Sources/macros/latex/contrib/ifplatform
Documentation
Repositoryhttps://github.com/wspr/will2e
Version0.4a 2017-10-13
LicensesThe Project Public License 1.3c
MaintainerJohannes Gro├če
Will Robertson
TDS archiveifplatform.tds.zip
Contained inTeX Live as ifplatform
MiKTeX as ifplatform
TopicsEnvironment query

Download the contents of this package in one zip archive (152.7k).

Community Comments

Loading...

Announcements

Here you can see a respective diagram in newer browsers.

more

Package Links

Guest Book Sitemap Contact Contact Author