summaryrefslogtreecommitdiff
path: root/language/portuguese
diff options
context:
space:
mode:
authorNorbert Preining <norbert@preining.info>2019-09-02 13:46:59 +0900
committerNorbert Preining <norbert@preining.info>2019-09-02 13:46:59 +0900
commite0c6872cf40896c7be36b11dcc744620f10adf1d (patch)
tree60335e10d2f4354b0674ec22d7b53f0f8abee672 /language/portuguese
Initial commit
Diffstat (limited to 'language/portuguese')
-rw-r--r--language/portuguese/origin18
-rw-r--r--language/portuguese/pt8hyph.tex357
2 files changed, 375 insertions, 0 deletions
diff --git a/language/portuguese/origin b/language/portuguese/origin
new file mode 100644
index 0000000000..c7f0af775c
--- /dev/null
+++ b/language/portuguese/origin
@@ -0,0 +1,18 @@
+I have compiled a Portuguese hyphenation table for TeX. It turned out to be a
+rather short table (compared to the one for English) because Portuguese has very
+concise rules for hyphenation.
+
+I'd like to make this table public and freely distributed. Even included in the
+distribution tapes. I have extensively tested it (with patgen) and haven't found
+any erroneous hyphenation. It does miss some hyphens but they are very very few.
+It certainly does not hyphenate a word beyond an accent or a cedilla, but that's
+the way TeX handles hyphenation of words with intervening macros (cf. Appendix H
+of The TeXbook).
+
+Pedro J. de Rezende rezende@corwin.ccs.northeastern.edu
+
+College of Computer Science (617) 437-2078
+Northeastern University
+360 Huntington Avenue
+Boston MA 02115
+
diff --git a/language/portuguese/pt8hyph.tex b/language/portuguese/pt8hyph.tex
new file mode 100644
index 0000000000..38fedaec6f
--- /dev/null
+++ b/language/portuguese/pt8hyph.tex
@@ -0,0 +1,357 @@
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% The Portuguese TeX hyphenation table.
+% (C) 1996 by Pedro J. de Rezende (rezende@dcc.unicamp.br)
+% and J.Joao Dias Almeida (jj@di.uminho.pt)
+% Version: 1.2 Release date: 21/07/96
+%
+% (C) 1994 by Pedro J. de Rezende (rezende@dcc.unicamp.br)
+% Version: 1.1 Release date: 04/12/94
+%
+% (C) 1987 by Pedro J. de Rezende
+% Version: 1.0 Release date: 02/13/87
+%
+% -----------------------------------------------------------------
+% IMPORTANT NOTICE:
+%
+% This program can be redistributed and/or modified under the terms
+% of the LaTeX Project Public License Distributed from CTAN
+% archives in directory macros/latex/base/lppl.txt; either
+% version 1 of the License, or any later version.
+% -----------------------------------------------------------------
+% Remember! If you *must* change it, then call the resulting file
+% something else and attach your name to your *documented* changes.
+% ======================================================================
+%
+\begingroup
+\lccode`\^^e0=`\^^e0 % \`a
+\lccode`\^^e1=`\^^e1 % \'a
+\lccode`\^^e2=`\^^e2 % \^a
+\lccode`\^^e3=`\^^e3 % \~a
+\lccode`\^^e7=`\^^e7 % \c{c}
+\lccode`\^^e9=`\^^e9 % \'e
+\lccode`\^^e8=`\^^e8 % \`e
+\lccode`\^^ea=`\^^ea % \^e
+\lccode`\^^ed=`\^^ed % \'\i{}
+\lccode`\^^ee=`\^^ee % \^\i{}
+\lccode`\^^ef=`\^^ef % \"\i{}
+\lccode`\^^f3=`\^^f3 % \'o
+\lccode`\^^f4=`\^^f4 % \^o
+\lccode`\^^f5=`\^^f5 % \~o
+\lccode`\^^f6=`\^^f6 % \"o
+\lccode`\^^fa=`\^^fa % \'u
+\lccode`\^^fb=`\^^fb % \^u
+\lccode`\'=`\'
+\lccode`\-=`\-
+\message{portuguese hiphenation 8 bits and -}
+\patterns{ % just type <return> if you're not using INITEX
+1b2l
+1b2r
+1ba
+1be
+1bi
+1bo
+1bu
+1b^^e1
+1b^^e2
+1b^^e3
+1b^^e9
+1b^^ed
+1b^^f3
+1b^^fa
+1b^^ea
+1b^^f5
+1c2h
+1c2l
+1c2r
+1ca
+1ce
+1ci
+1co
+1cu
+1c^^e1
+1c^^e2
+1c^^e3
+1c^^e9
+1c^^ed
+1c^^f3
+1c^^fa
+1c^^ea
+1c^^f5
+1^^e7a
+1^^e7e
+1^^e7i
+1^^e7o
+1^^e7u
+1^^e7^^e1
+1^^e7^^e2
+1^^e7^^e3
+1^^e7^^e9
+1^^e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