ifplatform

Conditionals to test which platform is being used

Version:
0.4a
Copyright:
Will Robertson and Johannes Große
License:
lppl1.3c
Packaged on:
10/17/2017 20:01:14
Number of files:
5
Size on disk:
159.03 kB

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: \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.