AZ logo

Package ifplatform:
Conditionals to test which platform is being used.

This package uses the (La)TeX 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:

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.

Getting it

If possible, get this package from your distribution using its installation manager. (For installation help, click on your distribution's name.)

Distribution Package name
MiKTeX ifplatform
TeX Live ifplatform

You can also visit ifplatform's CTAN directory to browse the source or download the material for installation by hand.

More

Documentation on CTAN
Readme
Package documentation
Documentation off CTAN -none known-
Maintainers
Johannes Große
Will Robertson
Version 0.4
License LaTeX Project Public License
Related packages -none recorded-
Keywords
macro programming
Characterizations
primary:
Programming in TeX > Other

You can suggest changes to the keywords and characterizations and the maintainer information.

You can get information about any package.