| 1 |
% Hyphenation patterns for Spanish. |
| 2 |
% Compiled by Julio Sanchez ([email protected]) on September 1991. |
| 3 |
% |
| 4 |
% Adapted for XEP 3.0 by Nikolai Grigoriev <[email protected]> |
| 5 |
% Further corrections for XEP 3.7.6 by Nikolai Grigoriev <[email protected]> |
| 6 |
% [NOTE: this version works with RenderX XEP XSL-FO formatter. |
| 7 |
% It may not work in other environments, including the original TeX.] |
| 8 |
% |
| 9 |
% These patterns have been derived from "On Word Division in Spanish", |
| 10 |
% Jos'e A. Ma~nas, Communications of the ACM, and implemented in his |
| 11 |
% package ftc. You can get ftc and a draft of the abovementioned |
| 12 |
% paper from goya.dit.upm.es in src/text.proc/ftc.Z. FTP access may |
| 13 |
% be available. Otherwise, send help to [email protected] for |
| 14 |
% details on use of the mail server. |
| 15 |
% |
| 16 |
% Rules mentioned below are those described in that paper. After |
| 17 |
% several unsatisfactory attempts to pretend I knew better, these |
| 18 |
% patterns closely follow that paper. Pattern 'tl' is not considered. |
| 19 |
% It is conflictive and ftc does not use it either. |
| 20 |
% |
| 21 |
% These patterns have been generated by shyphen.sh version 1.2, |
| 22 |
% shyphen.sh is a sh script that allows a number of choices. |
| 23 |
% Full benefit from some of these options can only be |
| 24 |
% obtained if appropriate fonts are available. |
| 25 |
% |
| 26 |
% Follows a copyright notice. This is not in the public domain, |
| 27 |
% but the copyright is essentially a hold-harmless clause. That |
| 28 |
% is, use it at will, but don't sue me if you don't like it. |
| 29 |
% |
| 30 |
% COPYRIGHT NOTICE |
| 31 |
% |
| 32 |
% These patterns and the generating sh script are Copyright (c) GMV 1991 |
| 33 |
% These patterns were developed for internal GMV use and are made |
| 34 |
% public in the hope that they will benefit others. Also, spreading |
| 35 |
% these patterns throughout the Spanish-language TeX community is |
| 36 |
% expected to provide back-benefits to GMV in that it can help keeping |
| 37 |
% GMV in the mainstream of spanish users. However, this is given |
| 38 |
% for free and WITHOUT ANY WARRANTY. Under no circumstances can Julio |
| 39 |
% Sanchez, GMV, Jos'e A. Ma~nas or any agents or representatives thereof |
| 40 |
% be held responsible for any errors in this software nor for any damages |
| 41 |
% derived from its use, even in case any of the above has been notified |
| 42 |
% of the possibility of such damages. If any such situation arises, you |
| 43 |
% responsible for repair. Use of this software is an explicit |
| 44 |
% acceptance of these conditions. |
| 45 |
% |
| 46 |
% You can use this software for any purpose. You cannot delete this |
| 47 |
% copyright notice. If you change this software, you must include |
| 48 |
% comments explaining who, when and why. You are kindly requested to |
| 49 |
% send any changes to [email protected]. If you change the generating |
| 50 |
% script, you must include code in it such that any output is clearly |
| 51 |
% labeled as generated by a modified script. |
| 52 |
% |
| 53 |
% Despite the lack of warranty, we would like to hear about any |
| 54 |
% problem you find. Please report problems to [email protected]. |
| 55 |
% |
| 56 |
% END OF COPYRIGHT NOTICE |
| 57 |
|
| 58 |
% Open vowels: a e o \'a \'e \'i \'o \'u |
| 59 |
% Closed vowels: i u \"u |
| 60 |
% Consonants: b c d f g j k l m n p q r s t v w x y z \~n |
| 61 |
% |
| 62 |
% Some of the patterns below represent combinations that never |
| 63 |
% happen in Spanish. Would they happen, they would be hyphenated |
| 64 |
% according to the rules. |
| 65 |
|
| 66 |
\patterns{ |
| 67 |
% Rule SR1 |
| 68 |
% Vowels are kept together by the defaults |
| 69 |
% Rule SR2 |
| 70 |
% Attach vowel groups to left consonant |
| 71 |
1ba 1be 1bo 1b\'a 1b\'e 1b\'i 1b\'o 1b\'u 1bi 1bu 1b\"u |
| 72 |
1ca 1ce 1co 1c\'a 1c\'e 1c\'i 1c\'o 1c\'u 1ci 1cu 1c\"u |
| 73 |
1da 1de 1do 1d\'a 1d\'e 1d\'i 1d\'o 1d\'u 1di 1du 1d\"u |
| 74 |
1fa 1fe 1fo 1f\'a 1f\'e 1f\'i 1f\'o 1f\'u 1fi 1fu 1f\"u |
| 75 |
1ga 1ge 1go 1g\'a 1g\'e 1g\'i 1g\'o 1g\'u 1gi 1gu 1g\"u |
| 76 |
1ja 1je 1jo 1j\'a 1j\'e 1j\'i 1j\'o 1j\'u 1ji 1ju 1j\"u |
| 77 |
1ka 1ke 1ko 1k\'a 1k\'e 1k\'i 1k\'o 1k\'u 1ki 1ku 1k\"u |
| 78 |
1la 1le 1lo 1l\'a 1l\'e 1l\'i 1l\'o 1l\'u 1li 1lu 1l\"u |
| 79 |
1ma 1me 1mo 1m\'a 1m\'e 1m\'i 1m\'o 1m\'u 1mi 1mu 1m\"u |
| 80 |
1na 1ne 1no 1n\'a 1n\'e 1n\'i 1n\'o 1n\'u 1ni 1nu 1n\"u |
| 81 |
1pa 1pe 1po 1p\'a 1p\'e 1p\'i 1p\'o 1p\'u 1pi 1pu 1p\"u |
| 82 |
1qa 1qe 1qo 1q\'a 1q\'e 1q\'i 1q\'o 1q\'u 1qi 1qu 1q\"u |
| 83 |
1ra 1re 1ro 1r\'a 1r\'e 1r\'i 1r\'o 1r\'u 1ri 1ru 1r\"u |
| 84 |
1sa 1se 1so 1s\'a 1s\'e 1s\'i 1s\'o 1s\'u 1si 1su 1s\"u |
| 85 |
1ta 1te 1to 1t\'a 1t\'e 1t\'i 1t\'o 1t\'u 1ti 1tu 1t\"u |
| 86 |
1va 1ve 1vo 1v\'a 1v\'e 1v\'i 1v\'o 1v\'u 1vi 1vu 1v\"u |
| 87 |
1wa 1we 1wo 1w\'a 1w\'e 1w\'i 1w\'o 1w\'u 1wi 1wu 1w\"u |
| 88 |
1xa 1xe 1xo 1x\'a 1x\'e 1x\'i 1x\'o 1x\'u 1xi 1xu 1x\"u |
| 89 |
1ya 1ye 1yo 1y\'a 1y\'e 1y\'i 1y\'o 1y\'u 1yi 1yu 1y\"u |
| 90 |
1za 1ze 1zo 1z\'a 1z\'e 1z\'i 1z\'o 1z\'u 1zi 1zu 1z\"u |
| 91 |
1\~na 1\~ne 1\~no 1\~n\'a 1\~n\'e 1\~n\'i 1\~n\'o 1\~n\'u 1\~ni 1\~nu 1\~n\"u |
| 92 |
% Rule SR3 |
| 93 |
% Build legal consonant groups, leave other consonants bound to |
| 94 |
% the previ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"u |
| 108 |
1k2la 1k2le 1k2lo 1k2l\'a 1k2l\'e 1k2l\'i 1k2l\'o 1k2l\'u 1k2li 1k2lu 1k2l\"u |
| 109 |
1k2ra 1k2re 1k2ro 1k2r\'a 1k2r\'e 1k2r\'i 1k2r\'o 1k2r\'u 1k2ri 1k2ru 1k2r\"u |
| 110 |
1p2la 1p2le 1p2lo 1p2l\'a 1p2l\'e 1p2l\'i 1p2l\'o 1p2l\'u 1p2li 1p2lu 1p2l\"u |
| 111 |
1p2ra 1p2re 1p2ro 1p2r\'a 1p2r\'e 1p2r\'i 1p2r\'o 1p2r\'u 1p2ri 1p2ru 1p2r\"u |
| 112 |
1t2ra 1t2re 1t2ro 1t2r\'a 1t2r\'e 1t2r\'i 1t2r\'o 1t2r\'u 1t2ri 1t2ru 1t2r\"u |
| 113 |
% Rule SR4 is implicitly implemented by the default values |
| 114 |
% Rule HE1 is implemented by TeX parameters \lefthyphenmin and |
| 115 |
% \righthyphenmin. Help yourself. The correct values for |
| 116 |
% Spanish are 2 and 2. If you set them below these values, |
| 117 |
% incorrect breaks will happen. |
| 118 |
% Rule HE2 |
| 119 |
% Break between a consonant and an h |
| 120 |
b1h d1h f1h g1h j1h k1h l1h m1h n1h p1h q1h r1h s1h t1h v1h w1h x1h y1h z1h \~n1h |
| 121 |
% We now avoid some problematic breaks. |
| 122 |
su2b2r su2b2l |
| 123 |
% These are included here to avoid ugly, though legal, breaks |
| 124 |
% They were taken from the sphyphen.tex (silaba.tex) produced |
| 125 |
% by Aurion Tecnologia and other sources. |
| 126 |
2caca. 2cacas. |
| 127 |
2caga. 2cagas. |
| 128 |
2cago. 2cerdo |
| 129 |
2cola. 2colas. |
| 130 |
2culo. 2culos. |
| 131 |
2cular. |
| 132 |
2loco. 2locos. 2loca. 2locas. |
| 133 |
2moco. 2mocos. |
| 134 |
2mula. 2mulas. |
| 135 |
2pedo. 2pedos. 2peda. 2pedas. |
| 136 |
2pito. 2pitos. |
| 137 |
2puto. 2putos. 2puta. 2putas. |
| 138 |
.caca2 |
| 139 |
} |