summaryrefslogtreecommitdiff
path: root/macros/latex/exptl/mem/greek.tex
blob: d87831b041302418fdc50ec32374f7c6e1c31206 (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
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
%$Lamed
\documentclass{book}

% Aadir los controles como A0 = no break space.

%\tracingcommands2
%\tracingmacros2
%\ocptracelevel=3
\errorcontextlines20


%\def\rmdefault{omlgc}

\usepackage[charset=isoell,english,spanish,french,greek]{mem}

\languageunset
\makeatletter
\def\memh@verbatim{0}%
\def\mem@b{verbatim}%
\DeclareLanguage{verbatim}
\mem@setencs{verbatim}{T1,ULA,OT1,UEL,LGR,T2A,UCY,LWN,LCY,OT2}
\makeatother
\languagereset

\sloppy

% For some reason grmo font doesn't work for me (task, see
% why):
\def\sldefault{it}

%%%%%%%%%%%%%%%%%%  Revisar esto:

\scriptproperties{La}{rmfamily=pbk}

\languageproperties{spanish}{charset = isolat1}

\languageproperties{french}{
  charset = isolat1,
  uppercase = unaccented}

\languageproperties{greek}{fontencs=LGR,rmfamily =cmr}

% Surprise, surprise: omlgc does not have the Extended Greek page
% thus meaning it cannot be considered a UEL font :-(. It has these
% characters, but at non standard places, so a new enconding should
% be added (LOG, Local Omega Greek).
  
%\languageproperties{greek}{rmfamily= omlgc}

\raggedright
\parindent1.5pc

% Verbatim with a different script to be fixed

\makeatletter
\mem@after\verbatim@font{\languageset{english}}
\makeatother

\begin{document}

\tableofcontents

\chapter{     TeX}

\englishtext{What a black box means is that character is not available
in the current enconding.  It happens the LGR encoding has not Latin
letters.  The log file will have lines similar to: \texttt{Package Mem
Warning: Unknown character 88 on input line 194.}}

\section{     TeX}

\frenchtext{With ascii input (Omega conventions):}
{\languagetext[input=tex]{greek}{<'ahy opr'e `o =w 'a| >h|}}
\frenchtext{{\ttfamily <'ahy opr'e `o =w 'a| >h|} A few letters with utf-8
input:} \languagetext[charset=utf8]{greek}{ἅὦἷἯ} \frenchtext{Note
LGR contains \textit{no} Latin letter. Below is an extended sample in
polytonic Greek.}

.e.{\tracingmacros2 \unitext{^^^^0301}.\^{}}.

 \textit{    TeX (  
)       TeX   LUG 
(Local Users Group).}       
TeX
        . 
 
          

  TeX      
(..  ) 
       
  (  ).  \frenchtext{a va, a va trs
bien. Tiens! qu'est-ce qu'ils peuvent regarder, ces jeunes gens?}
 ,      ,   
         /.

\section{ }

  18       

       .   '  
    
           
    .      
  ,   ,  , 
     
 / /.      
     5000  ( 20  ).   
   2000  ( 8  ). (
    
        .)

\begin{french}

\section{a va trs bien (inside an environment)}

\end{french}

\section{     TeX}

     TeX (  
)       TeX   LUG 
(Local Users Group).       
TeX
        . 
 
          

  TeX      
(..  ) 
       
  (      \frenchtext{a va, a va trs bien}
 ). ,      ,   
         /.

\section{ }

  18       

       .   '  
    
           
    .      
  ,   ,  , 
     
 / /.      
     5000  ( 20  ).   
   2000  ( 8  ). (
    
        .)

\section{     TeX}

     TeX (  
)       TeX   LUG 
(Local Users Group).       
TeX
        . 
 
          

  TeX      
(..  ) 
       
  (      \frenchtext{a va, a va trs bien}
 ). ,      ,   
         /.

\section{ }

  18       

       .   '  
    
           
    .      
  ,   ,  , 
     
 / /.      
     5000  ( 20  ).   
   2000  ( 8  ). (
    
        .)

%\begin{french}

\section{\frenchtext{a va trs bien (changed in argument)}}

%\end{french}

\section{     TeX}

     TeX (  
)       TeX   LUG 
(Local Users Group).       
TeX
        . 
 
          

  TeX      
(..  ) 
       
  ( \frenchtext{a va, a va trs bien}
 ). ,      ,   
         /.

\section{ }

  18       

       .   '  
    
           
    .      
  ,   ,  , 
     
 / /.      
     5000  ( 20  ).   
   2000  ( 8  ). (
    
        .)

\newpage

\frenchtext{Latin traslit:}

\begin{languageset}[input=tex]{greek}
ka`i E>ust'ajioc m`en <o >Antioqe'iac
>ep'iskopoc dias'urei t`on Pamf'ilou E>us'ebion <wc t`hn >en Nika'ia|
p'istin paraqar'attonta, d`e t`hn m`en >en Nika'ia| p'istin o>'u fhsi
paraba'inein, diab'allei d`e t`on E>ust'ajion <wc t`hn Sabell'iou
d'oxan e>is'agonta.  di`a ta=uta <'ekastoi <wc kat`a antip'alwn to`uc
l'ogouc sun'egrafon, >amf'otero'i te l'egontec >enup'ostat'on te ka`i
sunup'arqonta t`on u<i`on e>=inai to=u jeo=u, <'ena te je`on >en
tris`in <upost'asesin e>=inai <omologo=untec, >all'hloic o>uk o>=id'
<'opwc, sumfwn=hsai o>uk >'isquon, ka`i di`a ta=uta <hsuq'azein
o>uden`i tr'opw| >hne'iqonto. <'A

\begin{verbatim}
ka`i E>ust'ajioc m`en <o >Antioqe'iac
>ep'iskopoc dias'urei t`on Pamf'ilou E>us'ebion <wc t`hn >en Nika'ia|
p'istin paraqar'attonta, d`e t`hn m`en >en Nika'ia| p'istin o>'u fhsi
paraba'inein, diab'allei d`e t`on E>ust'ajion <wc t`hn Sabell'iou
d'oxan e>is'agonta.  di`a ta=uta <'ekastoi <wc kat`a antip'alwn to`uc
l'ogouc sun'egrafon, >amf'otero'i te l'egontec >enup'ostat'on te ka`i
sunup'arqonta t`on u<i`on e>=inai to=u jeo=u, <'ena te je`on >en
tris`in <upost'asesin e>=inai <omologo=untec, >all'hloic o>uk o>=id'
<'opwc, sumfwn=hsai o>uk >'isquon, ka`i di`a ta=uta <hsuq'azein
o>uden`i tr'opw| >hne'iqonto. <'A
\end{verbatim}
\end{languageset}

\frenchtext{UTF-8:}

\begin{languageset}[charset=utf8]{greek}
οἱ δὲ Φοίνικες
οὗτοι οἱ σὺν Κάδμῳ ἀπικόμενοι, τῶν
ἦσαν οἱ Γεφυραῖοι, ἄλλα τε πολλὰ
οἰκήσαντες ταύτην τὴν χώρην
ἐσήγαγον διδασκάλια ἐς τοὺς
Ἕλληνας καὶ δὴ καὶ γράμματα, οὐκ
ἐόντα πρὶν Ἕλλησι ὡς ἐμοὶ δοκέειν,
πρῶτα μὲν τοῖσι καὶ ἅπαντες
χρέωνται Φοίνικες· μετὰ δὲ χρόνου
προβαίνοντος ἅμα τῇ φωνῇ μετέβαλον
καὶ τὸν ῥυθμὸν τῶν γραμμάτων.
περιοίκεον δὲ σφεας τὰ πολλὰ τῶν
χώρων τοῦτον τὸν χρόνον Ἑλλήνων
Ἴωνες· οἳ παραλαβόντες διδαχῇ παρὰ
τῶν Φοινίκων τὰ γράμματα,
μεταρρυθμίσαντές σφεων ὀλίγα
ἐχρέωντο, χρεώμενοι δὲ ἐφάτισαν,
ὥσπερ καὶ τὸ δίκαιον ἔφερε,
ἐσαγαγόντων Φοινίκων ἐς τὴν
Ἑλλάδα, Φοινικήια κεκλῆσθαι.  καὶ
τὰς βύβλους διφθέρας καλέουσι ἀπὸ
τοῦ παλαιοῦ οἱ Ἴωνες, ὅτι κοτὲ ἐν
σπάνι βύβλων ἐχρέωντο διφθέρῃσι
αἰγέῃσί τε καὶ οἰέῃσι· ἔτι δὲ
καὶ τὸ κατ' ἐμὲ πολλοὶ τῶν βαρβάρων
ἐς τοιαύτας διφθέρας γράφουσι.

[59] εἶδον δὲ καὶ αὐτὸς Καδμήια
γράμματα ἐν τῷ ἱρῷ τοῦ Ἀπόλλωνος
τοῦ Ἰσμηνίου ἐν Θήβῃσι τῇσι
Βοιωτῶν ἐπὶ τρίποσι τρισὶ
ἐγκεκολαμμένα, τὰ πολλὰ ὅμοια
ἐόντα τοῖσι Ἰωνικοῖσι.  ὁ μὲν δὴ
εἷς τῶν τριπόδων ἐπίγραμμα ἔχει·

Ἀμφιτρύων μ' ἀνέθηκεν ἐὼν ἀπὸ
Τηλεβοάων.

ταῦτα ἡλικίην εἴη ἂν κατὰ Λάιον
τὸν Λαβδάκου τοῦ ολυδώρου τοῦ
Κάδμου. \frenchtext{(Herodot, Buch V, 58f.)}
\end{languageset}

\section{\frenchtext{a va trs bien. Nested spanish: \spanishtext{Ms all}}}

\englishtext{Test uppercase in headlines.}

\newpage

xxx
\end{document}