Xe La Te X

You might also like

Download as pdf or txt
Download as pdf or txt
You are on page 1of 12

i i

i i
eutypon22-23 2010/1/25 9:54 page 45 #49

, 22-23 /October 2009 45

XELATEX

28 366
671 00
/: asyropoulos at yahoo dot com

TEX 25 ,
Sylvio Levy. , -
, babel, -
Beccari, ..,
xgreek XELATEX. XELATEX ,
OpenType,
, .. XELATEX -
.

XELATEX and Greek, by Apostolos Syropoulos The relationship of


TEX with the Greek language started about 25 years ago, with the first
Greek fonts created by Sylvio Levy. Since then, this relationship has
continued with various packages, the greek option of babel, Beccaris
fonts, etc., to todays xgreek package for XELATEX. XELATEX offers unique
conveniences such as the use of OpenType fonts, automatic change of
languages and hyphenation rules, etc. All these advantages of XELATEX
for the typesetting of Greek are presented briefly in this paper.

, XETEX
XELATEX
.
-
; xgreek
. -
,

.

i i

i i
i i

i i
eutypon22-23 2010/1/25 9:54 page 46 #50

46 .

1
TEX
1980, Sylvio Levy [1] METAFONT
TEX.
Didot,
Computer Modern TEX. -
, ASCII, -
. ,

.

( )
v swstos
: . [2],
Levy
, Claudio Beccari.
, Pierre MacKay
Levy beta code,1
ibycus [3]. ,
Levy ,
beta code :
Mihalhs : . -
, LATEX
.
,
, -
greektex [4] GreeKTEX kd.
greektex
DOS Levy Knuth
, -
(
). , kd
, .. -

Levy.
.

,
(
1990).
1 beta code Thesaurus Lin-

gu Grc, University of California at Irvine. ,


1972,
1453 ..

i i

i i
i i

i i
eutypon22-23 2010/1/25 9:54 page 47 #51

X LATEX
E 47

1991 Johannes Braams [5] babel, -



LATEX.
-
greektex ; 1996
-

Braams. 1997 babel -
. babel
TEX
LATEX. ,

TEX.2
-
.
Claudio Beccari -
CB [7, 8]. Beccari
TEX, -
TEX! , Beccari
.
, Beccari -
babel.
Beccari
. -
,
[9]. -
Beccari
.
XELATEX OpenOffice.org.
[10], -

, .
,
, .
antomega Alexey Kryukov, -
,
. ,
XELATEX,
Peter Heslin.

2 L
AT X , -
E
, -
magaz URL: http://magaz.hellug.gr/08/07_
GreekTeXFAQ.html,
. , [6],
.

i i

i i
i i

i i
eutypon22-23 2010/1/25 9:54 page 48 #52

48 .

2004 , -
. Giuseppe Bilotta [11]
(, ) -
-TEX [12], TEX.
TEX, Bezos -
Mem,
. Mem
.
, . -

. -

OpenType.
,
TEX
UTF-8 TEX.3 ,
.4
TrueType, -
TEX. ,
[14]
TEX,
. ,
Plaice [15] TrueType
.
. , XELATEX -
,
.
XELATEX
,
TEX/LATEX
: XETEX/XELATEX.
:
Beccari,
. ,

. XELATEX
, , .

3 T X
E
UTF-8 [13].
4 Kerkis

LATEX, -
Type 1 LATEX.

i i

i i
i i

i i
eutypon22-23 2010/1/25 9:54 page 49 #53

X LATEX
E 49

2 xgreek
xgreek
babel -
, athnum. ,
.
.

monogreek, polygreek ancientgreek. monogreek
-
.
LATEX
, .., .
polygreek -
.
, -
. , ancientgreek
,
,
.
.

,
\setlanguage.

. .

\setlanguage :
\setlanguage{hi}
hi .
,
LATEX, LATEX
:
Babel <v3.7h> and hyphenation patterns for american,
ancientgreek, monogreek, greek, loaded.
.
, greek
. , .. -
,
\setlanguage{ancientgreek}
\greeknumeral \Greeknumeral -
. -

i i

i i
i i

i i
eutypon22-23 2010/1/25 9:54 page 50 #54

50 .


\greeknumeral{1996}
\Greeknumeral{1996}

Unicode ()
()
. ( )
( ).
, , .
\atticnum :


\atticnum{9999}
\atticnum{2010}



9999.
\grtoday \Grtoday

:


\grtoday
\Grtoday

enumerate
. \greekalph, -
-
.

, \nogreekalph.

3 philokalia
philokalia ,
Philokalia ( 1). -

. -

. -
Type 1
. 2004,

i i

i i
i i

i i
eutypon22-23 2010/1/25 9:54 page 51 #55

i X LATEX
E 51 i

i i
xelatex-book 2009/12/22 22:07 page 197 #209

9.3 philokalia 197

,
, -
,
, ,
.


,

.

( [20] ),
, -
,

[25] -
, ,
[] (
)

1: philokalia.
9.1: philokalia.

i i

i i
- 1
1 1
i i
xelatex-book 2009/12/22 22:07 page 197 9.3
#209 philokalia 197
i i
, ,
[] (
ieutypon22-23 i
i i

2010/1/25
9:54

52

page )

#56 ,
9.3
philokalia
,
, 197

