| 1 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
| 2 |
% |
| 3 |
% Module: ZzTeX Hyphenation Facilities |
| 4 |
% |
| 5 |
% Synopsis: This module provides the extra facilities for dealing with |
| 6 |
% hyphenation and related matters. |
| 7 |
% |
| 8 |
% Author: Paul C. Anagnostopoulos |
| 9 |
% Created: 6 October 1990 |
| 10 |
% |
| 11 |
% Copyright 1989--2020 by Paul C. Anagnostopoulos |
| 12 |
% under The MIT License (opensource.org/licenses/MIT) |
| 13 |
% |
| 14 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
| 15 |
|
| 16 |
% Hyphenating Words |
| 17 |
% ----------- ----- |
| 18 |
|
| 19 |
|
| 20 |
\def \*{% |
| 21 |
\discretionary{}{}{}} |
| 22 |
|
| 23 |
\def \hyphen{% |
| 24 |
\nobreak -\zposthyph{2}} |
| 25 |
|
| 26 |
\def \slash {/\zposthyph{1}} |
| 27 |
|
| 28 |
|
| 29 |
% These macros are used in ZZHMODE to allow special characters to hyphenate. |
| 30 |
|
| 31 |
\def \zprehyph #1{% {\parameter} |
| 32 |
\ifcase #1% |
| 33 |
\relax |
| 34 |
\or |
| 35 |
\relax |
| 36 |
\else |
| 37 |
\nobreak |
| 38 |
\fi} |
| 39 |
|
| 40 |
\def \zposthyph #1{% {\parameter} |
| 41 |
\ifcase #1% |
| 42 |
\relax |
| 43 |
\or |
| 44 |
\discretionary{}{}{}% |
| 45 |
\else |
| 46 |
\penalty \exhyphenpenalty \hskip 0pt\relax |
| 47 |
\fi} |
| 48 |
|
| 49 |
% Displaying Hyphens |
| 50 |
% ---------- ------- |
| 51 |
|
| 52 |
|
| 53 |
\def \showhyphens #1{% |
| 54 |
\setbox\zboxa = \vbox{% |
| 55 |
\hsize = \maxdimen |
| 56 |
\parfillskip = 0pt |
| 57 |
\pretolerance = -1 |
| 58 |
\tolerance = -1 |
| 59 |
\hbadness = 0pt |
| 60 |
\showboxdepth = 0 |
| 61 |
\ #1}} |
| 62 |
|
| 63 |
% Hyphenation Exceptions |
| 64 |
% ----------- ---------- |
| 65 |
|
| 66 |
|
| 67 |
\hyphenation{% |
| 68 |
acad-e-my a-mi-no anag-no-sto-pou-los |
| 69 |
an-a-lyse an-a-lysed an-a-lys-es |
| 70 |
an-a-lys-ing analy-ses analy-sis a-no-ny-mi-ty |
| 71 |
ap-pen-dix apple ap-pli-ca-tion ar-chive ar-chiv-ing ar-chiv-ist |
| 72 |
arity aspect assume asyn-chro-nous asyn-chro-nous-ly |
| 73 |
au-to-mat-ic au-to-ma-tion au-ton-o-mous |
| 74 |
back-gam-mon berth-ing bio-che-mist bio-che-mists bio-med-i-cine |
| 75 |
bio-poly-mer bio-poly-mers bit-map book-reader brows-ers |
| 76 |
buff-er buff-er-ed buff-er-ing |
| 77 |
cat-a-stroph-ic chi-ca-go ci-gar cig-a-rette cig-a-rettes |
| 78 |
co-in-cide co-in-cides |
| 79 |
co-iso-tro-pic col-umns com-pen-dium cor-vette cor-vettes |
| 80 |
cross-over crypto-sys-tem crypto-sys-tems cur-vi-linear cy-to-cha-la-sin |
| 81 |
data-base data-bases data-set data-sets date-stamp de-mon-strate de-mon-strates |
| 82 |
der-i-va-tion dijk-stra di-lem-ma dis-tinc-tive |
| 83 |
dump-ling dump-lings |
| 84 |
eco-nom-ic eco-nom-ics econ-o-mies e-con-o-mist e-con-o-mists ec-ua-dor |
| 85 |
ei-gen-space ei-gen-spaces elec-tro-dif-fu-sion en-gland |
| 86 |
en-tre-pre-neur en-tre-pre-neurs en-tre-pre-neur-ship |
| 87 |
e-pis-te-mol-o-gy e-pis-te-mo-log-i-cal |
| 88 |
fashion fi-bo-nac-ci frame-work |
| 89 |
geo-graph-ic ge-om-e-try geo-stro-phic graph-ics |
| 90 |
he-mo-glo-bin hexa-dec-i-mal horse-rad-ish |
| 91 |
ide-ol-o-gy ide-ol-o-gies ide-ol-o-gize idiom im-ped-ance im-plic-it |
| 92 |
keynes-ian |
| 93 |
leaf-lets li-chen life-style light-weight li-quid-i-ty li-thog-ra-phy lon-gi-tu-di-nal |
| 94 |
look-ahead |
| 95 |
ma-caque |
| 96 |
mac-ro-eco-nom-ic mac-ro-eco-nom-ics mac-ro-eco-nom-ist mac-ro-eco-nom-ists |
| 97 |
mac-ro-mol-e-cule mac-ro-mol-e-cules |
| 98 |
man-u-script man-u-scripts mar-gin-al mas-sa-chu-setts |
| 99 |
me-chan-i-cal me-di-um me-di-ter-ra-ne-an meta-bolic me-tab-o-lism |
| 100 |
meta-lin-guis-tic met-a-phor met-a-phors met-a-phor-ic met-a-phor-i-cal |
| 101 |
meth-od-ol-o-gy |
| 102 |
mic-ro-eco-nom-ic mic-ro-eco-nom-ics mic-ro-eco-nom-ist mic-ro-eco-nom-ists |
| 103 |
mini-tab mne-mon-ic meth-od-o-log-i-cal mol-ecule mol-ecules |
| 104 |
mono-chrome mono-pole mono-poles mo-nop-o-ly |
| 105 |
mono-sac-cha-rides mul-ti-pli-ca-tion mul-ti-pli-ca-tive |
| 106 |
name-space noisi-ness noisy none-the-less not-with-stand-ing |
| 107 |
often ol-i-gop-o-ly ol-i-gop-o-list-ic olym-pi-ad olym-pi-ads |
| 108 |
om-e-lette om-e-lettes |
| 109 |
op-er-and op-er-ands oper-ator over-view |
| 110 |
paper pa-rab-o-la par-a-digm para-mag-ne-tic pa-ram-e-trized |
| 111 |
patho-gen patho-gen-ic patho-gens people pe-ri-od per-suad-ed per-suad-ing |
| 112 |
phoe-nix pho-neme pho-to-graphs pho-to-mi-cro-graph phys-i-co-chem-i-cal |
| 113 |
phys-ics piano pic-to-graph pic-to-graph pic-to-graph-ic poly-sac-cha-rides |
| 114 |
Post-Script pov-er-ty pow-er prayer pre-dimmed pref-er-a-ble pref-er-a-bly |
| 115 |
pri-meval pro-cess pro-ces-sor pro-cure-ment |
| 116 |
pro-gram-ma-ble prop-o-si-tion py-thag-o-re-an |
| 117 |
qua-drat-ic qua-lia |
| 118 |
ra-tional real-ly rec-tan-gu-lar re-pack-age re-pack-aged rep-er-toire |
| 119 |
re-start re-start-ed re-start-able |
| 120 |
sa-li-ent sched-ul-ing sche-nec-ta-dy scoun-drel scoun-drels ser-geant ser-geants |
| 121 |
sha-pir-o small-talk so-lo-ist spec-tros-co-py stag-horn ste-reo-spe-cif-ic |
| 122 |
sto-chas-tic syn-chro-nous syn-chro-nous-ly |
| 123 |
table tem-po-rar-ily theo-rem time-stamp time-stamps to-ma-to |
| 124 |
un-pre-dict-able uti-li-za-tion |
| 125 |
water wave-guide wave-guides weap-on weap-ons which-ever white-space wild-life |
| 126 |
woman women woman-kind |
| 127 |
xe-rog-ra-phy |
| 128 |
} |