summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/generic/hyph-utf8/hyphenation-distribution.tex
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/doc/generic/hyph-utf8/hyphenation-distribution.tex')
-rw-r--r--Master/texmf-dist/doc/generic/hyph-utf8/hyphenation-distribution.tex282
1 files changed, 135 insertions, 147 deletions
diff --git a/Master/texmf-dist/doc/generic/hyph-utf8/hyphenation-distribution.tex b/Master/texmf-dist/doc/generic/hyph-utf8/hyphenation-distribution.tex
index 7a349e603eb..05282d28c28 100644
--- a/Master/texmf-dist/doc/generic/hyph-utf8/hyphenation-distribution.tex
+++ b/Master/texmf-dist/doc/generic/hyph-utf8/hyphenation-distribution.tex
@@ -32,7 +32,7 @@
In \TeXLive\ you can install different language collections \type{collection-lang}{\tt\sl <foo>}.
-\placefigure[force]{}{\externalfigure[img/texlive-collection-lang.png]}
+\placefigure[force]{}{\externalfigure[img/texlive-collection.png][width=150pt]}
For example, the German collection \type{collection-langgerman} contains packages \type{hyphen-german} and \type{dehyph-exptl} which both contain hyphenation patterns (in addition to many other packages related to German language). The Greek collection \type{collection-langgreek} contains \type{hyphen-greek} and \type{hyphen-ancientgreek} among other packages. The package \type{dehyph-exptl} is maintained independently, while all packages \type{hyphen-}{\tt\sl<foo>} belong to \type{hyph-utf8}.
@@ -59,8 +59,8 @@ execute AddHyphen \
The keywords {\bf name} and {\bf synonyms} are used as language name to access the patterns in \TeX, {\bf file} is used as pattern loader for 8-bit engines and \XeTeX, while {\bf file\_patterns} and {\bf file\_exceptions} are plain text files used by \LuaTeX.
-The information from \type{AddHyphen} directives end up in three different files: \type{language.dat} used by \LaTeX, \type{language.def} used by plain \eTeX\ and \type{language.dat.lua} used by \LuaTeX. All the three are placed in\crlf \type{ $TEXMFSYSVAR/tex/generic/config},\crlf for example to\crlf \type{ /usr/local/texlive/2011/texmf-var/tex/generic/config},\crlf while a static copy also exists in\crlf
- \type{ $TEXMFMAIN/tex/generic/config},\crlf but that one contains all languages and only makes sense if you have a complete checkout from SVN repository for example.
+The information from \type{AddHyphen} directives end up in three different files: \type{language.dat} used by \LaTeX, \type{language.def} used by plain \eTeX\ and \type{language.dat.lua} used by \LuaTeX. All the three are placed in\crlf \type{ $TEXMFSYSVAR/tex/generic/config},\crlf for example to\crlf \type{ /usr/local/texlive/2013/texmf-var/tex/generic/config},\crlf while a static copy also exists in\crlf
+ \type{ $TEXMFDIST/tex/generic/config},\crlf but that one contains all languages and only makes sense if you have a complete checkout from SVN repository for example.
\placefigure[force]{\type{language.dat}}{
\starttyping
@@ -106,15 +106,6 @@ nynorsk loadhyph-nn.tex
The files \type{language.dat} and \type{language.def} are used both by 8-bit and native Unicode engines. On one hand this simplifies things, while on the other it makes very little sense to include sanskrit patterns in \pdfTeX\ -- the package doesn't load any patterns in that case any way. It might be that there will be multiple copies of \type{language.dat} for different engines in future.
-In addition to the three mentioned files, \TeXLive\ also provides two additional files for \pTeX:
-\startitemize[packed,joinedup]
-\item \type{$TEXMFDIST/tex/ptexgeneric/config/language.ptx} as an equivalent of \type{language.dat} which enables all languages that make sense in an 8-bit engine
-\item \type{$TEXMFDIST/tex/ptex/config/language.def} which enables just most frequently used languages
-\stopitemize
-The contents are almost the same as in the generated \type{language.dat} and \type{language.def}, except that these two files are not generated and might enable a different set of languages, independent of installed language collections. When \pTeX\ was first included into \TeXLive\ it was loading its own files with patterns, so it needed its own \type{language.ptx}. Nowadays this restriction is gone and one could replace both static files with the generated ones if needed.
-
-TODO: explain where are the sources
-
\subsection{\MiKTeX}
In \MiKTeX\ application {\bf MiKTeX Options} which you can run from Start menu ({\em Maintenance} $\rightarrow$ {\em Settings} or {\em Maintenance (Admin)} $\rightarrow$ {\em Settings (Admin)\/}) or from command line (\type{mo.exe} or \type{mo_admin.exe}) you can select which languages you want to include into \TeX\ formats.
@@ -155,158 +146,155 @@ patterns=hyph-nn.pat.txt
\page
-List of languages in \TeXLive\ (has to be nicer):
+List of languages in \TeXLive\ 2013:
+\startcolumns[two]
\starttyping
collection-langafrican
- hyphen-ethiopic
- ethiopic,amharic,geez
+ hyphen-ethiopic
+ ethiopic,amharic,geez
collection-langarabic
- hyphen-arabic
- arabic
- hyphen-farsi
- farsi,persian
+ hyphen-arabic
+ arabic
+ hyphen-farsi
+ farsi,persian
collection-langcjk
- hyphen-chinese
- pinyin
-collection-langcroatian
- hyphen-croatian
- croatian
+ hyphen-chinese
+ pinyin
collection-langcyrillic
- hyphen-bulgarian
- bulgarian
- hyphen-russian
- russian
- hyphen-ukrainian
- ukrainian
+ hyphen-bulgarian
+ bulgarian
+ hyphen-mongolian
+ mongolian
+ mongolianlmc
+ hyphen-russian
+ russian
+ hyphen-serbian
+ serbian
+ serbianc
+ hyphen-ukrainian
+ ukrainian
collection-langczechslovak
- hyphen-czech
- czech
- hyphen-slovak
- slovak
-collection-langdanish
- hyphen-danish
- danish
-collection-langdutch
- hyphen-dutch
- dutch
+ hyphen-czech
+ czech
+ hyphen-slovak
+ slovak
collection-langenglish
- hyphen-english
- ukenglish,british,UKenglish
- usenglishmax
-collection-langfinnish
- hyphen-finnish
- finnish
+ hyphen-english
+ ukenglish,british,UKenglish
+ usenglishmax
+collection-langeuropean
+ hyphen-armenian
+ armenian
+ hyphen-croatian
+ croatian
+ hyphen-danish
+ danish
+ hyphen-dutch
+ dutch
+ hyphen-estonian
+ estonian
+ hyphen-finnish
+ finnish
+ hyphen-friulan
+ friulan
+ hyphen-hungarian
+ hungarian
+ hyphen-icelandic
+ icelandic
+ hyphen-irish
+ irish
+ hyphen-kurmanji
+ kurmanji
+ hyphen-latin
+ latin
+ hyphen-latvian
+ latvian
+ hyphen-lithuanian
+ lithuanian
+ hyphen-norwegian
+ bokmal,norwegian,norsk
+ nynorsk
+ hyphen-piedmontese
+ piedmontese
+ hyphen-romanian
+ romanian
+ hyphen-romansh
+ romansh
+ hyphen-slovenian
+ slovenian,slovene
+ hyphen-swedish
+ swedish
+ hyphen-turkish
+ turkish
+ hyphen-uppersorbian
+ uppersorbian
+ hyphen-welsh
+ welsh
collection-langfrench
- hyphen-basque
- basque
- hyphen-french
- french,patois,francais
+ hyphen-basque
+ basque
+ hyphen-french
+ french,patois,francais
collection-langgerman
- hyphen-german
- german
- ngerman
- swissgerman
+ hyphen-german
+ german
+ ngerman
+ swissgerman
collection-langgreek
- hyphen-greek
- monogreek
- greek,polygreek
- hyphen-ancientgreek
- ancientgreek
- ibycus
-collection-langhungarian
- hyphen-hungarian
- hungarian
+ hyphen-greek
+ monogreek
+ greek,polygreek
+ hyphen-ancientgreek
+ ancientgreek
+ ibycus
collection-langindic
- hyphen-indic
- assamese
- bengali
- gujarati
- hindi
- kannada
- malayalam
- marathi
- oriya
- panjabi
- tamil
- telugu
- hyphen-sanskrit
- sanskrit
+ hyphen-indic
+ assamese
+ bengali
+ gujarati
+ hindi
+ kannada
+ malayalam
+ marathi
+ oriya
+ panjabi
+ tamil
+ telugu
+ hyphen-sanskrit
+ sanskrit
collection-langitalian
- hyphen-italian
- italian
-collection-langlatin
- hyphen-latin
- latin
-collection-langlatvian
- hyphen-latvian
- latvian
-collection-langlithuanian
- hyphen-lithuanian
- lithuanian
-collection-langmongolian
- hyphen-mongolian
- mongolian
- mongolianlmc
-collection-langnorwegian
- hyphen-norwegian
- bokmal,norwegian,norsk
- nynorsk
+ hyphen-italian
+ italian
collection-langother
- hyphen-afrikaans
- afrikaans
- hyphen-armenian
- armenian
- hyphen-coptic
- coptic
- hyphen-esperanto
- esperanto
- hyphen-estonian
- estonian
- hyphen-icelandic
- icelandic
- hyphen-indonesian
- indonesian
- hyphen-interlingua
- interlingua
- hyphen-irish
- irish
- hyphen-kurmanji
- kurmanji
- hyphen-lao
- lao
- hyphen-romanian
- romanian
- hyphen-serbian
- serbian
- serbianc
- hyphen-slovenian
- slovenian,slovene
- hyphen-turkish
- turkish
- hyphen-uppersorbian
- uppersorbian
- hyphen-welsh
- welsh
+ hyphen-afrikaans
+ afrikaans
+ hyphen-coptic
+ coptic
+ hyphen-esperanto
+ esperanto
+ hyphen-indonesian
+ indonesian
+ hyphen-interlingua
+ interlingua
+ hyphen-thai
+ thai
+ hyphen-turkmen
+ turkmen
collection-langpolish
- hyphen-polish
- polish
+ hyphen-polish
+ polish
collection-langportuguese
- hyphen-portuguese
- portuguese,portuges
+ hyphen-portuguese
+ portuguese,portuges
collection-langspanish
- hyphen-spanish
- spanish,espanol
- hyphen-catalan
- catalan
- hyphen-galician
- galician
-collection-langswedish
- hyphen-swedish
- swedish
-collection-langturkmen
- hyphen-turkmen
- turkmen
+ hyphen-spanish
+ spanish,espanol
+ hyphen-catalan
+ catalan
+ hyphen-galician
+ galician
\stoptyping
+\stopcolumns
% \section{Special cases}
%