Mail Archives: djgpp/1998/11/01/00:30:03
On Sun, 25 Oct 1998, Fernando J.A. Silva wrote:
> Remember, that you once said to me that the extension *.tex belongs to
> a specific language? I would like to know what language is that
TeX, of course. IIRC, I told you that when you called your Texinfo
files *.tex. TeX and Texinfo are different, although related,
languages, and you shouldn't mix them.
> why we call TeX files but they have the *.txi or *.texi extension
> meaning that they really are TeXinfo files ???
Texinfo isn't TeX, it's another language. In particular, the syntax
highlighting for TeX and Texinfo is very different. When I load
foo.tex into Emacs it automatically enters the TeX mode, which is
inappropriate for a Texinfo file.
Texinfo is IMPLEMENTED as a set of TeX macros, so when tex.exe sees a
Texinfo program, it actually can understand it and typeset it. But
for a human, these two look like two entirely different languages.
- Raw text -