I am compiling a LaTeX file created with SWP 5.5. But I was stuck by LaTeX Error: File "`tcislid2." tex' not found.
Some information:
I do know there are two ways to export the .tex file from SWP5.5 into other software like WinEdt and I swear that I am using the right way (that is, save it as a "Portable LaTex" file)!
The output in the screenshot is:
This is pdfTeX, Version 3.141592653-2.6-1.40.24 (MiKTeX 22.10) (preloaded format=pdflatex.fmt)
restricted \write18 enabled.
entering extended mode
(C:/Users/HP/AppData/Local/Temp/swp0000.tex
LaTeX2e <2022-06-01> patch level 5
L3 programming layer <2022-09-28>
(C:\Users\HP\AppData\Local\Programs\MiKTeX\tex/latex/base\article.cls
Document Class: article 2021/10/04 v1.4n Standard LaTeX document class
(C:\Users\HP\AppData\Local\Programs\MiKTeX\tex/latex/base\size10.clo))
(C:\Users\HP\AppData\Local\Programs\MiKTeX\tex/latex/amsmath\amsmath.sty
For additional information on amsmath, use the `?' option.
(C:\Users\HP\AppData\Local\Programs\MiKTeX\tex/latex/amsmath\amstext.sty
(C:\Users\HP\AppData\Local\Programs\MiKTeX\tex/latex/amsmath\amsgen.sty))
(C:\Users\HP\AppData\Local\Programs\MiKTeX\tex/latex/amsmath\amsbsy.sty)
(C:\Users\HP\AppData\Local\Programs\MiKTeX\tex/latex/amsmath\amsopn.sty))
(C:\Users\HP\AppData\Local\Programs\MiKTeX\tex/latex/amsfonts\amsfonts.sty)
(C:\Users\HP\AppData\Local\Programs\MiKTeX\tex/latex/amsfonts\amssymb.sty)
(C:\Users\HP\AppData\Local\Programs\MiKTeX\tex/latex/graphics\graphicx.sty
(C:\Users\HP\AppData\Local\Programs\MiKTeX\tex/latex/graphics\keyval.sty)
(C:\Users\HP\AppData\Local\Programs\MiKTeX\tex/latex/graphics\graphics.sty
(C:\Users\HP\AppData\Local\Programs\MiKTeX\tex/latex/graphics\trig.sty)
(C:\Users\HP\AppData\Local\Programs\MiKTeX\tex/latex/graphics-cfg\graphics.cfg)
(C:\Users\HP\AppData\Local\Programs\MiKTeX\tex/latex/graphics-def\pdftex.def)))
! LaTeX Error: File `tcislid2.tex' not found.
Type X to quit or <RETURN> to proceed,
or enter new name. (Default extension: tex)
Enter file name:
I can find tcislid2.tex in D:\swp55\TCITeX\TeX\LaTeX\SWmacros on my computer.
I tried to compile this file with WinEdt but it returned the same LaTeX Error: File "`tcislid2." tex' not found.

D:\swp55\TCITeX\TeX\LaTeX\SWmacros, you might been to copy the file into the same folder as the file you're looking at. Note that in most cases thesetci....files that SWP uses can be ignored, perhaps with a few manually added macros. – daleif Jan 13 '23 at 08:43.texfile. Else outcomment it in WinEdt, more often than not they do nothing outside SWP. – daleif Jan 13 '23 at 11:39\input{tcislid2.tex}line (aka place a%in front, don't delete the line). Does it then compile, if not, which errors doc you get? – daleif Jan 13 '23 at 12:04! LaTeX Error: Can be used only in preamble.This is what winedt returns after I change\input{tcislid2.tex}into%\input{tcislid2.tex}. The whole code is too long to be included in this comment. – Ryoko Asakura Jan 13 '23 at 12:12