Article View: de.comp.sys.next
Article #6Re: Umlaute und TeX - wie geht es?
From: Kristian Koehntopp
Date: Tue, 27 Oct 1992 14:46
Date: Tue, 27 Oct 1992 14:46
138 lines
6575 bytes
6575 bytes
In <1992Oct22.160459.47135@news.th-darmstadt.de> marcus@mech1host.mechanik.th-darmstadt.de (marcus matthes) writes:
>Welche CTeX Version ist in NeXT Step 3.0 enthalten?
In NeXTstep 3.0 ist CTeX 3.141 enthalten.
Die Benutzung von Umlauten ist in der Anleitung zum TeX auf
Seite 17 enthalten. Starte TeXview und waehle Info/View Manual.
Auf Seite 17 findest Du Hinweise auf "International Character
Sets". Es heisst dort:
In addition to the normal 95-character ASCII character set, the
NeXT computer supports about 124 additional characters
accessible from the keyboard. Most of these characters are for
international language support. The most important of these
characters are the accented letters and a few additional
characters such as <danish ae> and <danish o>.
TeX also supports many of these characters. There are two ways
TeX can support these characters: through special macros and
accents (as is most commonly done, and must be done with
versions of TeX prior to 3.0) and with the new 3.0 eight-bit
support and remapping. We shall address each of these in turn.
Note that many editors and standard Unix programs do not
support eight-bit characters; the extended character set can
give fits to standard Unix shells and tools. Experiment with
various editors and tools to determine which works and which
don't, and the use the ones that work if you need to use the
extended characters.
8.1 Poor Man's Extended Characters
The easiest way to get the NeXT extended characters to work is
to include the fole next.tex at the top of your file with a
line like
\input next
(for plain TeX) or with the addition of next as a document
style option in LaTeX:
\documentstyle[next]{article}
The included file can be moved along with the TeX documents for
maximum portability. What this file does is make many of the
upper eight-bit characters 'active', meaning that they directly
invoke a macro that typesets what is requested. For instance,
the NeXT character set has at character position 214 the
character \'a. This can be typed on the standard english
keyboard in most editors with alternate-'e' followed by 'a';
some editors do not support these characters. To typeset this
character with TeX, we want to use the sequence \'a. So
next.tex (and next.sty) just make the character position 214
active and equal to a macro whose body is \'a.
Most of the extended characters on the NeXT are supported this
way; these include (list deleted)
The characters that are not supported in this fashion are
capital eth, capital thorn, cents, yen, currency, registered,
all guillemot characters, per thousand, ogonek, thorn, and eth.
This is because TeX has no standard support for these
characters in its fonts.
[ Anmerkung: Aber mit psgreek.sty und times.sty kriegt
man sie doch. Dann benutzt man Postscript-Fonts, d.h.
es entfallen nicht nur megabyteweise pk-Dateien,
sondern man hat auch einen systemweit einheitlichen
Zeichensatz. Und Adobe Times sicht auch besser aus
als cmr ]
The advantage of this approach is that it works with the
existing software and fonts, both postscript and Computer
Modern (for the most part). The disadvantages, however, is that
these characters are not treated as just simple characters;
this is true of all accent constructions in TeX anyway.
Hyphenation of words containing these extended characters will
not work, and these extended characters cannot be used in file
names, font names or macro names.
8.2 Extended Characters Done the Right Way
The TeX community is hard at work fixing this deficiency. The
computer software is all in place to support it; various people
and groups are working on replacements for the Computer Modern
bitmapped fonts and new macro packages, hyphenation patterns,
and other necessary parts to fully support these extended
characters.
[ bla ]
This support is prvided through a file called tex.remap, which
is searched for in the current directory, the user's home
directory, and then /usr/lib/tex. This file is a list of lines,
each of the following form:
ext: int int int
where ext is the external character code (1 to 255) and ints
represent the internal code for that (and successive) external
characters. Thus, to remap character 128 (externally) to 200
and 129 to 211, a line such as
128: 200 211
would do. if you use such remapping, be sure to run initex to
create new format files; this will allow TeX to display as well
as use these characters.
We have provided an example mapping file in
/usr/lib/tex/source/misc/tex.remap that maps from the standard
NeXT encoding to the Extended TeX encoding that is exspected to
become the standard for TeX. Mor details on remapping are given
later in the manual.
Damit das mit NeXTstep 3.0 gelieferte TeX korrekten deutschen
Output liefert, muss man sich jedoch noch eine deutsche
Trenntabelle und einen german.sty besorgen. Die Trenntabelle
sorgt dafuer, dass die laestigen 2.1-Trennfehler verschwinden
und der german.sty bringt die Kapitel-Ueberschriften und so
weiter in die Landessprache.
>Wie unterscheidet sich TeXView in NS 3.0 gegenueber dem entsprechenden
>Programm in NS 2.x?
Das ist ebenfalls in der Anleitung zu TeXview dokumentiert. Am
einfachsten ist wirklich, Info/View Manual und Command-p
Return, Laser rauschen lassen und dann eine halbe Stunde lesen.
Die Anleitung dort ist ausfuehrlich und leicht zu verstehen.
Kristian
--
Kristian Koehntopp, Harmsstrasse 98, FRG W-2300 Kiel, +49 431 676689
>Es ist mir unverstaendlich, wie man eine voellig normale
>Mailboxwerbung derart kommentieren kann... -- Oliver Klink
Ich habe mir voellig unverstaendliche Mailboxwerbung normal
kommentiert. -- Kristian Koehntopp
Technical Details
Message-ID:
<1992Oct27.144627.4383@tpki.toppoint.de>Path:
arc1-ca.pugleaf.net!sparky!uunet!gatech!darwin.sura.net!spool.mu.edu!yale.edu!ira.uka.de!math.fu-berlin.de!uniol!tpki.toppoint.de!krisReferences:
<1992Oct22.160459.47135@news.th-darmstadt.de>Show Full Headers
Complete Article Headers
Newsgroups: de.comp.sys.next Path: arc1-ca.pugleaf.net!sparky!uunet!gatech!darwin.sura.net!spool.mu.edu!yale.edu!ira.uka.de!math.fu-berlin.de!uniol!tpki.toppoint.de!kris From: kris@tpki.toppoint.de (Kristian Koehntopp) Subject: Re: Umlaute und TeX - wie geht es? X-Copyright: (C) Copyright 1992 Kristian Koehntopp -- All rights reserved. Reproduktion, auch auszugsweise, ausserhalb elektronischer, nichtkommerzieller Datennetze nur mit ausdruecklichem, schriftlichem Einverstaendnis des Autors. Organization: Toppoint Mailbox e.V. Date: Tue, 27 Oct 1992 14:46:27 GMT Message-ID: <1992Oct27.144627.4383@tpki.toppoint.de> References: <1992Oct22.160459.47135@news.th-darmstadt.de> X-Excuse: X-Copyright wegen Emma, Suedwestpresse und /C'T/DISKUSSIONEN. Lines: 138