summaryrefslogtreecommitdiff
path: root/systems/unix/tex-fpc/MFT/iby/README
blob: 190ce62dca78dbb164430f9309179bdeea4e35ef (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
This directory contains files that help installing an ancient Greek
font in TeX-FPC. The font includes a full set of diacritical marks,
the preclassic letters digamma, quoppa and sampi, and the lunatic
variant of sigma.

The font was originally cut by Firmin Didot(*1764, +1836), put into
METAFONT files by Silvio Levy in 1987 and improved by Pierre A. MacKay,
the author of Ibycus4. Here I used version 4.5 as of 2004-10-27.

Preparation:
------------
Get the packages ibygrk and levy from CTAN:fonts/greek and unzip them
in the MFT directory, so ibygrk and levy are siblings to iby.
ftp ftp://tug.org/tex-archive/fonts/greek/levy.zip
ftp ftp://tug.org/tex-archive/fonts/greek/ibygrk.zip

Copy files from the levy and ibygrk directories into this directory,
with the shell scripts getlevy and getiby.

Link METAFONT's and TeX's master directories to this directory, so
you can run mf and tex from here. Make sure MFinputs contains
Knuth's computer modern fonts.

Installation:
-------------
Run ibyfonts to build and install the .tfm and .pk fonts.
Run ibymacros to install macro files into TeXinputs.

Usage:
------
From your .tex file \input agr and enclose Greek between \GK and
\RM.


Typing Greek characters
-----------------------
You don't need a monster keyboard or even the ALT-key to enter
Greek text into your TeX---ASCII suffices. The ASCII representation
used here follows the Beta Code from the Thesaurus Linguae Graecae.
(http://www.tlg.uci.edu/BetaCode.html)

Greek Letters:
Since the Latin alphabet emerged from the Greek one, you enter most
Greek letters as their corresponding ASCII character.
But there are some exceptions:
Greek	ASCII
eta	h
theta	q
ksi	c
ypsilon	u
phi	f
chi	x
psi	y
omega	w
digamma v
koppa   k+
sampi   s+ (lowercase only)
lunatic
sigma	c

Diacritics:
rough breathing: 	(
smooth breathing:	)
diaeresis:		+
acute:			'
grave:			`
circumflex:		=
iota subscript:		|
dubious(dot under):	!

Order of diacritics with lowercase letters:
letter, diaeresis, breathing, accent, iota subscript. E.g. u"(=|
A diaeresis (+) won't work together with a circumflex.

Order of diacritics with uppercase letters:
breathing, accent, letter, iota subscript (=W|
A breathing is mandatory before an accent.

Punctuation
Period		.
Apostroph	' (if after a vowel, use a{}', not a')
Colon		:
Question Mark	;
guillemets	<< >>

Look at test.tex and sappho.tex for examples.

If you get messages like that
    Font \ninegrk=fibr84 at 9.0pt not loaded: Not enough room left.
you want to enlarge TeX's memory.
Compile TeX with statistics turned on, set \tracingstats=1
and observe the statistics at the end. Then you might change the
constant in tex.p, compile with
   fpc -Fasysutils,baseunix,unix tex.p
and try with the bigger tex.

Installing the Type 1 fonts in teTeX3.0:
----------------------------------------
List the search directory with `kpsewhich -show-path=.pfb'
I selected ~/texmf from that list. 
From the ibygrk/fonts directory do:
        mkdir ~/texmf/fonts
	cp -rp * ~/texmf/fonts
	texhash

Finally I added the command line option `-u +iby' to dvips
in the dvipdf script.

Aug. 2008
-
Nov. 2020
Wolfgang Helbig