Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!swrinde!zaphod.mps.ohio-state.edu!ub!mdeck From: mdeck@sybil.cs.Buffalo.EDU (Mary Deck) Newsgroups: comp.text.tex Subject: system identification Keywords: system unix vms Message-ID: <40309@eerie.acsu.Buffalo.EDU> Date: 11 Oct 90 22:13:39 GMT Sender: news@acsu.Buffalo.EDU Organization: State University of New York at Buffalo/Comp Sci Lines: 19 Nntp-Posting-Host: sybil.cs.buffalo.edu Originator: mdeck@sybil.cs.Buffalo.EDU Here's a question for anyone who wants to answer it (and can): Is there a way in (La)TeX to identify the type of system one is on? For instance, I have several files which I'll be using in both a VAX/VMS environment and a Sun/Unix environment. I have a macro file, same thing on both systems but different filename, which I want to include in these documents. I want to put a line in the file to include my macros which will pick the proper file name for the current system. Is there a way to do this? (I know I'm being really lazy for not wanting to edit the files when I port them from one place to the other, but I'm always looking for an easy way out of things....) Thanks.... ....Mary --- Mary M. Deck, Student Assistant, User Services University Computing Services, State University of New York at Buffalo mdeck@cs.buffalo.edu [Unix] acsgmmd@ubvms.cc.buffalo.edu [VAX/VMS]