AZ logo

CTAN directory: /macros/latex/contrib/ifplatform

You can get the contents of this directory bundled as a zip file.

Packages in this directory:

Identifier Caption
ifplatform Conditionals to test which platform is being used.

Files

Name Size* Date UTC Notes
README 1 KiB 2011-Jan-23 Shown below
ifplatform.dtx 15 KiB 2011-Jan-23
ifplatform.ins 2 KiB 2011-Jan-23
ifplatform.pdf 148 KiB 2011-Jan-23

  *File sizes in kibibytes.

Contents of README

______________________
The IFPLATFORM package
v0.4        2010/10/22

This package uses heuristics to establish whether
the document is being processed on Windows or a *NIX
platform (Mac OS X, Linux, etc.).

Except if you're using LuaTeX where this information
is already known. Otherwise, shell escape is required
to differentiate different *NIX platforms.

Booleans provided are:
 - ifwindows
 - iflinux
 - ifmacosx
 - ifcygwin

Finally, the \platformname macro is also provided that
expands to a string of the platform name.

Will Robertson         wspr 81 at gmail dot com
Johannes Große

Copyright 2007-2010 Will Robertson
Copyright 2007      Johannes Große
Distributed under the LaTeX Project Public License