% Hyphenation patterns for Spanish.
% Compiled by Julio Sanchez (jsanchez@gmv.es) on September 1991.
%
% Adapted for XEP 3.0 by Nikolai Grigoriev <grig@renderx.com>
% Further corrections for XEP 3.7.6 by Nikolai Grigoriev <grig@renderx.com>
% [NOTE: this version works with RenderX XEP XSL-FO formatter. 
% It may not work in other environments, including the original TeX.]
%
% These patterns have been derived from "On Word Division in Spanish",
% Jos'e A. Ma~nas, Communications of the ACM, and implemented in his
% package ftc. You can get ftc and a draft of the abovementioned
% paper from goya.dit.upm.es in src/text.proc/ftc.Z. FTP access may
% be available. Otherwise, send help to info@goya.dit.upm.es for
% details on use of the mail server.
%
% Rules mentioned below are those described in that paper. After
% several unsatisfactory attempts to pretend I knew better, these 
% patterns closely follow that paper. Pattern 'tl' is not considered. 
% It is conflictive and ftc does not use it either.
%
% These patterns have been generated by shyphen.sh version 1.2, 
% shyphen.sh is a sh script that allows a number of choices. 
% Full benefit from some of these options can only be
% obtained if appropriate fonts are available.
%
% Follows a copyright notice. This is not in the public domain,
% but the copyright is essentially a hold-harmless clause. That
% is, use it at will, but don't sue me if you don't like it.
%
%			COPYRIGHT NOTICE
%
% These patterns and the generating sh script are Copyright (c) GMV 1991
% These patterns were developed for internal GMV use and are made
% public in the hope that they will benefit others. Also, spreading
% these patterns throughout the Spanish-language TeX community is
% expected to provide back-benefits to GMV in that it can help keeping
% GMV in the mainstream of spanish users. However, this is given
% for free and WITHOUT ANY WARRANTY. Under no circumstances can Julio
% Sanchez, GMV, Jos'e A. Ma~nas or any agents or representatives thereof 
% be held responsible for any errors in this software nor for any damages
% derived from its use, even in case any of the above has been notified
% of the possibility of such damages. If any such situation arises, you
% responsible for repair. Use of this software is an explicit
% acceptance of these conditions. 
% 
% You can use this software for any purpose. You cannot delete this
% copyright notice. If you change this software, you must include 
% comments explaining who, when and why. You are kindly requested to 
% send any changes to tex@gmv.es. If you change the generating 
% script, you must include code in it such that any output is clearly
% labeled as generated by a modified script.
%
% Despite the lack of warranty, we would like to hear about any
% problem you find. Please report problems to tex@gmv.es.
%
%               END OF COPYRIGHT NOTICE

% Open vowels: a e o \'a \'e \'i \'o \'u
% Closed vowels: i u \"u
% Consonants: b c d f g j k l m n p q r s t v w x y z \~n
%
% Some of the patterns below represent combinations that never
% happen in Spanish. Would they happen, they would be hyphenated
% according to the rules.

