% \iffalse meta-comment % % Copyright 1994 the LaTeX3 project and the individual authors. % All rights reserved. For further copyright information see the file % legal.txt, and any other copyright indicated in this file. % % This file is part of the LaTeX2e system. % ---------------------------------------- % % This system is distributed in the hope that it will be useful, % but WITHOUT ANY WARRANTY; without even the implied warranty of % MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. % % % IMPORTANT NOTICE: % % For error reports in case of UNCHANGED versions see bugs.txt. % % Please do not request updates from us directly. Distribution is % done through Mail-Servers and TeX organizations. % % You are not allowed to change this file. % % You are allowed to distribute this file under the condition that % it is distributed together with all files mentioned in manifest.txt. % % If you receive only some of these files from someone, complain! % % You are NOT ALLOWED to distribute this file alone. You are NOT % ALLOWED to take money for the distribution or use of either this % file or a changed version, except for a nominal charge for copying % etc. % \fi \def\fileversion{1.0e} \def\filedate{1994/05/30} \def\docdate {1994/05/30} % % \CheckSum{13} %% \CharacterTable %% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z %% Lower-case \a\b\c\d\e\f\g\h\i\j\k\l\m\n\o\p\q\r\s\t\u\v\w\x\y\z %% Digits \0\1\2\3\4\5\6\7\8\9 %% Exclamation \! Double quote \" Hash (number) \# %% Dollar \$ Percent \% Ampersand \& %% Acute accent \' Left paren \( Right paren \) %% Asterisk \* Plus \+ Comma \, %% Minus \- Point \. Solidus \/ %% Colon \: Semicolon \; Less than \< %% Equals \= Greater than \> Question mark \? %% Commercial at \@ Left bracket \[ Backslash \\ %% Right bracket \] Circumflex \^ Underscore \_ %% Grave accent \` Left brace \{ Vertical bar \| %% Right brace \} Tilde \~} % %\iffalse This is a META comment % % File `lthyphen.dtx'. % Copyright (C) 1994-94 LaTeX3 project, Frank Mittelbach and % Rainer Sch\"opf, all rights reserved. % %\fi % \title{The \texttt{lthyphen.dtx} file\thanks % {This file has version number \fileversion, dated \filedate. % The documentation was last revised on \docdate}\\ % for use with \LaTeXe} % \author{Frank Mittelbach, Chris Rowley \and Rainer Sch\"opf} % % \def\dst{{\normalfont\scshape docstrip}} % \setcounter{StandardModuleDepth}{1} % % % \maketitle % % This file contains the code for loading hyphenation patterns into % \LaTeX. Most of this will end up in a file called % \texttt{lthyphen.ltx}. If you wish to customize your \LaTeX{} system % in respect of hyphenation patterns, write a file % \texttt{lthyphen.cfg}. If this file exists, it will be loaded instead % of \texttt{lthyphen.ltx}. See the comments below for additional % information. % % \StopEventually{} % % To produce the printed version of this file the following code % is used. It can be extracted with the \dst{} program, or one can run % this file directly through \LaTeXe{}. % \begin{macrocode} %<*driver> \documentclass{ltxdoc} \begin{document} \DocInput{lthyphen.dtx} \end{document} % % \end{macrocode} % % \changes{0.1c}{1994/03/07}{move the 2ekernel code to ltfinal.dtx} % % The default file |lthyphen.ltx| loads hyphenation patterns for US % english. If you want to load additional or other hyphenation % patterns, you should create a file |lthyphen.cfg|. This is best done % by starting from |lthyphen.ltx|. % % For backward compatibility, the default file first tries to load % the file |hyphen.tex|. If this file exists, an information % message is issued and the appropriate defaults for \TeX's internal % parameters are set: |\language| is initialized to $0$, and % |\lefthyphenmin| and |\righthyphenmin| to $2$ and $3$, respectively, % to disallow x- or -xx breaks. % \begin{macrocode} %<*default> \InputIfFileExists{hyphen.tex}% {\message{Loading hyphenation patterns for US english.}% \language=0 \lefthyphenmin=2 \righthyphenmin=3 }% % \end{macrocode} % Otherwise, since we cannot do anything without any hyphenation % patterns, an error message is printed and the Ini\TeX{} run % is terminated by invoking |\@@end| (which is the \LaTeXe{} name % for \TeX's |\end| primitive). % \begin{macrocode} {\errhelp{The configuration for hyphenation is incorrectly installed.^^J% If you don't understand this error message you need to seek^^Jexpert advice.}% \errmessage{OOPS! I can't find any hyphenation patterns for US english.^^J \space Think of getting some or the latex2e setup will never succeed}\@@end} % % \end{macrocode} % The following example describes the possible contents of a file % |\lthyphen.cfg| that will load both US English and German hyphenation % patterns, making the former the default. % It sets |\language| to $0$ for the US patterns and to $1$ for the % German patterns. % Then |\language| is set to $0$ to make this the default and the % default values of |\lefthyphenmin| and |\righthyphenmin| are set. % \begin{verbatim} %\language=0 %\input hyphen-us %\language=1 %\input ghyphen3 %\language=0 %\lefthyphenmin=2 %\righthyphenmin=3 %\endinput %\end{verbatim} % % Another possibility is to use the package |babel|, by Johannes Braams. % In that case, the file |babel.hyphen| can be used as |lthyphen.cfg|; % by renaming it or (if your operating system supports such an % operation) by creating a (symbolic) link. % % \DeleteShortVerb{\|} % % \Finale % \endinput