Directory tex-archive/macros/latex/contrib/ifplatform
______________________ 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
Files
| Name | Size | Date | Notes |
|---|---|---|---|
README |
716 | 2011-01-23 12:25:20 | |
ifplatform.dtx |
15082 | 2011-01-23 12:25:20 | |
ifplatform.ins |
1693 | 2011-01-23 12:25:20 | |
ifplatform.pdf |
151092 | 2011-01-23 12:25:20 |
Download the complete
contents of this directory in one zip archive
(152.6k).
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.
| Documentation |
Readme Package documentation |
| Version | 0.4 |
| License | The LaTeX Project Public License |
| Copyright | 2007-2010 Will Robertson and Johannes Große |
| Maintainer | Will Robertson Johannes Große |
| Contained in | TeXLive as ifplatform |
| MiKTeX as ifplatform | |
| Topics |
examine the TeX programming environment |