\patterns{ 
% Rule SR1
% Vowels are kept together by the defaults
% Rule SR2
% Attach vowel groups to left consonant
1ba 1be 1bo 1b\'a 1b\'e 1b\'i 1b\'o 1b\'u 1bi 1bu 1b\"u 
1ca 1ce 1co 1c\'a 1c\'e 1c\'i 1c\'o 1c\'u 1ci 1cu 1c\"u 
1da 1de 1do 1d\'a 1d\'e 1d\'i 1d\'o 1d\'u 1di 1du 1d\"u 
1fa 1fe 1fo 1f\'a 1f\'e 1f\'i 1f\'o 1f\'u 1fi 1fu 1f\"u 
1ga 1ge 1go 1g\'a 1g\'e 1g\'i 1g\'o 1g\'u 1gi 1gu 1g\"u 
1ja 1je 1jo 1j\'a 1j\'e 1j\'i 1j\'o 1j\'u 1ji 1ju 1j\"u 
1ka 1ke 1ko 1k\'a 1k\'e 1k\'i 1k\'o 1k\'u 1ki 1ku 1k\"u 
1la 1le 1lo 1l\'a 1l\'e 1l\'i 1l\'o 1l\'u 1li 1lu 1l\"u 
1ma 1me 1mo 1m\'a 1m\'e 1m\'i 1m\'o 1m\'u 1mi 1mu 1m\"u 
1na 1ne 1no 1n\'a 1n\'e 1n\'i 1n\'o 1n\'u 1ni 1nu 1n\"u 
1pa 1pe 1po 1p\'a 1p\'e 1p\'i 1p\'o 1p\'u 1pi 1pu 1p\"u 
1qa 1qe 1qo 1q\'a 1q\'e 1q\'i 1q\'o 1q\'u 1qi 1qu 1q\"u 
1ra 1re 1ro 1r\'a 1r\'e 1r\'i 1r\'o 1r\'u 1ri 1ru 1r\"u 
1sa 1se 1so 1s\'a 1s\'e 1s\'i 1s\'o 1s\'u 1si 1su 1s\"u 
1ta 1te 1to 1t\'a 1t\'e 1t\'i 1t\'o 1t\'u 1ti 1tu 1t\"u 
1va 1ve 1vo 1v\'a 1v\'e 1v\'i 1v\'o 1v\'u 1vi 1vu 1v\"u 
1wa 1we 1wo 1w\'a 1w\'e 1w\'i 1w\'o 1w\'u 1wi 1wu 1w\"u 
1xa 1xe 1xo 1x\'a 1x\'e 1x\'i 1x\'o 1x\'u 1xi 1xu 1x\"u 
1ya 1ye 1yo 1y\'a 1y\'e 1y\'i 1y\'o 1y\'u 1yi 1yu 1y\"u 
1za 1ze 1zo 1z\'a 1z\'e 1z\'i 1z\'o 1z\'u 1zi 1zu 1z\"u 
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 
% Rule SR3
% Build legal consonant groups, leave other consonants bound to 
% the previous group. This overrides part of the SR2 pattern
% group.
1c2ha 1c2he 1c2ho 1c2h\'a 1c2h\'e 1c2h\'i 1c2h\'o 1c2h\'u 1c2hi 1c2hu 1c2h\"u 
1l2la 1l2le 1l2lo 1l2l\'a 1l2l\'e 1l2l\'i 1l2l\'o 1l2l\'u 1l2li 1l2lu 1l2l\"u 
1r2ra 1r2re 1r2ro 1r2r\'a 1r2r\'e 1r2r\'i 1r2r\'o 1r2r\'u 1r2ri 1r2ru 1r2r\"u 
1b2la 1b2le 1b2lo 1b2l\'a 1b2l\'e 1b2l\'i 1b2l\'o 1b2l\'u 1b2li 1b2lu 1b2l\"u 
1b2ra 1b2re 1b2ro 1b2r\'a 1b2r\'e 1b2r\'i 1b2r\'o 1b2r\'u 1b2ri 1b2ru 1b2r\"u 
1c2la 1c2le 1c2lo 1c2l\'a 1c2l\'e 1c2l\'i 1c2l\'o 1c2l\'u 1c2li 1c2lu 1c2l\"u 
1c2ra 1c2re 1c2ro 1c2r\'a 1c2r\'e 1c2r\'i 1c2r\'o 1c2r\'u 1c2ri 1c2ru 1c2r\"u 
1d2ra 1d2re 1d2ro 1d2r\'a 1d2r\'e 1d2r\'i 1d2r\'o 1d2r\'u 1d2ri 1d2ru 1d2r\"u 
1f2la 1f2le 1f2lo 1f2l\'a 1f2l\'e 1f2l\'i 1f2l\'o 1f2l\'u 1f2li 1f2lu 1f2l\"u 
1f2ra 1f2re 1f2ro 1f2r\'a 1f2r\'e 1f2r\'i 1f2r\'o 1f2r\'u 1f2ri 1f2ru 1f2r\"u 
1g2la 1g2le 1g2lo 1g2l\'a 1g2l\'e 1g2l\'i 1g2l\'o 1g2l\'u 1g2li 1g2lu 1g2l\"u 
1g2ra 1g2re 1g2ro 1g2r\'a 1g2r\'e 1g2r\'i 1g2r\'o 1g2r\'u 1g2ri 1g2ru 1g2r\"u 
1k2la 1k2le 1k2lo 1k2l\'a 1k2l\'e 1k2l\'i 1k2l\'o 1k2l\'u 1k2li 1k2lu 1k2l\"u 
1k2ra 1k2re 1k2ro 1k2r\'a 1k2r\'e 1k2r\'i 1k2r\'o 1k2r\'u 1k2ri 1k2ru 1k2r\"u 
1p2la 1p2le 1p2lo 1p2l\'a 1p2l\'e 1p2l\'i 1p2l\'o 1p2l\'u 1p2li 1p2lu 1p2l\"u 
1p2ra 1p2re 1p2ro 1p2r\'a 1p2r\'e 1p2r\'i 1p2r\'o 1p2r\'u 1p2ri 1p2ru 1p2r\"u 
1t2ra 1t2re 1t2ro 1t2r\'a 1t2r\'e 1t2r\'i 1t2r\'o 1t2r\'u 1t2ri 1t2ru 1t2r\"u 
% Rule SR4 is implicitly implemented by the default values
% Rule HE1 is implemented by TeX parameters \lefthyphenmin and
% \righthyphenmin. Help yourself. The correct values for
% Spanish are 2 and 2. If you set them below these values,
% incorrect breaks will happen.
% Rule HE2
% Break between a consonant and an h
b1h d1h f1h g1h j1h k1h l1h m1h n1h p1h q1h r1h s1h t1h v1h w1h x1h y1h z1h \~n1h 
% We now avoid some problematic breaks.
su2b2r su2b2l
% These are included here to avoid ugly, though legal, breaks
% They were taken from the sphyphen.tex (silaba.tex) produced
% by Aurion Tecnologia and other sources.
2caca. 2cacas.
2caga. 2cagas.
2cago. 2cerdo
2cola. 2colas.
2culo. 2culos.
2cular.
2loco. 2locos. 2loca. 2locas.
2moco. 2mocos.
2mula. 2mulas.
2pedo. 2pedos. 2peda. 2pedas.
2pito. 2pitos.
2puto. 2putos. 2puta. 2putas.
.caca2
}
