On Nov 14, 2011, at 7:11 AM, Philip TAYLOR wrote:

> 
> 
> Karljurgen Feuerherm wrote:
> 
>> It depends on who is reading them. Their markup is markup only fron the
>> point of view of their interpreters, i.e. *TeX, etc. From the point of
>> view of something else, they are plain.
> 
> Yes, the Universe of Discourse (and/or the pragmatics
> of discourse) do have a input here : but then, from
> your perspective, what text file is /not/ a plain
> text file "from the point of view of something else" ?
> 
> ** Phil.


Howdy,

Gosh, I hate to get into the middle of this but here's my interpretation of 
what a plain text file is and why.

All files are, in fact, just a series of bytes (or even bits) and how these 
bytes are to be interpreted determine if the file is a plain text file or not. 
Traditional TeX used the 7-bit ASCII set of bytes. Most extensions of that set 
have those same byte values representing the same characters so 7-bit ASCII is 
usually a sub-set of those extensions (also known as encodings). A plain text 
file uses only the common 7-bit ASCII byte set and virtually any application 
that can read that file interprets the meanings of the bytes correctly. The 
moment you use an extension of that 7-bit ASCII set an additional piece of 
information must be given; which encoding is being used. (There are some 
heuristics for determining this on the fly but none are 100% accurate.) Because 
that extra information must be given before an application can display the 
meaning of the file (i.e., replace the bytes by the characters) I don't 
consider those files as being plain text. Maybe text because the inter!
 pretation of the bytes is characters of some sort but not plain text.

Notice that how those characters are interpreted by other applications has 
nothing to do with whether the file is plain text or other text. A Text Editor 
interprets the bytes simply as characters and displays them in some way while 
pdflatex interprets bytes strings as combinations of commands and text; same 
file, different interpretations.

This is as far as I'm going in this since I really want to stay out of the 
argument. It's just my 0.0001 cents.

Good Luck,

Herb Schulz
(herbs at wideopenwest dot com)






--------------------------------------------------
Subscriptions, Archive, and List information, etc.:
  http://tug.org/mailman/listinfo/xetex

Reply via email to