CTAN Comprehensive TeX Archive Network

Announcements for ifplatform

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.

Packageifplatform
Version0.4a 2017-10-13
Copyright2007–2017 Will Robertson and Johannes Große
MaintainerJohannes Große
Will Robertson

Atom Atom 1.0 feed with announcements for package ifplatform.
RSS RSS 2.0 feed with announcements for package ifplatform.

Guest Book Sitemap Contact Contact Author