Document 661

Message: The file (filename) is not valid for the selected filter

Version: 3.5x, 4.x, 5.x - Scientific WorkPlace & Scientific Word

Problem

You receive this message when you try to open a file:

The file (filename) is not valid for the selected filter.

Explanation

The file you've tried to open is a non-LaTeX file or is a traditional LaTeX subdocument that doesn't contain certain \documentclass or \begin{document} commands. The program can't open the file.

Solution

  • If the file isn't a LaTeX file, open it using an ASCII editor or using the application in which the file was created.

  • If the file is a LaTeX file, open a new document and use the Import Contents command on the File menu to read the contents of the LaTeX file into the new document.

  • If you have Version 5.5, try importing the file with the Import non-SWP/SW LaTeX filter:

    1. Place the file you want to open in a writable directory so the program can create the necessary temporary files.

    2. From the File menu, choose Import Non-SWP/SW LaTeX.

    3. Select the file and choose Open.

Last revised 04/11/06