[tex-live] New version of ifplatform
Ken Brown
kbrow1i at gmail.com
Wed Sep 9 18:19:46 CEST 2009
On 9/9/2009 11:36 AM, Manuel Pégourié-Gonnard wrote:
> Will Robertson a écrit :
>> The documentation has a line "This documentation was compiled on
>> \platformname" which blows up if the \platform name is "CYGWIN_NT-5.1".
>>
> Probably "this documentation was compiled on \detokenize{\platformname}" would
> be safer?
>
>> However, unless the package is faulty (which may well be the case!) I
>> wouldn't expect this to happen -- I thought that "Windows" would still
>> be correctly detected even with Cygwin.
>
> Again, I think it depends on what you intend to do with the "platform" (quite a
> vague notion) information. If, as you said in the previous thread, your main
> goal is to detect if you can use the cp and rm command, then Cygwin has them. If
> you want to know which shell syntax to use... Hmm, I don't know, can some Cygwin
> user tell us if cmd.exe or a Unix shell is used by \write18?
The cygwin binaries in texlive use a unix shell, as in any other
unix-like system.
Ken
More information about the tex-live
mailing list