CTAN has a new package: ifplatform
Date: November 20, 2007 7:46:19 AM CET
A new package has been put on tug.ctan.org and should soon be at your
favorite mirror.
Thank you,
Jim Hefferon
Saint Michael's College
........................................................................
The following information was provided by our fellow contributor:
Name of contribution: ifplatform
Author's name: Will Robertson
Location on CTAN: /macros/latex/contrib/ifplatform
Summary description: Conditionals for testing the operating system being used
License type: lppl
Announcement text:
This package uses -shell-escape to establish whether the document is being processed on Windows or a *NIX platform (Mac OS X, Linux, etc.). Booleans provided are: - ifwindows - iflinux - ifmacosx
This package is located at http://tug.ctan.org/tex-archive/macros/latex/contrib/ifplatform . More information is at http://tug.ctan.org/pkg/ifplatform (if the package is new it may take a day for that information to appear). We are supported by the TeX Users Group http://www.tug.org . Please join a users group; see http://www.tug.org/usergroups.html .
This package uses -shell-escape to establish whether the document is being processed on Windows or a *NIX platform (Mac OS X, Linux, etc.). Booleans provided are: - ifwindows - iflinux - ifmacosx
This package is located at http://tug.ctan.org/tex-archive/macros/latex/contrib/ifplatform . More information is at http://tug.ctan.org/pkg/ifplatform (if the package is new it may take a day for that information to appear). We are supported by the TeX Users Group http://www.tug.org . Please join a users group; see http://www.tug.org/usergroups.html .
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:
- \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.
Package | ifplatform |
Version | 0.4a 2017-10-13 |
Maintainer | Johannes Große Will Robertson |