LaTeX forum ⇒ GeneralSWP5.5 LaTeX Error: File "`tcislid2." tex' not found Topic is solved

LaTeX specific issues not fitting into one of the other forums of this category.
haruhi
Posts: 2
Joined: Fri Jan 13, 2023 4:17 am

SWP5.5 LaTeX Error: File "`tcislid2." tex' not found

Postby haruhi » Fri Jan 13, 2023 4:29 am

I am compiling a LaTeX file created with SWP 5.5. But I was stuck by LaTeX Error: File "`tcislid2." tex' not found. How can I solve it?
why.jpg
why.jpg (399.35 KiB) Viewed 311 times

Some information:
The codes in the picture are:
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.

Recommended reading 2021:

LaTeXguide.org • LaTeX-Cookbook.net
LaTeX Beginner's Guide LaTeX Cookbook
User avatar
Stefan Kottwitz
Site Admin
Posts: 9932
Joined: Mon Mar 10, 2008 9:44 pm

SWP5.5 LaTeX Error: File "`tcislid2." tex' not found

Postby Stefan Kottwitz » Fri Jan 13, 2023 8:57 am

Hi Haruhi,

welcome to the forum!

It belongs to SWP, so that needs to be fixed in SWP. However, SWP is now deprecated and not distributed anymore.

I see that you use MiKTeX. I guess that doesn't work well together like I read here.

You could put that file directly in your document directory so that it can be found (or in the TeX search path). Or try to avoid this old file and work just with MiKTeX and a good editor.

Stefan
LaTeX.org admin

User avatar
MjK
Posts: 80
Joined: Fri Jan 28, 2022 6:09 pm

SWP5.5 LaTeX Error: File "`tcislid2." tex' not found  Topic is solved

Postby MjK » Fri Jan 13, 2023 10:11 am

If you try to use SWP with another TeX distribution than the proprietary TCI, you should declare D:\swp55\TCITeX as additional TEXMF root. You can do so in the MiKTeX console. After this MiKTeX should find all the special TeX files used by SWP. However, this does not mean, that every TeX file produced by SWP can be compiled to the expected PDF using MiKTeX. Unfortunately SWP uses some proprietary specials.

Also note: If you decide to send SWP's TeX export to someone else, you always have to also add all the special TCI files, that has been used. AFAIR this was a big problem 30 years ago. AFAIR from about middle or end of 90th almost all of them became freely distributable (but never have been distributed outside SWP, i.e. on CTAN)—at least all files derived from standard LaTeX files. For example tcislid2.tex is derived from slides.sty (LaTeX 2.09) with some adaptions from slides.cls (LaTeX2e).

Not only because of this but also because development and support for SWP has been stopped, I would suggest to switch over to either a normal LaTeX editor like TeXstudio, a universal editor with LaTeX support like Visual Studio Code, or the other special LaTeX Word Processor LyX as soon as possible. LyX also produces ugly LaTeX code, but the code does not use strange TeX files, that others usually do not have, and therefore it is compatible with every MiKTeX or TeX Live installation.

The issues with SWP exports can be minimized using the “Portable LaTeX export”. If such a file cannot be compiled using another LaTeX editor and another TeX distribution, because of still missing files, you can just copy the missing files from the TCITeX installation to the folder of the exported LaTeX file(s). But this is still no guaranty.

Another idea would be to download the free new version of SWP and try to import the original SWP 5.5 document. AFAIK from version 6, SWP does use an existing MiKTeX installation by default. And because AFAIK it does not have the TCITeX folder and TrueTeX any longer, I would expect, that it does not use those files any longer. But I've not tested it (because I'm neither using Windows nor OSX and I have not any relevant SWP examples for several years).
My main topics are KOMA-Script and other questions related to my packages. If I reply to any other topic or if you've not yet added a minimal working example, please do not expect any further response. And please don't forget to tag examples as code.

haruhi
Posts: 2
Joined: Fri Jan 13, 2023 4:17 am

SWP5.5 LaTeX Error: File "`tcislid2." tex' not found

Postby haruhi » Fri Jan 13, 2023 11:51 am

MjK wrote:If you try to use SWP with another TeX distribution than the proprietary TCI, you should declare D:\swp55\TCITeX as additional TEXMF root. You can do so in the MiKTeX console. After this MiKTeX should find all the special TeX files used by SWP. However, this does not mean, that every TeX file produced by SWP can be compiled to the expected PDF using MiKTeX. Unfortunately SWP uses some proprietary specials.

Also note: If you decide to send SWP's TeX export to someone else, you always have to also add all the special TCI files, that has been used. AFAIR this was a big problem 30 years ago. AFAIR from about middle or end of 90th almost all of them became freely distributable (but never have been distributed outside SWP, i.e. on CTAN)—at least all files derived from standard LaTeX files. For example tcislid2.tex is derived from slides.sty (LaTeX 2.09) with some adaptions from slides.cls (LaTeX2e).

Not only because of this but also because development and support for SWP has been stopped, I would suggest to switch over to either a normal LaTeX editor like TeXstudio, a universal editor with LaTeX support like Visual Studio Code, or the other special LaTeX Word Processor LyX as soon as possible. LyX also produces ugly LaTeX code, but the code does not use strange TeX files, that others usually do not have, and therefore it is compatible with every MiKTeX or TeX Live installation.

The issues with SWP exports can be minimized using the “Portable LaTeX export”. If such a file cannot be compiled using another LaTeX editor and another TeX distribution, because of still missing files, you can just copy the missing files from the TCITeX installation to the folder of the exported LaTeX file(s). But this is still no guaranty.

Another idea would be to download the free new version of SWP and try to import the original SWP 5.5 document. AFAIK from version 6, SWP does use an existing MiKTeX installation by default. And because AFAIK it does not have the TCITeX folder and TrueTeX any longer, I would expect, that it does not use those files any longer. But I've not tested it (because I'm neither using Windows nor OSX and I have not any relevant SWP examples for several years).


Thank you very much! I decide to give up SWP 5.5 and find an alternative.


Return to “General”

Who is online

Users browsing this forum: No registered users and 8 guests