CTAN Comprehensive TeX Archive Network

CTAN update: ifplatform

Date: September 10, 2009 4:43:05 PM CEST
the moving finger writes: > The following information was provided by the package's contributor. > > Name of contribution: ifplatform > Author's name: Will Robertson > Location on CTAN: macros/latex/contrib/ifplatform > Summary description: Conditionals to detect the platform (Windows/Linux/Mac OS X/etc.) > License type: lppl > > Announcement text given by the package's contributor: > ---------------------------------------------------------------------- > Updated version of ifplatform now behaves correctly in TeX Live 2009 on > Windows and MiKTeX 2.8. Also now provides \ifcygwin for users of Cygwin. > ---------------------------------------------------------------------- i have installed the new version and updated the catalogue; thanks for the upload. > Users may view the package catalogue entry at > http://www.tex.ac.uk/tex-archive/help/Catalogue/entries/ifplatform.html > or they may browse the package directory at > http://www.tex.ac.uk/tex-archive/macros/latex/contrib/ifplatform of course, the catalogue entry will change overnight tonight. Robin Fairbairns For the CTAN team

ifplatform – Conditionals to test which platform is being used

This package uses the 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.

Packageifplatform
Version0.4a 2017-10-13
MaintainerJohannes Große
Will Robertson

Announcements

more

Guest Book Sitemap Contact Contact Author