-
i - i
xelatex-book 2009/12/22 22:07 page 197 #209
,
,
,
, ,
9.1: ,






,
.
philokalia.
, 9.3 philokalia 197
.

52 , - .




,

,
,

,









,
,



.
, -

.







,


.
,

,



(

[20] ),

, .

(

[20]

,


),


-




,







-

,
.









,







,


(










[25] -
[20] ),


.

[25]
,
-,
,

-
-

1
,
[],

1
1 ,

( [20]
(
),
[] (
)
,

-
)


[25]
-,
2:

Philokalia.



9.2:,
,

Philokalia.

[] ( [25] -
9.1:
philokalia.
, ,
)
9.1: philokalia.
[]


(


- )
: . ,

i i





9.1: philokalia.










OpenType,




9.1:








philokalia.

i i
X EL T
A X.
E



1.


1,




.












-
.





2



( )

- 1

.

1 - 1 1


1

1

(











)

,



9.2: x Philokalia.

-
1
9.2: Philokalia. 1


. -


1
1 1
1 ,
1.
, .
9.2:
local, - Philokalia.

i

9.2:




Philokalia.
global.
i i
,
\textphlk

i
Philokalia.

i \textinit i
Philokalia
i i
i i

i i
i i

i i

i i
i i

i i
eutypon22-23 2010/1/25 9:54 page 53 #57

X LATEX
E 53

1.
,
:
\textinit{}{}

4
XETEX, TEX
.

. -
.

, .
-
.

.. ,
, ..
,
. ,
-

.

. -
XETEX
( ).
:
\XeTeXinterchartokenstate = 1
-
.
, \c@. ,

XETEX .
-
.
, ..
:
\newXeTeXintercharclass \greekLetter
\newXeTeXintercharclass
3 256.

i i

i i
i i

i i
eutypon22-23 2010/1/25 9:54 page 54 #58

54 .

.
0
1
, 2
3
.
-
.
:
\XeTeXcharclass \ \greekLetter
\XeTeXcharclass \ \greekLetter
. . . . . . . . . . . . . . . .
\XeTeXcharclass \ \greekLetter
-
(\) ,
-
. , \
^^^^03b1. -
.
\, \ ..
\greekLetter.
-
.
\XeTeXinterchartoks.
:
\XeTeXinterchartoks hi hi = {hi}
, XETEX
hi,
hi hi.
:

\XeTeXinterchartoks 0 \greekLetter = {\setlanguage{greek}}


\XeTeXinterchartoks \greekLetter 0 = {\setlanguage{american}}

,
autohyph.sty, :
\usepackage{autohyph}

5
polyglossia Francois Charette
XELATEX.

i i

i i
i i

i i
eutypon22-23 2010/1/25 9:54 page 55 #59

X LATEX
E 55

babel XELATEX
antomega.

, , , -
, , ..
(
TEX) ( -
xgreek).

\setdefaultlanguage[hi]{hi}
hi
hi . -
:
\setotherlanguage[hi]{hi}
, -
:
\setotherlanguages{h1 i,...,hn i}

\setkeys{hi}{h1 i=h1 i,...,hm i=hm i}
-
.

, xeCJK Sun Wenchang.


[1] S. Levy, A family of public-domain Greek fonts. In Greek Letters: From
Tablets to Pixels (edited by M. S. Makrakis), pp. 217220. Oak Knoll Press,
New Castle, Delaware, USA 1996.
[2] D. Filippou, Typesetting Greek texts by TEX and LATEX. MAPS,
(12):9396, 1994.
[3] P. MacKay, The Greek typeface Ibycus for TEX. In Greek Letters: From
Tablets to Pixels (edited by M. S. Makrakis), pp. 221229. Oak Knoll Press,
New Castle, Delaware, USA 1996.
[4] . , LATEX. D.i.Li.ma. is a Linux magazine, (1):2428,
2000.
[5] J. Braams, Babel, a multilingual style-option system for use with LATEXs
standard document styles. TUGboat, 12(2):291301, 1991.

i i

i i
i i

i i
eutypon22-23 2010/1/25 9:54 page 56 #60

56 .

[6] . , LATEX. D.i.Li.ma. is a Linux


magazine, (2):3236, 2000.
[7] C. Beccari, The CB Greek fonts. Eutypon, (21):113, 2008.
[8] D. Filippou, A discussion with Claudio Beccari, TEXie and book lover.
Eutypon, (21):1526, 2008.
[9] D. Filippou, Hyphenation patterns for Ancient and Modern Greek. In
TEX, XML and Digital Typography, Lecture Notes in Computer Science,
vol. 3130 (edited by A. Syropoulos, K. Berry, Y. Haralambous, B. Hughes,
S. Peter and John Plaice), pp. 5967. Springer, Heidelberg 2004.

[10] . J. Plaice, , .
, (2):115, 1999.
[11] G. Bilotta, The (Aleph) project. TUGboat, 25(1):105107, 2004.
[12] NTS Team and P. Breittenlohner, The -TEX manual, Version 2. MAPS,
(20):248263, 1998.
[13] W. Lemberg, Unicode support for the Greek LGR encoding. Eutypon,
(20):2336, 2008.
[14] . . , TrueType
LATEX 2 . , (2):1722, 1999.
[15] . J. Plaice, -
. , (2):2338, 1999.

...
X LATEX, 2010 .
E

i i

i i

You might also like