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.
Quellen | /macros/latex/contrib/ifplatform |
Dokumentation | |
Repository | https://github.com/wspr/will2e |
Version | 0.4a 2017-10-13 |
Lizenzen | The LaTeX Project Public License 1.3c |
Betreuer | Johannes Große Will Robertson |
TDS-Archiv | ifplatform.tds.zip |
Enthalten in | TeX Live als ifplatform MiKTeX als ifplatform |
Themen | Umgebungsabfrage |
Herunterladen des vollständigen Inhalts dieses Pakets in einem Zip-Archiv (152.7k).
Ankündigungen
- 2011-01-24 CTAN update: ifplatform
- 2009-09-10 CTAN update: ifplatform
- 2007-11-20 CTAN has a new package: ifplatform
Vorschläge
Vielleicht sind auch die folgenden Pakete von Interesse.
Bewertungskommentare