delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/11/01/00:30:03

Date: Tue, 27 Oct 1998 20:21:39 +0200 (IST)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
X-Sender: eliz AT is
To: djgpp AT delorie DOT com
Subject: Re: TeX editor ???
In-Reply-To: <36338da1.10354109@news1.telepac.pt>
Message-ID: <Pine.SUN.3.91.981027202117.8711F-100000@is>
MIME-Version: 1.0
Reply-To: djgpp AT delorie DOT com

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 -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019