/* * ChkTeX v1.5, CygnusED interface. * Copyright (C) 1996 Jens T. Berger Thielemann * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. * * Contact the author at: * Jens Berger * Spektrumvn. 4 * N-0666 Oslo * Norway * E-mail: * * */ Options Results If Show('Ports', "rexx_ced") Then Do Address 'rexx_ced' Status 19 Filename = Result Status 18 Changes = Result If Changes ~= 0 Then Do Msg = 'ChkTeX will process the'||'0A'X Msg = Msg||'version of the file on disk.'||'0A'X Msg = Msg||'This version differs from the'||'0A'X Msg = Msg||'one in memory. Save first? '||'0A'X Okay2 Msg SaveFile = Result If SaveFile Then Save End Address Command 'rx chktex.rexx' FileName End Else Do Say "CygnusED must be running to use this script." Say "Please use ChkTeX.rexx instead." End