[tex-live] ifplatform: Detection of TeX Live on Windows

Alexander Cherepanov cherepan at mccme.ru
Tue Aug 25 15:53:29 CEST 2009


Hi Philipp!
On Mon, 24 Aug 2009 13:30:09 +0200, Philipp Stephani <st_philipp at yahoo.de> wrote:

> Here is another (untested) suggestion: Try creating a file with an
> invalid file name on Windows:
> 
> \newif\ifwindows
> 
> \immediate\openout 0 ???

miktex will happily work with such file name -- it maps ? to tilde and 
* to space. But there are other special characters: < > |

Alexander Cherepanov




More information about the tex-live mailing list