Settings Help
CTAN
Comprehensive TeX Archive Network
Home Upload Browse

if­plat­form – Con­di­tion­als to test which plat­form is be­ing used

This pack­age uses the (La)TeX ex­ten­sion -shell-es­cape to es­tab­lish whether the doc­u­ment is be­ing pro­cessed on a Win­dows or on a Unix-like sys­tem (Mac OS X, Linux, etc.), or on Cyg­win (Unix en­vi­ron­ment over a win­dows sys­tem).
Booleans pro­vided are: – \ifwin­dows, – \iflinux, – \if­ma­cosx and – \if­cyg­win.
The pack­age also pre­serves the out­put of un­ame on a Unix-like sys­tem, which may be used to dis­tin­guish be­tween var­i­ous classes of Unix sys­tems.

CTAN path/macros/la­tex/con­trib/if­plat­form
Doc­u­men­ta­tion Readme
Pack­age doc­u­men­ta­tion
Ver­sion0.4
Li­censeThe LaTeX Project Public Li­cense
Copy­right2007-2010 Will Robert­son and Jo­hannes Große
Main­tainerWill Robert­son
Jo­hannes Große
Con­tained inTeXLive as if­plat­form
MiKTeX as if­plat­form
Topics ex­am­ine the TeX pro­gram­ming en­vi­ron­ment
Guest Book Sitemap Contact 2013-04-08 00:33